CN103279342B - A kind of sequential chart acquisition methods and device - Google Patents

A kind of sequential chart acquisition methods and device Download PDF

Info

Publication number
CN103279342B
CN103279342B CN201310170667.1A CN201310170667A CN103279342B CN 103279342 B CN103279342 B CN 103279342B CN 201310170667 A CN201310170667 A CN 201310170667A CN 103279342 B CN103279342 B CN 103279342B
Authority
CN
China
Prior art keywords
drawing object
activation phase
information interactive
sequential chart
service condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310170667.1A
Other languages
Chinese (zh)
Other versions
CN103279342A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310170667.1A priority Critical patent/CN103279342B/en
Publication of CN103279342A publication Critical patent/CN103279342A/en
Application granted granted Critical
Publication of CN103279342B publication Critical patent/CN103279342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of sequential chart acquisition methods and device, method is: receive drawing for order, according to this drawing for order, obtains diagram parameter;Corresponding plot space is distributed for each drawing object;In the plot space that each drawing object is corresponding, determine the position that life line is corresponding respectively, and be that each drawing object draws life line in the position that this life line is corresponding;Respectively according to the service condition that each drawing object is corresponding, determine that each drawing object draws corresponding activation phase figure;Respectively according to the service condition that each drawing object is corresponding, draw the information interactive graphics (IG) between each drawing object, obtain sequential chart.Use technical solution of the present invention, according to the relevant information that each drawing object is corresponding, sequential chart can be generated, the drafting of sequential chart can be completed without manual operation, be effectively saved human resources, improve sequential chart and obtain efficiency;Further, the present invention draws sequential chart in web system, improves image and presents effect.

Description

A kind of sequential chart acquisition methods and device
Technical field
The present invention relates to computer application field, particularly relate to a kind of sequential chart acquisition methods and device.
Background technology
At present, in the operation system of each application, in order to more clearly describe each operation system it Between logic and call relation, often according between different business systems information interaction scenario draw sequential chart (Sequence Diagram).
Sequential chart is also referred to as sequence chart or sequence diagram, is a kind of Unified Modeling Language (UML, Unified Modeling Language) behavior figure, by describing the time sequencing of interactive information between each operation system Show the dynamic cooperative between multiple operation system.
Refering to shown in Fig. 1, sequential chart comprises drawing object (hereinafter referred to as object), and each object is corresponding Life line, the activation phase figure that each object is corresponding, when the information interactive graphics (IG) between different objects etc. is multiple Sequence figure element, wherein: object (Actor) can be people, it is also possible to for operation system, subsystem etc., as CRM system (CRM, Customer Relationship Management) in Fig. 1, enterprise Industry service bus (ESB, Enterprise Service Bus), Convergence Billing System (CBS, convergent Charging system) object that is in sequential chart;The life line (Lifeline) that object is corresponding represents should Object exist duration, in the sequential chart comprising three objects as shown in Figure 1, bottom each object in Dotted line corresponding to heart position is the life line that this object is corresponding;The activation phase (Activation) that object is corresponding Represent that the object in sequential chart performs the period of an operation, such as the rectangle region in each life line in Fig. 1 Territory is the activation phase figure that this object is corresponding;Message (Message) between object represents different object Between the information of exchange in mutual and cooperation, be present between the activation phase figure of object.
In prior art, for the drafting of sequential chart, especially in web applies, generally require drawing people Member, according to the element in sequential chart, progressively draws sequential chart.As can be seen here, when using side of the prior art When case draws sequential chart, need the artificial relation integrated between each sequential chart element, and by each sequential Figure element presents successively according to drawing order on sequential chart, thus causes the waste of human resources, Reduce the efficiency obtaining sequential chart;Further, when obtaining sequential chart by mapping software, due to by not The corresponding different form of sequential chart obtained with mapping software, and different browser platform is (such as Internet Explorer browser) figure of some form existed incompatible problem, therefore, when different clear Look at when presenting sequential chart that above-mentioned employing difference mapping software is drawn on device platform, in fact it could happen that present weak effect Or the problem that cannot present.
In sum, when using scheme of the prior art to draw sequential chart, there is the process time long, draw Efficiency is low, the problem presenting weak effect.
Summary of the invention
The embodiment of the present invention provides a kind of sequential chart acquisition methods, device, in order to solve in employing prior art Process time of existing when obtaining sequential chart of mode long, drawing efficiency is low, the problem presenting weak effect.
First aspect, it is provided that a kind of sequential chart acquisition methods, including:
Receive drawing for order, according to described drawing for order, obtain diagram parameter, wherein, described diagram parameter Including the service condition that drawing object and described drawing object are corresponding;
Corresponding plot space is distributed for each drawing object;Wherein, the number of described drawing object is at least It it is two;
The position that life line is corresponding is determined respectively in the plot space that each drawing object is corresponding, and in institute Stating position corresponding to life line is that each drawing object described draws life line;
Respectively according to the service condition that each drawing object described is corresponding, determine that each drawing object is corresponding The activation phase, and be each according to activation phase corresponding to each drawing object and described life line respectively Drawing object draws corresponding activation phase figure;
Respectively according to the service condition that each drawing object is corresponding, determine the information between described drawing object Interactive relation, and draw the information interactive graphics (IG) between described drawing object according to described information interactive relation, Obtain sequential chart.
In conjunction with first aspect, in the implementation that the first is possible, total for the distribution of all of drawing object Plot space;According to the number of described drawing object, described total plot space is divided, for each Individual drawing object distributes corresponding plot space.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, really The number of fixed described drawing object, the form being retrieved as the distribution of all of drawing object according to equation below always arranges Number, the total columns of form=drawing object number * 7-1;Total col width by form corresponding for total for described form columns Widthwise size as described total plot space;Respectively according to the business shape that each drawing object is corresponding State, determines longitudinal size of described total plot space.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, root According to the number of described drawing object, obtain the interval form columns between the most adjacent two drawing objects;Obtain The total columns of described form and the difference of described interval form columns, and according to the number of described difference Yu drawing object Mesh, obtains the form columns that each drawing object is corresponding;Respectively by corresponding for each drawing object described The col width of the form that form columns is corresponding is as the widthwise size of plot space corresponding to this drawing object, by institute State longitudinal size of total plot space longitudinal size as plot space corresponding to each drawing object.
In conjunction with the first possible implementation of first aspect, or the implementation that the second is possible, or The third possible implementation of person, in the 4th kind of possible implementation, according to described drawing object Service condition determines the order of calling of described drawing object, and arranges according to the order of calling of described drawing object The plot space that each drawing object described is corresponding.
In conjunction with the first possible implementation of first aspect, or the implementation that the second is possible, or The third possible implementation of person, or the 4th kind of possible implementation, the 5th kind of possible realization In mode, in the plot space that each drawing object is corresponding, selected described plot space is symmetrical respectively The position of axle is the position that life line is corresponding.
In conjunction with first aspect, in the 6th kind of possible implementation, respectively according in each drawing object The service condition comprised obtains the order of calling of drawing object, and obtains according to the order of calling of described drawing object Take first invoked drawing object;Using the activation phase corresponding for this first invoked drawing object as Benchmark activates the phase;Respectively according to the tune of the drawing object comprised in service condition corresponding to each drawing object By order, and described benchmark activates the phase, determine in addition to described first invoked drawing object other The activation phase that each drawing object is corresponding.
In conjunction with first aspect, in the 7th kind of possible implementation, obtain each drawing described respectively right As the business duration comprised in corresponding service condition and business time started;Respectively according to each The business duration that drawing object is corresponding, determines the activation phase duration that each drawing object is corresponding;Respectively The activation phase that each drawing object is corresponding is determined according to the business time started that each drawing object is corresponding Time started;Start according to activation phase duration corresponding to each drawing object described and described activation phase respectively Time, determine the activation phase of each drawing object described.
In conjunction with the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation, point Do not determine, according to the phase duration that activates that each drawing object is corresponding, the activation phase that each drawing object is corresponding Graphic length, and determine that each is painted according to time started activation phase that each drawing object is corresponding respectively The activation phase figure original position that figure object is corresponding;Respectively according to the activation that each drawing object described is corresponding Phase figure original position and length, on the basis of the life line of described drawing object, at each drawing object Corresponding plot space is drawn activation phase figure.
In conjunction with the 8th kind of possible implementation of first aspect, in the 9th kind of possible implementation, point Do not activate, for what each drawing object was drawn, the color that phase filling graph is different;Or it is respectively each drawing Objects draw activate the different pattern of phase filling graph.
In conjunction with the first possible implementation of first aspect, the implementation that the second is possible, the third Possible implementation, the 4th kind of possible implementation, the 5th kind of possible implementation, the 6th kind can The implementation of energy, the 7th kind of possible implementation, the 8th kind of possible implementation, or the 9th kind Possible implementation, in the tenth kind of possible implementation, corresponding according to each drawing object respectively Service condition in comprise drawing object call order, determine at least one business relations group, described industry Business relation group comprises two different drawing objects;It is right according at least one business relations group described is drawn Calling sequentially of elephant, determines the information interactive relation between described drawing object, and according to described drawing object Between information interactive relation determine starting point and the terminal of described information interactive graphics (IG);Hand over according to described information The starting point of mutual figure and terminal, draw the information interactive graphics (IG) between described drawing object.
In conjunction with first aspect the first possible implementation, the implementation that the second is possible, the 3rd The implementation that kind is possible, the 4th kind of possible implementation, the 5th kind of possible implementation, the 6th kind Possible implementation, the 7th kind of possible implementation, the 8th kind of possible implementation, or the 9th Plant possible implementation, in the 11st kind of possible implementation, respectively according to each drawing object Calling sequentially of the drawing object comprised in corresponding service condition, determines at least one business relations group, institute State and business relations group comprises two different drawing objects;Respectively according at least one business relations group described In business time started of comprising in service condition corresponding to each drawing object and service ending time, Determine the beginning and end of described information interactive graphics (IG);Starting point according to described information interactive graphics (IG) and end Point, draws the information interactive graphics (IG) between described drawing object.
In conjunction with the tenth kind of possible implementation of first aspect, or the 11st kind of possible implementation, In the 12nd kind of possible implementation, the information interactive graphics (IG) being respectively the drafting of each drawing object divides Join different colors;Or the information interactive graphics (IG) being respectively the drafting of each drawing object distributes different figures Case.
In conjunction with the first possible implementation of first aspect, the implementation that the second is possible, the third Possible implementation, the 4th kind of possible implementation, the 5th kind of possible implementation, the 6th kind can The implementation of energy, the 7th kind of possible implementation, the 8th kind of possible implementation, the 9th kind may Implementation, the tenth kind of possible implementation, the 11st kind of possible implementation, or the 12nd Plant possible implementation, in the 13rd kind of possible implementation, receive sequential chart element and choose instruction, Obtain sequential chart element and choose the status information that the sequential chart element of instruction is corresponding;Wherein, time described Sequence figure element includes drawing object, activates phase figure and information interactive graphics (IG);The sequential chart element pair that will obtain The status information answered presents.
In conjunction with the 13rd kind of possible implementation of first aspect, the 14th kind of possible implementation In, obtain the Status Type comprised in the status information that described sequential chart element is corresponding;According to described state class Type, the status information for described sequential chart element and correspondence thereof distributes corresponding color or pattern.
Second aspect, it is provided that a kind of sequential chart acquisition device, including:
Receive unit, be used for receiving drawing for order, and described drawing for order is sent to acquiring unit;
Acquiring unit, for receiving the drawing for order that described reception unit sends, and according to described drawing for order, Obtaining diagram parameter, send described diagram parameter to allocation unit, wherein, described diagram parameter includes painting Figure object and service condition corresponding to described drawing object;
Allocation unit, for receiving the diagram parameter that described acquiring unit sends, and according to described diagram parameter Distributing corresponding plot space for each drawing object, the plot space corresponding when all drawing objects is divided equally Join complete after to life line drawing unit send be assigned instruction;Wherein, the number of described drawing object is extremely It is two less;
Life line drawing unit, for receive described allocation unit send be assigned instruction after, exist respectively The plot space that each drawing object is corresponding determines the position that life line is corresponding, and in described life line pair The position answered is that each drawing object described draws life line, and the life line corresponding when all drawing objects is equal After drafting, send the life line complete instruction of drafting to activating phase chart drawing unit;
Activation phase chart drawing unit, the life line sent for receiving described life line drawing unit has been drawn After Bi Zhiling, respectively according to the service condition that each drawing object described is corresponding, determine that each drawing is right As the corresponding activation phase, and according to activation phase corresponding to each drawing object and described life line it is respectively Each drawing object draws corresponding activation phase figure, and the activation phase figure corresponding when all drawing objects is equal After drafting, send the complete instruction of graphic plotting of activation phase to information interactive graphics (IG) drawing unit;
Information interactive graphics (IG) drawing unit, for receiving the activation phase that described activation phase chart drawing unit sends After the complete instruction of graphic plotting, respectively according to the service condition that each drawing object is corresponding, determine described in paint Information interactive relation between figure object, and draw between described drawing object according to described information interactive relation Information interactive graphics (IG), after information interactive graphics (IG) corresponding between all drawing objects is all drawn, to Sequential chart acquiring unit sends draws complete instruction;
Sequential chart acquiring unit, after being used for receiving the complete instruction of described drafting, obtains sequential chart.
In the embodiment of the present invention, receive drawing for order, according to this drawing for order, obtain diagram parameter, wherein, This diagram parameter includes drawing object and service condition corresponding to drawing object;Divide for each drawing object Join corresponding plot space;Wherein, the number at least two of drawing object;Right in each drawing respectively Determine, in corresponding plot space, the position that life line is corresponding, and be each in the position that this life line is corresponding Individual drawing object draws life line;Respectively according to the service condition that each drawing object is corresponding, determine each The activation phase that individual drawing object is corresponding, and respectively according to activation phase corresponding to each drawing object and above-mentioned Life line is that each drawing object draws corresponding activation phase figure;Respectively according to each drawing object pair The service condition answered, determines the information interactive relation between each drawing object, and closes alternately according to this information The information interactive graphics (IG) between each drawing object is drawn by system, obtains sequential chart.Use technical solution of the present invention, According to drawing for order, the relevant information that each drawing object is corresponding can be obtained, and draw according to above-mentioned each The relevant information that object is corresponding generates sequential chart, can complete the drafting of sequential chart without manual operation, effectively Save human resources, improve sequential chart and obtain efficiency;Further, the background system of various browser platform Being web system, technical solution of the present invention draws sequential chart in web system, improves image and presents Effect.
Accompanying drawing explanation
Fig. 1 is the sequential chart comprising three objects in prior art;
Fig. 2 is network architecture diagram corresponding in sequential chart acquisition process in the embodiment of the present invention;
Fig. 3 is the detail flowchart obtaining sequential chart in the embodiment of the present invention;
Fig. 4 is the detail flowchart obtaining sequential chart in the embodiment of the present invention under concrete application scenarios;
Fig. 5 is the sequential chart one comprising three drawing objects in the embodiment of the present invention;
Fig. 6 is the sequential chart two comprising three drawing objects in the embodiment of the present invention;
Fig. 7 is the sequential chart three comprising three drawing objects in the embodiment of the present invention;
Fig. 8 is the sequential chart four comprising three drawing objects in the embodiment of the present invention;
Fig. 9 is the sequential chart five comprising three drawing objects in the embodiment of the present invention;
Figure 10 is the sequential chart six comprising three drawing objects in the embodiment of the present invention;
Figure 11 is the sequential chart seven comprising three drawing objects in the embodiment of the present invention;
Figure 12 is the sequential chart eight comprising three drawing objects in the embodiment of the present invention;
Figure 13 is the sequential chart nine comprising three drawing objects in the embodiment of the present invention;
Figure 14 is web page figure one corresponding in sequential chart acquisition process in the embodiment of the present invention;
Figure 15 is web page figure two corresponding in sequential chart acquisition process in the embodiment of the present invention;
Figure 16 is sequential chart acquisition device in the embodiment of the present invention;
Figure 17 is that in the embodiment of the present invention, sequential chart obtains equipment.
Detailed description of the invention
The process time in order to solve to exist when prior art draws sequential chart is long, and drafting efficiency is low, presents effect The poorest problem.In the embodiment of the present invention, receive drawing for order, according to this drawing for order, obtain ginseng of drawing Number, wherein, this diagram parameter includes drawing object and service condition corresponding to drawing object;For each Drawing object distributes corresponding plot space;Wherein, the number at least two of drawing object;Respectively often The plot space that one drawing object is corresponding determines the position that life line is corresponding, and corresponding in this life line Position is that each drawing object draws life line;Respectively according to the business shape that each drawing object is corresponding State, determines the activation phase that each drawing object is corresponding, and respectively according to corresponding the swashing of each drawing object Current and above-mentioned life line are that each drawing object draws corresponding activation phase figure;Respectively according to each The service condition that individual drawing object is corresponding, determines the information interactive relation between each drawing object, and according to This information interactive relation draws the information interactive graphics (IG) between each drawing object, obtains sequential chart.Use this Inventive technique scheme, according to drawing for order, can obtain the relevant information that each drawing object is corresponding, and root The relevant information corresponding according to each drawing object above-mentioned generates sequential chart, can complete sequential without manual operation The drafting of figure, is effectively saved human resources, improves sequential chart and obtains efficiency;Further, various displays are put down The background system of platform is web system, and the present invention draws sequential chart in web system, improves image Present effect.
It show the network architecture diagram in sequential chart acquisition process, wherein, first server refering to Fig. 2, the Two servers, the 3rd the most corresponding different operation system of server, computer leads to above three operation system Cross real-time performance information mutual.Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
Refering to shown in Fig. 3, in the embodiment of the present invention, the detailed process obtaining sequential chart is:
Step 300: receive drawing for order, according to this drawing for order, obtains diagram parameter.
In the embodiment of the present invention, after web system receives the drawing for order of user's input, i.e. resolve this drawing Instruction, obtains, according to the local address path carried in this drawing for order, the diagram parameter that this locality preserves;Or, According to the unified address identifier information carried in this drawing for order, sending diagram parameter acquisition to network side please Ask, obtain the diagram parameter of network side preservation.
In the embodiment of the present invention, above-mentioned diagram parameter includes drawing object and business shape corresponding to drawing object State, wherein, the service condition that above-mentioned drawing object is corresponding include drawing object call order, drawing object Corresponding business duration, business time started that drawing object is corresponding and end time, drawing object pair The interaction message answered and status information corresponding to this interaction message, as interaction message is unsuccessfully, alerts, becomes Merit etc..
Step 310: distribute corresponding plot space for each drawing object.
In the embodiment of the present invention, the drawing for order that web system inputs according to user, for each drawing object Distributing corresponding plot space, wherein, the size of the plot space that each drawing object is corresponding can be equal, Can also be unequal, it is also preferred that the left make the equal in magnitude of the plot space that each drawing object is corresponding, thus The sequential chart operability making acquisition is higher.In above process, each can be set according to user instruction The size of the plot space that interval region between drawing object is corresponding, the drawing that all interval regions are corresponding is empty Between the size sum of the size plot space corresponding with all drawing objects be as drawing object distribution The size of total plot space.In addition it is also possible to be first that all plot space distribute total plot space, then Total plot space is divided, for the plot space that the distribution of each drawing object is corresponding.
Owing to, in computer running, the modules represented by background application is all with the shape of form Formula occurs, it is therefore advantageous to, during for each drawing object distribution plot space, can be with The form of form is the plot space that the distribution of all of drawing object is total.Particularly as follows: be all of drawing object Distribute corresponding form columns, i.e. determine that the number of drawing object, the form that all drawing objects are corresponding always arrange Several according to equation below (the total columns of form=drawing object number * 7-1) acquisition, the total columns of this form is corresponding The total col width of form be the widthwise size of plot space corresponding to all drawing objects;Respectively according to each The service condition that drawing object is corresponding, determines longitudinal size of total plot space.Wherein, total drawing is empty Between longitudinal size determined by the length of life line corresponding to drawing object, be the distribution of above-mentioned life line corresponding Form line number, using head office's height of form corresponding for form line number as longitudinal size of total plot space.
After distributing total plot space for all of drawing object, according to the number of drawing object, total to this Plot space divides, and distributes corresponding plot space for each drawing object.Particularly as follows: according to painting The number of figure object, obtains the interval form columns between the most adjacent two drawing objects, such as, works as drawing When the number of object is 3, the interval form columns between the most adjacent two drawing objects is 2;Obtain above-mentioned The total columns of form and the difference of interval form columns, and according to the number of this difference Yu drawing object, obtain every The form columns that one drawing object is corresponding, such as, if the number of drawing object is 3, the total columns of form is 20(is obtained by formula 3*7-1), then the difference of the total columns of form and interval form columns is that 18(is by formula 20-2 obtains), now, the form columns that each drawing object is corresponding is that 6(is obtained by formula 18/3); Respectively using the col width of form corresponding for form columns corresponding for each drawing object as this drawing object pair The widthwise size of the plot space answered is right as each drawing using longitudinal size of above-mentioned total plot space Longitudinal size as corresponding plot space.
Further, above-mentioned for each drawing object distribution drawing object during, can be according to painting The order of calling of figure object is followed successively by each drawing object corresponding plot space of distribution;Can also first be Each drawing object distributes corresponding plot space, then arranges each according to the order of calling of drawing object The plot space that individual drawing object is corresponding.
Step 320: determine the position that life line is corresponding respectively in the plot space that each drawing object is corresponding Put, and be that each drawing object draws life line in the position that each life line is corresponding.
In the embodiment of the present invention, web system be name identification that each drawing object is corresponding (such as CRM, ESB etc.) distribute corresponding title drawing subspace, wherein, the title that any one drawing object is corresponding is painted Figure subspace is positioned in the plot space that this drawing object is corresponding.Then, respectively at each drawing object pair In the plot space answered, the position of the selected symmetrical axle of this plot space is the position that life line is corresponding, at this The life line that position is each drawing object drafting correspondence that life line is corresponding.Further, above-mentioned life line position Below title drawing subspace.
Step 330: respectively according to the service condition that each drawing object is corresponding, determines that each drawing is right As the corresponding activation phase, and it is each according to activation phase corresponding to each drawing object and life line respectively Individual drawing object draws corresponding activation phase figure.
In the embodiment of the present invention, web system can to obtain each drawing right according to the order of calling of drawing object As corresponding activation phase pictorial diagram, this schematic diagram represents roughly the activation phase that each drawing object is corresponding Figure;Can also obtain according to business time started corresponding to each drawing object and business duration respectively Take the accurately activation phase figure that each drawing object is corresponding.
When using above-mentioned first kind of way to obtain activation phase pictorial diagram corresponding to each drawing object, Particularly as follows: according to drawing object call order obtain first invoked drawing object, and by this first The activation phase that individual invoked drawing object is corresponding activates the phase as benchmark;Respectively according to each drawing object Calling sequentially of the drawing object comprised in corresponding service condition, and said reference activation phase, determine and remove The activation phase that other each drawing objects outside above-mentioned first invoked drawing object are corresponding;Root respectively Corresponding activation phase figure is obtained according to the activation phase that each drawing object is corresponding.When sequential chart is obtained precision When requiring relatively low, aforesaid way is used to obtain sequential chart, it is only necessary to calling of drawing object sequentially can obtain The activation phase figure that each drawing object is corresponding, therefore, effectively reduces system handling duration, it is possible to relatively For obtaining sequential chart quickly.
When use the above-mentioned second way obtain each drawing object corresponding when accurately activating phase figure, tool Body is: owing to comprising business time started and business duration in the service condition that drawing object is corresponding, because of This, respectively according to the business duration that each drawing object is corresponding, determine that each drawing object is corresponding Activation phase duration, and according to activation phase duration corresponding to each drawing object, determine that each drawing is right As corresponding activation phase graphic length, i.e. the longest when the activation phase duration that drawing object is corresponding, this drawing object Corresponding activation phase graphic length is the biggest;True according to the business time started that each drawing object is corresponding respectively Time started activation phase that each drawing object fixed is corresponding, and by activation phase corresponding to each drawing object Time started determines the activation phase figure original position that each drawing object is corresponding, wherein, above-mentioned activation phase The original position that figure is corresponding is time started activation phase;Respectively with life line that each drawing object is corresponding On the basis of, for the corresponding first storage subspace of activation phase figure distribution that each drawing object is corresponding;By Activation phase figure original position that each drawing object is corresponding and length, determine that each drawing object is corresponding Activation phase figure, this activation phase figure be positioned at above-mentioned first storage subspace in.Wherein, this first storage Subspace is positioned in the plot space that drawing object is corresponding.Use technique scheme, according to multiple parameters altogether With determining the activation phase figure that drawing object is corresponding, improve the precision of the sequential chart obtained.
It is also preferred that the left the color that activation phase filling graph corresponding to each drawing object is different can be respectively; Or, it is respectively the pattern that activation phase filling graph corresponding to each drawing object is different, in order to distinguish Different drawing objects.
Step 340: respectively according to the service condition that each drawing object is corresponding, determine between drawing object Information interactive relation, and draw the information interactive graphics (IG) between drawing object according to this information interactive relation, Obtain sequential chart.
In the embodiment of the present invention, web system can to obtain each drawing right according to the order of calling of drawing object Information interactive graphics (IG) schematic diagram between as, this schematic diagram represents roughly the activation phase between each drawing object Figure;Can also obtain according to business time started corresponding to each drawing object and service ending time respectively Take the precise information interactive graphics (IG) between each drawing object.
When using above-mentioned first kind of way to obtain the information interactive graphics (IG) schematic diagram between each drawing object, Particularly as follows: it is suitable according to calling of the drawing object comprised in service condition corresponding to each drawing object respectively Sequence, determines at least one business relations group, comprises two different drawing objects in this business relations group;Root According in this at least one business relations group drawing object call order, determine that information between drawing object is handed over Mutual relation, and according to the information interactive relation between above-mentioned drawing object determine the starting point of information interactive graphics (IG) with And terminal;Starting point according to this information interactive graphics (IG) and terminal, draw the information between drawing object mutual Figure.Aforesaid way is used to obtain sequential chart, it is only necessary to the calling order and can obtain each and paint of drawing object Information interactive graphics (IG) between figure object, therefore, it is possible to obtain sequential chart the most quickly.
When using the above-mentioned second way to obtain the precise information interactive graphics (IG) between each drawing object, tool Body is: suitable according to calling of the drawing object comprised in service condition corresponding to each drawing object respectively Sequence, determines at least one the business relations group that there are business relations, wherein, comprises two in this business relations group Individual drawing object, the respectively first drawing object and the second drawing object;Respectively according at least one industry above-mentioned The business time started comprised in the service condition that in business relation group, each drawing object is corresponding, obtain above-mentioned The starting point of the information interactive graphics (IG) between drawing object, wherein, this starting point is positioned at least one business above-mentioned and closes It is on the activation phase figure that the first drawing object in group is corresponding;Respectively according at least one business relations above-mentioned The service ending time comprised in the service condition that in group, each drawing object is corresponding, obtain above-mentioned drawing right Position on the terminal of the information interactive graphics (IG) between as, i.e. information interactive graphics (IG) longitudinal direction by above-mentioned at least Business time started or end time that in one business relations group, drawing object is corresponding determine, as first draws Business time started corresponding to object early than business time started corresponding to the second drawing object, the most above-mentioned first It is corresponding that the starting point of the information interactive graphics (IG) between drawing object with the second drawing object is positioned at the first drawing object Activation phase figure on, the terminal of this information interactive graphics (IG) is positioned at the activation phase figure that the second drawing object is corresponding Original position, and, the Origin And Destination of information interactive graphics (IG) is on same level height;In connection State the Origin And Destination of information interactive graphics (IG), and be the terminal figure of the terminal distribution correspondence of this information interactive graphics (IG) Shape presents, concrete, and for terminal figure distribution the second storage subspace, this terminal figure is positioned at above-mentioned In second storage subspace, complete the drafting of information interactive graphics (IG) between each drawing object.Use above-mentioned Technical scheme, jointly determines the information interactive graphics (IG) between each drawing object according to multiple parameters, improves The precision of the sequential chart obtained.
After completing the drafting of information interactive graphics (IG) between each drawing object, i.e. complete painting of sequential chart System.Now, web system can choose instruction to enter above-mentioned sequential chart according to the sequential chart element of user's input Row is perfect, in order to user obtains and chooses the status information that sequential chart element is corresponding, particularly as follows: according to sequential Figure element chooses at least one the sequential chart element comprised in instruction, obtains this at least one sequential chart element pair The status information answered, wherein, this sequential chart element includes drawing object, activates phase figure, and information is handed over Figure mutually;Sequential chart element and the status information thereof of above-mentioned acquisition are presented to user interface, concrete, for The 3rd that the status information distribution of at least one sequential chart element above-mentioned and correspondence thereof is corresponding stores subspace, should The service condition of at least one sequential chart element and correspondence thereof is positioned in above-mentioned 3rd storage subspace.
In the embodiment of the present invention, aforesaid operations is performed by web system.When receive user instruction choose to During a few sequential chart element, choose the status information of sequential chart element for the ease of difference difference, it is also preferred that the left Obtain the Status Type carried in the status information that this at least one sequential chart element is corresponding;Extract above-mentioned state The keyword carried in type, is at least one corresponding face of sequential chart Elemental partition above-mentioned according to this keyword Color or pattern.
Based on technique scheme, refering to shown in Fig. 4, below in conjunction with concrete application scenarios, right to draw As comprising three, as a example by using form to be drawing object distribution plot space, introduce and obtain accurate sequential The detailed process of figure:
Step 400: receive the drawing for order of user's input, according to this drawing for order, obtains diagram parameter.
In the embodiment of the present invention, this diagram parameter comprises three drawing objects, drawing object call order, The business time started that each drawing object is corresponding, the business duration that each drawing object is corresponding, The information interactive relation that each drawing object is corresponding, wherein, three drawing objects are respectively CRM, EBS, CBS;The order of calling of above three drawing object is followed successively by CRM, EBS, CBS;CRM is corresponding The business time started is a1, and business duration is t1;The business time started corresponding for EBS is a2, industry Business duration is t2;The business time started corresponding for CBS is a3 and a4, business duration be t3 and T4, wherein t1 > t2 > t3 > t4, a1 is early than a2, a2 early than a3, and a3 is early than a4;CRM sends out to EBS Sending message 1, EBS sends message 2 to CBS, and CBS is to EBS feedback message 3, and ESB sends out to CBS Sending message 4, CBS is to EBS feedback message 5, and EBS is to CRM feedback message 6, wherein, message 4, Message 5 and message 6 are failed message;Corresponding two of CBS activates the phases, and first is activated industry corresponding to phase Business state is alarm, and second is activated service condition corresponding to phase is unsuccessfully.
Step 410: according to the number of drawing object, is that each drawing object distributes phase according to preset rules The plot space answered.
In the embodiment of the present invention, according to formula: the total columns of form=drawing object number * 7-1, it is retrieved as institute Total plot space of some drawing objects distribution, then the total columns=3*7-1=20 of form, refering to shown in Fig. 5.
Refering to shown in Fig. 6, according to the above-mentioned total plot space distributed for all of drawing object, for each Individual drawing object distributes corresponding plot space, and wherein, the col width between above table can be by user setup Obtain.Now, the corresponding six list lattice of each drawing object, the spacing distance between each two drawing object For string form col width.
Step 420: respectively using the appointment alignment in form alignment corresponding for each drawing object as life Line.
In the embodiment of the present invention, distribute corresponding title for the name identification that each drawing object is corresponding and draw Subspace, wherein, it is corresponding that the title drawing subspace that any one drawing object is corresponding is positioned at this drawing object Plot space in.Due to the corresponding six list lattice of each drawing object, i.e. seven form alignments, then at general In the form alignment of center (Article 4) as life line, it is life refering to the dotted line shown in Fig. 7 Line.
Step 430: respectively according to the service condition that each drawing object is corresponding, determines that each drawing is right As the corresponding activation phase, and it is each based on activation phase corresponding to each drawing object above-mentioned and life line Individual drawing object draws corresponding activation phase figure.
In the embodiment of the present invention, obtain respectively in all form alignments that each drawing object is corresponding with life Two form alignments (i.e. Article 3 and Article 5 form alignment) that line is adjacent, by above-mentioned two form alignments As two opposite side of activation phase figure, the width between two form alignments is as corresponding the swashing of drawing object Current graphic width.Respectively according to the business time started that each drawing object is corresponding, obtain above-mentioned each Time started activation phase that individual drawing object is corresponding, and determine activation phase figure according to this time started activation phase Original position;Respectively according to the business duration that each drawing object is corresponding, obtain above-mentioned each The activation phase duration that drawing object is corresponding, and it is long to obtain activation phase figure according to this activation phase duration Degree.Refering to shown in Fig. 8, due to t1 > t2 > t3 > t4, a1 early than a2, a2 early than a3, a3 early than a4, Therefore, activation phase graphic length corresponding for CRM is maximum, and corresponding two of CBS activates phase figure.
Step 440: respectively according to the service condition that each drawing object is corresponding, determine and there are business relations At least one business relations group.
In the embodiment of the present invention, business relations group is and there is the drawing object combination that information is mutual, wherein, One business relations group comprises two drawing objects, the i.e. first drawing object and the second drawing object.The present invention In embodiment, the business relations group that there are business relations is respectively the business relations group of CRM and ESB composition, And the business relations group of EBS and CBS composition.
Step 450: according to the business shape that each drawing object at least one business relations group above-mentioned is corresponding State, determines the information interactive relation between drawing object, and obtains each drawing according to this information interactive relation Information interactive graphics (IG) between object.
In the embodiment of the present invention, respectively according to the business that each drawing object in above-mentioned business relations group is corresponding The business time started comprised in state, obtain the starting point of information interactive graphics (IG) between above-mentioned drawing object; Respectively according to the business knot comprised in service condition corresponding to each drawing object in above-mentioned business relations group The bundle time, obtain the terminal of information interactive graphics (IG) between above-mentioned drawing object, i.e. information interactive graphics (IG) longitudinally Position on direction by business time started corresponding to drawing object at least one business relations group above-mentioned or End time determines;Connect the Origin And Destination of above-mentioned information interactive graphics (IG), and distribute correspondence for this terminal Terminal figure.Such as, due in business relations group CRM and ESB, when the information carrying out message 1 is handed over Time mutually, the business time started corresponding for CRM early than the business time started corresponding for ESB, therefore, at this In business relations group, the starting point of information interactive graphics (IG) is positioned on activation phase figure corresponding for CRM, and this The lengthwise position of point is on the basis of the original position activating phase figure that ESB is corresponding;Information interactive graphics (IG) Terminal is positioned at the original position activating phase figure that ESB is corresponding, connects above-mentioned beginning and end, the completeest Become the drafting of the information interactive graphics (IG) that message 1 is corresponding between CRM with ESB.
Refering to shown in Fig. 8.Using mutual as above-mentioned information for the original position activating phase figure corresponding for EBS The terminal of figure;Obtain the Article 2 form alignment in all form alignments corresponding to EBS, by Article 2 Distance (i.e. Article 2 form alignment and the Article 3 form activating phase figure that form alignment is corresponding with ESB Distance between alignment) as above-mentioned information interactive graphics (IG) terminal figure distribute storage subspace horizontal stroke To size, longitudinal size of this storage subspace is pre-set by user, or the size according to terminal figure Determine, refering to shown in Fig. 9;Obtaining the terminal figure of above-mentioned information interactive graphics (IG), this terminal figure is positioned at State in storage subspace, complete the drafting of information interactive graphics (IG), refering to shown in Figure 10.Said process only with Describing as a example by business relations group CRM and EBS, in other business relations groups, information interactive graphics (IG) paints Making same as described above, here is omitted.
Delete above-mentioned unnecessary form alignment, obtain the sequential chart comprising three drawing objects, refering to Figure 11 Shown in.
It is also preferred that the left for the ease of the acquisition of user's service condition corresponding to different drawing objects, can be not The color different with the activation phase filling graph that drawing object is corresponding or different patterns;Can also be according to disappearing Breath type, distributes different line styles for corresponding information interactive graphics (IG), refering to shown in Figure 12;Or, when When user chooses some sequential chart element, the state of this sequential chart element and correspondence thereof can be believed by web system Breath display is in above-mentioned sequential chart, refering to shown in Figure 13.
In the embodiment of the present invention, the form in browser background system (i.e. web system) is used to draw sequential Figure, relevant alignment in direct select table and line are as the coherent element in sequential chart, as drawing is right As in corresponding form, the 4th list lattice alignment, as life line corresponding to this drawing object, thus is prevented effectively from When prior art draws sequential chart in a browser, draw multiple sequential chart elements at browser interface, The problem causing UI interface response time length.
Refering to shown in Figure 14, when using technique scheme to draw sequential chart in web page, CRM To ESB initiating business request, ESB sends service request, CBS to CBS after receiving this service request Return business feedback information after being disposed to ESB, ESB, final service processing result to be back to CRM.In above process, with the table(of html containing daughter elements such as tr/td) element describes sequential chart, Message identifier is hidden in the satellite information of message (message), such as " the Seq in Figure 15 Id:XXXXXXXXXXXXXX " etc..Correspondence can be obtained according to " Seq Id " after choosing message Interactive information in presenting and selecting video card to Request Message.Refering to shown in Figure 15, swashing according to ESB Current (Activation) can obtain the service period persistent period corresponding for this ESB (such as " Total in Figure 15 Duration:223ms ").
Based on above-described embodiment, refering to shown in Figure 16, present invention also offers a kind of sequential chart acquisition device, Including receiving unit 160, acquiring unit 161, allocation unit 162, life line drawing unit 163, activates Phase chart drawing unit 164, information interactive graphics (IG) drawing unit 165, wherein,
Receive unit 160, be used for receiving drawing for order, and described drawing for order is sent to acquiring unit 161;
Acquiring unit 161, for receiving the drawing for order that described reception unit 160 sends, and according to described Drawing for order, obtains diagram parameter, sends described diagram parameter to allocation unit 162, wherein, described Diagram parameter includes drawing object and service condition corresponding to described drawing object;
Allocation unit 162, for receiving the diagram parameter that described acquiring unit 161 sends, and according to described Diagram parameter is that each drawing object distributes corresponding plot space, when the drawing that all drawing objects are corresponding Space is assigned instruction to life line drawing unit 163 transmission after all distributing;Wherein, described drawing The number at least two of object;
Life line drawing unit 163, for receive described allocation unit 162 send be assigned instruction after, The position that life line is corresponding is determined respectively in the plot space that each drawing object is corresponding, and in described life The position that life line is corresponding is that each drawing object described draws life line, when the life that all drawing objects are corresponding After life line is all drawn, send the life line complete instruction of drafting to activating phase chart drawing unit 164;
Activation phase chart drawing unit 164, for receiving the life that described life line drawing unit 163 sends After complete instruction drawn by line, respectively according to the service condition that each drawing object described is corresponding, determine each The activation phase that individual drawing object is corresponding, and respectively according to activation phase corresponding to each drawing object and described Life line is that each drawing object draws corresponding activation phase figure, when the activation that all drawing objects are corresponding After phase figure is all drawn, send activation phase graphic plotting to information interactive graphics (IG) drawing unit 165 complete Instruction;
Information interactive graphics (IG) drawing unit 165, is used for receiving described activation phase chart drawing unit 164 and sends The complete instruction of graphic plotting of activation phase after, respectively according to the service condition that each drawing object is corresponding, really Information interactive relation between fixed described drawing object, and draw described drawing according to described information interactive relation Information interactive graphics (IG) between object, information interactive graphics (IG) corresponding between all drawing objects has all been drawn Bi Hou, obtains sequential chart.
Additionally, above-mentioned sequential chart acquisition device also includes display unit 166, specifically for: described information is handed over After chart drawing unit draws the information interactive graphics (IG) between described drawing object mutually, receive sequential chart element Choose instruction, obtain sequential chart element and choose the status information that the sequential chart element of instruction is corresponding;Its In, sequential chart element includes drawing object, activates phase figure and information interactive graphics (IG);The sequential chart that will obtain The status information that element is corresponding presents.
Refering to shown in Figure 17, the present invention provides a kind of sequential chart to obtain equipment, including network interface 170, deposits Reservoir 171, and processor 172, wherein:
Network interface 170, is used for receiving drawing for order, and sends described drawing for order to processor 172;
Memorizer 171, is used for storing application program;
Processor 172, for, after receiving the drawing for order that network interface 170 sends, calling memorizer Application program in 171 performs following operation: according to this drawing for order, obtains diagram parameter, and according to painting Graph parameter is that each drawing object distributes corresponding plot space;Corresponding at each drawing object respectively Plot space determines the position that life line is corresponding, and in the position that described life line is corresponding be described each Drawing object draws life line;Respectively according to the service condition that each drawing object described is corresponding, determine every The activation phase that one drawing object is corresponding, and respectively according to activation phase corresponding to each drawing object and institute Stating life line is that each drawing object draws corresponding activation phase figure;Respectively according to each drawing object Corresponding service condition, determines the information interactive relation between described drawing object, and hands over according to described information Mutual relation draws the information interactive graphics (IG) between described drawing object, obtains sequential chart;Wherein, described drawing Parameter includes drawing object and service condition corresponding to described drawing object, and the number of described drawing object is extremely It is two less.
In sum, in the embodiment of the present invention, in the embodiment of the present invention, receive drawing for order, paint according to this Figure instruction, obtains diagram parameter, and wherein, this diagram parameter includes that drawing object and drawing object are corresponding Service condition;Corresponding plot space is distributed for each drawing object;Respectively at each drawing object pair The plot space answered determines the position that life line is corresponding, and is that each is painted in the position that this life line is corresponding Figure objects draw life line;Respectively according to the service condition that each drawing object is corresponding, determine that each is painted The activation phase that figure object is corresponding, and respectively according to activation phase corresponding to each drawing object and above-mentioned life Line is that each drawing object draws corresponding activation phase figure;Corresponding according to each drawing object respectively Service condition, determines the information interactive relation between each drawing object, and paints according to this information interactive relation Make the information interactive graphics (IG) between each drawing object, obtain sequential chart.Use technical solution of the present invention, root Can obtain, according to the instruction of user's input, the diagram parameter carried in this instruction, system is raw according to this diagram parameter Become corresponding sequential chart, be effectively shortened non-drawing time, improve drawing efficiency;Further, the present invention provides Drawing practice obtain diagram parameter from local or network side, raw by the web system on display interface backstage Become sequential chart, it is adaptable to various display interfaces, substantially increase image and present effect.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not take off Spirit and scope from the embodiment of the present invention.So, if these amendments of the embodiment of the present invention and modification belong to Within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention be also intended to comprise these change and Including modification.

Claims (27)

1. a sequential chart acquisition methods, it is characterised in that including:
Receive drawing for order, according to described drawing for order, obtain diagram parameter, wherein, described diagram parameter Including the service condition that drawing object and described drawing object are corresponding;
Corresponding plot space is distributed for each drawing object;Wherein, the number of described drawing object is at least It it is two;
The position that life line is corresponding is determined respectively in the plot space that each drawing object is corresponding, and in institute Stating position corresponding to life line is that each drawing object described draws life line, wherein, a drawing object Life line characterize one drawing object exist duration;
Respectively according to the service condition that each drawing object described is corresponding, determine that each drawing object is corresponding The activation phase, and be each according to activation phase corresponding to each drawing object and described life line respectively Drawing object draws corresponding activation phase figure, and wherein, the activation phase that drawing object is corresponding characterizes described One drawing object performs the period of an operation;
Respectively according to the service condition that each drawing object is corresponding, determine the information between described drawing object Interactive relation, and draw the information interactive graphics (IG) between described drawing object according to described information interactive relation, Obtain sequential chart.
2. the method for claim 1, it is characterised in that described distribute for each drawing object Corresponding plot space, specifically includes:
For the plot space that the distribution of all of drawing object is total;
According to the number of described drawing object, described total plot space is divided, draw for each Object distributes corresponding plot space.
3. method as claimed in claim 2, it is characterised in that described distribute for all of drawing object Total plot space, specifically includes:
Determine the number of described drawing object, be retrieved as the table of all of drawing object distribution according to equation below The total columns of lattice, the total columns of form=drawing object number * 7-1;
Using laterally big as described total plot space of total col width of form corresponding for total for described form columns Little;
Respectively according to the service condition that each drawing object is corresponding, determine the longitudinal direction of described total plot space Size.
4. method as claimed in claim 3, it is characterised in that according to the number of described drawing object, Described total plot space is divided, distributes corresponding plot space for each drawing object, specifically Including:
According to the number of described drawing object, obtain the interval grid column between the most adjacent two drawing objects Number;
Obtain the total columns of described form and the difference of described interval form columns, and according to described difference and drawing The number of object, obtains the form columns that each drawing object is corresponding;
Respectively the col width of form corresponding for form columns corresponding for each drawing object described is painted as this The widthwise size of the plot space that figure object is corresponding, using longitudinal size of described total plot space as each Longitudinal size of the plot space that individual drawing object is corresponding.
5. the method for claim 1, it is characterised in that described distribute for each drawing object Corresponding plot space, farther includes:
Service condition according to described drawing object determines calling sequentially of described drawing object, and according to described The order of calling of drawing object arranges the plot space that each drawing object described is corresponding.
6. the method as according to any one of claim 1-5, it is characterised in that paint at each respectively The plot space that figure object is corresponding determines the position that life line is corresponding, specifically includes:
The selected symmetrical axle of described plot space in the plot space that each drawing object is corresponding respectively Position be position corresponding to life line.
7. the method for claim 1, it is characterised in that described right according to each drawing respectively As corresponding service condition, determine the activation phase that each drawing object is corresponding, specifically include:
The order of calling of drawing object is obtained respectively according to the service condition comprised in each drawing object, and Order of calling according to described drawing object obtains first invoked drawing object;
The activation phase corresponding for this first invoked drawing object is activated the phase as benchmark;
Order is called respectively according to the drawing object comprised in service condition corresponding to each drawing object, And described benchmark activates the phase, determine in addition to described first invoked drawing object other each paint The activation phase that figure object is corresponding.
8. the method for claim 1, it is characterised in that described right according to each drawing respectively As corresponding service condition, determine the activation phase that each drawing object is corresponding, specifically include:
Obtain the business duration and industry comprised in the service condition that each drawing object is corresponding respectively The business time started;
Respectively according to the business duration that each drawing object is corresponding, determine that each drawing object is corresponding Activation phase duration;
Respectively according to the business time started that each drawing object is corresponding, determine that each drawing object is corresponding Time started activation phase;
Respectively according to activation phase duration corresponding to each drawing object described with activate time started phase, determine The activation phase of each drawing object described.
9. method as claimed in claim 8, it is characterised in that described right according to each drawing respectively As corresponding activation phase and described life line are that each drawing object draws corresponding activation phase figure, tool Body includes:
Determine that each drawing object is corresponding according to the phase duration that activates that each drawing object is corresponding respectively Activation phase graphic length, and determine often according to time started activation phase that each drawing object is corresponding respectively The activation phase figure original position that one drawing object is corresponding;
Respectively according to activation phase figure original position corresponding to each drawing object described and length, with described On the basis of the life line of drawing object, the plot space that each drawing object is corresponding is drawn activation phase figure Shape.
10. method as claimed in claim 9, it is characterised in that described right according to each drawing respectively As corresponding activation phase and described life line are that each drawing object draws corresponding activation phase figure, enter One step includes:
Be respectively the drafting of each drawing object activates the color that phase filling graph is different;Or,
Be respectively the drafting of each drawing object activates the pattern that phase filling graph is different.
11. methods as claimed in claim 5, it is characterised in that described right according to each drawing respectively As corresponding service condition, determine the information interactive relation between described drawing object, and according to described information Interactive relation draws the information interactive graphics (IG) between described drawing object, specifically includes:
Order is called respectively according to the drawing object comprised in service condition corresponding to each drawing object, Determine at least one business relations group, described business relations group comprises two different drawing objects;
According at least one business relations group described drawing object call order, determine described drawing object Between information interactive relation, and determine that information is mutual according to the information interactive relation between described drawing object The starting point of figure and terminal;
Starting point according to described information interactive graphics (IG) and terminal, the information between described drawing object of drawing is handed over Figure mutually.
12. methods as claimed in claim 5, it is characterised in that described right according to each drawing respectively As corresponding service condition, determine the information interactive relation between described drawing object, and according to described information Interactive relation draws the information interactive graphics (IG) between described drawing object, specifically includes:
Order is called respectively according to the drawing object comprised in service condition corresponding to each drawing object, Determine at least one business relations group, described business relations group comprises two different drawing objects;
Respectively according in service condition corresponding to each drawing object at least one business relations group described The business time started comprised and service ending time, determine starting point and the end of described information interactive graphics (IG) Point;
Starting point according to described information interactive graphics (IG) and terminal, the information between described drawing object of drawing is handed over Figure mutually.
13. methods as described in claim 11 or 12, it is characterised in that described hand over according to described information Mutual relation draws the information interactive graphics (IG) between described drawing object, farther includes:
It is respectively the color that the information interactive graphics (IG) distribution of each drawing object drafting is different;Or,
It is respectively the pattern that the information interactive graphics (IG) distribution of each drawing object drafting is different.
14. the method for claim 1, it is characterised in that between the described drawing object of described drafting Information interactive graphics (IG) after, farther include:
Receive sequential chart element and choose instruction, obtain sequential chart element and choose the sequential chart element of instruction Corresponding status information;Wherein, described sequential chart element includes drawing object, activates phase figure and information friendship Figure mutually;
Status information corresponding for the sequential chart element of acquisition is presented.
15. methods as claimed in claim 14, it is characterised in that the described sequential chart element that will obtain And the status information of correspondence presents, specifically include:
Obtain the Status Type comprised in the status information that described sequential chart element is corresponding;
According to described Status Type, the status information for described sequential chart element and correspondence thereof distributes corresponding face Color or pattern.
16. 1 kinds of sequential chart acquisition device, it is characterised in that including:
Receive unit, be used for receiving drawing for order, and described drawing for order is sent to acquiring unit;
Acquiring unit, for receiving the drawing for order that described reception unit sends, and according to described drawing for order, Obtaining diagram parameter, send described diagram parameter to allocation unit, wherein, described diagram parameter includes painting Figure object and service condition corresponding to described drawing object;
Allocation unit, for receiving the diagram parameter that described acquiring unit sends, and according to described diagram parameter Distributing corresponding plot space for each drawing object, the plot space corresponding when all drawing objects is divided equally Join complete after to life line drawing unit send be assigned instruction;Wherein, the number of described drawing object is extremely It is two less;
Life line drawing unit, for receive described allocation unit send be assigned instruction after, exist respectively The plot space that each drawing object is corresponding determines the position that life line is corresponding, and in described life line pair The position answered is that each drawing object described draws life line, and the life line corresponding when all drawing objects is equal After drafting, send the life line complete instruction of drafting to activating phase chart drawing unit, wherein, paint for one The life line of figure object characterizes the duration that one drawing object exists;
Activation phase chart drawing unit, the life line sent for receiving described life line drawing unit has been drawn After Bi Zhiling, respectively according to the service condition that each drawing object described is corresponding, determine that each drawing is right As the corresponding activation phase, and according to activation phase corresponding to each drawing object and described life line it is respectively Each drawing object draws corresponding activation phase figure, and the activation phase figure corresponding when all drawing objects is equal After drafting, to the transmission activation phase complete instruction of graphic plotting of information interactive graphics (IG) drawing unit, wherein, One period operated of phase of activating sign one drawing object execution that one drawing object is corresponding;
Information interactive graphics (IG) drawing unit, for receiving the activation phase that described activation phase chart drawing unit sends After the complete instruction of graphic plotting, respectively according to the service condition that each drawing object is corresponding, determine described in paint Information interactive relation between figure object, and draw between described drawing object according to described information interactive relation Information interactive graphics (IG), after information interactive graphics (IG) corresponding between all drawing objects is all drawn, obtain Take sequential chart.
17. devices as claimed in claim 16, it is characterised in that described allocation unit according to described in paint Graph parameter is that each drawing object distributes corresponding plot space, particularly as follows:
For the plot space that the distribution of all of drawing object is total;According to the number of described drawing object, to described Total plot space divides, and distributes corresponding plot space for each drawing object.
18. device as claimed in claim 16, it is characterised in that described allocation unit, use further In:
According to the order of calling of the drawing object comprised in the service condition that described drawing object is corresponding, arrangement institute State the plot space that each drawing object is corresponding.
19. devices as according to any one of claim 16-18, it is characterised in that the described activation phase schemes Shape drawing unit, respectively according to the service condition that each drawing object described is corresponding, determines that each drawing is right As the corresponding activation phase, particularly as follows:
The order of calling of drawing object is obtained respectively according to the service condition comprised in each drawing object, and Order of calling according to described drawing object obtains first invoked drawing object;This first is adjusted Activation phase corresponding to drawing object activate the phase as benchmark;Corresponding according to each drawing object respectively The drawing object comprised in service condition call order, and described benchmark activates the phase, determines except described the The activation phase that other each drawing objects outside one invoked drawing object are corresponding.
20. devices as according to any one of claim 16-18, it is characterised in that the described activation phase schemes Shape drawing unit, respectively according to the service condition that each drawing object described is corresponding, determines that each drawing is right As the corresponding activation phase, particularly as follows:
Obtain the business duration and industry comprised in the service condition that each drawing object is corresponding respectively The business time started;Respectively according to the business duration that each drawing object is corresponding, determine that each is drawn The activation phase duration that object is corresponding;Respectively according to the business time started that each drawing object is corresponding, determine Time started activation phase that each drawing object is corresponding;Corresponding according to each drawing object described respectively Activation phase duration and activation time started phase, determine the activation phase of each drawing object described.
21. devices as claimed in claim 20, it is characterised in that described activation phase chart drawing unit It is that each drawing object is painted according to activation phase corresponding to each drawing object and described life line respectively The activation phase figure that system is corresponding, particularly as follows:
Determine that each drawing object is corresponding according to the phase duration that activates that each drawing object is corresponding respectively Activation phase graphic length, and determine often according to time started activation phase that each drawing object is corresponding respectively The activation phase figure original position that one drawing object is corresponding;Corresponding according to each drawing object described respectively Activation phase figure original position and length, on the basis of the life line of described drawing object, paint at each The plot space that figure object is corresponding is drawn activation phase figure.
22. devices as claimed in claim 21, it is characterised in that described activation phase chart drawing unit, It is further used for:
Be respectively the drafting of each drawing object activates the color that phase filling graph is different;Or it is the most each What individual drawing object was drawn activates the pattern that phase filling graph is different.
23. devices as claimed in claim 18, it is characterised in that described information interactive graphics (IG) is drawn single Unit, respectively according to the service condition that each drawing object is corresponding, determines that the information between described drawing object is handed over Mutual relation, and draw the information interactive graphics (IG) between described drawing object, tool according to described information interactive relation Body is:
Order is called respectively according to the drawing object comprised in service condition corresponding to each drawing object, Determine at least one business relations group, described business relations group comprises two different drawing objects;According to In at least one business relations group described drawing object call order, determine the letter between described drawing object Breath interactive relation, and determine described information interactive graphics (IG) according to the information interactive relation between described drawing object Starting point and terminal;Starting point according to described information interactive graphics (IG) and terminal, draw described drawing object Between information interactive graphics (IG).
24. device as claimed in claim 23, it is characterised in that described information interactive graphics (IG) is drawn single Unit, respectively according to the service condition that each drawing object is corresponding, determines that the information between described drawing object is handed over Mutual relation, and draw the information interactive graphics (IG) between described drawing object, tool according to described information interactive relation Body is:
Order is called respectively according to the drawing object comprised in service condition corresponding to each drawing object, Determine at least one business relations group, described business relations group comprises two different drawing objects;Respectively According to the industry comprised in the service condition that each drawing object at least one business relations group described is corresponding Business time started and service ending time, determine the beginning and end of described information interactive graphics (IG);According to institute State starting point and the terminal of information interactive graphics (IG), draw the information interactive graphics (IG) between described drawing object.
25. devices as claimed in claim 24, it is characterised in that described information interactive graphics (IG) is drawn single Unit, is further used for:
It is respectively the color that the information interactive graphics (IG) distribution of each drawing object drafting is different;Or it is respectively every The information interactive graphics (IG) of one drawing object drafting distributes different patterns.
26. devices as claimed in claim 16, it is characterised in that also include display unit, be used for:
After described information interactive graphics (IG) drawing unit draws the information interactive graphics (IG) between described drawing object, Receive sequential chart element and choose instruction, obtain sequential chart element and choose the sequential chart element correspondence of instruction Status information;Wherein, described sequential chart element includes drawing object, activates phase figure and information interaction figure Shape;Status information corresponding for the sequential chart element of acquisition is presented.
27. devices as claimed in claim 26, it is characterised in that described display unit by obtain time The status information that sequence figure element is corresponding presents, particularly as follows:
Obtain the Status Type comprised in the service condition that described sequential chart element is corresponding;According to described state class Type, the status information for described sequential chart element and correspondence thereof distributes corresponding color or pattern.
CN201310170667.1A 2013-05-09 2013-05-09 A kind of sequential chart acquisition methods and device Active CN103279342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310170667.1A CN103279342B (en) 2013-05-09 2013-05-09 A kind of sequential chart acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310170667.1A CN103279342B (en) 2013-05-09 2013-05-09 A kind of sequential chart acquisition methods and device

Publications (2)

Publication Number Publication Date
CN103279342A CN103279342A (en) 2013-09-04
CN103279342B true CN103279342B (en) 2016-11-23

Family

ID=49061882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310170667.1A Active CN103279342B (en) 2013-05-09 2013-05-09 A kind of sequential chart acquisition methods and device

Country Status (1)

Country Link
CN (1) CN103279342B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381756A (en) * 2020-03-11 2020-07-07 上海索辰信息科技有限公司 Timing diagram state processing system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458648B2 (en) * 2007-12-10 2013-06-04 International Business Machines Corporation Graphical modelization of user interfaces for data intensive applications
EP2207104A3 (en) * 2009-01-06 2010-11-17 Telefonaktiebolaget L M Ericsson (PUBL) System and method for transforming a UML model into an OWL representation
CN102141911B (en) * 2010-06-03 2013-12-18 华为技术有限公司 Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool
US9003430B2 (en) * 2011-01-20 2015-04-07 International Business Machines Corporation Dynamic transfer of selected business process instance state

Also Published As

Publication number Publication date
CN103279342A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN106557906A (en) A kind of warehouse management method and system based on three-dimensional modeling
CN107135257A (en) Task is distributed in a kind of node cluster method, node and system
CN105338358B (en) The method and device that image is decoded
CN106708917A (en) Data processing method and device and OLAP system
CN109992108A (en) The augmented reality method and system of multiusers interaction
CN105204802A (en) Control information processing method and device
CN104820677A (en) Layer display method and system of discipline
CN108108248A (en) A kind of CPU+GPU cluster management methods, device and equipment for realizing target detection
CN112003729B (en) Heterogeneous cloud platform resource topology display method, system, terminal and storage medium
CN103581273B (en) A kind of distributed system performs method, the apparatus and system of business
CN102855173A (en) Method and device for testing software performance
CN111158800B (en) Method and device for constructing task DAG based on mapping relation
CN108920281A (en) Extensive image processing method and system
CN103279342B (en) A kind of sequential chart acquisition methods and device
CN116992092A (en) Method and device for establishing flow model, storage medium and terminal equipment
CN106844467A (en) Method for exhibiting data and device
CN110111203A (en) Batch process, device and the electronic equipment of business datum
CN109144624B (en) Method, storage medium, device and system for displaying unequal height lists in IOS
CN109471935A (en) A kind of questionnaire survey object determines method, apparatus, electronic equipment and storage medium
CN106874069A (en) A kind of resources of virtual machine distribution method and device
CN105335462A (en) Visual mapping method for data relation of XBRL application platform
CN110633459A (en) Method and system for automatically generating data report and computer readable storage medium
CN106815295B (en) Substation data statistical method and device
CN106339259B (en) The real-time scheduling method of cloud computing resources
CN206193458U (en) Many subscriber computer control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200201

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Huawei Technologies Co.,Ltd.

TR01 Transfer of patent right