Summary of the invention
The technical problems to be solved by the present invention are: in view of the problems of the existing technology, providing one kind and being patrolled based on business
Service condition setting, methods of exhibiting and the device collected.The exhibition of application performance state will be carried out in Web page with service logic figure
Show, transaction path show, key application index show, application node information inquiry etc., in order to which user is more diversified, more directly
It sees, relevant analysis more accurately is carried out to the business in network.
The technical solution adopted by the invention is as follows:
It is a kind of based on service logic service condition setting, methods of exhibiting include:
Application performance state shows step, and the application performance state of user is divided in application performance status bar,
Each application performance state is arranged three kinds of parameter expressions, three kinds of parameters be respectively apply, host and network, each parameter setting n
A time block respectively corresponds the performance state for representing the n period application, which carries out corresponding exhibition with alert level
Show;Each host is correspondingly connected with from host in service logic figure by identical IP, the foundation of different coordinate values;Using with service logic
Service application in figure is correspondingly connected with by same application ID, different coordinate value foundation;Net in network and service logic figure
Network is to be associated that (application performance status display is shown in figure in application performance status bar by same server ID, different coordinate value
9 Far Lefts;Service application, network and host etc. are shown in service logic figure in service logic figure, see interposition on the right of Fig. 9
It sets);Alert level is attached with application performance state in service logic figure;Service logic figure and application performance status bar be not
Same district domain views;
Key application index is (see four parameters in Figure 10 immediately below the left side upmserver or CRM: byte number, maximum
Response time, TCP number of transaction and average response time) show step, probe grabs all data packets, closes when by application
When the key index page chooses the key parameter index of specified application ID, by certain corresponding number of application ID key parameter in database
According to, by JQuery modify content of pages mode, corresponding data is showed on the key application index page;
Transaction path show (in Figure 15, the right service logic figure upper curve part, such as test app to ellent or
The curved portion of all client) step, by transaction path setting (Figure 12 is configured) and configuration process is shown, in correlation
Configuration of transaction path between server and client;Then by checking associated server and client transaction path, phase is obtained
Close data source;
Application node information query steps obtain host node after configuring (Figure 13 setting) by service logic figure, obtain
Communication path between host, then by checking application node information (Figure 14), be applied node related information.
Further, by SVG draw in square describe time block;It is total that number in time block represents number of alarms
With time block represents the application performance state of p grade with p color;The application performance state of p grade of time block judges
By compared with performance judgment threshold, obtaining n application with alert level peak on the all-network path that the host is connected
Performance state;
Further, the performance judgment threshold includes first performance judgment threshold x1, the second energy judgment threshold
X2 ..., the n-th performance judgment threshold xp;If alert level is identical as x1, which is minimum answer
Use performance state;If alert level is identical as x2, which is compared with high application performance state;If alarm
Grade is identical as xp, then the time block application performance state is highest application performance state;First performance judgment threshold x1 is represented
The lowest class application performance state, the n-th performance judgment threshold xp represent highest level application performance state.
Further, the key application index shows that step detailed process is: the mirror that probe passes through router switch
As all data packets of mouth crawl, parses data packet and simultaneously the achievement data of data packet is stored in database;System interval time T to
Probe sends the data in request probe data library, and is stored in system database, selects when by the key application index page
In specify application ID key parameter index when, by certain corresponding data of application ID key parameter in database, pass through JQuery
Content of pages mode is modified, corresponding data is showed on the key application index page;T is 1 minute to 2 minutes;
Further, it after the click application performance state node, can check concrete application nodal information, click host section
Point checks specific host information;The essential information of node is to deposit data acquisition in node by D3 in service logic figure;
Solid circles and empty circles respectively represent individual host and multiple main frames, and closed square and hollow square then represent single application
With multiple applications, line represents network path.And the point of flowing is had on line, server, which is flowed to, from client represents data flow;
Data are to configure what that got from business logic chart, are then echoed by D3.
Further, the configuration of service logic figure panorama or configuration placed in the middle are then to calculate business by calculating painting canvas area
The position of data coordinates point determines in logic chart.
It is a kind of based on service logic service condition setting, show device include:
Application performance state display module divides the application performance state of user in application performance status bar,
Each application performance state is arranged three kinds of parameter expressions, three kinds of parameters be respectively apply, host and network, each parameter setting n
A time block respectively corresponds the performance state for representing the n period application, which carries out corresponding displaying with alarm number;
Each host is correspondingly connected with from host in service logic figure by identical IP, the foundation of different coordinate values;Using with service logic figure
In service application be to be correspondingly connected with by same application ID, the foundation of different coordinate value;Network in network and service logic figure
It is to be associated by same server ID, different coordinate values;Alert level and application performance state carry out in service logic figure
Connection;Service logic figure and application performance status bar are shown in different zones;
Key application index display module, probe grab all data packets, when choosing finger by the key application index page
When determining the key parameter index of application ID, certain corresponding data of application ID key parameter in database are modified by JQuery
Corresponding data is showed on the key application index page by content of pages mode;
Transaction path display module is arranged by transaction path and shows configuration process, in associated server and client
Between configuration of transaction path;Then by checking associated server and client transaction path, related data sources are obtained;
Application node information inquiry module is matched by service logic figure and postpones to obtain host node, obtain between host
Communication path, then by checking application node information, be applied node related information
Further, by SVG draw in square describe time block;It is total that number in time block represents number of alarms
With time block represents the application performance state of p grade with p color;The application performance state of p grade of time block judges
By compared with performance judgment threshold, obtaining n application with alert level peak on the all-network path that the host is connected
Performance state;
Further, the performance judgment threshold includes first performance judgment threshold x1, the second energy judgment threshold
X2 ..., the n-th performance judgment threshold xp;If alert level is identical as x1, which is minimum answer
Use performance state;If alert level is identical as x2, which is compared with high application performance state;If alarm
Grade is identical as xp, then the time block application performance state is highest application performance state;First performance judgment threshold x1 is represented
The lowest class application performance state, the n-th performance judgment threshold xp represent highest level application performance state.
Further, the key application index shows that step detailed process is: the mirror image that probe passes through router switch
Mouth grabs all data packets, parses data packet and simultaneously the achievement data of data packet is stored in database;System interval time T is to spy
Needle sends the data in request probe data library, and is stored in system database, chooses when by the key application index page
When the key parameter index of specified application ID, certain corresponding data of application ID key parameter in database are repaired by JQuery
Change content of pages mode, corresponding data is showed on the key application index page;T is 1 minute to 2 minutes;The click is answered
After performance state node, concrete application nodal information can be checked, click host node and check specific host information;The base of node
This information is to deposit data acquisition in node by D3 in service logic figure;Solid circles and empty circles respectively represent list
A host and multiple main frames, closed square and hollow square then represent single application and multiple applications, and line represents network path.And
The point that flowing is had on line, flows to server from client and represents data flow;Data are to configure that from business logic chart to obtain
It gets, is then echoed by D3;Service logic figure panorama configuration or configuration placed in the middle be by calculating painting canvas area,
Then the position of data coordinates point in service logic figure is calculated to determine.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are:
1. carrying out the displaying of application performance state with logic chart in Web page, transaction path is shown, key application index
Displaying, the inquiry of application node information carry out configuration displaying etc., more intuitive in order to which user is more diversified, more accurately to net
Business in network is shown, and provides data for subsequent relevant analysis business.
Specific embodiment
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive
Feature and/or step other than, can combine in any way.
Any feature disclosed in this specification unless specifically stated can be equivalent or with similar purpose by other
Alternative features are replaced.That is, unless specifically stated, each feature is an example in a series of equivalent or similar characteristics
?.
Related description of the present invention:
1, application performance state shows in step and draws the application performance state of user in application performance status bar
Point, each application performance state is arranged three kinds of parameter expressions, three kinds of parameters be respectively apply, host and network, each parameter are set
Set n time block and respectively correspond the performance state for representing the n period application, by SVG draw in square come when describing
Between block;Number in time block represents number of alarms summation, and time block represents p application performance state with p color;Time
The application performance state judgement of p grade of block be by alert level peak on the all-network path that is connected with the host and
Performance judgment threshold compares, and obtains corresponding application performance state;Wherein performance judgment threshold include first performance judgment threshold x1,
Second can judgment threshold x2 ..., the n-th performance judgment threshold xp;If alert level is identical as x1, the time block application
Energy state is minimum application performance state;Alert level and application performance state grade are defined by two ways, the first is
It is manually set;Second is that system is defined according to certain parameter indexes.
For example, when the network path that be connected with some host has 3, the alert level of three network paths respectively in
Etc. alert levels, medium alert level and highest alert level, then the alert level highest of the host is (in such as Fig. 9 in network
Current time block indicated with red).When system define with green represent most normal use performance rate x1, it is light yellow represent it is low
Application performance grade x3 in application performance grade x2, yellow representative, red color represent high application performance grade x4;
Compared with the application performance grade then defined with the alert level of the mainframe network with system is gone, then time at this time
Section, the host alert level red is corresponding with high application performance state red, then judges current hosts current slot application
Performance state is high application performance grade, is displayed in red on time block.
2, it is (as shown in figure 11) using the configuration process of index:
Index steps are applied in addition: being clicked the grouping for choosing left side, then are clicked the index for choosing right side, finally click " < "
Button can add the index of selection in this grouping;
It deletes and applies index index steps: clicking " > " button after choosing;
Index steps are applied in reduction: system default Packet State can be reduced by restoring default packet when the user clicks.
3, client is set in the communication path between n server and client and to apply be to be based on service logic figure to match
Set acquisition.Service logic figure configuration process is:
The detailed process of configuration service logic chart is:
31. configuration application first (application is configured in advance).
32. then configuration client (client we can pass through data help user obtain true environment in and application close
The IP/ network segment of connection)
33. configure communication path (be used for later period multipath analysis, the determination etc. in data acquisition source) if communication path with
Family do not configure if there is get automatically we default the communication path that a shortest path can be selected as user;If
Just first must configure communication path in another module without that because without path be represent no data acquisition source this
The path of sample is the path of mistake
34. associated services.If thinking that this client or application are relevant with other business when being user configuration
It is i.e. configurable.(being analyzed for quickly jumping to other business in analysis).
35. the merging of service logic figure shows that (this is in order to which bigger facilitates User-defined logic figure for the later period
Analysis).It specifically includes:
Based on Web page, Fig. 1 is that user configure the relationship of applying in service logic and (matched by user at other using data
It is configured good to set the page).User is quite important to the selection of application in configuration service logic, so system can obtain use
The application of family configuration facilitates user to select.(see Fig. 2) after addition application, there is this and answer in logic chart and right side tree
Displaying.(logic chart realizes that tree is realized by zTree.js by D3.js, and the data generated are determined by user
Obtained by the good application configuration of justice.When generating logic node of graph with tree node, we can pass through the ad hoc fashion (time+answer
The configuration of unique encryption ID user later period alarm, analysis etc. are generated with ID or client ip address or network segment+MD5)) wherein logic
Circle represents host in figure, and it (is by D3.js to svg that square, which is represented using representing on this host with the presence of applying,
Append insert element and element data are drawn in element).And server is answered in tree for user configuration
The server address that used time is configured, and system can also obtain configured when user configuration is applied added automatically in client
Client address.As Fig. 1 client at visible addition button, facilitate the client under user's self-defined application.Click addition
(see Fig. 3, Fig. 4) after button, user can (include IP address, network segment, institute to the title of client, type in the pop-up box of opening
Have client), IP is obtained automatically, obtains network segment automatically, IP address, network segment, NAT mapping, associated services etc., which are configured, (to be clicked
The Edit button of client respective column can also carry out edit operation to relevant configuration), obtain " Clint, CRM, All as shown in figure 1
And C2 ".Wherein please note that automatic acquisition IP and automatic acquisition network segment item, the IP address in this configuration is that system is logical with network segment
The true client ip address of user and network segment that probe is got are crossed, user's option and installment is facilitated, also can avoid user configuration
Mistake.
Visible Fig. 5 after the completion of client is configured, client column have had more just configured client in tree.
(unique encryption ID of client can be generated by parameters such as application, times where client in this step, this ID is logical
It also can be unique ID of client node, including subsequent analysis when crossing D3.JS rendering logic figure, the generation of alarm is all by this
What ID was associated, be herein identical with top application addition.Pass through the side addNodes in zTree.js after the completion of addition
Method is added client in tree and is shown, and editing various data then is to use updateNode method, and deletion is then
removeNode.) (three, client column rear button is respectively as follows: editor's client, edits communication path, deletes client behaviour
Make) if this client to corresponding application server has network communication path, (communication path represents network data from client
It has passed through which probe, equipment etc. during holding server.The path configured herein can obtain in this patent of multipath
To embodying) so system can configure a upper shortest communication path for customer analysis automatically.If without path or road
Diameter needs reselect, and opening pop-up box is configured after clicking communication path setting button.As seen from the figure (see figure six), path
Edit button in figure configuration operation can be edited (this step configures in other pages) to path.Communication path is obtained to press
Button, can get automatically all paths provide users select (see figure seven) (this communication path figure be by D3.JS in svg
Draw oneself drafting a kind of path show.Different equipment, probe can be placed in path by user is used for the later period point
Analysis, and these parameters are all to act on post analysis in the element for can be placed on each equipment and probe.Such as: we understand handle
The id of probe, in the placements and element object such as type, the title of equipment).After determining communication path, client column front is chosen
Communication path check box it is visible (see figure eight), occurred logic of the customized client node to application node in logic chart
Figure.And when the node client of addition IP address/network segment and already present client ip address/network segment are absolutely identical, system
There are also can automatic merge node when inclusion relation for the client of the automatic merge node of meeting, application server IP address and addition
(such as the following figure (is network segment client see the client segment in Fig. 8: CRM application, and network segment range when configuration is
192.168.5.0/24 representing, it comprises the IP address of all 5 network segments.And the server ip of 157 backtracking server applications
Address is just that 192.168.5.157 is contained in 5 network segments.So system can merge automatically 157 backtracking clothes in logic chart
Node be engaged in as the client of appMerge (there are CRM to apply and upmserver application in appMerge) and carries out line).
Logic node of graph can drag the layout for facilitating the customized service logic of user, when node is dragged to close to another node
When judge user and merging nodal operation, and can support the newname after the customized merge node of user.When
After two nodes merge, if this node has multiple main frames to be indicated with empty circles, multiple applications indicate (as follows with hollow square
Scheme (see Fig. 8): appMerge node is CRM using manual merge node with upmserver, due to the presence of multiple applications,
So application identities are hollow square, and clientMerge is client and 157 backtracking servers under CRM is applied
The manual merge node of client under, no application is so be empty circles.And 157 backtracking server applications with
Its client segment is without manual union operation, so being shown as solid circles and square).
(merging back-end realization manually, [following all coordinates, data etc. are all to restore mongodb database by D3.js
In data show for logic chart after obtained with data method] are as follows: drag the X of node, Y coordinate be merged X a little, Y seat
It marks within 5 pixels, merges when user selects to cancel, can be the X of dragging node, Y coordinate is separate to be merged a little.Work as determination
When merging, we are found by the filter method of D3.js and are merged a little first, and modifying its pattern by force is open circles, when
Dragging point be merged a little be application when can be changed into open circles+hollow square.Then some of dragging point are got
It is added in the specified object mergeNode being merged a little after significant data [such as: id, type etc.], after merging such as A with B,
So mergeNode of A just has the parameters such as A-ID, A-TYPE, B-ID, B-TYPE, and to some dependency numbers being merged a little
According to directly being modified, dragging point is then deleted.After completing to the modification of point, judge to merge whether point with other nodes has line
Relationship.It is set to find the node after merging if there is then changing source target object in line data.If merged
Line has overlapping afterwards, then the existing line of dragging point before deleting, the mergeLink number of objects being merged in line a little
According to adding 1.Since there are incidence relations with dendrogram for logic chart.So choosing or deleting application when user's cancellation client
It afterwards, can traverse node data while system is by the ID for traversing all nodes [i.e. top is using the ID generated with client]
All ID in mergeNode object are present in mergeNode the data first deleted in mergeNode if it is this ID, so
After delete corresponding merging line.These operations are gone to judge whether remaining mergeNode has again multiple after finishing, and what is
Type.If there is multiple, and type still and is before consistent so this node and does not change, if only remaining next section
Point or an application can so modify corresponding node pattern, and top column is shown in specific judgement.After having deleted nodal information, judgement
Whether corresponding mergeLink has coincidence, has coincidence mergeLink data to subtract 1, if mergeLink is inherently 0 so straight
It connects and deletes line).After according to above configured, user can configure a accuracy height and intuitively be easy to show the business of understanding
Logic chart.
4, transaction path setting is with detailed process is shown:
Step 41: the service logic figure in Configuration network path in service logic is obtained by database and saves business
Then all coordinates, data in logic chart echo data to display area specified on the page;
Step 42: clicking addition business transaction path button, be added configuration, that is, fill in pathname, setting line
Color clicks on 2 nodes and can correspond to and draws out a curve with the arrow, completes transaction path and draws;
Step 43: repeating step 2, draw n transaction path;Transaction setting is clicked, respective paths are arranged corresponding more
A Transaction Name and transaction code save transaction path;
Step 44: the check box by choosing list first row checks the configured transaction path of user.
Based on Web page, Fig. 9, Figure 10 are user's concrete outcome seen in the analysis page.It is followed successively by application performance
State (Fig. 9 is left, service logic figure, middle position on the right of Fig. 9), (Figure 10 is left, service logic figure, and Figure 10 is right for key application index
Side middle position), the logic chart that data, that is, service logic of service logic figure is configured when configuring).
In Fig. 9, application performance status bar major function is after showing that the performance of application carries out active assessment to user
As a result, each application performance state is arranged three kinds of parameter expressions, three kinds of parameters be respectively apply, host and network.And each ginseng
N time block is arranged in number back, and each small time block represents 1 isometric period (1 minute, 1 hour, 1 day).It respectively can be with
It is green, yellow, red to represent the basic, normal, high of its performance state.(by SVG draw in square describe time block one by one.And it is high
In it is low, be system actively assessment alarm state determine).Each host and host in service logic figure by identical IP, no
It is correspondingly connected with coordinate value foundation;It is by same application ID, different coordinate values using from the service application in service logic figure
Foundation is correspondingly connected with;Network from the network in service logic figure is associated by same server ID, different coordinate values;By
Fig. 9 as it can be seen that first application upmserver it is corresponding be service logic figure bottom node upmserver.It is saved using representing
The state of point upmserver upper block, the square if applying in application performance status bar goes and have red on node are also agreed
Surely it will become red.And if existing middle grade alarm, and there is that system of high-grade alarm that can default and take highest Deng level displays
State color.Host then indicates that network is then and the related line of this applied host machine with the circle below application node.
In Figure 10, key application index represents this using all index parameters got.Top visible configuration button is
It is that user can voluntarily configure 4 key indexes, gives user above all indexs in right side when crossing multi-configuration due to index and look into
Ask the inquiry column of index.(configuration page meets personally Figure 11).So there is alarm in application, corresponding title bar also can it is green, yellow, red not
Same scale color represents this application and generates alarm.(data of this block are also the data got by probe, and then user selects
After 4 kinds of indexs, we can adjust back the data of this four indexs and be showed on the page).The business on right side is patrolled in Fig. 9, Figure 10
Figure is collected, solid circles and empty circles respectively represent individual host and multiple main frames, and closed square and hollow square then represent list
A application and multiple applications, line represent network path.And the point of flowing is had on line, server, which is flowed to, from client represents data
Flow direction.(data of this block are to configure what that got from business logic chart, are then echoed by D3).Configured with complete
Scape, function placed in the middle (panorama and determined by calculating the position of painting canvas area then coordinates computed point between two parties).And it can
With multiselect transaction path, it is shown (see Figure 15).Detailed transaction information (see Figure 12) (transaction road can be checked by clicking transaction path
The display data of diameter is derived from the configuration page of transaction path, is echoed after getting the data of corresponding option by D3).It clicks
It after application node, can check concrete application nodal information (see Figure 13), click host node and check specific host information (see figure
14).(essential information of node be by depositing data acquisition in node by D3 in service logic figure, and alarm number and
Application performance state is then that we can generate the rule of unique a node ID and node in storage, and meeting when alarm configuration
Match with corresponding node ID with rule, when obtaining, we can get the alarm number and application of corresponding period in this way
Energy state).The interfaces (see Figure 15) such as multistage analysis, data packet downloading, index analysis can be jumped by clicking line by right key.It can by Figure 10
See there are 15 alarms to generate in CRM application, the alarm statistics page can be quickly jumped to after click alarm and is checked.(this block
Data acquisition in fact in service logic figure, it is defined good in alarm configuration.We grab data by probe, if
By the relevant alarm of the data-triggered of probe so we will be denoted as the triggering of 1 alarm, as Figure 10 is equivalent at certain
A period triggers the customized alarm of user 15 times).
The invention is not limited to specific embodiments above-mentioned.The present invention, which expands to, any in the present specification to be disclosed
New feature or any new combination, and disclose any new method or process the step of or any new combination.