Summary of the invention
The problem that the present invention solves is can not dynamic load at current operation, and business can not online dynamic operation, and upgrading service is safeguarded the technical problem of difficulty etc.
New and old operation flow refers to two kinds of a kind of business different version numbers among the present invention, and the version number of new operation flow is higher than the version number of old service flow process.
The method that the present invention has adopted a kind of service dynamic to load, may further comprise the steps: (1) loads the new business flow process of a certain business to service control point; (2) service control point activates the new business flow process of this business; (3) service control point comes then at new service call, and the new business flow process that enters this business is handled; (4) the old service flow process of this business of service control point deexcitation; (5) service control point unloads the old service flow process of this business.
Described step (1) further comprises:
(11) from office data file, read professional control table information;
(12) judge whether the business of preparing to load repeats with existing business; If repeat then carry out fault processing, return failure information, finish; If do not repeat then to continue;
(13) judge that the busy not busy of professional control table indicates that having or not the free time to write down exists; If there is no then carry out fault processing, return failure information, finish; Then this business information is write in the professional control table if exist;
(14) business information that will prepare loaded with traffic writes professional control table.
The field information of described professional control table comprises: busy not busy sign, service key, business release number, service condition, unloading sign, professional usage counter and professional unloading time-out count device.
Described step (2) further comprises:
(21) number search the new business flow process that has loaded of coupling according to service key and business release;
(22) if this service condition is in unactivated state, then service condition is changed to activated state.
Described step (3) further comprises:
(31) service control point number is distinguished new and old operation flow according to service key and business release, and indication comes then at new service call according to business, enters the new business flow process and handles;
(32) service control point discharges the old service flow process after the all-calls with the old service flow process of the service call corresponding service of newly arriving finishes.
The version number of described new business flow process is than version number's height of existing operation flow;
The business that writes down in the corresponding Call Instance Data of described service key; The subscript at the professional place of writing down in the described business release number corresponding Call Instance Data; Described service control point is after the new business flow process loads, and the calling procedure that can keep existing old service flow process is until release.
Described step (4) further comprises:
(41) number search the old service flow process that has loaded of coupling according to service key and business release;
(42) if this service condition is in activated state, then this service condition is changed to deactivated state.
Described step (5) further comprises:
(51) it is professional number to search coupling according to service key and business release in professional control table;
(52) if this service condition is in deactivated state, then unload this business;
(53) should be changed to unloaded by business unloading sign.
Compared with prior art, the present invention has the following advantages:
Because in the whole operation process that the new business flow process is reached the standard grade, just at the operation of new business flow process, original existing old service flow process is not carried out any operation and change, system changes the Business Processing process according to new and old operation flow automatically.Therefore, service dynamic loads to can be implemented in fully not to be influenced under switching system and the existing business call case, on-line operations such as business can dynamic load, unloading, selection, activation, deexcitation, that is to say, can finish professional upgrade job real-time securityly, this just makes professional setting and open more flexibly, and professional upgrade maintenance is more simple and safe reliable.In the replacement process of upgrading service and new old service, the interruption of the imperceptible business of user.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
The operation flow of being mentioned among the present invention refer to the communications industry basic or increment class concrete business, as: cassette call business (300 professional 600 business), prepayment service, Ring Back Tone service and other business, be embodied as office data file, just said business logic software bag.
After business among the present invention must utilize the maintenance terminal of SCP (service control point) to carry out business loading, business activation manipulation successively, this business could finally offer the user and use; Same, the business among the present invention must utilize the maintenance terminal of SCP to carry out could stopping behind service deactivation, the professional unloading operation service of this business successively.
Basic principle of the present invention may further comprise the steps as shown in Figure 1: (1) loads new business to service control point; (2) service control point activates new business; (3) service control point is selected new old service; (4) service control point deexcitation old service; (5) service control point unloading old service.
See also Fig. 2, it is the field name and the specification of professional control table for the present invention; Professional control table is the structure of service management module with the principal character storage, and after the business loading completed successfully, professional control table preserved with the form of office data file, promptly finally is presented as office data file.
The principal character data description of professional control table is as follows: the busy not busy busy not busy sign that indicates the expression record, and 0 represents the spare time, and 1 representative is busy; Service key is represented number together business of unique identification of service key and business release; Business release number expression business release number and service key be business of unique identification together; Service condition is represented professional state, 0 expression deactivated state, 1 expression activated state; Whether this business of unloading sign expression is unloaded, and 0: not unloading, 1: unloaded; Professional usage counter is represented the counter of the number of times that current business is used; Professional unloading time-out count device represents that professional unloaded back is up to the employed counter of overtime deletion.
The main operation that the present invention includes has: professional loading, activation of service, service selection, service deactivation and professional unloading.Must carry out some relevant initialization operations before professional the loading, just business initial loads, and specifically describe as follows: at first the office data file with business loads to professional control table, then according to professional control table loaded with traffic logic script; If loaded with traffic control table failure expression system initialization failure; If business is in the unloading attitude, will not reload this business, this business of deletion from professional control table; If professional the loading failed, will from professional control table, delete this business; If professional control table must be stored this change after changing in office data file; After the loading, with the professional usage counter zero clearing in the professional control table.
After business initial loads successfully, just can carry out professional load operation, the professional loading is loaded into the Installed System Memory variable range with the new business flow process exactly from office data file, is convenient to high speed access and handles, and specifically describes as follows:
See also Fig. 3, it is the professional flow chart that loads of the present invention, may further comprise the steps:
S301: from office data file, read professional control table information;
S302: the business that judge to prepare loads whether with existing professional the repetition, if repeat then carry out fault processing, return failure information (this business exists), finish; If do not repeat then to continue;
S303: judge that busy not busy sign has or not idle record to exist in the professional control table, if there is no then carry out fault processing, return failure information (professional control table does not have idle record), finish;
S304: then this business information is write in the professional control table if exist;
S305: after writing professional control table success, with professional control table real-time storage in office data file; Professional loaded is reported the successful relevant information of loading to the user.
A professional loading can't finally be used after finishing, and must carry out the operation of activation of service, after the activation of service success, could guarantee that this operation flow is effective, and the user just can use.Specifically describe as follows:
See also Fig. 4, it may further comprise the steps for the flow chart of activation of service of the present invention:
S401: receive the activation of service order that Service Maintenance Terminal (SMT) is sent;
S402: number search the business that loads and be not in unloaded state of coupling according to service key and business release, judge whether this business exists, if there is no then carry out fault processing, return failure information (this business does not exist), finish; Continue if exist then;
S403: judge whether this service condition is in activated state,, return failure information (this business is activated), finish if then carry out fault processing; If not then continuing;
S404: this professional service condition is for putting activated state;
S405: with the variation of professional control table real-time storage this service condition of record in the office data file;
S406: return the activation of service successful information, activation of service finishes.
Service selection is meant that system wants to distinguish according to service key and version number the new and old operation flow of same business, thereby can after the new business flow process is reached the standard grade, new calling be linked in the new business flow process, rather than be linked in the original old service flow process, specifically describe as follows:
See also Fig. 5, it may further comprise the steps for the flow chart of service selection of the present invention:
S501: number search corresponding business according to service key and business release and whether exist, if there is no then carry out fault processing, return failure information (business does not exist), finish; If exist then continuation;
S502: will be in CID (Call Instance Data Call Instance Data) subscript (business that writes down in the corresponding Call Instance Data of service key at record traffic place, the subscript at record traffic place in the business release number corresponding Call Instance Data), in the follow-up business processing procedure, no longer select, directly use this subscript;
The service management module of SCP is distinguished new and old operation flow according to the subscript at the professional place of writing down in the Call Instance Data; And come then at new service call according to business indication, enter the new business flow process and handle; Here said CID is a dynamic parameter, the information that essential record is relevant with calling, and it is relevant with each concrete calling.The called number of being dialled when for example making a phone call is a Call Instance Data.
The service management module of SCP discharges the old service flow process after the all-calls of old service flow process finishes, the old service after the release can processed off-line;
S503: after service selection is finished, the professional usage counter of selected business is added 1; The service selection flow process finishes.
A business will be carried out processed offline, necessary advanced industry affair deactivating operation, and operation flow is in deactivated state just can carry out professional unloading operation.Specifically describe as follows:
See also Fig. 6, it may further comprise the steps for the flow chart of service deactivation of the present invention:
S601: receive the service deactivation order that Service Maintenance Terminal (SMT) is sent;
S602: number search the business that loads and be not in unloaded state of coupling according to service key and business release, if there is no then carry out fault processing, return failure information (this business does not exist), finish; Continue if exist then;
S603: judge whether this service condition is in activated state,, return failure information (this business is not activated), finish if not then carrying out fault processing; If be in activated state then continue;
S604: this professional Status Flag is changed to deactivated state;
S605: the state of service deactivation need be write in the professional control table, again with professional control table real-time storage in office data file, the variation of record traffic state;
S606: return the service deactivation successful information, service deactivation finishes.
Professional unloading is exactly that operation flow is just in use carried out the off-line operation processing, is divided into normal unloading and forced unloading dual mode, specifically describes as follows:
See also Fig. 7, it is the flow chart of the professional unloading of the present invention, may further comprise the steps:
S701: it is professional number to search coupling according to service key and business release in professional control table, judges whether to exist the business of coupling; If there is no then carry out fault processing, return failure information (this business does not exist), finish; If exist then continuation;
S702: judge whether this service condition is in activated state,, return failure (this business is in state of activation) if then carry out fault processing; If not activated state then continues, be discharged in line service and comprise dual mode: normal unloading and unloading by force;
S703: judge the mode of operation that unloading is professional;
S704: if professional unloading order is then carried out in normal unloading; If have the user using this business this moment, then real unloaded operation is finished by the one-period task;
S705: if the calling that all are using this service logic is then removed in unloading by force by force;
S706: with the professional usage counter zero clearing in the professional control table;
S707: should be changed to 1 (unloaded) by business unloading sign;
S708: after professional unloading is finished, then with professional control table real-time storage in office data file, with the variation of record traffic state; User-dependent unloading successful information is reported in professional completion of discharge.
More than disclosed only be a specific embodiment of the present invention, but the present invention is not limited thereto, any those skilled in the art can think variation, all should drop in protection scope of the present invention.