CN102130898A - Simulation method, device and system - Google Patents
Simulation method, device and system Download PDFInfo
- Publication number
- CN102130898A CN102130898A CN201010276437XA CN201010276437A CN102130898A CN 102130898 A CN102130898 A CN 102130898A CN 201010276437X A CN201010276437X A CN 201010276437XA CN 201010276437 A CN201010276437 A CN 201010276437A CN 102130898 A CN102130898 A CN 102130898A
- Authority
- CN
- China
- Prior art keywords
- customer instance
- subdialogue
- configuration information
- instance data
- client
- 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.)
- Granted
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention discloses a simulation method, which comprises the following steps of: realizing multi-node message scheduling function according to received user instance data which is transmitted by a client and configuration information in a configuration file which is transmitted by the client; and executing user instance protocol operation encoding and decoding, executing the user instance and recording a result. Therefore, the service can simultaneously simulate a multi-core network and intelligent service, and different protocol operation parameters are associated.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method of emulation, device and system
Background technology
The traditional intelligence net is directly to be connected with core net, what realize is a kind of service of agreement, commonly Fixed Intelligent Network is used the IN service of INAP, wireless intelligent network is used the CAP IN service, what wherein emulation tool need be simulated is the function of core net, in the traditional intelligence net, need the analog core net as emulation tool SSPTool, Service Broker is as the bridge that is connected intelligent network and core net, what realize is the combinations of services function, its position is between core net and the intelligent use, need receive the signaling of core net, also need simultaneously to report signaling to give the upper strata IN service, for the composite service of emulation Service Broker makes emulation tool need the signaling process of simulated intelligence business, wherein the simulation process direction of the signaling process of the relative core net of simulation process of the signaling process of IN service is opposite, abbreviate reverse protocol as, SSPTool Server is as the emulation tool of emulation Service Broker, its simulation process is specially: receive the good use-case data of client-side editing, explain the executable operations step, and the result of record execution, object information is fed back to client, be characterized in to handle the emulation of the dialogue of single-protocol, after in emulation tool, realizing the reverse protocol function, can resolve into forward to the flow process of Broker, reverse two use-cases carry out emulation.
Summary of the invention
The embodiment of the invention provides a kind of method of emulation, device and system, and what exist in the solution prior art can't simulate the problem of multi-core network and IN service simultaneously
A kind of emulation mode is characterized in that, method comprises, receives the customer instance data that client sends; According to the configuration information in the configuration file of customer instance data and client transmission, realize the message scheduling feature of the multinode in the configuration information, and carry out the encoding and decoding of customer instance protocol operation, carry out customer instance and also write down the result.
A kind of simulator is characterized in that, simulator comprises, receiver module is used to receive the customer instance data that client sends; Read module is used for reading the configuration information of the configuration file that client sends; Main control module is used for the configuration information according to the configuration file of customer instance data and client transmission, realizes the message scheduling feature of the multinode in the configuration information; The protocol operation module is used to carry out the encoding and decoding of customer instance protocol operation, carries out customer instance and writes down the result.
A kind of analogue system is characterized in that, system comprises, client is used for sending the customer instance data to simulator, generates configuration file, comprises the configuration information of a plurality of nodes in the configuration file, and configuration file is sent to emulation tool; Emulation tool is used to receive the customer instance data that client sends; According to the configuration information in the configuration file of customer instance data and client transmission, realize the message scheduling feature of the multinode in the configuration information, and carry out the encoding and decoding of customer instance protocol operation, carry out customer instance and also write down the result.
The invention discloses a kind of emulation mode, by receiving the customer instance data that client sends, according to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of multinode, and execution customer instance protocol operation encoding and decoding,, carry out customer instance and write down the result.Feasible business can be simulated multi-core network and IN service simultaneously, makes the parameter of different agreement operation realize related simultaneously.
Description of drawings
The flow chart of a kind of emulation mode that Fig. 1 provides for the embodiment of the invention;
A kind of client end interface figure that Fig. 2 provides for the embodiment of the invention;
The fundamental block diagram of a kind of simulator that Fig. 3 provides for the embodiment of the invention;
The fundamental block diagram of a kind of analogue system that Fig. 4 provides for the embodiment of the invention;
The specific implementation flow chart of a kind of emulation mode that Fig. 5 provides for the embodiment of the invention;
Fig. 6 carries out the specific implementation flow chart for a kind of customer instance that the embodiment of the invention provides;
Embodiment
Embodiment one:
Consult Fig. 1, a kind of emulation mode that the embodiment of the invention one provides, this method comprises:
The customer instance data that A1, reception client send;
The customer instance data are used for comprising at least the type of agreement, the entity information of communication, information such as the number of node, main dialogue optionally, also can comprise subdialogue, be illustrated in figure 2 as the editor of client, leftmost window is a Call Set window, can carry out talky configuration, and title is followed successively by call2, call3...... from the dialogue that call1 begins the back.The agreement of each Call can dispose, and configurable agreement has INAP, CAP, MAP, Session Initiation Protocol family.Each Call is made up of a series of Step, and numbering is followed successively by 1,2,3......, and each Step comprises the configuration of communication entity, the configuration of transaction layer primitive, the configuration of protocol operation, the configuration of subdialogue (SubCall).The calling of subdialogue in can related CallSet, the form of numeral, as 2 being exactly that communication entity can dispose reverse operation with regard to representing the call2. reverse protocol in the embodiment of client, the access capability of expansion multi-core network is realized the configuration of multinode in scunet.cfg.This configuration file can be by FTP to Server end, realize by the configuration module of Server configuration data read realization with function.
[SCP]
IP[0] =10.71.114.50
PORT[0] =11000
[SSP]
IP[0] =10.71.114.51
PORT[0] =11000
[MSC]
IP[0] =10.71.114.52
PORT[0] =11000
The parameter association method of use-case operation: the structure that is provided with that configuration is supported is [operating parameter title]: value, for example [CalledNumber]: 88888888, direct configuration parameter was [CalledNumber] during related subdialogue parameter was provided with, as not adding the value that expression uses this parameter to be provided with.
The editor of use-case finishes in client, forms the use-case file after the use-case editor finishes, shown in hereinafter;
CALL_BEGIN // calling beginning
The use-case data of // main dialogue
BEGIN
CALLTYPE CAP //CALLTYPE presentation protocol type
STARTMODE?1
STEPBEGIN SSP //entity of the value representation communication of STEPBEGIN
TCD?tc_begin
TCC?tc_invoke
CAP?IDP_CAP?SUBCALLNO?1
{
EVENTTYPEBCSM=[EBCSM]:2
SERVICEKEY=[ServiceKey]:210
CALLED=[CalledNumber]:13600000001
CALLING=[CallingNumber]:13600000002
}
STEPEND
STEPBEGIN?SCP
TCD?tc_begin
TCC?tc_invoke
CAP?RRBE_CAP
STEPEND
STEPBEGIN?SCP
TCD?tc_begin
TCC?tc_invoke
CAP?CONNECT_CAP
STEPEND
END //END is the sign that finishes a CALL
The use-case data of // subdialogue 1
BEGIN
CALLTYPE?CAP
STARTMODE?2
STEPBEGIN?SCP
TCD?tc_begin
TCC?tc_invoke
CAP?IDP_CAP?SUBCALLNO?2
{
EVENTTYPEBCSM=[EBCSM]
SERVICEKEY=[ServiceKey]
CALLED=[CalledNumber]
CALLING=[CallingNumber]
}
STEPEND
STEPBEGIN?SSP
TCD?tc_begin
TCC?tc_invoke
CAP?RRBE_CAP
STEPEND
END
The use-case data of // subdialogue 2
BEGIN
CALLTYPE?INAP
STARTMODE?2
STEPBEGIN?SCP
TCD?tc_begin
TCC?tc_invoke
CAP?IDP_INAP
STEPEND
STEPBEGIN?SSP
TCD?tc_begin
TCC?tc_invoke
CAP?RRBE_INAP
STEPEND
END
CALL_END // sign that the calling of CALL use-case partly finishes
The access capability of expansion multi-core network is realized the configuration of multinode in scunet.cfg.This configuration file can be by FTP to Server end, realize by the configuration module of Server configuration data read realization with function.
[SCP]
IP[0] =10.71.114.50
PORT[0] =11000
[SSP]
IP[0] =10.71.114.51
PORT[0] =11000
[MSC]
IP[0] =10.71.114.52
PORT[0] =11000
Configuration information in A2, the configuration file that sends according to described customer instance data and described client is realized the message scheduling feature of the multinode in the described configuration information, and is carried out the encoding and decoding of described customer instance protocol operation;
Configuration information according to described multinode, obtaining the customer instance data corresponding with individual node, is S (A) as the customer instance data of node A, scans the channel of a plurality of connected nodes, carry out the message scheduling feature of multinode, be specially each self-corresponding data of a plurality of nodes of scheduling.
Simulator receives the customer instance data that client sends, and is specially:
The use-case data of // main dialogue
BEGIN
CALLTYPE CAP //CALLTYPE presentation protocol type
STARTMODE?1
STEPBEGIN SSP //entity of the value representation communication of STEPBEGIN
TCD?tc_begin
TCC?tc_invoke
CAP?IDP_CAP?SUBCALLNO?1
{
EVENTTYPEBCSM=2
SERVICEKEY=210
CALLED=13600000001
CALLING=13600000002 // [parameter name]: value is here by instantiation
}
STEPEND
The use-case data of // subdialogue 1
BEGIN
CALLTYPE?CAP
STARTMODE?2
STEPBEGIN?SCP
TCD?tc_begin
TCC?tc_invoke
CAP?IDP_CAP?SUBCALLNO?2
{
EVENTTYPEBCSM=2
SERVICEKEY=210
CALLED=13600000001
The relevant parameter of CALLING=13600000002 // subdialogue [parameter name] is talked about by example
}
Next, carry out customer instance, concrete steps are, as shown in Figure 6,
601, simulator receives the use-case data that client sends;
602, simulator is the use-case data instanceization, checks [operating parameter] whether assignment, if assignment then the parameter of assignment is saved in the Context object if [operating parameter] do not have assignment, is then directly got the value of this parameter from the Context object;
603, analyze in the use-case data whether contain subdialogue, if any, execution in step 604
604, create main dialogue and corresponding subdialogue to machine, as do not have, execution in step 605,
605, then create main dialogue automaton;
606, carrying out the encoding and decoding of use-case protocol operation handles;
607, the use-case execution result is noted.
The invention discloses a kind of emulation mode, by receiving the customer instance data that client sends, according to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of multinode, and execution customer instance protocol operation encoding and decoding, feasible business can be simulated multi-core network and IN service simultaneously, makes the parameter of different agreement operation realize related simultaneously.
Consult Fig. 3, a kind of simulator that the embodiment of the invention one provides, this device comprises:
Receiver module 301 is used to receive the customer instance data that client sends; The customer instance data are used for comprising at least the type of agreement, the entity information of communication, information such as the number of node, main dialogue, optionally, also can comprise subdialogue, and finish the parsing of use-case data text, corresponding subdialogue be sought in the operation that comprises subdialogue used subdialogue use-case sequence to preserve.
Read module 302 is used for reading the configuration information of the configuration file that client sends, and the interface of external access configuration information is provided.
[SCP]
IP[0] =10.71.114.50
PORT[0] =11000
[SSP]
IP[0] =10.71.114.51
PORT[0] =11000
[MSC]
IP[0] =10.71.114.52
PORT[0] =11000
Main control module 303 is used for the configuration information according to the configuration file of described customer instance data and the transmission of described client, realizes the message scheduling feature of the multinode in the described configuration information; Realize the establishment and the management of a plurality of communication module examples, the channel of a plurality of connected nodes of scanning carries out the message scheduling feature of multinode in the scheduling circulation process.
Simulator is with the use-case data instanceization, check [operating parameter] whether assignment, if assignment then the parameter of assignment is saved in the Context object if [operating parameter] do not have assignment, is then directly got the value of this parameter from the Context object, next, whether contain subdialogue in the analysis use-case data, if any, then the subdialogue of main dialogue of establishment and correspondence is certainly to machine, as do not have, then create main dialogue automaton.
Agreement automation module 306, according to main dialogue, subdialogue is created corresponding automaton, and the agreement of carrying out main dialogue, subdialogue operating procedure realizes and unified management.
The invention discloses a kind of simulator, by receiving the customer instance data that client sends, according to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of multinode, and execution customer instance protocol operation encoding and decoding, feasible business can be simulated multi-core network and intelligence industry simultaneously, makes the parameter of different agreement operation realize related simultaneously.
Consult Fig. 4, a kind of analogue system that the embodiment of the invention one provides, this system comprises:
Client 401 is used for sending the customer instance data to simulator, generates configuration file, comprises the configuration information of a plurality of nodes in the described configuration file, and described configuration file is sent to emulation tool;
Emulation tool 402 is used to receive the customer instance data that client sends; According to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of the multinode in the described configuration information, and carry out the encoding and decoding of described customer instance protocol operation, carry out customer instance and also write down the result.
The invention discloses a kind of analogue system, by receiving the customer instance data that client sends, according to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of multinode, and execution customer instance protocol operation encoding and decoding, feasible business can be simulated multi-core network and IN service simultaneously, makes the parameter of different agreement operation realize related simultaneously.
Consult Fig. 5, the specific implementation method of a kind of emulation mode that the embodiment of the invention one provides specifically comprises:
The precondition of this use-case is to using service (AS, Application Service) set up Intelligent Network Application Protocol (INAP, Intelligent Network Application Protocol), CAMEL Application Part (CAP, CAMEL Application Part) network of using connects, and these connections are configured in the scunet.cfg configuration file.Suppose the communication example for being INAP1, CAP2,501. client SSPTool_Client edit and finish a use-case, this use-case is sent to SSPTool_Server go to carry out;
Send the IDP_CAP operation 502.SSPTool_Server receive use-case, simulation MSC transmission protocol type is that the IDP of CAP operates to Broker.
503. receive the IDP_CAP message that Broker sends.
504. the professional RRBE_CAP message that sends of simulation CAP is to Broker.
505.SSPTool_Server the professional IDP_INAP that receives of Simulation with I NAP.
506.SSPTool_Server the professional RRBE_INAP that sends of Simulation with I NAP is to Broker.
507.SSPTool_Server the professional CONNECT_INAP that sends of Simulation with I NAP is to Broker.
508.SSPTool_Server simulation SSP receives RRBE_INAP.
509.SSPTool_Server simulation SSP receives the operation of CONNECT_INAP.
510. send simulation result to client.
The invention discloses a kind of emulation mode, by receiving the customer instance data that client sends, according to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of multinode, and execution customer instance protocol operation encoding and decoding, feasible business can be simulated multi-core network and intelligence industry simultaneously, makes the parameter of different agreement operation realize related simultaneously.
Through the above description of the embodiments, one of ordinary skill in the art will appreciate that: realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise step as above-mentioned method embodiment, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, 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 range of claim.
Claims (9)
1. an emulation mode is characterized in that, described method comprises,
Receive the customer instance data that client sends;
According to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of the multinode in the described configuration information, and carry out the encoding and decoding of described customer instance protocol operation, carry out customer instance and also write down the result.
2. the method for claim 1 is characterized in that, described configuration information specifically comprises the configuration information of a plurality of nodes;
The message scheduling feature of the multinode in the described configuration information of described realization is specially:
According to the configuration information of described multinode, obtain the customer instance data corresponding with individual node, scan the channel of a plurality of connected nodes, carry out the message scheduling feature of multinode.
3. method as claimed in claim 1 or 2 is characterized in that, described method further comprises,
If comprise subdialogue in the customer instance data, if the scheduling master has subdialogue scheduling sublayer dialogue simultaneously when talking with;
If do not comprise subdialogue in the customer instance data, the main dialogue of scheduling.
4. method as claimed in claim 1 or 2 is characterized in that, the encoding and decoding of the described customer instance protocol operation of described execution are specially:
Create corresponding automaton according to described main dialogue and/or subdialogue, carry out the encoding and decoding of the agreement of main dialogue and/or subdialogue operating procedure.
5. a simulator is characterized in that, described simulator comprises,
Receiver module is used to receive the customer instance data that client sends;
Read module is used for reading the configuration information of the configuration file that client sends;
Main control module is used for the configuration information according to the configuration file of described customer instance data and the transmission of described client, realizes the message scheduling feature of the multinode in the described configuration information;
The protocol operation module is used to carry out the encoding and decoding of described customer instance protocol operation, carries out customer instance and writes down the result.
6. simulator as claimed in claim 5 is characterized in that described receiver module is further used for,
Finish the parsing of customer instance data text, corresponding subdialogue is obtained in the operation that comprises subdialogue, and use the subdialogue sequence to preserve.
7. simulator as claimed in claim 5 is characterized in that, described simulator further comprises:
The dialogue scheduler module comprises subdialogue if be used for the customer instance data, if the scheduling master has subdialogue scheduling sublayer dialogue simultaneously when talking with; If do not comprise subdialogue in the customer instance data, the main dialogue of scheduling.
8. simulator as claimed in claim 5 is characterized in that, described simulator further comprises: the agreement automation module, according to main dialogue, subdialogue is created corresponding automaton.
9. an analogue system is characterized in that, described system comprises,
Client is used for sending the customer instance data to simulator, generates configuration file, comprises the configuration information of a plurality of nodes in the described configuration file, and described configuration file is sent to emulation tool;
Emulation tool is used to receive the customer instance data that client sends; According to the configuration information in the configuration file of described customer instance data and the transmission of described client, realize the message scheduling feature of the multinode in the described configuration information, and carry out the encoding and decoding of described customer instance protocol operation, carry out customer instance and also write down the result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010276437 CN102130898B (en) | 2010-09-09 | 2010-09-09 | Simulation method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010276437 CN102130898B (en) | 2010-09-09 | 2010-09-09 | Simulation method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102130898A true CN102130898A (en) | 2011-07-20 |
CN102130898B CN102130898B (en) | 2013-11-06 |
Family
ID=44268790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010276437 Expired - Fee Related CN102130898B (en) | 2010-09-09 | 2010-09-09 | Simulation method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102130898B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310533A (en) * | 2001-03-16 | 2001-08-29 | 巨龙信息技术有限责任公司 | Network intercommunication service emulator |
CN1464684A (en) * | 2002-06-25 | 2003-12-31 | 华为技术有限公司 | Intelligent network service simulation system and method for implementing communication mechanism |
CN1750485A (en) * | 2005-07-14 | 2006-03-22 | 牛伟 | Network simulation detection system and method |
CN1956423A (en) * | 2005-10-26 | 2007-05-02 | 中兴通讯股份有限公司 | System, method and communication system of mixing public telephone network/integrated service network simulation |
-
2010
- 2010-09-09 CN CN 201010276437 patent/CN102130898B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1310533A (en) * | 2001-03-16 | 2001-08-29 | 巨龙信息技术有限责任公司 | Network intercommunication service emulator |
CN1464684A (en) * | 2002-06-25 | 2003-12-31 | 华为技术有限公司 | Intelligent network service simulation system and method for implementing communication mechanism |
CN1750485A (en) * | 2005-07-14 | 2006-03-22 | 牛伟 | Network simulation detection system and method |
CN1956423A (en) * | 2005-10-26 | 2007-05-02 | 中兴通讯股份有限公司 | System, method and communication system of mixing public telephone network/integrated service network simulation |
Also Published As
Publication number | Publication date |
---|---|
CN102130898B (en) | 2013-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103198009B (en) | A kind of universal testing method, system and related device | |
CN1132437C (en) | Decoupling service creation environment from service logic execution environment | |
CN100512274C (en) | Device and method for simulating communication system capable of easily controlling protocol message | |
US6085240A (en) | Agent identification device, agent device with program reception function, and network system | |
CN109614147A (en) | A kind of PHY register reading/writing method and device | |
CN109324912A (en) | The communication means of the application management class software of software-oriented communication architecture | |
CN105704083A (en) | Generation method, generation device and simulation system of Ethernet excitation message | |
US8027435B2 (en) | Method and system for protocol embedded automated test control | |
CN112289307A (en) | Method, system and medium for realizing Kaldi voice recognition service based on GRPC | |
CN101631262A (en) | VoiceXML business integrated development system and realizing method thereof | |
CN109783357A (en) | The method and device of test application program, computer equipment, storage medium | |
US7440408B1 (en) | Method and system for inventorying a network | |
CN113987398A (en) | Software self-defined form content web development system and method | |
CN102141911B (en) | Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool | |
CN102104894A (en) | Mobile service protocol testing device and method | |
CN1314225C (en) | System for realizing open telecommunication business based on XML file and thereof | |
CN104516734B (en) | Operation flow configuration method and device | |
CN110808982B (en) | Communication protocol establishing method and system based on registration mechanism | |
US8464218B2 (en) | Method port arrangement and configuration method thereof for robot software component | |
CN102130898B (en) | Simulation method, device and system | |
CN110471776A (en) | Applied data communications method, apparatus and system | |
CN101800680A (en) | Test device and test method of telecommunication system | |
CN102469218B (en) | Customer service automation method and system | |
CN115422723A (en) | Modelica platform and UE4 collaborative simulation method based on Opendds | |
KR100738041B1 (en) | Method for transmitting message in open mobile business supporting 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170818 Address after: 201, room 1, building A, No. 518053, front Bay Road, Qianhai, Shenzhen Shenzhen cooperation zone, Guangdong, China Patentee after: Shenzhen Zhitong World Technology Service Co. Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: Huawei Technologies Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131106 Termination date: 20190909 |