CN107784404A - Alarm method and device are carried out in business procession - Google Patents

Alarm method and device are carried out in business procession Download PDF

Info

Publication number
CN107784404A
CN107784404A CN201610723500.7A CN201610723500A CN107784404A CN 107784404 A CN107784404 A CN 107784404A CN 201610723500 A CN201610723500 A CN 201610723500A CN 107784404 A CN107784404 A CN 107784404A
Authority
CN
China
Prior art keywords
node
business
processing
chain
abnormal nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610723500.7A
Other languages
Chinese (zh)
Other versions
CN107784404B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610723500.7A priority Critical patent/CN107784404B/en
Publication of CN107784404A publication Critical patent/CN107784404A/en
Application granted granted Critical
Publication of CN107784404B publication Critical patent/CN107784404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

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

Abstract

The invention discloses the method and device alerted in a kind of business procession, belong to internet arena.This method includes:During each node in business processing flow is handled business datum, the processing information of each node is obtained, processing information includes processing state and failure description information;When detecting event is triggered, the processing state of identifying based on each node, the directed edge between each node and each node, determine the abnormal nodes chain of multiple onrelevants in business processing flow, the directed edge between each node is used to indicate dependence of each node in business processing flow;For each abnormal nodes chain in the abnormal nodes chain of multiple onrelevants, the failure description information of the start node of start node mark and the abnormal nodes chain based on the abnormal nodes chain is alerted.Present invention can ensure that the director of the start node improves the efficiency solved extremely to the abnormal solution in time.

Description

Alarm method and device are carried out in business procession
Technical field
The present invention relates to internet arena, alarm method and device are carried out in more particularly to a kind of business procession.
Background technology
With the fast development of Internet technology, there is increasing network service platform, for example network direct broadcasting is put down Platform, network financing platform etc., in the running of these network service platforms, often produce substantial amounts of business datum, And network service platform needs to handle these business datums, but during handling these business datums There may be exception, therefore, need a kind of method alerted in business procession badly.
For the ease of description, the flow that network service platform is handled business datum is referred to as business processing flow, And it is substantially whether executed is completed come each processing links in monitoring business handling process using alarming mechanism at present, with And with the presence or absence of exception.In this scheme, each processing links in business processing flow are all run independently of each other, and And run parallel, and in the process of running, can also check each processing links in the process of running with the presence or absence of different Often, and then when checking exception alerted.
However, in the case of each processing links independently of each other operation, alarm that each processing links are alerted Information is also separate, be that is to say, each processing links can not be directly obtained by the warning information of each processing links Between dependence, therefore cannot quickly determine the basic reason of exception, and then cause to disappear during exception is positioned The more time is consumed, reduces the efficiency solved extremely.
The content of the invention
In order to solve problem of the prior art, alerted the embodiments of the invention provide one kind in business procession Method and device.The technical scheme is as follows:
On the one hand, there is provided a kind of method alerted in business procession, methods described include:
During each node in business processing flow is handled business datum, each node is obtained Processing information, the processing information include processing state and failure description information, the processing state be to the business Node state in which during data are handled, each node are to each place in the business processing flow Reason link obtains after being standardized definition;
When detecting event is triggered, identifying based on each node, the directed edge between each node and The processing state of each node, determine the abnormal nodes chain of multiple onrelevants in the business processing flow, the inspection Survey event is used to detect with the presence or absence of abnormal during indicating to handle the business datum, each node Between directed edge be used for indicate dependence of each node in the business processing flow, the abnormal nodes chain It is to be formed based at least one node that exception in the business processing flow be present and dependence between each other be present;
For each abnormal nodes chain in the abnormal nodes chain of the multiple onrelevant, based on the abnormal nodes chain Start node is identified and the failure description information of the start node of the abnormal nodes chain is alerted.On the other hand, there is provided A kind of device alerted in business procession, described device include:
First acquisition module, the process handled for each node in business processing flow business datum In, the processing information of each node is obtained, the processing information includes processing state and the description information that fails, the place Reason state is node state in which during handling the business datum, and each node is to the business Each processing links in handling process obtain after being standardized definition;
Determining module, for when detecting event is triggered, identifying based on each node, each node it Between directed edge and each node processing state, determine the abnormal sections of multiple onrelevants in the business processing flow Point chain, the directed edge between each node are used to indicate that dependence of each node in the business processing flow is closed System, the abnormal nodes chain are based on existing abnormal in the business processing flow and dependence be present at least between each other One node is formed;
First alarm module, for each abnormal nodes chain in the abnormal nodes chain for the multiple onrelevant, base Accused in the start node mark and the failure description information of the start node of the abnormal nodes chain of the abnormal nodes chain It is alert.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:In embodiments of the present invention, can be in industry Each node in business handling process obtains the processing information of each node during handling business datum, and is examining When survey event is triggered, the processing state of identifying based on each node, the directed edge between each node and each node, really The abnormal nodes chain of multiple onrelevants in business processing flow is determined, because the directed edge between each node is each for indicating Dependence of the node in business processing flow, therefore, determined by the directed edge between each node multiple unrelated The dependence between each node can be embodied in the abnormal nodes chain of connection, and then can directly determine the basic original of exception Cause, it that is to say, can be directly by the abnormal nodes chain for each abnormal nodes chain in the abnormal nodes chain of multiple onrelevants In start node be defined as abnormal root, save time for consuming when positioning abnormal, and then be based on the abnormal nodes chain Start node mark and the failure description information of start node of abnormal nodes chain when being alerted, it is ensured that the starting The director of node improves the efficiency solved extremely to the abnormal solution in time.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of system architecture diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram alerted in business procession provided in an embodiment of the present invention;
Fig. 3 A are a kind of method flow diagrams alerted in business procession provided in an embodiment of the present invention;
Fig. 3 B are a kind of schematic diagrames of first business processing view provided in an embodiment of the present invention;
Fig. 3 C are a kind of schematic diagrames of second business processing view provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram alerted in business procession provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram alerted in business procession provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before to the embodiment of the present invention carrying out that explanation is explained in detail, first to the present embodiments relate to noun progress Illustrate:
Business processing flow:For handling business datum, and multiple nodes can be included in business processing flow, The plurality of node is obtained after each processing links in business processing flow are standardized with definition, wherein, standardization is fixed Justice refers to whole processing links involved in business processing flow are defined as into node by technical staff;
Directed edge between each node:For indicating dependence of each node in business processing flow;
Node chain:Refer to form based at least one node that dependence in business processing flow between each other be present;
Abnormal nodes chain:Refer to based on existing abnormal in business processing flow and dependence be present at least between each other One node is formed, and node chain includes abnormal nodes chain.
Fig. 1 be the present embodiments relate to a kind of system structure diagram.Referring to Fig. 1, the system includes business processing Device 001 and visualization device 002, each node that the business processing device 001 is used to pass through in business processing flow is to industry Business data are handled, and visualization device 002 is used to obtain each node in business procession of business processing device 001 Processing information, and the processing information based on each node determines abnormal nodes chain, and the abnormal nodes chain based on determination is accused It is alert.
It should be noted that the business processing device 001 and visualization device 002 can be the different work(in same device Energy module, naturally it is also possible to be different devices, that is to say, the business processing device 001 and the visualization device 002 can be Integrate in the same apparatus or be integrated in different devices, the embodiment of the present invention is not specifically limited to this.
Significantly, since a variety of virtual products can be accessed on network service platform, for example managed for network Wealth platform, the finance products such as monetary fund, insurance financing, stock can be accessed on network financing platform, and in order to keep away Exempt to produce the phenomenon of promise breaking between the provider of virtual product and network service platform, network service platform is needed in time based on should The business datum of virtual product carries out the business processing such as data reconciliation and capital settlement, and finance product is as a kind of virtual production Product receive liking for numerous users.But processing links of the finance product in business processing flow are more, for example open an account pair Account, apply to purchase reconciliation, redeem reconciliation, income and keep accounts, fund clearing, ask money tens processing links, and the difference such as to keep accounts and pay the bill The processing links of the finance product of type are possibly different from, and the dependence of complexity is there is likely to be between each processing links Relation, such as fund clearing link rely on to apply to purchase and confirm and redeem to confirm being successfully processed for link, ask money to supplement dependence with money and ask money anti- Feedback file is successfully processed.In addition, the dependence of each processing links of different type finance product is also different, and The process cycle that finance product carries out business processing flow is general shorter.Therefore, the embodiment of the present invention can be used for virtual production The business datum of product is handled, and the business datum of virtual product is handled by method provided in an embodiment of the present invention When can reach significant effect.
Certainly, in practical application, the embodiment of the present invention can also be handled the business datum of non-virtual product, namely It is that every business datum that can be produced business datum and need to be handled can use side provided in an embodiment of the present invention Method, the embodiment of the present invention are not specifically limited to this.
Fig. 2 is a kind of method alerted in business procession provided in an embodiment of the present invention, and the present invention is implemented Example be applied to it is all can produce business datum and the business datum that is handled of needs, referring to Fig. 2, this method includes:
Step 201:When business processing event is triggered, business processing device is based on each section in business processing flow Point is handled business datum, and each node is that each processing links in the business processing flow are standardized to determine Obtained after justice.
It should be noted that business processing event is used to handle the business datum, and the business processing event can To be triggered by user by assigned operation, certainly, the business processing event can also be triggered by timing, that is to say, when The system time of business processing device reaches when specifying the moment, can trigger the business processing event, in practical application, the business Processing event can also be triggered in other way, and the embodiment of the present invention is not specifically limited to this.
, therefore, in embodiments of the present invention, can be prior because the processing links in general business processing flow are more Whole processing links involved in business processing flow are standardized definition, that is to say, by institute in business processing flow The whole processing links being related to are defined as node involved in the embodiment of the present invention.
Wherein, in embodiments of the present invention, whole involved in business processing flow can be handled by technical staff Link is standardized definition, so as to be nodal information corresponding to each node setting after normalized by definition, such as, at business Whole processing links involved by reason flow include n processing links, after the n processing links are standardized into definition, The nodal information of each node as shown in table 1 below can be obtained.
Table 1
It should be noted that in table 1 above, the nodal information of each node includes the mark of node, nodename, section Point description information, node director, expected performance time and Late Finish, wherein, it is different that node is responsible for artificial node appearance Chang Shi, the related personnel that visualization system is notified warning information, and node director can be based on the warning information to production Raw exception is solved.Expected performance time completes the time of task, Late Finish table for the node under normal circumstances Show to exceed if node and task processing time-out is represented if the Late Finish is also completed without processing.Expected performance time and most T-1 and T in the late deadline represent the day of trade, and typically in addition to the legal festivals and holidays, working day as Mon-Fri Belong to the day of trade, and the process cycle of general business handling process is a day of trade, and the business number of process cycle processing According to the business datum for the previous day of trade, it that is to say, business datum caused by current trading day was needed in next day of trade Handled.
In addition, the embodiment of the present invention only illustrates by taking the nodal information of each node shown in above-mentioned table 1 as an example, it is above-mentioned Table 1 is not formed to the embodiment of the present invention and limited.
Step 202:During each node in business processing flow is handled the business datum, visualization Device obtains the processing information of each node, and the processing information includes processing state and failure description information, and processing state is Node state in which during handling business datum.
Wherein, in order to obtain the real-time running state of each node in business processing flow, and by each node Last state is visualized, should during each node in business processing flow is handled the business datum Visualization device can obtain the processing information of each node, including at least one of following manner:
The first, each node in business processing flow received during handling the business datum it is each The processing information that node reports.
In the first way, the logic for reporting processing information can be increased in each node, and then pass through each section Processing information is reported visualization device by point on one's own initiative.
Because processing information includes processing state, and handle state and be generally divided into and be not carried out and have not timed out, be not carried out and Time-out, in performing and have not timed out, perform in and have timed out, run succeeded and normal termination, run succeeded and time-out terminates, performed Failure, that is to say, result is not only included in processing state, the information of time-out also be included whether, therefore, in first way In, each node also needs to obtain respective expected performance time and Late Finish, and in real time by current time and phase Deadline and Late Finish is hoped to be compared respectively, so that it is determined that respective processing state.
Preferably, in order to mitigate the load of each node, common data lasting mould can also be set in the embodiment of the present invention Respective result can be reported the lasting module of common data, is based on by the lasting module of common data by block, each node The result of each node and the time point above given the correct time, and the expected performance time of each node and Late Finish come The processing state of each node is determined, afterwards, by the lasting module of common data by the processing state reporting of each node to visual Makeup is put.
Wherein, either each node voluntarily determines respective processing state, or is determined by the lasting module of common data The processing state of each node, the result in processing state can include being not carried out, perform in, run succeeded, perform mistake Lose, and it is determined that time point during result earlier than expected performance time before when, it may be determined that have not timed out, it is determined that place Time point when managing result is later than expected performance time but during earlier than Late Finish, it may be determined that has timed out, if do not surpassed When and run succeeded, then can determine normal termination, if having timed out and running succeeded, can determine that time-out terminates.
Secondth, during each node in business processing flow is handled the business datum, based on number According to the configuration file of acquisition module, the processing information of each node is acquired by the data acquisition module.
In the second way, configuration file can be set in the data acquisition module in visualization device in advance, should The mark for the node for needing data collecting module collected processing information can be stored in configuration file, naturally it is also possible to which storage is not required to Want the mark of the node of data collecting module collected processing information.If storage needs data acquisition module to adopt in the configuration file When collecting the mark of the node of processing information, the visualization device can be by the data acquisition module to each mark in configuration file The processing information of node corresponding to knowledge is acquired, if storage does not need data collecting module collected processing in the configuration file During the mark of the node of information, the visualization device can be by the data acquisition module to except each mark pair in configuration file The processing information of node outside the node answered is acquired.
It should be noted that storage needs the mark of the node of data collecting module collected processing information in configuration file In the case of, when the embodiment of the present invention only obtains the processing information of each node by the second way, the configuration file In can be with the mark for all nodes being related in storage service handling process, when the embodiment of the present invention passes through the first and second When the combination of mode is to obtain the processing information of each node, the mark of part of nodes can be stored in the configuration file, the portion Partial node is other nodes in addition to the node of processing information is reported by first way.
In addition, in embodiments of the present invention, processing information can not only include processing state and failure description information, when So, processing information can also include other information, such as trade date, node identification, processing time etc., and the present invention is implemented Example is not specifically limited to this.
Such as based on the example above, if the processing information for each node that the visualization device obtains includes the day of trade It is phase, the mark of node, processing state, failure description information, processing time, as shown in table 2 below.
Table 2
It should be noted that failure description information is used for when the processing state of node is performs failure, to failure cause The information being described, therefore, when processing state is to run succeeded, do not include failure description information in processing information.
In addition, the embodiment of the present invention only illustrates by taking the various information shown in above-mentioned table 2 as an example, above-mentioned table 2 is not right The embodiment of the present invention, which is formed, to be limited.
Further, after visualization device gets the processing state of each node, the visualization device can be with The processing information of each node is stored in specified database, specifically, can be by the mark of each node and each node Processing information be correspondingly stored in specified database.
Wherein, the embodiment of the present invention is handled by above-mentioned steps 201 and 202 pairs of business datums, and treated The processing information of each node is obtained in journey, afterwards, visualization device can be by such a way come to business processing flow Carry out visualization to show, and determine occur abnormal node in business processing flow, and then the exception of appearance is solved in time Certainly.
Step 203:When detecting event is triggered, the visualization device identifying based on each node, each node it Between directed edge and each node processing state, according to assignment graphization rule draw the first business processing view, detect thing Part is used to detect with the presence or absence of abnormal during indicating to handle business datum, the directed edge between each node For indicating dependence of each node in the business processing flow.
It should be noted that detecting event can be triggered by user by assigned operation, it is of course also possible to by visually disguising Periodically automatic triggering is put, or can also be triggered at the end of the business processing flow, the embodiment of the present invention is not done to this to be had Body limits.
In addition, in embodiments of the present invention, directed edge in business processing flow between involved each node can be with It is defined in advance, such as, the corresponding relation between directed edge can be with as shown in table 3 below.
Table 3
Wherein, in above-mentioned table 3, start node represents the node that sets out of the directed edge, reaches node and represents the directed edge End node, every directed edge can only have a start node and one arrival node.
In addition, above-mentioned table 3 embodies the dependence between each node being related in business processing flow, according to this Relation can show the dependence between all nodes and node, be that business processing flow is patterned and visualized Basis.
It should be noted that the embodiment of the present invention only illustrates by taking above-mentioned table 3 as an example, above-mentioned table 3 is not to the present invention Embodiment, which is formed, to be limited.
Further, visualization device identifying based on each node, the directed edge between each node and each node Processing state, directly according to assignment graphization rule draw the first business processing view.Certainly, the visualization device can be with Processing state based on each node, from the corresponding relation between the processing state of storage and node background color, obtain each Node background color corresponding to individual node, identifying based on each node, the directed edge between each node and each node pair The node background color answered, the first business processing view is drawn according to assignment graphization rule.It that is to say, the visualization device can Directly to show the processing state of each node in the first business processing view, naturally it is also possible to pass through the node of each node Background color identifies the processing state of each node.
It should be noted that only above two mode of the embodiment of the present invention is carried out exemplified by showing the processing state of each node Illustrate, in practical application, the processing state of each node can also be shown by other methods, the embodiment of the present invention is to this It is not specifically limited.
Wherein, when the processing information of each node is stored in specified database by visualization device, the visualization device Can the mark based on each node, the processing state of each node is obtained from specified database.
In addition, assignment graph rule can be set in advance, for example assignment graphization rule is flow chart etc., of the invention Embodiment is not specifically limited to this.
Furthermore the embodiment of the present invention can be by specifying Graphics Control to draw the first business processing view, and this, which is specified, draws Control can be set in advance, for example it is GOJS that this, which specifies Graphics Control, and the embodiment of the present invention is not specifically limited to this.
It should also be noted that, processing state and node background color between corresponding relation between corresponding relation also may be used To set in advance, such as, the corresponding relation between the processing state and node background color is as shown in table 4 below.
Table 4
State value State description Node background color
0 It is not carried out, has not timed out Grey
1 In execution, have not timed out Blueness
2 It is not carried out, has timed out Light red
3 In execution, have timed out Navy blue
4 Run succeeded, normal termination Green
5 Run succeeded, time-out terminates Light green color
6 Perform failure It is red
It should be noted that in specified database typically corresponding to state value represents processing state, that is to say, it is above-mentioned Processing state in the processing information for each node that step 202 stores in specified database is carried out in the form of state value Storage, correspondingly, in the corresponding relation between processing state and node background color, processing state can also pass through state value Form stored, and the state description in above-mentioned table 4 be used for the processing state representated by state value is illustrated.
Further, in embodiments of the present invention, can be with after visualization device draws the first business processing view The first business processing view is shown, and can be given tacit consent in display processing information extremely on each node in the first business processing view Few information, and after the first business processing view is shown, regarded when visualization device receives for the first business processing In figure during the assigned operation of any node, the processing information of the node can be obtained from specified database, and by the node Information in processing information in addition to above-mentioned at least one information is shown, including the node in this business processing stream Multiple failure description informations in journey.
It should be noted that assigned operation can be set in advance, for example assigned operation can be clicking operation, slide Etc., the embodiment of the present invention is not specifically limited to this.
Removed in addition, the visualization device can be shown by the form of pop-up in the processing information of the node at the first business Information in reason view outside the information that shows, naturally it is also possible to shown by other forms, the embodiment of the present invention to this not It is specifically limited.
Step 204:Determine to exist in business processing flow the section where the node of exception based on the first business processing view Point chain, the node chain that same node point is not present in the node chain of determination between each other is defined as multiple in business processing flow The abnormal nodes chain of onrelevant, abnormal nodes chain are to be based on exception in business processing flow being present and existing to rely between each other closing At least one node of system is formed.
After visualization device draws the first business processing view, the visualization device can also be judged at the first business Managing in view with the presence or absence of abnormal node, when abnormal node in the first business processing view be present, obtaining abnormal section Node chain where point, and from the node chain of determination, the node chain of same node point is not present in selection between each other, by selection Node chain is defined as the abnormal nodes chain of multiple onrelevants in business processing flow.
Wherein, in embodiments of the present invention, visualization device can pass through each node in the first business processing view Processing state judges whether abnormal node, such as, can be light red, navy blue and red by node background color Node be defined as abnormal node.
In addition, the abnormal nodes chain for multiple onrelevants that the embodiment of the present invention is mentioned refers between the plurality of abnormal nodes chain It in the absence of any common factor, that is to say, be separate between the plurality of abnormal nodes chain, without any dependence, still For same abnormal nodes chain, dependence be present between at least one node in the abnormal nodes chain.
Step 205:For each abnormal nodes chain in the abnormal nodes chain of the plurality of onrelevant, based on the abnormal nodes The start node mark of chain and the failure description information of the start node of the abnormal nodes chain are alerted.
When the processing information of each node is stored in specified database, in the abnormal nodes chain of the plurality of onrelevant Each abnormal nodes chain, visualization device can based on the abnormal nodes chain start node identify, from specified database The failure description information of start node is obtained, the failure description information based on start node, generates warning information, and based on starting Node identification and the warning information are alerted.
Each node is mentioned in above-mentioned steps 201 can correspond to a node director, and node director is used for the section The exception that point occurs is solved, therefore, when the visualization device is alerted based on start node mark and the warning information When, the visualization device can obtain node director's information corresponding to start node mark, and be responsible for according to the node of acquisition People's information, the warning information is sent to corresponding node director.
It should be noted that the information of node director can be the contact method of node director, such as phone number, Instant messaging account etc., and then the visualization device can be sent out the warning information according to the contact method of node director Node director corresponding to giving.
In embodiments of the present invention, the node for warning information being sent to start node on affiliated abnormal nodes chain is responsible for People, without the node director for each node being destined on the abnormal nodes chain, avoid other nodes are responsible for it is artificial Into interference.
In addition, in embodiments of the present invention, the visualization device can each each node of specified time interval acquiring Processing information, and then the visualization event of the business processing flow is triggered, to draw the first business processing view, so not only may be used To know the processing progress of each node and processing state in the business processing flow in time, it can also be ensured that visualization device energy Enough exceptions for determining to occur in the business processing flow in time, and the root occurred extremely is determined in time, and then in time to occurring Exception solved, improve the treatment effeciency of business processing flow.Wherein, specified time interval can be set in advance, such as, 3 minutes, 5 minutes etc., the embodiment of the present invention was not specifically limited to this.
So far, the alarm method of business procession provided in an embodiment of the present invention has been realized, and has worked as start node afterwards Node director when receiving warning information, can be solved to the exception of appearance, on the follow-up abnormal nodes chain at least One node can be handled the business datum again, specific as follows.
Step 206:When the thing that at least one node that the abnormal nodes chain includes is handled the business datum again When part is triggered, business processing device is handled the business datum again based at least one node.
It should be noted that what at least one node that the abnormal nodes chain includes was handled the business datum again Event can trigger manually after the node director of start node is solved to the exception of appearance, and certainly, this at least one Individual node can also trigger in the specified duration after visualization device sends a warning message, and that is to say, at least one section Point can be with timing automatic triggering, and the embodiment of the present invention is not specifically limited to this.
Wherein, specified duration can be set in advance, for example, specify when a length of 1 hour, 2 hours etc., the embodiment of the present invention This is not specifically limited.
In addition, business processing device based at least one node again to the method that the business datum is handled with it is upper The processing method stated in step 201 is identical.
Step 207:In the mistake that at least one node that the abnormal nodes chain includes is handled the business datum again Cheng Zhong, visualization device reacquire the processing information of at least one node.
Further, the processing information of at least one node can be stored in specified database by the visualization device In.
Wherein, the process that at least one node included in the abnormal nodes chain is handled the business datum again In, the method that visualization device reacquires the processing information of at least one node is identical with the method in above-mentioned steps 202, The embodiment of the present invention no longer repeats this one by one.
It is worth noting that, the processing information of at least one node is stored in specified database by the visualization device When, processing information before can be covered, naturally it is also possible to do not cover.Preferably due to the processing state of node is Real-time change, and user typically compares and pays close attention to final processing state, therefore, the visualization device will can store before Processing state coverage in processing information, other information can not have to covering.
Step 208:Visualization device identifying based on each node, the directed edge between each node and each node Newest processing state, judge whether abnormal nodes chain also be present in business processing flow.
Wherein, visualization device can be based on the identifying of each node, the directed edge between each node and each node Newest processing state, according to assignment graphization rule draw the second business processing view, judge in the second business processing view With the presence or absence of the node of exception, if there is the node of exception, it is determined that abnormal nodes chain in business processing flow also be present, it is no Then, determine that abnormal nodes chain is not present in business processing flow.
When the processing information of each node is stored in specified database, visualization device is also based on each node Mark, the newest processing state of each node is obtained from specified database.
Wherein, visualization device identifying based on each node, the directed edge between each node and each node be most New processing state, the method for the second business processing view and the method in above-mentioned steps 204 are drawn according to assignment graphization rule Identical, the embodiment of the present invention no longer repeats this one by one.
In addition, after visualization device draws the second business processing view, the second business processing view can be shown, and When showing the second business processing view, the first business processing view directly can be replaced with into the second business processing view, when Can not also so replace, while show the first business processing view and the second business processing view, the embodiment of the present invention to this not It is specifically limited.
Step 209:When abnormal nodes chain in business processing flow also be present, the start node based on the abnormal nodes chain The failure description information of the start node of mark and the abnormal nodes chain is alerted, return to step 206, until the business processing Untill abnormal nodes chain is not present in flow.
When abnormal nodes chain is not present in business processing flow, determine that the exception that occurs in the business processing flow is complete Portion solves to finish, the now business processing flow also normal termination.When abnormal nodes chain in business processing flow also be present, really The exception occurred in the fixed business processing flow is also unresolved to be finished, at this point it is possible to the start node based on the abnormal nodes chain The failure description information of the start node of mark and the abnormal nodes chain is alerted, return to step 206, until the business processing Untill abnormal nodes chain is not present in flow.
It should be noted that start node mark and the abnormal nodes chain of the visualization device based on the abnormal nodes chain Start node the method that is alerted of failure description information it is identical with the method in above-mentioned steps 205, the embodiment of the present invention This is no longer repeated one by one.
In the embodiment of the present invention, each node that visualization device can be in business processing flow is carried out to business datum The processing information of each node is obtained during processing, and when detecting event is triggered, identifying, respectively based on each node The processing state of directed edge and each node between individual node, determine the abnormal section of multiple onrelevants in business processing flow Point chain, because the directed edge between each node is used to indicate dependence of each node in business processing flow, therefore, Can be embodied in the abnormal nodes chain for the multiple onrelevants determined by the directed edge between each node each node it Between dependence, and then can directly determine exception basic reason, that is to say, for the abnormal nodes chain of multiple onrelevants In each abnormal nodes chain, the start node in the abnormal nodes chain directly can be defined as abnormal root, saved The time consumed when positioning abnormal, and then the starting section of the mark of the start node based on the abnormal nodes chain and the abnormal nodes chain When the failure description information of point is alerted, it is ensured that the director of the start node improves different to the abnormal solution in time The efficiency often solved.In addition, warning information is sent to the node director of start node on affiliated abnormal nodes chain, rather than The node director for each node being sent on the abnormal nodes chain, avoid the interference to caused by other nodes director.
Fig. 3 A are a kind of methods alerted in business procession provided in an embodiment of the present invention, and the present invention is implemented Example illustrates so that the business processing of virtual product is handled as an example, and referring to Fig. 3 A, this method includes:
Step 301:When the business processing event of virtual product is triggered, industry of the business processing device based on virtual product Each node in business handling process is handled the business datum of virtual product, and each node is to the virtual product Each processing links in business processing flow obtain after being standardized definition.
It should be noted that business processing event is used to handle the business datum of virtual product, and at the business Director's part can be triggered by user by assigned operation, and certainly, the business processing event can also be triggered by timing, It is that, when the system time of business processing device, which reaches, specifies the moment, the business processing event, practical application can be triggered In, the business processing event can also be triggered in other way, and the embodiment of the present invention is not specifically limited to this.
Because processing links of the virtual product in business processing flow are more, and the business of different types of virtual product Handling process may be different, and then the processing links that different types of virtual product is related in business procession may not also Together, but same processing links its processing logic when handling different types of virtual product is identical, therefore, in this hair In bright embodiment, whole processing links involved in business processing flow can be standardized definition in advance, that is to say, Whole processing links involved in business processing flow are defined as to node involved in the embodiment of the present invention.
Wherein, in embodiments of the present invention, whole involved in business processing flow can be handled by technical staff Link is standardized definition, so as to be nodal information corresponding to each node setting after normalized by definition, such as, virtual production Product are finance product, and business processing flow is reconciliation and settlement process, and involved by the reconciliation of finance product and settlement process Whole processing links include n processing links, respectively start, reconciliation of opening an account, download apply to purchase reconciliation file, download redeem reconciliation File, apply to purchase reconciliation, redeem reconciliation, business side fund clearing, income preliminary examination, income keep accounts, generates and ask money file ... to tie Beam, after the n processing links are standardized into definition, the nodal information of each node as shown in table 5 below can be obtained.
Table 5
It should be noted that in above-mentioned table 5, the nodal information of each node includes the mark of node, nodename, section Point description information, node director, expected performance time and Late Finish, and start node and end node are without actual Task to handle, be typically not in exception therefore, also just without definition node director, expected performance time and the latest Deadline.
In addition, the embodiment of the present invention only illustrates by taking the nodal information of each node shown in above-mentioned table 5 as an example, it is above-mentioned Table 5 simultaneously forms restriction to the not embodiment of the present invention.
Step 302:Each node in the business processing flow of virtual product enters to the business datum of the virtual product During row processing, visualization device obtains the processing information of each node, and the processing information includes processing state and mistake Description information is lost, processing state is node state in which during handling the business datum of the virtual product.
Wherein, in order to obtain the real-time running state of each node in the business processing flow of the virtual product, and The last state of each node is visualized, each node in the business processing flow of virtual product is to the virtual production During the business datum of product is handled, the visualization device can obtain the processing information of each node, including as follows At least one of mode:
The first, each node in the business processing flow of virtual product carries out to the business datum of the virtual product The processing information that each node reports is received during processing.
The first way of this step is identical with the first way in the step 202 of a upper embodiment, and the present invention is implemented Example no longer repeats this one by one.
Secondth, each node in the business processing flow of virtual product is carried out to the business datum of the virtual product During processing, the configuration file based on data acquisition module, believed by processing of the data acquisition module to each node Breath is acquired.
In the second way of this step, with the second way identical content sheet in the step 202 of a upper embodiment Inventive embodiments no longer repeat one by one.
It should be noted that storage needs the mark of the node of data collecting module collected processing information in configuration file In the case of, when the embodiment of the present invention only obtains the processing information of each node by the second way, the configuration file In can store the marks of all nodes being related in the business processing flow of the virtual product, when the embodiment of the present invention passes through When a kind of and combination of the second way is to obtain the processing information of each node, part of nodes can be stored in the configuration file Mark, the part of nodes is other nodes in addition to the node of processing information is reported by first way.
In addition, in embodiments of the present invention, processing information can not only include processing state and failure description information, when So, processing information can also include other information, such as the product identification of virtual product, trade date, node identification, processing Time etc., the embodiment of the present invention are not specifically limited to this.
Such as based on the example above, if the processing information for each node that the visualization device obtains includes virtual production It is the product identification of product, trade date, the mark of node, processing state, failure description information, processing time, as shown in table 6 below.
Table 6
It should be noted that the embodiment of the present invention only illustrates by taking the various information shown in above-mentioned table 6 as an example, above-mentioned table 6 do not form restriction to the embodiment of the present invention.
Further, after visualization device gets the processing state of each node, the visualization device can be with The processing information of each node is stored in specified database, specifically, can be by the product identification of the virtual product, each The mark of node is corresponding with the processing information of each node to be stored in specified database.
Wherein, the embodiment of the present invention is handled by the business datum of above-mentioned steps 301 and 302 pairs of virtual products, And the processing information of each node is obtained in processing procedure, afterwards, visualization device can be by such a way come to industry Business handling process carries out visualization and shown, and determines occur abnormal node in business processing flow, and then in time to appearance Exception is solved.
Step 303:When the detecting event of the business processing flow of the virtual product is triggered, the visualization device is based on The product identification of the virtual product, determines the directed edge between the mark of each node and each node, between each node Directed edge is used to indicate dependence of each node in the business processing flow of the virtual product.
In embodiments of the present invention, the visualization device can be directly based upon the product identification of the virtual product, from storage Product identification and node identification between corresponding relation in, obtain be related in the business processing flow of the virtual product it is each The mark of node, and the product identification based on the virtual product, the corresponding relation between the product identification and directed edge of storage In, obtain the directed edge between each node.
Further, since the business processing flow of same type of virtual product is identical, and therefore, same type of virtual product Directed edge in business processing flow between the mark of involved each node and each node is also identical, and then the present invention Embodiment is also based on the product identification of the virtual product, determines the type belonging to the virtual product, based on the virtual product Affiliated type, determine the directed edge between the mark of each node and each node.
Wherein, type of the visualization device belonging to based on the virtual product, the mark of each node and each section are determined Point between directed edge when, can be based on the type belonging to the virtual product, pair between the type of storage and node identification In should being related to, the mark for each node being related in the business processing flow of the virtual product is obtained, and be based on the virtual product Affiliated type, from the corresponding relation between the type of storage and directed edge, obtain the directed edge between each node.
It should be noted that the detecting event of the business processing flow of the virtual product is used to indicate to the virtual product Business datum is detected during being handled with the presence or absence of abnormal, and the detection of the business processing flow of the virtual product Event can be triggered by user by assigned operation, it is of course also possible to by the periodically automatic triggering of visualization device, or also may be used To be triggered at the end of the business processing flow, the embodiment of the present invention is not specifically limited to this.
In addition, in embodiments of the present invention, in the business processing flow of each virtual product involved each node it Between directed edge or various types of virtual products business processing flow in it is oriented between involved each node Side can be defined in advance, such as, the corresponding relation between type and directed edge can be with as shown in table 7 below.
Table 7
Directed edge title The type of support Start node Reach node
E01 1|3 D01 D02
E02 1|3 D01 D08
E03 1|3 D02 D03
E04 1|3 D02 D04
E05 1|3 D03 D05
E06 1|3 D04 D06
E07 1|3 D05 D07
E08 1|3 D06 D07
E09 1|3 D08 D09
E10 1|3 D09 D10
E11 1|3 D07 D10
E12 1|3
E13 1|3 Dn
Wherein, in above-mentioned table 7, start node represents the node that sets out of the directed edge, reaches node and represents the directed edge End node, every directed edge can only have a start node and one arrival node.The type of support represents that this is oriented The type for the virtual product that side is supported, such as, for directed edge E01, the virtual product that type is 1 and 3 can be supported.
In addition, above-mentioned table 7 embody all types finance product reconciliation and settlement process in each node for being related to it Between dependence, the dependence that can be shown according to this relation between all nodes and node per a finance product closes System, it is that reconciliation to all finance products and settlement process are patterned and visual basis.
It should be noted that the embodiment of the present invention only illustrates by taking above-mentioned table 7 as an example, above-mentioned table 7 is not to the present invention Embodiment, which is formed, to be limited.
Step 304:Visualization device identifying based on each node, the directed edge between each node and each node Processing state, the first business processing view is drawn according to assignment graphization rule.
It should be noted that step 304 identifying based on each node, the directed edge between each node and each node Processing state, according to assignment graphization rule draw the first business processing view method it is identical with the method in step 203, The embodiment of the present invention no longer repeats this one by one.
Further, since start node and end node are handled without task, therefore state is not handled specifically, so starting Node and the node background color of end node and its result are one-to-one.
For example n node, respectively D01, D02, D03 ... Dn are obtained after n processing links normalized by definition, should Visualization device is also based on the mark of each node, and the processing state of each node is obtained from specified database, if It is due to " download redeem reconciliation file " node in 2016-05-11 19::02:10 check file format mistake when downloading file And cause the node to perform failure, so as to continue to cause " redemption reconciliation " and " business side fund clearing " node to be carried out losing Lose, then " download and redeem reconciliation file ", " redemption reconciliation " can be determined according to the table 4 of a upper embodiment and " business side fund is clear The background color of calculation " node is red;And " confirmation of opening an account ", " reconciliation file is applied to purchase in download ", " applying to purchase reconciliation " node are all right Answer Late Finish pre-treatment success, so the background color of these nodes be defined as according to the table 4 of a upper embodiment it is " green Color ", other nodes are the node being not carried out, therefore node background color is defined as " grey " according to the table 4 of a upper embodiment.Most The the first business processing view drawn out eventually as shown in Figure 3 B, wherein, in figure 3b " red " in the form of grid represent, it is " green Color " is represented in the form of inclined stripe, and " grey " is represented in the form of unfilled.
Further, in embodiments of the present invention, can be with after visualization device draws the first business processing view The first business processing view is shown, and can be given tacit consent in display processing information extremely on each node in the first business processing view Few information, and after the first business processing view is shown, regarded when visualization device receives for the first business processing In figure during the assigned operation of any node, the processing information of the node can be obtained from specified database, and by the node Information in processing information in addition to above-mentioned at least one information is shown, including the node in this business processing stream Multiple failure description informations in journey.For example node " download and redeem reconciliation file " acquiescence in the first business processing view is aobvious Show the processing time of processing state and last time, " download when based on the first business processing viewpoint beat time point and redeem reconciliation text During part ", the other information in addition to the processing time of processing state and last time in the processing information of the node can be shown.
It should be noted that assigned operation can be set in advance, for example assigned operation can be clicking operation, slide Etc., the embodiment of the present invention is not specifically limited to this.
Removed in addition, the visualization device can be shown by the form of pop-up in the processing information of the node at the first business Information in reason view outside the information that shows, naturally it is also possible to shown by other forms, the embodiment of the present invention to this not It is specifically limited.
Step 305:Determine exception in the business processing flow of the virtual product be present based on the first business processing view Node chain where node, and by the absence of the node chain of same node point, to be defined as this virtual between each other in the node chain of determination The abnormal nodes chain of multiple onrelevants in the business processing flow of product, abnormal nodes chain are the business based on the virtual product There is at least one node that is abnormal and dependence being between each other present in handling process to form.
It should be noted that step 305 determines the business processing flow of the virtual product based on the first business processing view The middle node chain existed where abnormal node, and the node chain that same node point will be not present in the node chain of determination between each other The method of the abnormal nodes chain for the multiple onrelevants being defined as in the business processing flow of the virtual product and the side in step 204 Method is identical, and the embodiment of the present invention no longer repeats this one by one.
Step 306:For each abnormal nodes chain in the abnormal nodes chain of the plurality of onrelevant, based on the abnormal nodes The start node mark of chain and the failure description information of the start node of the abnormal nodes chain are alerted.
It should be noted that start node mark and the abnormal nodes chain of the step 306 based on the abnormal nodes chain rise The method that the failure description information of beginning node is alerted is identical with the method in step 205, the embodiment of the present invention to this no longer Repeat one by one.
So far, the alarm method of business procession provided in an embodiment of the present invention has been realized, and has worked as start node afterwards Node director when receiving warning information, can be solved to the exception of appearance, on the follow-up abnormal nodes chain at least One node can be handled the business datum of the virtual product again, specific as follows.
Step 307:When at least one node that the abnormal nodes chain includes carries out weight to the business datum of the virtual product When the event newly handled is triggered, business processing device is based at least one node again to the business datum of the virtual product Handled.
It should be noted that at least one node that the abnormal nodes chain includes is carried out to the business datum of the virtual product Again the event handled can trigger manually after the node director of start node is solved to the exception of appearance, when So, at least one node can also trigger in the specified duration after visualization device sends a warning message, and that is to say, should At least one node can be not specifically limited with timing automatic triggering, the embodiment of the present invention to this.
Wherein, specified duration can be set in advance, for example, specify when a length of 1 hour, 2 hours etc., the embodiment of the present invention This is not specifically limited.
In addition, business processing device is handled the business datum of the virtual product again based at least one node Method it is identical with the processing method in above-mentioned steps 301.
Step 308:The business datum of the virtual product is entered again at least one node that the abnormal nodes chain includes During row processing, visualization device reacquires the processing information of at least one node.
It should be noted that at least one node that step 306 includes in the abnormal nodes chain is again to the business datum During being handled, visualization device is reacquired in the method and step 207 of the processing information of at least one node Method it is identical, the embodiment of the present invention no longer repeats this one by one.
Step 309:Visualization device identifying based on each node, the directed edge between each node and each node Newest processing state, judge whether abnormal nodes chain also be present in the business processing flow of the virtual product.
It should be noted that step 309 identifying based on each node, the directed edge between each node and each node Newest processing state, judge the method and step of abnormal nodes chain in the business processing flow of the virtual product whether also be present Method in 208 is identical, and the embodiment of the present invention no longer repeats this one by one.
For example node director is in 2016-05-12 04:00:00 has solved exception, " download and redeem reconciliation file ", " redeems Return reconciliation " and " business side fund clearing " node respectively in 2016-05-12 04:01:00、2016-05-12 04:05:00、 2016-05-12 04:09:Again the task processing of node is completed when 00, and result is all successful and overtime, then be based on 2016-05-12 04:09:The processing information stored when 00 in specified database determines node " download and redeem reconciliation file ", " redeemed Return reconciliation " and the node background color of " business side fund clearing " be light green color, the second business processing view now drawn Can be as shown in Figure 3 C.Wherein, the light green color in Fig. 3 C is represented in the form of pore.
Step 310:When abnormal nodes chain in the business processing flow of the virtual product also be present, based on the abnormal nodes The start node mark of chain and the failure description information of the start node of the abnormal nodes chain are alerted, return to step 307, directly Untill abnormal nodes chain is not present into the business processing flow of the virtual product.
It should be noted that start node mark and the abnormal nodes chain of the step 310 based on the abnormal nodes chain rise The method that the failure description information of beginning node is alerted is identical with the method in step 209, the embodiment of the present invention to this no longer Repeat one by one.
In embodiments of the present invention, visualization device can be carried out in business processing device to the business datum of virtual product The processing information of each node is obtained during processing, and the processing information is stored in specified database, and when virtual Product is different, and the virtual product business processing flow it is also different when, afterwards, the visualization device can be based on the virtual production The product identification of product, targetedly obtain the mark of each node in the business processing flow of the virtual product and each section Directed edge between point, because the directed edge between each node is used to indicate business processing of each node in the virtual product Dependence in flow, therefore, the directed edge between mark of the visualization device based on each node and each node, press When drawing the first business processing view according to assignment graphization rule and the processing state of each node stored in specified database, The dependence between each node can be embodied in the first business processing view, and then can directly determine the root of exception This reason, it that is to say, can be with for each abnormal nodes chain in the abnormal nodes chain of multiple onrelevants in the first processing view The start node in the abnormal nodes chain is directly defined as abnormal root, the time consumed when positioning abnormal is saved, enters And the failure description information of the start node of the start node mark and the abnormal nodes chain based on the abnormal nodes chain is accused When alert, it is ensured that the director of the start node improves the efficiency solved extremely to the abnormal solution in time.
Fig. 4 is a kind of device alerted in business procession provided in an embodiment of the present invention, and the device includes:
First acquisition module 401, the mistake handled for each node in business processing flow business datum Cheng Zhong, the processing information of each node is obtained, processing information includes processing state and failure description information, and processing state is pair Node state in which during business datum is handled, each node are to each processing ring in business processing flow Section obtains after being standardized definition;
Determining module 402, for when detecting event is triggered, identifying, between each node based on each node The processing state of directed edge and each node, determine the abnormal nodes chain of multiple onrelevants in business processing flow, Ge Gejie Directed edge between point is used to indicate dependence of each node in business processing flow, and abnormal nodes chain is the business of being based on There is at least one node that is abnormal and dependence being between each other present in handling process to form;
First alarm module 403, for each abnormal nodes chain in the abnormal nodes chain for multiple onrelevants, it is based on The start node mark of abnormal nodes chain and the failure description information of the start node of abnormal nodes chain are alerted.
Optionally it is determined that module 402 includes:
Drawing unit, the processing for identifying based on each node, the directed edge between each node and each node State, the first business processing view is drawn according to assignment graphization rule;
First determining unit, for based on the first business processing view, determining abnormal section in business processing flow be present Node chain where point;
Second determining unit, it is defined as the node chain in the node chain by determination between each other in the absence of same node point The abnormal nodes chain of multiple onrelevants in business processing flow.
Alternatively, drawing unit includes:
Subelement is obtained, for the processing state based on each node, from processing state and the node background color of storage Between corresponding relation in, obtain node background color corresponding to each node;
Subelement is drawn, it is corresponding for identifying based on each node, the directed edge between each node and each node Node background color, according to assignment graphization rule draw the first business processing view.
Alternatively, the first alarm module 403 includes:
Generation unit, for the failure description information based on start node, generate warning information;
Alarm Unit, for being alerted based on start node mark and warning information.
Alternatively, the device also includes:
Second acquisition module, at least one node for including in abnormal nodes chain are handled business datum again During, reacquire the processing information of at least one node;
Judge module, for the newest of identifying based on each node, the directed edge between each node and each node Processing state, judge whether abnormal nodes chain also be present in business processing flow;
Second alarm module, for when abnormal nodes chain in business processing flow also be present, based on abnormal nodes chain Start node is identified and the failure description information of the start node of abnormal nodes chain is alerted, and return includes in abnormal nodes chain At least one node business datum is handled again during, reacquire the processing information of at least one node Step, untill abnormal nodes chain is not present in business processing flow.
Alternatively, the first acquisition module 401 is included as at least one in lower unit:
Receiving unit, during being handled for each node in business processing flow business datum, connect Receive the processing information that each node reports;
Collecting unit, during being handled for each node in business processing flow business datum, base In the configuration file of data acquisition module, the processing information of each node is acquired by data acquisition module.
In embodiments of the present invention, the mistake that each node that can be in business processing flow is handled business datum The processing information of each node is obtained in journey, and when detecting event is triggered, identifying based on each node, each node it Between directed edge and each node processing state, determine the abnormal nodes chains of multiple onrelevants in business processing flow, by Directed edge between each node is used to indicate dependence of each node in business processing flow, therefore, by each Can be embodied in the abnormal nodes chain for multiple onrelevants that directed edge between individual node is determined between each node according to The relation of relying, and then the basic reason of exception can be directly determined, it that is to say, for every in the abnormal nodes chain of multiple onrelevants Individual abnormal nodes chain, the start node in the abnormal nodes chain directly can be defined as abnormal root, it is different to save positioning The time consumed when often, and then the mistake of the start node of the mark of the start node based on the abnormal nodes chain and the abnormal nodes chain When losing description information and being alerted, it is ensured that the director of the start node to this it is abnormal solve in time, improve abnormal solve Efficiency.
It should be noted that:Above-described embodiment provide the device alerted in business procession alarm when, , can be as needed and by above-mentioned function distribution only with the division progress of above-mentioned each functional module for example, in practical application Completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, it is described above to complete All or part of function.In addition, above-described embodiment provide the device alerted in business procession with business The embodiment of the method alerted in processing procedure belongs to same design, and its specific implementation process refers to embodiment of the method, here Repeat no more.
Fig. 5 is that a kind of according to an exemplary embodiment is alerted in the business procession of virtual product The block diagram of device 500.The device 500 can be server.The device 500 include CPU (CPU) 501 including with The system storage 504 of machine access memory (RAM) 502 and read-only storage (ROM) 503, and connection system storage 504 With the system bus 505 of CPU 501.Described device 500 also includes helping to pass between each device in computer The basic input/output (I/O systems) 506 of defeated information, and for storage program area 513, application program 510 and other The mass-memory unit 507 of program module 515.
The basic input/output 506 includes for the display 508 of display information and inputs letter for user The input equipment 509 of such as mouse, keyboard etc of breath.Wherein described display 508 and input equipment 509 are all by being connected to The IOC 510 of system bus 505 is connected to CPU 501.The basic input/output 506 Can also include IOC 510 for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its The input of his equipment.Similarly, IOC 510 also provides output to display screen, printer or other kinds of defeated Go out equipment.
The mass-memory unit 507 is by being connected to the bulk memory controller (not shown) of system bus 505 It is connected to CPU 501.The mass-memory unit 507 and its associated computer-readable medium are device 500 provide non-volatile memories.That is, the mass-memory unit 507 can include such as hard disk or CD-ROM The computer-readable medium (not shown) of driver etc.
Without loss of generality, the computer-readable medium can include computer-readable storage medium and communication media.Computer Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data The volatibility and non-volatile, removable and irremovable medium that any method or technique is realized.Computer-readable storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium It is not limited to above-mentioned several.Above-mentioned system storage 504 and mass-memory unit 507 may be collectively referred to as memory.
According to various embodiments of the present invention, described device 500 can also pass through the network connections such as internet to net Remote computer operation on network.Namely device 500 can be by the NIU that is connected on the system bus 505 511 are connected to network 512, in other words, other kinds of network or long-range can also be connected to using NIU 511 Computer system (not shown).
The memory also includes one or more than one program, one or more than one program storage in In memory, one or more than one program bag contains provided in an embodiment of the present invention in business procession for carrying out The instruction of the middle method alerted, it is as follows:
During each node in business processing flow is handled business datum, the place of each node is obtained Information is managed, processing information includes processing state and failure description information, and processing state is the mistake handled business datum Journey interior joint state in which, each node are obtained after each processing links in business processing flow are standardized with definition Arrive;
When detecting event is triggered, identifying based on each node, the directed edge between each node and each node Processing state, determine the abnormal nodes chains of multiple onrelevants in business processing flow, detecting event is used to indicate to business Data are detected during being handled with the presence or absence of abnormal, and the directed edge between each node is used to indicate each node Dependence in business processing flow, abnormal nodes chain are to be based on existing abnormal in business processing flow and deposit between each other Formed at least one node of dependence;
For each abnormal nodes chain in the abnormal nodes chain of multiple onrelevants, the start node based on abnormal nodes chain The failure description information of the start node of mark and abnormal nodes chain is alerted.
Alternatively, the processing state of identifying based on each node, the directed edge between each node and each node, really Determine the abnormal nodes chain of multiple onrelevants in business processing flow, including:
The processing state of identifying based on each node, the directed edge between each node and each node, according to specifying Graphical rule draws the first business processing view;
Based on the first business processing view, the node chain for having where abnormal node in business processing flow is determined;
The node chain that same node point is not present in the node chain of determination between each other is defined as more in business processing flow The abnormal nodes chain of individual onrelevant.
Alternatively, the processing state of identifying based on each node, the directed edge between each node and each node, is pressed The first business processing view is drawn according to assignment graphization rule, including:
Processing state based on each node, the corresponding relation between the processing state of storage and node background color In, obtain node background color corresponding to each node;
Identifying based on each node, node background color corresponding to the directed edge between each node and each node, The first business processing view is drawn according to assignment graphization rule.
Alternatively, the failure description letter of the start node of the start node mark based on abnormal nodes chain and abnormal nodes chain Breath is alerted, including:
The failure description information of start node based on abnormal nodes chain, generate warning information;
Alerted based on start node mark and warning information.
Alternatively, the failure description letter of the start node of the start node mark based on abnormal nodes chain and abnormal nodes chain After breath is alerted, in addition to:
During at least one node that abnormal nodes chain includes is handled business datum again, reacquire The processing information of at least one node;
The newest processing state of identifying based on each node, the directed edge between each node and each node, judge Whether abnormal nodes chain also be present in business processing flow;
When abnormal nodes chain in business processing flow also be present, start node mark and exception based on abnormal nodes chain The failure description information of the start node of node chain is alerted, and returns at least one node included in abnormal nodes chain again During handling business datum, the step of reacquiring the processing information of at least one node, until business processing Untill abnormal nodes chain is not present in flow.
Alternatively, during each node in business processing flow is handled business datum, obtain each The processing information of node, including at least one of following manner:
During each node in business processing flow is handled business datum, receive each node and report Processing information;
During each node in business processing flow is handled business datum, based on data acquisition module Configuration file, the processing information of each node is acquired by data acquisition module.
In embodiments of the present invention, the mistake that each node that can be in business processing flow is handled business datum The processing information of each node is obtained in journey, and when detecting event is triggered, identifying based on each node, each node it Between directed edge and each node processing state, determine the abnormal nodes chains of multiple onrelevants in business processing flow, by Directed edge between each node is used to indicate dependence of each node in business processing flow, therefore, by each Can be embodied in the abnormal nodes chain for multiple onrelevants that directed edge between individual node is determined between each node according to The relation of relying, and then the basic reason of exception can be directly determined, it that is to say, for every in the abnormal nodes chain of multiple onrelevants Individual abnormal nodes chain, the start node in the abnormal nodes chain directly can be defined as abnormal root, it is different to save positioning The time consumed when often, and then the mistake of the start node of the mark of the start node based on the abnormal nodes chain and the abnormal nodes chain When losing description information and being alerted, it is ensured that the director of the start node to this it is abnormal solve in time, improve abnormal solve Efficiency.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

1. a kind of method alerted in business procession, it is characterised in that methods described includes:
During each node in business processing flow is handled business datum, the place of each node is obtained Information is managed, the processing information includes processing state and failure description information, and the processing state is to the business datum Node state in which during being handled, each node are to each processing ring in the business processing flow Section obtains after being standardized definition;
When detecting event is triggered, identifying based on each node, the directed edge between each node and described The processing state of each node, determine the abnormal nodes chain of multiple onrelevants in the business processing flow, the detection thing Part is used to detect with the presence or absence of abnormal during indicating to handle the business datum, between each node Directed edge be used for indicate dependence of each node in the business processing flow, the abnormal nodes chain is base There is at least one node that is abnormal and dependence being between each other present in the business processing flow to form;
For each abnormal nodes chain in the abnormal nodes chain of the multiple onrelevant, the starting based on the abnormal nodes chain The failure description information of the start node of node identification and the abnormal nodes chain is alerted.
2. the method as described in claim 1, it is characterised in that the identifying based on each node, each section The processing state of directed edge and each node between point, determines the different of multiple onrelevants in the business processing flow Chang Jiedian chains, including:
The processing state of identifying based on each node, the directed edge between each node and each node, The first business processing view is drawn according to assignment graphization rule;
Based on the first business processing view, the node for having where abnormal node in the business processing flow is determined Chain;
The node chain that same node point is not present in the node chain of determination between each other is defined as more in the business processing flow The abnormal nodes chain of individual onrelevant.
3. method as claimed in claim 2, it is characterised in that the identifying based on each node, each section The processing state of directed edge and each node between point, draw the first business processing according to assignment graphization rule and regard Figure, including:
Based on the processing state of each node, the corresponding relation between the processing state of storage and node background color In, obtain node background color corresponding to each node;
Identifying based on each node, node corresponding to the directed edge between each node and each node are carried on the back Scape color, the first business processing view is drawn according to assignment graphization rule.
4. the method as described in claim 1, it is characterised in that it is described based on the abnormal nodes chain start node mark and The failure description information of the start node of the abnormal nodes chain is alerted, including:
The failure description information of start node based on the abnormal nodes chain, generate warning information;
Alerted based on start node mark and the warning information.
5. the method as described in claim 1-4 is any, it is characterised in that the start node based on the abnormal nodes chain After the failure description information of the start node of mark and the abnormal nodes chain is alerted, in addition to:
During at least one node that the abnormal nodes chain includes is handled the business datum again, again Obtain the processing information of at least one node;
The newest processing shape of identifying based on each node, the directed edge between each node and each node State, judge whether abnormal nodes chain also be present in the business processing flow;
When abnormal nodes chain in the business processing flow also be present, start node based on abnormal nodes chain mark and The failure description information of the start node of the abnormal nodes chain is alerted, and is included described in return in the abnormal nodes chain During at least one node is handled the business datum again, the processing of at least one node is reacquired The step of information, untill abnormal nodes chain is not present in the business processing flow.
6. the method as described in claim 1, it is characterised in that each node in business processing flow is to business number During being handled, the processing information of each node, including at least one of following manner are obtained:
During each node in business processing flow is handled business datum, receive each node and report Processing information;
During each node in business processing flow is handled business datum, matching somebody with somebody based on data acquisition module File is put, the processing information of each node is acquired by the data acquisition module.
7. a kind of device alerted in business procession, it is characterised in that described device includes:
First acquisition module, during being handled for each node in business processing flow business datum, obtain The processing information of each node is taken, the processing information includes processing state and failure description information, the processing shape State is node state in which during handling the business datum, and each node is to the business processing Each processing links in flow obtain after being standardized definition;
Determining module, for when detecting event is triggered, identifying, between each node based on each node The processing state of directed edge and each node, determine the abnormal nodes of multiple onrelevants in the business processing flow Chain, the directed edge between each node are used to indicate that dependence of each node in the business processing flow is closed System, the abnormal nodes chain are based on existing abnormal in the business processing flow and dependence be present at least between each other One node is formed;
First alarm module, for each abnormal nodes chain in the abnormal nodes chain for the multiple onrelevant, based on institute The failure description information for stating the start node mark of abnormal nodes chain and the start node of the abnormal nodes chain is alerted.
8. device as claimed in claim 7, it is characterised in that the determining module includes:
Drawing unit, for identifying based on each node, the directed edge between each node and each section The processing state of point, the first business processing view is drawn according to assignment graphization rule;
First determining unit, for based on the first business processing view, determining exception in the business processing flow be present Node where node chain;
Second determining unit, the node chain for same node point to be not present in the node chain by determination between each other are defined as described The abnormal nodes chain of multiple onrelevants in business processing flow.
9. device as claimed in claim 8, it is characterised in that the drawing unit includes:
Subelement is obtained, for the processing state based on each node, from processing state and the node background color of storage Between corresponding relation in, obtain node background color corresponding to each node;
Subelement is drawn, for identifying based on each node, the directed edge between each node and described each Node background color corresponding to node, the first business processing view is drawn according to assignment graphization rule.
10. device as claimed in claim 7, it is characterised in that first alarm module includes:
Generation unit, for the failure description information based on the start node, generate warning information;
Alarm Unit, for being alerted based on start node mark and the warning information.
11. the device as described in claim 7-10 is any, it is characterised in that described device also includes:
Second acquisition module, at least one node for including in the abnormal nodes chain are carried out to the business datum again During processing, the processing information of at least one node is reacquired;
Judge module, for identifying based on each node, the directed edge between each node and each section The newest processing state of point, judges whether abnormal nodes chain also be present in the business processing flow;
Second alarm module, for when abnormal nodes chain in the business processing flow also be present, based on the abnormal nodes The start node mark of chain and the failure description information of the start node of the abnormal nodes chain are alerted, and are returned described in institute During at least one node that stating abnormal nodes chain includes is handled the business datum again, described in reacquisition The step of processing information of at least one node, untill abnormal nodes chain is not present in the business processing flow.
12. device as claimed in claim 7, it is characterised in that first acquisition module is included in such as lower unit at least One:
Receiving unit, during being handled for each node in business processing flow business datum, receive institute State the processing information that each node reports;
Collecting unit, during being handled for each node in business processing flow business datum, based on number According to the configuration file of acquisition module, the processing information of each node is acquired by the data acquisition module.
CN201610723500.7A 2016-08-25 2016-08-25 Method and device for alarming in service processing process Active CN107784404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610723500.7A CN107784404B (en) 2016-08-25 2016-08-25 Method and device for alarming in service processing process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610723500.7A CN107784404B (en) 2016-08-25 2016-08-25 Method and device for alarming in service processing process

Publications (2)

Publication Number Publication Date
CN107784404A true CN107784404A (en) 2018-03-09
CN107784404B CN107784404B (en) 2020-09-01

Family

ID=61438545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610723500.7A Active CN107784404B (en) 2016-08-25 2016-08-25 Method and device for alarming in service processing process

Country Status (1)

Country Link
CN (1) CN107784404B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876205A (en) * 2018-07-26 2018-11-23 中国光大银行股份有限公司 The implementation method of the construction method and device of business datum, business
CN109254986A (en) * 2018-08-31 2019-01-22 阿里巴巴集团控股有限公司 A kind of determination method and device of abnormal data
CN109640171A (en) * 2018-12-07 2019-04-16 北京微播视界科技有限公司 Multimedia messages synthetic method, electronic equipment and computer readable storage medium
CN109766076A (en) * 2018-11-27 2019-05-17 贵州力创科技发展有限公司 A kind of flow control method, device and storage medium
CN110362475A (en) * 2019-06-17 2019-10-22 北京奇艺世纪科技有限公司 A kind of information acquisition method, device, terminal device and storage medium
CN110516971A (en) * 2019-08-29 2019-11-29 杭州网易再顾科技有限公司 Method, apparatus, medium and the calculating equipment of abnormality detection
CN110597695A (en) * 2019-08-29 2019-12-20 浙江大搜车软件技术有限公司 Alarm method, alarm device, computer equipment and readable storage medium
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN114500248A (en) * 2022-04-01 2022-05-13 北京锐融天下科技股份有限公司 Monitoring and alarming method and system for service in Internet software system
CN115086262A (en) * 2022-06-20 2022-09-20 深圳证券通信有限公司 Heterogeneous instant messaging method and related device
CN116489184A (en) * 2023-03-27 2023-07-25 曲靖阳光新能源股份有限公司 Silicon material crushing screening machine monitoring system based on wireless transmission

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103337113A (en) * 2013-07-17 2013-10-02 广州广电运通金融电子股份有限公司 Method and device for intelligently analyzing electronic day-to-day journals, as well as processor
CN105117828A (en) * 2015-08-05 2015-12-02 北京恒华伟业科技股份有限公司 Flow state display method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103337113A (en) * 2013-07-17 2013-10-02 广州广电运通金融电子股份有限公司 Method and device for intelligently analyzing electronic day-to-day journals, as well as processor
CN105117828A (en) * 2015-08-05 2015-12-02 北京恒华伟业科技股份有限公司 Flow state display method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876205A (en) * 2018-07-26 2018-11-23 中国光大银行股份有限公司 The implementation method of the construction method and device of business datum, business
CN109254986A (en) * 2018-08-31 2019-01-22 阿里巴巴集团控股有限公司 A kind of determination method and device of abnormal data
CN109766076A (en) * 2018-11-27 2019-05-17 贵州力创科技发展有限公司 A kind of flow control method, device and storage medium
CN109640171A (en) * 2018-12-07 2019-04-16 北京微播视界科技有限公司 Multimedia messages synthetic method, electronic equipment and computer readable storage medium
CN110362475A (en) * 2019-06-17 2019-10-22 北京奇艺世纪科技有限公司 A kind of information acquisition method, device, terminal device and storage medium
CN110516971B (en) * 2019-08-29 2023-04-25 杭州网易再顾科技有限公司 Anomaly detection method, device, medium and computing equipment
CN110516971A (en) * 2019-08-29 2019-11-29 杭州网易再顾科技有限公司 Method, apparatus, medium and the calculating equipment of abnormality detection
CN110597695A (en) * 2019-08-29 2019-12-20 浙江大搜车软件技术有限公司 Alarm method, alarm device, computer equipment and readable storage medium
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN111324629B (en) * 2020-02-19 2023-08-15 望海康信(北京)科技股份公司 Service data processing method and device, electronic equipment and computer storage medium
CN114500248A (en) * 2022-04-01 2022-05-13 北京锐融天下科技股份有限公司 Monitoring and alarming method and system for service in Internet software system
CN114500248B (en) * 2022-04-01 2022-08-05 北京锐融天下科技股份有限公司 Monitoring and alarming method and system for service in Internet software system
CN115086262A (en) * 2022-06-20 2022-09-20 深圳证券通信有限公司 Heterogeneous instant messaging method and related device
CN115086262B (en) * 2022-06-20 2023-09-26 深圳证券通信有限公司 Heterogeneous instant messaging method and related device
CN116489184A (en) * 2023-03-27 2023-07-25 曲靖阳光新能源股份有限公司 Silicon material crushing screening machine monitoring system based on wireless transmission
CN116489184B (en) * 2023-03-27 2024-02-27 曲靖阳光新能源股份有限公司 Silicon material crushing screening machine monitoring system based on wireless transmission

Also Published As

Publication number Publication date
CN107784404B (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN107784404A (en) Alarm method and device are carried out in business procession
CN109461078B (en) Abnormal transaction identification method and system based on fund transaction network
CN111476662A (en) Anti-money laundering identification method and device
CN106656536A (en) Method and device for processing service invocation information
CN108228706A (en) For identifying the method and apparatus of abnormal transaction corporations
CN108446972A (en) Bank's Supervision of credit method, apparatus and fund position manage system
CN103970851B (en) The method that magnanimity Credential data directly provides general headquarters of large-size enterprise group financial statement
CN102117459A (en) Risk control system and method
CN110399533A (en) Funds flow querying method and device
CN109800995A (en) A kind of grid equipment fault recognition method and system
CN110162445A (en) The host health assessment method and device of Intrusion Detection based on host log and performance indicator
Gupta et al. Audit selection strategy for improving tax compliance: application of data mining techniques
CN108282586B (en) Prediction technique, device, storage medium and terminal based on service line
CN109389518A (en) Association analysis method and device
CN111950929A (en) Workload balanced distribution method and device for project type tasks
Kumar et al. Modeling Supplier Development barriers in Indian manufacturing industry
CN113835947B (en) Method and system for determining abnormality cause based on abnormality recognition result
CN111178722A (en) Machine learning systems, methods, and media suitable for sales lead rating and distribution
CN109685328A (en) A kind of project under construction turns the risk score method and system of fixed assets
CN115439265A (en) Intelligent insurance industry compensation abnormal transaction risk control system
CN113850609A (en) Customer management system, method, computer equipment and storage medium
Rösner et al. Integrating the United Nations sustainable development goals into organizational strategy: A sustainability balanced scorecard approach using ANP and TOPSIS
CN112926980A (en) Payment data transaction method based on block chain
CN111027831A (en) Investment decision method and system based on economic evaluation model
Syahputra et al. System Analysis and Design of Fishery Supply Chain Risk in Aceh: A Case Study

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