Timing diagram ending processing system and methodTechnical Field
The present invention relates to timing diagram fields, and more particularly, to a system and method for timing diagram expiration processing.
Background
The timing diagram is a graph structure with a time dimension, and plays an increasingly important role in query processing and mining work of data. The traditional timing diagram mainly includes roles, objects, life lines, control focuses and messages. There is no good method for defining cutoffs in a conventional timing diagram, and some cutoffs in the timing diagram cannot be well described, so it is necessary to define a good method for labeling cutoffs.
Disclosure of Invention
The invention provides a system and a method for processing a timing diagram cut-off, aiming at the problems and the defects in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a timing diagram cut-off processing system which is characterized by comprising a cut-off module and a control module, wherein the control module is used for receiving an instruction and analyzing the instruction, calling the cut-off module to generate a cut-off icon when the analyzed instruction is the cut-off instruction, and performing cut-off operation on a timing diagram by adopting the cut-off icon;
the ending icon comprises an ending title frame, an ending dragging button and an ending hidden dragging button, and the ending title frame and the ending hidden dragging button are arranged around the ending dragging button;
the cutoff title box is used for a user to input the name and/or description of cutoff and display the input name and/or simple description;
the cut-off dragging button is used for dragging a cut-off icon by a user and setting the attribute of the cut-off icon;
the cut-off hidden dragging button is used for dragging the user up and down to a cut-off position so as to hide all contents below the cut-off position.
Preferably, the cutoff title box is represented by an input character.
Preferably, the cut drag button is represented by a solid circle.
Preferably, the hidden dragging button is represented by a circle, and the circle wraps a solid circle and is concentrically arranged.
The invention also provides a timing diagram cut-off processing method, which is characterized by being realized by the timing diagram cut-off processing system, and the timing diagram cut-off processing method comprises the following steps:
and receiving a cut-off operation instruction aiming at the component of the time sequence diagram, generating a cut-off icon by using the cut-off module, and performing cut-off hiding operation on the hidden component to be cut off in the time sequence diagram.
Preferably, the cutoff icon is modifiable and deletable.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows:
when a timing chart is created, a cutoff graph needs to be defined, and the traditional timing chart does not have a good graph mode for defining cutoff.
The definition of cut-off is carried out in a dragging mode, and the definition efficiency of cut-off is greatly improved.
By cutting off the title box and inputting the cut-off name or simple description, the content can be quickly modified and the drawing efficiency is improved.
The whole style is simple and elegant, and the fatigue of an observer is reduced.
Drawings
FIG. 1 is a block diagram of a timing diagram according to a preferred embodiment of the present invention.
FIG. 2 is a diagram illustrating a timing diagram ending processing method according to a preferred embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The embodiment provides a visual, good-interactivity and reliable timing diagram cut-off processing system for a timing diagram, which comprises a cut-off module and a control module, wherein the control module is used for receiving and analyzing an instruction, calling the cut-off module to generate a cut-off icon when the analyzed instruction is the cut-off instruction, and performing cut-off operation on the timing diagram by adopting the cut-off icon.
As shown in fig. 1, the end icon includes anend title frame 1, an end drag button 2, and an end hidden drag button 3, theend title frame 1 being disposed above the end drag button 2, the end hidden drag button 3 being disposed around the end drag button 2.
Thecutoff title frame 1 is represented by an input symbol, the cutoff dragging button 2 is represented by a solid circle, the cutoff hidden dragging button 3 is represented by a circle, and the circle wraps the solid circle and is concentrically arranged.
The functions of the components in the cutoff icon are described in detail below:
thecutoff title box 1 is used for a user to input a name and/or description of a cutoff and display the input name and/or simple description.
The cut-and-drag button 2 is used for a user to drag a cut-and-drag icon and to set an attribute of the cut-and-drag icon.
The cut-and-hide drag button 3 is used for dragging up and down to a cut-off position by a user to hide all content below the cut-off position.
As shown in fig. 2, the present embodiment further provides a timing chart ending processing method, which is implemented by the timing chart ending processing system, and the timing chart ending processing method includes the following steps:
and receiving a cut-off operation instruction aiming at the component of the time sequence diagram, generating a cut-off icon by using the cut-off module, and performing cut-off hiding operation on the hidden component to be cut off in the time sequence diagram.
In the time sequence diagram, a cut-off icon is used when a cut-off hiding operation is required to be carried out on a part to be cut off and hidden, a cut-off dragging button is dragged to enable the cut-off icon to be dragged to a part to be cut off and hidden in a drawing area of the time sequence diagram to serve as a cut-off hiding structure of the time sequence diagram, the cut-off hiding dragging button is dragged up and down in the part to be cut off and hidden, so that the cut-off icon is located at a position point to be cut off and hidden, the part to be cut off and hidden below the position point to be cut off and hidden is hidden, the name or simple description of the cut-off operation is input through a cut-off title frame, and an attribute.
Further, the cutoff icon is modifiable and deletable.
For example: referring to fig. 2, it is necessary to compare S1: all parts belowactivity 1 are hidden, and at this time, the cut-off icon is used, the cut-off drag button is dragged to cause the cut-off icon to be dragged to the time chart drawing area to serve as a cut-off hidden structure of the time chart, and the cut-off hidden drag button is dragged up and down in the section component B cut-off hidden area to cause the cut-off icon to be located at the position point to be hidden (i.e., S1:activity 1 lower position point), so that S1: all parts below the position point belowactivity 1 are hidden.
The invention defines the influence range of the limiting part components in the time chart and is the best solution for defining the cutoff.
The invention efficiently creates, deletes and modifies the cutoff icon in the time sequence diagram, which is a preferred scheme for solving the problem that the traditional time sequence diagram can not define the cutoff, thereby improving the overall design efficiency and the design level.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.