Summary of the invention
The present invention is exactly at above situation, proposes a kind of method that can realize cancelling in service creation environment with the repetitive operation function.
Realize cancelling the method with repetitive operation in a kind of service creation environment, it is characterized in that comprising the steps:
A, the original various executive editors operation of service creation environment is revised as carries out corresponding order;
B, to each bar edit commands, determine and realize mutually reciprocal with it order;
C, the implementation status of each bar edit commands is carried out record;
D, finish repetitive operation by the contrary order of carrying out an order and drill and do and cancel the work of drilling.
Described record to each bar edit commands is to preserve by the mode of round-robin queue.
In the described round-robin queue, the record order position comprises the current command in order, the current command front be can repetitive operation order, the current command back is the order that can cancel operation.
The various operands that system supports in the described method are also wanted oneself to realize the management of life cycle, each object is kept a reference count value, safeguard the number of operations of once operating this object by each object, show by this number of operations whether current object also should continue to work, if the reference count value is zero, illustrate that then current object should delete.
Editor's flow process of described user is:
A, in service logic generates, in the time of carrying out a certain operation, system gets the edit commands of correspondence;
B, carry out this edit commands.
The processing procedure of the execution of described edit commands is as follows:
A, this order is added in the system command formation;
If after b the current command the order of once cancelling is arranged, then subsequent commands is cancelled;
One of c, the reach of the current command position indicator pointer;
D, revocable order count value add 1, but the order count value of repetitive operation is made as 0;
E, carry out this order.
In the described method, it is as follows that the user carries out the flow process of cancelling operation:
A, from command queue, get the current command;
B, get the current command cancel the previous action order;
C, carry out this and cancel the previous action order;
D, the current command point to last order in the command queue;
But the order count value of e repetitive operation adds 1;
F, revocable order count value subtract 1.
In the described method, the flow process that the user carries out repetitive operation is as follows:
A, from command queue, get the current command
B, obtain the repetitive operation order of the current command;
C, carry out this repetitive operation order;
Order after d, the current command pointed;
But the order count value of e repetitive operation subtracts 1;
F, revocable order count value add 1.
By implementation method of the present invention, can realize cancelling operation and repetitive operation, provide after this function, professional editing operation function is abundanter, and business development is more flexible, thereby improves business development efficient.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the invention is described.
As shown in Figure 1, be the basic block diagram of existing intelligent network, this intelligent network is made up of several parts such as service switching point, service control point (SCP), ip intelligent peripherals IP, business management system SMS, service creation environment SCE.
SSP (Service Switching Point) is the tie point that connects existing wireless network and intelligent network, and the function that inserts intelligent network function collection is provided.SSP can detect the request of IN service, and communicates by letter with SCP; Request to SCP responds, and allows the service logic among the SCP to influence call treatment.
SCP (Service Control Point) is the core component of intelligent network, its storaging user data and service logic.The major function of SCP is to receive Query Information and the Query Database that SSP sends here, carries out various decodings; Simultaneously, SCP can start different service logics according to the call event of offering on the SSP, sends the calling steering order according to service logic to corresponding SSP, thereby realizes various intelligent calls.
IP (Intelligent Peripheral) is a special resource of assisting to finish IN service.Usually have various phonetic functions, as phonetic synthesis, the playback notice receives DTMF pulsing, carries out speech recognition or the like.IP can be an independently physical equipment, also can be used as the part of SSP, and it accepts the control of SCP, carries out the specified operation of SCP service logic.
SMS (Service Management System) also is a kind of computer system.SMS generally possesses 5 kinds of functions, i.e. service logic management, Service Data Management, user data management, professional monitoring and traffic management.The new business logic of creating in service creation environment is input among the SMS by service supplier, and the SMS SCP that again it packed into just can provide this new business on communication network.
The function of SCE (Service Creation Environment) is the new service logic of demand generation according to the client.It is exactly the professional Core Generator that this patent will be introduced.
SMAP is a SMAP among the figure.
GMSC moves to serve switching centre's gateway, and MSC is a mobile switching centre, and the both can be equivalent to the SSP in the fixed network.
As shown in Figure 2, described a simple intelligent network business, by the service logic that line is formed by connecting, adding legend does not have the Service Support Data SSD, the Call Instance Data CID that embody to form an intelligent network business by 4 SIB for it.Wherein SIB is the reusable functional module of a kind of standard of International Telecommunications Union's definition, translator of Chinese is the formation piece with independent of service, each functional block is finished the network function of certain standard, the different service attribute of can arranging in pairs or groups out as playing with building blocks, and then constitute different business.As long as professional deviser describes out a service needed and uses which SIB, sequencing between these SIB and the input of each SIB, output parameter etc. can be finished a professional design.This just makes business design not only standard but also flexible, for design fast, exploitation new business lay a solid foundation.
Though original SCE provides the operating function of business development, there is not the function with repetitive operation cancelled of associative operation, exist inconvenient to a certain extent.The invention provides after this function, professional editing operation function is abundanter, and business development is more flexible, thereby improves business development efficient.
In the present invention, each step editing operation of user is all submitted to system as an order, and system is with every order of track record user, and the user carries out can cast aside successively when cancelling order and disappears, to the order of cancelling, the user can carry out the repetitive operation order and re-execute.Method of the present invention specifically comprises the steps:
The execution of a, the original various edit commandss of SCE must change into by carrying out corresponding order and realize that in SCE, edit commands is listed below:
Increase a SIB;
Delete a SIB;
Increase a plurality of SIB;
Delete a plurality of SIB;
Increase a line;
Delete a line;
Move (dragging) SIB;
Amplify/dwindle the SIB shade;
Position, mobile line reference mark;
Shear;
Paste;
Double-click line and increase a reference mark;
Delete a reference mark;
The SIB alignment function;
The self routing function;
And other relevant orders that do not list.
B, to each bar edit commands, need to determine and realize reciprocal with it order realize cancelling function by contrary order, and the contrary order of contrary order being exactly former order.Be exactly that operation of function that utilizes the contrary order realization repetitive operation of order like this.For example:
Increase a SIB |
Delete a SIB |
Increase a plurality of SIB |
Delete a plurality of SIB |
Increase a line |
Delete a line |
Drag SIB Offset |
Drag SIB-Offset |
Amplify/dwindle SIB shade Offset |
Amplify/dwindle SIB shade-Offset |
Mobile line reference mark position Offset |
Mobile line reference mark position-Offset |
Shear |
Increase a plurality of SIB |
Paste |
Delete a plurality of SIB |
Double-click line and increase a reference mark |
Delete a reference mark |
Table 1
Editing process c, the implementation status of each bar edit commands carried out record, in this record the execution of order preserved by the mode of round-robin queue, so that can obtain monitoring.
As shown in Figure 3, it is the synoptic diagram of round-robin queue of the present invention, in the figure, system preserves current command position, along the direction of arrow, the current command front can repetitive operation, the current command back can cancel operation, cancelling operation and repetitive operation must be in order, promptly will cancel operational order 1 and must cancel operation the current command and order 2 simultaneously, repetitive operation order 5 necessary first repetitive operation orders 4.
D, according to exploitation user's demand, by carrying out the contrary order of an order, finish repetitive operation and drill and do and cancel the work of drilling.
In implementation method of the present invention, the various operands that system supports want also oneself to realize the management of life cycle that each object is kept a reference count value.Because described operation is carried out at object, each object is safeguarded the number of operations (reference count value) of once operating this object, show by this whether current object also should continue its effect,, illustrate that then current object should delete if the reference count value is zero.
During user's concrete operations, in the time of will carrying out certain operation in service logic generates, system gets corresponding edit commands, carries out this edit commands again and can finish required operation.
As shown in Figure 4, the processing procedure to the execution of this edit commands comprises:
A, this order is added in the system command formation;
If after b the current command the order of once cancelling is arranged, then subsequent commands is cancelled;
One of c, the reach of the current command position indicator pointer;
D, revocable order count value add 1, but the order count value of repetitive operation is made as 0;
E, carry out this order.
As shown in Figure 5, in the present invention, it is as follows that the user carries out the flow process of cancelling operation:
A, from command queue, get the current command;
B, get the current command cancel the previous action order;
C, carry out this and cancel the previous action order;
D, the current command point to last order in the command queue;
But the order count value of e repetitive operation adds 1;
F, revocable order count value subtract 1.
Among the present invention, the flow process that the user carries out repetitive operation is as follows:
A, from command queue, get the current command
B, obtain the repetitive operation order of the current command;
C, carry out this repetitive operation order;
Order after d, the current command pointed;
But the order count value of e repetitive operation subtracts 1;
F, revocable order count value add 1.
See a concrete operation below:
Supposing the system carries out record with the implementation status of edit commands in the mode of round-robin queue, and wherein revocable order is: mobile SIB, line of increase, but the order of repetitive operation is: shears, pastes.
The user wants to increase a SIB now, and then will increase a SIB and be defined as the current command, so, be mobile SIB and line of increase successively before the current command, be to shear, paste successively after the current command, in round-robin queue, preserve with this order.
The treatment scheme of edit commands is:
SIB order of this increase is added in the formation, and then the system queue saving sequence becomes: mobile SIB, line of increase, SIB of increase, shearing, stickup, wherein increasing a SIB is the current command.
Cancel the order that increases a SIB if the user wants to carry out, then adopt following steps:
Take out the current command from command queue, the current command is for increasing a SIB order;
Get the order of cancelling of the current command, promptly cancel a SIB;
Carry out this and cancel order;
The current command is pointed to last order in the command queue, promptly shear;
But the order count value of repetitive operation is added 1;
Revocable order count value is subtracted 1;
Like this, promptly finished and once cancelled operation, the method for operating of repetitive operation is similar with the method for operating of cancelling, and the reader can directly realize according to above-mentioned method, need not say more here.
The invention provides cancelling and the repetitive operation function of professional editing operation, professional editing operation function is abundanter later on to the invention provides this function, and business development is more flexible, thereby improves business development efficient.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.