Method for processing business and device
Technical field
The present invention relates to the communications fields, in particular to a kind of method for processing business and device.
Background technology
With the development of telecommunication service, value-added telecom services type increases, and provides the software and equipment of service to the user
Also gradually increase.Demand raising of the user to value-added telecom services causes the flow of each business operation to become increasingly complex, each
The network element device that business is related to is also just more and more.
Therefore, if a business operation flow is related to many network element devices, once it goes wrong in flow, it is difficult to fixed
The position problem.
Invention content
The present invention provides a kind of method for processing business and devices, at least to solve in the related technology, a business operation
By multiple equipment, it is difficult to find and position the problem that mistake occurs in the process in the business operation.
According to an aspect of the invention, there is provided a kind of method for processing business, including:It receives and is set from the first network element
The first standby tracking message, wherein the first tracking message is that the first network element device is receiving the business from the second network element device
Operating process in interaction message when, sent according to the business and its tracking condition prenoticed;The first tracking of display disappears
Breath.
Preferably, before receiving the first tracking message from the first network element device, the above method further includes:Display
The tracking operation and all network element devices that the facility information of all network element devices obtained in advance, all network element devices provide
Tracking condition;The operation for responding user determines the network element device for needing to track in all network element devices;The net tracked to needs
Element device sends business and its tracking condition.
Preferably, interaction of first network element device in the operating process for receiving the business from the second network element device disappears
When breath, sending the first tracking message according to the business and its tracking condition prenoticed includes:First network element device is receiving
When interaction message in the operating process of the business from the second network element device, determine that the business meets the business prenoticed
Tracking condition;First network element device sends the first tracking message.
Preferably, above-mentioned after the tracking condition that the first network element device determines that the business meets the business prenoticed
Method further includes:Tracking mark is arranged in first network element device in interaction message, and wherein tracking mark is used to indicate business satisfaction
Tracking condition;First network element device sends the interaction message for being provided with tracking mark to third network element device.
Preferably, after the first network element device is provided with the interaction message of tracking mark to the transmission of third network element device,
The above method further includes:Third network element device receives the interaction message for being provided with tracking mark from the first network element device;
Third network element device sends the second tracking message.
Preferably, the first tracking of display message includes following one:Show that the first tracking disappears in a manner of column flow chart
Breath;The sender and/or recipient of display the first tracking message;The field in the first tracking message is shown with tree structure.
Preferably, the first tracking of display message includes:In the first network element device according to preset packaged type pair
In the case that one tracking message is packaged, tracking message is parsed according to preset analysis mode;Display parsing
The first tracking message afterwards.
According to another aspect of the present invention, a kind of business processing device is provided, including:Receiving module comes for receiving
Message is tracked from the first of the first network element device, is being received from the second net wherein the first tracking message is the first network element device
When interaction message in the operating process of the business of element device, sent according to the business and its tracking condition prenoticed;The
One display module, for showing the first tracking message.
Preferably, above-mentioned apparatus further includes:Second display module, for showing setting for all network element devices obtained in advance
The tracking condition of tracking operation and all network element devices that standby information, all network element devices provide;Determining module, for responding
The operation of user determines the network element device for needing to track in all network element devices;Sending module, the net for being tracked to needs
Element device sends business and its tracking condition.
Preferably, the first display module includes:Analyzing sub-module is used in the first network element device according to preset envelope
In the case that the tracking of dress mode pair first message is packaged, tracking message is solved according to preset analysis mode
Analysis;Display sub-module, for showing the first tracking message after parsing.
In the present invention, network element device sends tracking message according to the business and its tracking condition prenoticed, and by business
Processing unit shows the tracking message.In the operating process of entire business, to traceable network element device into line trace, ensure
Entire operation flow can find the simultaneously positioning service flow problem at any time all among tracking according to tracking message.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of method for processing business according to the ... of the embodiment of the present invention;
Fig. 2 is the structure diagram of business processing device according to the ... of the embodiment of the present invention;
Fig. 3 is the structure diagram one of business processing device according to the preferred embodiment of the invention;
Fig. 4 is the structure diagram two of business processing device according to the preferred embodiment of the invention;
Fig. 5 is the structure diagram of transaction processing system according to the preferred embodiment of the invention;
Fig. 6 is the flow chart of method for processing business according to the preferred embodiment of the invention.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
The present invention provides a kind of method for processing business, Fig. 1 is the stream of method for processing business according to the ... of the embodiment of the present invention
Cheng Tu, as shown in Figure 1, including following step S102 to step S104.
Step S102 receives the first tracking message from the first network element device, wherein the first tracking message is first
When interaction message of the network element device in the operating process for receiving the business from the second network element device, according to what is prenoticed
What business and its tracking condition were sent.
Step S104, display the first tracking message.
In the related technology, a business operation need to pass through multiple equipment, it is difficult to during finding and positioning the business operation
The problem.In the embodiment of the present invention, network element device sends tracking message according to the business and its tracking condition prenoticed,
And the tracking message is shown by business processing device.In the operating process of entire business, traceable network element device is carried out
Tracking, ensures entire operation flow all among tracking, and message can be found at any time and positioning service flow goes out according to tracking
Existing problem.It should be noted that display tracking message is according to sequential priority real-time display.
The present invention mainly sends business and its tracking condition by the network element device tracked to needs, in the operation stream of business
Cheng Zhong, network element device receive the interaction message in the operating process for the business that other network element devices are sent, trigger the network element and set
It is standby to send tracking message to business processing device.Further include following steps so before above-mentioned steps S102:Display is advance
The tracking operation and the tracking of all network element devices that facility information, all network element devices of all network element devices obtained provide
Condition;The operation for responding user determines the network element device for needing to track in all network element devices;The network element tracked to needs is set
Preparation send business and its tracking condition.Wherein, the facility information of all network element devices obtained in advance, all network element devices provide
Tracking operation and the tracking conditions of all network element devices be to be obtained from the database of business processing device, in the data
In library, it is stored with the facility information of all network element devices, the tracking that all network element devices provide operates and all network element devices
Tracking condition.After showing the content of acquisition, user selects the network element device for needing to track, then by business and its trackbar
Part is sent to the network element device that the needs of user's selection track.In this preferred embodiment, user is allowed to select the equipment for needing to track,
The equipment to that need not track is avoided to improve business processing efficiency under the premise of carrying out flow tracking into line trace, carry
High user experience.
After network element device receives the interaction message in the operating process for the business that other network element devices are sent, first to judge
Whether the business meets tracking condition, in the case where meeting tracking condition, just sends tracking message.First network element device is connecing
When receiving the interaction message in the operating process of the business from the second network element device, according to the business and its tracking prenoticed
Condition sends the first tracking message and specifically includes:First network element device is in the operation for receiving the business from the second network element device
When interaction message in flow, determine that the business meets the tracking condition for the business prenoticed;First network element device sends the
One tracking message.In this preferred embodiment, judges whether the business that itself is received meets tracking condition by network element device, judge to tie
Fruit is simple, reliable.
In turn, after network element device determines the tracking condition that the business that receives meets the business prenoticed, in addition to
Business processing device is sent outside tracking message, also to continue to send interaction message to next network element device, specific as follows:First
Network element device is arranged tracking mark in interaction message, and wherein tracking mark is used to indicate business and meets tracking condition;First net
Element device sends the interaction message for being provided with tracking mark to third network element device.It is arranged in interaction message between network element device
Tracking mark, next network element device does not just have to judge whether the business meets tracking condition again, directly to business processing device
Send tracking message so that tracking process is more simple.Specifically, next network element device, which receives, is provided with tracking mark
After the interaction message of will, operation is as follows:Third network element device (i.e. next network element device) is received to be set from the first network element
The standby interaction message for being provided with tracking mark;Third network element device sends the second tracking message.
Preferably, the first tracking of display message includes following one:Show that the first tracking disappears in a manner of column flow chart
Breath;The sender and/or recipient of display the first tracking message;The field in the first tracking message is shown with tree structure.Tool
Body, user clicks the flowline in column flow chart, can show the sender and/or recipient of tracking message, can be with
Specific field in tree structure display tracking message.
In addition, to show each field of tracking message, needs to parse the tracking message, specifically include following step
Suddenly:In the case where the first network element device tracks message according to preset packaged type pair first and is packaged, according to pre-
The analysis mode first set parses tracking message;The first tracking message after display parsing.
An embodiment of the present invention provides a kind of business processing device, which can be used to implement above-mentioned business
Processing method.Fig. 2 is the structure diagram of business processing device according to the ... of the embodiment of the present invention, as shown in Fig. 2, including receiving module
22 and first display module 24.Its structure is described in detail below.
Receiving module 22, for receiving the first tracking message from the first network element device, wherein the first tracking message is
When interaction message of first network element device in the operating process for receiving the business from the second network element device, according to logical in advance
What the business and its tracking condition known were sent;First display module 24, is connected to receiving module 22, for showing receiving module 22
The the first tracking message received.
In the related technology, a business operation need to pass through multiple equipment, it is difficult to during finding and positioning the business operation
The problem.In the embodiment of the present invention, network element device sends tracking message according to the business and its tracking condition prenoticed,
And the tracking message is shown by the first display module 24 of business processing device.It, pair can be in the operating process of entire business
The network element device of track ensures entire operation flow all among tracking into line trace, and can be found at any time according to tracking message
And the positioning service flow problem.
Fig. 3 is the structure diagram one of business processing device according to the preferred embodiment of the invention, as shown in figure 3, above-mentioned dress
It sets and further includes:Second display module 26, for the facility information for showing all network element devices obtained in advance, all network element devices
The tracking operation of offer and the tracking condition of all network element devices;Respond module 28 is connected to the second display module 26, is used for
The operation for responding user determines the network element device for needing to track in all network element devices of the second display module 26 display;Hair
Module 29 is sent, respond module 28 is connected to, is set for responding the network element that the needs that user's operation determines track to respond module 28
Preparation send business and its tracking condition.
Fig. 4 is the structure diagram two of business processing device according to the preferred embodiment of the invention, as shown in figure 4, first is aobvious
Show that module 24 includes:Analyzing sub-module 242, for being tracked according to preset packaged type pair first in the first network element device
In the case that message is packaged, tracking message is parsed according to preset analysis mode;Display sub-module 244,
Be connected to analyzing sub-module 242, for show analyzing sub-module 242 parse after first tracking message.
It should be noted that the business processing device described in device embodiment corresponds to above-mentioned embodiment of the method,
Concrete implementation process had carried out detailed description in embodiment of the method, and details are not described herein.
It can be seen from the above, method for processing business and device that the above embodiment of the present invention provides, mainly grasp a business
Make from initiating to undergoing each network element device to the whole flow process of end into line trace.
The realization process of the embodiment of the present invention is described in detail below in conjunction with example.
The present invention by tracking condition preserve in the database, by interface engine read tracking condition, setting tracking condition,
Each network element device is notified to need the business operation tracked, each network element device is to meeting the friendship in the business operation flow of tracking condition
Mutual message sends tracking message to interface engine into line trace, the tracking message that interface engine sends each network element device according to
Successively hierarchical is shown sequential in column flow chart in real time, and each word in message can be shown with tree structure
Section.
Fig. 5 is the structure diagram of transaction processing system according to the preferred embodiment of the invention, as shown in figure 5, the system packet
Include business processing device, n network element device and n tracking module.Wherein business processing device includes database module 52, script
Generation module 54 and interface module 56.Database module 52 mainly provides the function of preserving each facility information and tracking condition.Foot
This generation module 54, it is main that the structured query language (Structured for generating each facility information and tracking condition is provided
Query Language, referred to as SQL) script function.Interface module 56, provide facility registration, equipment connection, Tracing Registration,
Tracking is nullified, column flow chart is shown, message display function.As shown in figure 5, the n loads of 1~tracking module of tracking module are in network element
On 1~n of equipment, main provide judges whether the operation of each network element device needs to track, encapsulation tracking message, sends tracking message
To functions such as interface modules 56.It describes in detail below to its structure.
The table stored in database module 52 is divided into two class of equipment list and condition table, and tracking can be arranged by being preserved in equipment list
The device-dependent data such as all information, including device type, device address, EM equipment module number of equipment, these data
It will be stored in equipment list.The tracking condition that each equipment allows the operation of tracking and each operates is preserved in condition table.
Script generation module 54 provides a tool, reads the configuration file for the network element device for needing to track, can generate
The facility information of the equipment and the script file of tracking condition, script file are exactly stsndard SQL file, can directly execute insertion
Into database.
Interface module 56 provides user setting tracking equipment, tracking operates, the function of the value of setting tracking condition, and notice is each
The tracking module setting tracking operation of equipment and condition, receive the tracking message that each network element device is sent, and in column flow chart
In be shown, while provide it is each tracking message parsing function.
Specifically, the setting tracking condition function of interface module 56 is that equipment list and item are read from database module 56
Part table data show that the tracking operation that traceable equipment and each equipment provide, tracking condition etc. are needed to track by user's selection
Equipment and input this secondary tracking specific constraints.Interface module 56 can show the sender of interaction message between network element device
And recipient, the particular content of message can be tracked by clicking the displaying of the flowline in flow chart.The column that interface module 56 is shown
In shape flow chart, it is layered the interacting message of level display network element device, specifically, first layer shows that the message between network element device is handed over
Mutually, the second layer shows that the interacting message of each module in network element device, third layer show disappearing inside individual module in network element device
Breath interaction.Interface module 56 also provides parsing arrangements function, can parse the tracking message received according to parsing scheme,
And each field in message is shown with tree structure.
Tracking module receives tracking operation and the tracking condition of the transmission of interface module 56, judges to meet in the network element device
Whether the operation of condition reaches, if the operation for meeting condition reaches, tracking mark is arranged, and sends tracking message to interface module
56.In turn, it after specified tracking equipment obtains tracking mark, needs to bring tracking mark to next interactive network element device
Tracking module need not carry out the judgement of tracking condition, directly again after the tracking module of next network element device obtains tracking mark
Tap into line trace.It should be noted that each tracking module must be with to the judgement of the tracking condition of its corresponding network element device
The tracking condition preserved in database module 52 is consistent.
In addition, the tracking module of interface module 56 and load on network element device carries out interacting message by internal agreement.
The message of interaction between the message interacted inside network element device or network element device is encapsulated as interface module by tracking module to be identified
With the message of parsing, message includes sender and the reciever of this interaction message, parsing Scheme Choice etc..
Fig. 6 is the flow chart of method for processing business according to the preferred embodiment of the invention, which is based on industry shown in fig. 5
Business processing system, as shown in fig. 6, including following step S602 to step S616.
Step S602 obtains each facility information and each by interface module reading database mould equipment list in the block, condition table
The tracking condition of equipment.
Step S604 establishes link by interface module and each equipment.
Step S606 provides user's constraints for selecting tracking equipment and tracking condition by interface module, is sent to finger
Determine tracking equipment.
Step S608 judges whether the business operation of network element device needs to track by tracking module.
Step S610 receives the tracking message that tracking module is sent by interface module, and parses the tracking mould at this time
The sender and recipient of the message of the network element device interaction of block load, and each field in each message is parsed.
Step S612 is shown in a manner of column flow chart by message is tracked by interface module, draws a business operation
The equipment of flow, the hierarchical message drawn in network element device or between network element device, while showing the sender of message and connecing
Debit clicks the message line drawn in column flow chart at this time, and each field in message can be shown with tree structure.
Step S614 sends tracking end message by interface module, stops tracking.
Step S616 disconnects message by interface module transmission, disconnects the link of interface module and each network element device.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
In conclusion according to the abovementioned embodiments of the present invention, a kind of method for processing business and device are provided.The present invention
In, network element device sends tracking message according to the business and its tracking condition prenoticed, and shows this by business processing device
Track message.In the operating process of entire business, to traceable network element device into line trace, ensure entire operation flow all
The simultaneously positioning service flow problem can be found at any time among tracking, and according to tracking message.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, either they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.