Concrete enforcement of the present invention is with reference to figure 1.The described network intercommunication service emulator of Fig. 1 comprises SMS emulation module 1, SCP emulation module 2, SSP emulation module 3, above-mentioned SSP emulation module 3 comprises SSF submodule 31, INSM submodule 32 and CCF submodule 33, and described INSM submodule 32 is connected with SSF submodule 31 and the mutual signal of CCF submodule 33 difference.In addition, the present invention also comprises intercommunication PINT emulation module 4, intercommunication GK emulation module 5 and intercommunication network emulation module 6.
Above-mentioned SMS emulation module 1 not only will also will increase the new management function based on the IN business of IP network to the service management of IN net in the reality, mainly comprise professional loading, data base administration, log record etc.;
Above-mentioned SSP emulation module 3 not only will satisfy the requirement of " Chinese intelligent equipment Service Switching Point technical specification ", also will increase message propagation function with intercommunication network emulation module 6 in order to draw the artificial service message flow diagram in the reality.
Above-mentioned intercommunication PINT emulation module 4 mainly is SIP (SIP) conversation request of accepting PINT Client, carries out the location, forwarding of message and gives PINT Client with the result/response loopback of IN side message.It comprises PINT SCF submodule 41, PINTINSM submodule 42 and PINT Client submodule 43, and described PINT INSM submodule 42 is connected with PINT SCF submodule 41 and the mutual signal of described PINT Client submodule 43 difference.
Described GK emulation module 5 realizes calling out on the IP network mapping of control and the professional control of IN as IP-SSP, to finish the IN business that triggers by IP network H323 user, mainly comprise GK SSF submodule 51, GK INSM submodule 52 and GK CCF submodule 53, described GK INSM submodule 52 is connected with GK SSF submodule 51 and the mutual signal of GK CCF submodule 53 difference;
Described network simulation module 6 is not only finished the analog network editor also will carry out forwards and reception, on the one hand Service Trigger Information is forwarded to the receiver module of IN side or IP side, receive the message of IN or IP side on the other hand, it mainly comprises artificial network editor submodule 6l and Business Stream tracking submodule 62, artificial network editor submodule 61 wherein provides and has constituted the required various assemblies of artificial network, as phone, PINT Client, H323 terminal etc.
In above-mentioned module, SCP emulation module 2 is connected with SMS emulation module 1, SSF submodule 31, PINT SCF submodule 41 and the mutual signal of GK SSF submodule 51 difference respectively; Artificial network editor submodule 61 is followed the tracks of submodule 62 with Business Stream and is connected with CCF submodule 33, PINT Client submodule 43 and the mutual signal of GK CCF submodule 53 difference respectively; CCF submodule 33 is connected with PINT Client submodule 43 mutual signals.
Below by following the tracks of the explanation of the technical scheme of correlation module, the present invention is further described with artificial service operation message flow.
For SSP emulation module 3, SSF submodule 31 is fully independently modules, for tracking message stream, when the present invention specifically implements, can on the basis of SSF standard state machine, make amendment, all will information via INSM submodule 32 be outputed to CCF submodule 33 by external channel no matter promptly receive INAP (intelligent network application protocol) operation or send INAP operation SSF submodule 31; Same CCF submodule 33 also will be made amendment on the state machine basis of standard, not only itself to be outputed to the network simulation window to the processing that INAP operates, and to output to the network simulation window to the INAP operation that the SSF submodule 31 that INSM transmits is handled, wherein the corresponding relation of different messages and different instances is safeguarded by INSM submodule 32.
CCF submodule 33 whole implementations are exactly messaging and processing messages.It is divided into two classes with the message of dealing, and a class is to call out and call control message, and a class is the message of other type.For calling out and call control message, CCF submodule 33 is dispatched each BCSM (Basic Call State Model BCSM) example by a state-chain-table, after obtaining the BCSM example of message correspondence, the message call processing procedure is upgraded the BCSM state, finishes the corresponding call controlled function.For the message of other type, the work that CCF submodule 33 is done only is to transmit this message to the message destination.
When realizing,, can generate a plurality of SSF examples by INSM according to the needs of calling out.After CCF submodule 33 produces a calling, call information is sent to INSM submodule 32, INSM submodule 32 judges whether this call instance exists, if there is no, it produces a new SSF example, this SSF example sends " starting DP (collocation point) " operation and gives SCP module 2, and SCP module 2 produces the corresponding business example, has just set up control relation between srvice instance and the CCF/SSF.The call information that CCF submodule 33 produces is delivered to after the INSM submodule 32, through judging that this example produces, so just information is forwarded to SSF submodule 31, SSF submodule 31 is through after handling, and as required, the form of operating with INAP sends to srvice instance to message.Srvice instance sends to the INAP operation of SSF submodule 31, and through the processing of SSF submodule 31, as required, the form that can discern with CCF submodule 33 sends to CCF submodule 33 through INSM submodule 32.
INSM submodule 32 mainly is the message that receives from BCSM example in the CCF submodule 33, and queuing is handled, and repacks, and is transmitted to corresponding SSM example in the SSF module 3; Reception is from the message of SSM example in the SSF module 3, and queuing is handled, and repacks, and is transmitted to corresponding BCSM example in the CCF submodule 33; The corresponding relation of record and management SSM instance number and BCSM instance number.
For intercommunication PINT emulation module 4, PINT SCF submodule 41 is responsible for receiving the INAP operation from SCP module 2, and sending to PINT Client submodule 43 by PINT INSM submodule 42 with self-defining data structure, PINT Client submodule 43 sends to Client with the form of PINT agreement again; Send to PINT Client submodule 43 from the message of Client with the form of PINT, PINT Client submodule 43 sends to PINT SCF submodule 41 with internal form by PINT INSM submodule 42 again, and PINTSCF submodule 41 sends the INAP operation to SCP module 2 more as required.SCP module 2 is after receiving the professional triggering of PINT message, to from the service queue that SMS module 1 has loaded, create the corresponding service example, srvice instance carries out interacting message and data interaction respectively according to operation flow and SSP module 3, SMS module 1 then, and the state of PINT SCF submodule 41 and PINT Client submodule 43 will shift thereupon.The INAP of these export-oriented SCP module 2 transmissions operates and will be forwarded to the network simulation window by external channel by PINTSCF submodule 41 from the INAP operation that SCP module 2 receives and carries out the drafting of example tracking flow graph.
For GK emulation module 5,, need carry out function to the gatekeeper in the common IP telephony system (GateKeeper) and expand in order to realize based on the IN service on the IP network.GK has added Service Switching Function when finishing the CCF of itself, finish the emulation of the IN business that triggers on IP network.Therefore GK is mainly by GK CCF, GK SSF, and GKINSM three parts are formed.Interface between GK CCF and the GK SSF adopts the self-defined message form; Adopt standard I NAP message coding/decoding to realize mutual between GK SSF and the SCP.GK INSM mainly is the message that receives from BCSM example among the GK CCF, and queuing is handled, and repacks, and is transmitted to corresponding GK SSF example; Reception is from the message of GK SSF example, and queuing is handled, and repacks, and is transmitted to corresponding BCSM example among the GK CCF; The corresponding relation of record and management GK SSF instance number and BCSM instance number.
When the user dials in the IN service numbers, GK CCF receiver module is the incident of message conversion for triggering CCF BCSM state machine, and generation GK CCF example, GK CCF master control processing module is handled the BCSM incident of GK CCF example, and guide the redirect of BCSM state machine, different redirects will produce different GK SSF incidents, transmit to GK SSF by GKINSM, GK SSF receives GK SSF incident and handles, cause the redirect of GK_SSF state machine, produce the incident that sends to SCP module 2 simultaneously, if new GK SSF example is just created in new calling, if existing calling is just carried out state transitions to corresponding GK SSF example; GK SSF receives the INAP message of being sent by SCP module 2, by event handling, makes GK SSF state machine generation redirect, and the BCSM incident of generation is transferred in the GK CCF example by GK INSM and handles.So just can finish once the interacting message of complete GK module 5 and SCP module 2.Same various message in reciprocal process will output to message tracking window and carry out the message flow diagram drafting.
For network simulation module 6, in network editing, come constructing analog operational network topo graph, to editor, artificial network of configuration formation of network element by the network model unit.Handle two class message in network simulation: a class is a user message, a class be transmit message.User message is mainly contained two kinds: network editing and professional the triggering, the former is used for the constructive simulation network, the latter then is by clicking software terminal, trigger service operation as phone, PINT Client, H323 terminal, different terminals triggers the professional different messages that sends can select different service routines such as CCF submodule 33 by the port of artificial network, PINT Client submodule 43, GK CCF submodule 53 uploads to SCP module 2.For the message of transmitting just network simulation module 6 is monitoring always pass through the message that SSP, GK, PINT return from SCP module 2, receive that post-simulation mixed-media network modules mixed-media 6 will carry out the differentiation of example message, the message of different instances is plotted in the different windows, and each example triggering terminal and the connected SOT state of termination in analog network all will change simultaneously.
Be example with CTD (click to dial) business below, the simulation process of interworking service once is described.
L, in the artificial network editor constructive simulation network, two phones, a pintclient must be arranged as the CTD terminal.The calling number of CTD and called number are set to the number of two phones respectively.
2, Mo Ni CTD terminal sends service request (Invite) message to PINT Client, and PINT Client sets up a new example.PINT Client transmits the invite message that has PINT Client instance number to PINT INSM.Artificial network module 6 is created a tracking window and is drawn Invite message for the CTD call instance simultaneously.
3, INSM receives that Invite message just generates a new PINT SCF example, and the instance number of PINT SCF instance number and PINT Client be mapped join in the instance management table, afterwards PINT INSM with the invite forwards in newly-generated PINT SCF example.
4, PINT SCF example is packaged into service request (ServiceRequest) operation to Invite message and sends, and changes the state that connects of waiting for then over to.Follow the tracks of window and draw the ServiceRequest operation.
5, ServiceRequest operation is received by the managing process of SCP, by searching CTD srvice instance of activating service list management process creation, and the ServiceRequest operation is forwarded in the CTD srvice instance.
6, after the CTD srvice instance is received the ServiceRequest operation, at first send service request report (ServiceRequestReport) operation (primitive type is TC BEGIN), send startup call attempt (InitateCallAttempt) operation (primitive type is TC_BEGIN) to SSF then to PINT SCF.
7, after PINT SCF receives service request report (ServiceRequestReport) operation of srvice instance transmission, send message to INSM with the type of message that responds (Response).Follow the tracks of window and draw the ServiceRequestReport operation.
8, INSM receives after the Response message from PINT SCF, and the instance number of searching PINT Client according to the instance number of PINTSCF sends to PINT Client by the Response message that CCF will have the instance number of PINTClient then.
9, PINT Client receives after the Response message, finds the corresponding business example according to the instance number of PINT client, does corresponding processing according to the type of Response, and this forwards on the CTD terminal of correspondence.Follow the tracks of window and draw Response message.
10, the following describes the CTD srvice instance after SSF sends a startup call attempt (InitateCallAttempt) operation, operation is received the example that generates a SSF by the service management process, and the InitateCallAttempt operation is forwarded in the newly-generated SSF example.Follow the tracks of window and draw the InitateCallAttempt operation.
11, SSF instance processes InitateCallAttempt operation, and to INSM forwarding " InitateCallAttempt " message.
12, INSM receives after " InitateCallAttempt " message, transmits this message to CCF.Because this moment is the CCF example corresponding with current SSF example not, INSM waits for and accepts a BCSM example response message of returning from CCF.
13, CCF receives and creates BCSM example after " InitateCallAttempt ", and instance number is placed in the BCSM example response message reports to INSM.The further indication of latency services logic then.
14 INSM receive after the BCSM example response message that CCF sends, and corresponding BCSM instance number and srvice instance number are joined in the example correspondence table.So far the contact between the various piece has been set up out fully, and service logic can be indicated PINT SCP and the SSP transfer that gets the hang of.
15, entering into after the normal state transitions, has been exactly the drafting of message such as relevant telephone state such as off-hook in the CTD business, voice suggestion, on-hook.