CN102316504B - A kind of protocol stack simulator of mobile communication system - Google Patents

A kind of protocol stack simulator of mobile communication system Download PDF

Info

Publication number
CN102316504B
CN102316504B CN201010213577.2A CN201010213577A CN102316504B CN 102316504 B CN102316504 B CN 102316504B CN 201010213577 A CN201010213577 A CN 201010213577A CN 102316504 B CN102316504 B CN 102316504B
Authority
CN
China
Prior art keywords
message
module
access stratum
unit
service
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.)
Active
Application number
CN201010213577.2A
Other languages
Chinese (zh)
Other versions
CN102316504A (en
Inventor
李梁
赵春泽
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Chongqing Cyit Communication Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Cyit Communication Technologies Co Ltd filed Critical Chongqing Cyit Communication Technologies Co Ltd
Priority to CN201010213577.2A priority Critical patent/CN102316504B/en
Publication of CN102316504A publication Critical patent/CN102316504A/en
Application granted granted Critical
Publication of CN102316504B publication Critical patent/CN102316504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of protocol stack simulator of mobile communication system, comprise communication adaptation unit, according to providing corresponding communication adaptation function to the communication mode between MMI; Application adaptation unit, provides mobile communication system protocol stack application adaptation layer function; Non-Access Stratum analogue unit, provides mobile communication system protocol stack Non-Access Stratum function; Control inerface unit, interactive interface with user is provided, receives request message from Non-Access Stratum analogue unit, the content of display request message, there is provided the network information arrange and control with the operation of network interaction business, the response message that transmit operation produces and Indication message are to Non-Access Stratum analogue unit.Technical scheme of the present invention is that MMI exploitation and debugging provide complete protocol stack functional simulation, reduces exploitation complexity simultaneously.

Description

A kind of protocol stack simulator of mobile communication system
Technical field
The present invention relates to mobile communication system, referring more particularly to a kind of protocol stack simulator for developing mobile communication system man-machine interface (being called for short, MMI) software.
Background technology
In mobile communication system, MMI provides human-computer interaction interface, is responsible for user and lower-layer protocols stack software interactive, accepts user's input, expresses the Output rusults of protocol stack sofeware.
And protocol stack, be also called protocol groups or agreement family, refer to a series of relevant communication protocol, it operates together as a group, communicates in the design standard of physical layer by this protocol stack.
Most protocol stack is made up of physical layer, data link layer (being also called Access Layer), network layer (being also called Non-Access Stratum) and application adaptation layer, it adopts hierarchical architecture design, and every one deck performs a certain particular task and has function isolation to a certain degree.Only have physical layer just to need to understand bottom hardware details in protocol stack, all the other parts all with hardware independent, their by general-purpose interface downwards and physical layer of specific hardware link up, upwards linked up by application adaptation layer and application layer.And every one deck only communicates with adjacent layer, the function needed for it is all provided by adjacent layer, namely without the need to paying close attention to the function of other layers.Comprise the mobile communication terminal software configuration of MMI and protocol stack as shown in Figure 1.
Generalized Communication Interface between MMI and protocol stack is ATTENTION instruction (being called for short, AT instruction).AT instruction can be divided into local service and the large class of Network two by processing region: 1) local service, refers to not need to carry out alternately with network, and be directly responsible for the AT instruction processing and respond by application adaptation layer, most of AT instruction belongs to local service; 2) Network, refers to be initiated or need AT instruction relevant to the mobile communication business of network interaction by network, and these AT instructions need the function service module in application adaptation layer to communicate with Non-Access Stratum.
In the protocol stack design of mobile communication terminal, the message being initiated to be delivered to lower floor is called request (Request) message, and lower floor is called response (Response) message to the message that this request message is replied by upper strata; Meanwhile, the message being initiated to be delivered to upper strata by lower floor is called instruction (Indication) message, if upper strata needs to reply Indication message, then claims to reply message for response (Response) message.
When MMI initiates Network AT instruction, send a request message to Non-Access Stratum by the function service module in application adaptation layer, then after the information interaction completing with network by Non-Access Stratum and lower floor thereof, request message is responded; When network initiates Network, send Indication message by Non-Access Stratum and show network operation to each function service module, if desired Indication message is replied, then by function service module, Indication message is responded.
In protocol stack, application adaptation layer is decoded to the AT instruction that MMI issues, and sends corresponding request message by decoded result and process to function service module, encodes, and this response is sent to MMI module to the response of function service module.When AT instruction is correlated with in process Network, corresponding function service module is needed to carry out according to the interface and flow process and Non-Access Stratum with Non-Access Stratum mutual with the process of finishing service function; Non-Access Stratum is to a certain extent independent of Access Layer agreement, and be responsible for the transmission of information between handle mobile terminal and core net, the content of transmission can be user profile or control information, and the transmission of non-access layer information will based on the Access Layer agreement of bottom; Access Layer agreement refers to the agreement that wireless access network adopts, and for mobile terminal, it mainly refers to Radio interface protocols, and Access Layer provides concrete wireless technology access.Finally communicate in the design standard of physical layer by this protocol stack.
Following a few class business interface is had: a, Call-Control1 interface between Non-Access Stratum and application adaptation layer; B, short message interface; C, the network information arrange and report interface; D, supplementary service control interface; E, data service control interface.All kinds of business defines concrete interface message data structure by its Service Period, and interface message is made up of message header and message body: message header comprises type of message, and each interface message identifies and differentiated service type and Service Period with unique type of message.
Parameter in the message data of Non-Access Stratum can be divided into two classes usually, and a class is only in the content of parameter that function service inside modules uses, and do not affect operation flow and AT response results, these parameters can use the default value pre-set, and are called preset parameter; Another kind of is the parameter that will affect operation flow, AT response results and need to be supplied to network, is called running parameter.The value of running parameter is obtained by two kinds of modes: the instruction of a, network or response message obtain; B, directly obtained by request message content or obtained according to business flow processing by key control parameter wherein.Message constructing is that running parameter is constructed complete message according to interface message structure together with preset parameter.
In the software development process of mobile terminal; in order to improve exploitation and debugging efficiency; other modules relevant to these modules are developed and debugged to the function that simulator usually can be adopted to carry out the certain module of simulating mobile terminal; such as; developed by MMI simulator and debug protocol stack software, or develop and debug MMI software etc. by protocol stack simulator.
The protocol stack simulator structure of prior art as shown in Figure 2, comprising:
1) communication adaptation unit: according to providing corresponding communication adaptation function to the communication mode between MMI software, the AT instruction issued by MMI is sent to AT instruction codec unit, and the response of AT instruction codec unit or the message that reports are sent to MMI.
2) AT instruction codec unit, its function comprises, a, the AT instruction that MMI issues to be decoded, from default ResponseAPDU, corresponding response data is selected according to decoded result and matching principle, and these data are encoded to the results messages needing to return by predetermined describing mode, then pass through communication adaptation unit by transmission of messages to MMI; B, the network event triggered according to control inerface to report unit from network event by pre-defined rule and select corresponding reported data, and be converted to the instruction of specific AT message, then by communication adaptation unit by transmission of messages to MMI.
3) ResponseAPDU is preset: store in advance according to the matching principle of the requirement definition good related service AT order of MMI software and the describing mode returned results and response data script.
4) network event reports unit: store and construct the network event reported data script that may need according to the demand of MMI software.
5) SIM card unit is simulated: the file content in SIM card specification is described, for default ResponseAPDU provides the simulation SIM card file content of needs by the mode of setting.
6) control inerface unit: with the interactive interface of user, the content of display reporting information, provides the network information arrange and control with the operation of network interaction business, to reach the function of testing each network related service of MMI software.Network-related functions is mainly: a, Call-Control1, comprises call state and parameter that display MMI initiates, and provides and hang up or the operating function of call accepted, provides simultaneously and makes a call to test called function at MMI; The relevant information display of b, supplementary service, comprises display call forwarding, call blocking, the state of Call Waiting and line identification and parameter; C, short message, comprise the content of short message that sends MMI and parameter shows, and beam back short message or status report is tested to MMI; The display of d, the network information and setting, comprise the network selection result that display is current, provide the setting to field intensity, network state, access technology, network selection.
From the above mentioned, existing protocol stack simulator in advance according to the matching principle of the requirement definition good related service AT instruction of MMI software and the describing mode that returns results, then must construct the response data script that may need to the AT needed.Because the AT instruction of consensus standard definition has more than 100, in addition the different parameters that each AT instruction itself has is arranged, the diversity making MMI issue AT is unable to estimate, default response data is very limited in contrast, therefore, the protocol stack functional simulation that can provide of existing protocol stack simulator is very limited; And this pattern has only focused on the design of response data, less to the relevance operational processes between each AT or business, protocol stack Environmental Support required when MMI well can not be provided to develop or debug, simultaneously, this preset data that existing protocol stack simulator adopts carrys out the mode of each functional module of emulated protocol suite application adaptation layer, the parameter used due to each functional module is a lot, and the exploitation complexity when constructing presetting database is higher.
Summary of the invention
In view of this, the present invention proposes a kind of protocol stack simulator of mobile communication system scheme, for MMI exploitation and debugging provide more complete protocol stack functional simulation.
Technical scheme of the present invention is, a kind of protocol stack simulator of mobile communication system, comprising:
Communication adaptation unit, according to providing corresponding communication adaptation function to the communication mode between MMI, the AT instruction request issued by MMI is sent to application adaptation unit, and the AT instruction response of application adaptation unit or AT instruction instruction are sent to MMI.
Application adaptation unit, mobile communication system protocol stack application adaptation layer function is provided, comprise, the AT instruction request that MMI issues is decoded, process according to decoded result, send a request message and indicate response to Non-Access Stratum analogue unit, receiving Indication message and response message from Non-Access Stratum analogue unit, structure AT instruction response and AT instruction instruction, send a message to MMI module by communication adaptation unit;
Non-Access Stratum analogue unit, mobile communication system protocol stack Non-Access Stratum function is provided, request message and instruction response is received from application adaptation unit, Indication message and response message is received from control inerface unit, store the preset parameter of non-access layer information, the running parameter structure request message of Non-Access Stratum utilizing preset parameter and obtain from the message received, Indication message, instruction response and response message, send a request message and indicate response to control inerface unit, transmission Indication message and response message are to application adaptation unit;
Control inerface unit, interactive interface with user is provided, receives request message from Non-Access Stratum analogue unit, the content of display request message, there is provided the network information arrange and control with the operation of network interaction business, the response message that transmit operation produces and Indication message are to Non-Access Stratum analogue unit.
Further, described application adaptation unit comprises:
AT instruction coding/decoding module, the AT instruction that communication adaptation unit sends over is decoded, and decoded message is sent to the corresponding function module respectively, AT instruction encoding is carried out to the message that each functional module sends over, then by communication adaptation unit, AT instruction response is sent to MMI;
Call function module, receives the call business message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer call service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Supplementary service functional module, receives the supplementary service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer supplementary service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Phonebook function module, receives the phone directory service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer phone directory business function, reads corresponding data, send a response message to AT instruction coding/decoding module from SIM card analogue unit;
Message function module, receives the short message service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer short message service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Network information functional module, receives the network information service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer network information business function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Authentication functions module, receive the safe related service message of SIM card from AT instruction coding/decoding module, realize protocol stack application adaptation layer authentication services function, read corresponding data from SIM card analogue unit and associative operation is performed to SIM, sending a response message to AT instruction coding/decoding module.
Further, described Non-Access Stratum analogue unit comprises:
Message reception module, receives the non-access layer information that application adaptation unit sends, and receives Indication message and the response message of the transmission of control inerface unit.
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module: according to the type of message parsed, call corresponding Service Processing Module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum network information business is to message transmission module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum Call-Control1 business is to message transmission module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum short message service is to message transmission module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service and to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum supplementary service is to message transmission module;
Message transmission module, transmission response message and Indication message to application adaptation unit, and send a request message to control inerface unit.
Further, described Non-Access Stratum analogue unit comprises:
Application adaptation unit interface module, receives the non-access layer information that application adaptation unit sends and is also sent to message resolution module, receives response message and Indication message and be sent to application adaptation unit from each business module.
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module, according to the type of message parsed, calls corresponding business module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, the various message that structure Non-Access Stratum network information business is relevant, send a request message to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, the various message that structure Non-Access Stratum Call-Control1 business is relevant, send the relevant request message of Call-Control1 business to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, the various message that the short message service of structure Non-Access Stratum is relevant, the request message that the business that sends SMS message is correlated with is to control inerface unit interface module, and transmission response message and Indication message are to application matching unit interface module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service to be correlated with preset parameter, the various message that structure Non-Access Stratum supplementary service is relevant, send the relevant request message of supplementary service to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Control inerface unit interface module, receives response message and Indication message from control inerface unit and is sent to message resolution module, receives request message and be sent to control inerface unit from each business module.
Technical scheme of the present invention adds the application adaptation unit that can provide protocol stack application adaptation layer complete function in protocol stack simulator, add Non-Access Stratum analogue unit simultaneously, for MMI exploitation and debugging provide complete protocol stack analog functuion, because the interface message type between Non-Access Stratum and application adaptation layer is less, the preset parameter that may occur is also less, therefore, technical scheme of the present invention preset data operation that combination interface control unit provides simultaneously in Non-Access Stratum analogue unit reduces exploitation complexity to realize Non-Access Stratum function compared with existing protocol stack simulator, support to MMI exploitation and debugging can better be provided simultaneously.
Accompanying drawing explanation
Fig. 1 is mobile communication terminal software configuration schematic diagram
Fig. 2 is the protocol stack simulator structure chart of prior art
Fig. 3 is protocol stack simulator structure chart of the present invention
Fig. 4 is the application adaptation unit structure chart of the preferred embodiment of the invention
Fig. 5 is the specific embodiment of the invention 1 Non-Access Stratum analogue unit structure chart
Fig. 6 is the specific embodiment of the invention 2 Non-Access Stratum analogue unit structure chart
Embodiment
For further illustrating technical scheme of the present invention, providing preferred implementation below and describing in detail by reference to the accompanying drawings.
Specific embodiment 1
The protocol stack simulator of mobile communication system of the present embodiment as shown in Figure 3, comprising:
Communication adaptation unit, according to providing corresponding communication adaptation function to the communication mode between MMI, the AT instruction request issued by MMI is sent to application adaptation unit, and the AT instruction response of application adaptation unit or AT instruction instruction are sent to MMI.
Application adaptation unit, mobile communication system protocol stack application adaptation layer function is provided, comprise, the AT instruction request that MMI issues is decoded, processes according to decoded result, send a request message and indicate response to Non-Access Stratum analogue unit, Indication message and response message is received from Non-Access Stratum analogue unit, tectonic response message, carries out coding to response message and Indication message and generates AT instruction response and AT instruction instruction, send a message to MMI module by communication adaptation unit;
Non-Access Stratum analogue unit, mobile communication system protocol stack Non-Access Stratum function is provided, request message and instruction response is received from application adaptation unit, Indication message and response message is received from control inerface unit, store the preset parameter of non-access layer information, the running parameter structure request message of Non-Access Stratum utilizing preset parameter and obtain from the message received, Indication message, instruction response and response message, send a request message and indicate response to control inerface unit, transmission Indication message and response message are to application adaptation unit;
Control inerface unit, interactive interface with user is provided, receives request message from Non-Access Stratum analogue unit, the content of display request message, there is provided the network information arrange and control with the operation of network interaction business, the response message that transmit operation produces and Indication message are to Non-Access Stratum analogue unit.
Wherein, described application adaptation unit as shown in Figure 4, comprising:
AT instruction coding/decoding module, the AT instruction that communication adaptation unit sends over is decoded, and decoded message is sent to the corresponding function module respectively, AT instruction encoding is carried out to the message that each functional module sends over, then by communication adaptation unit, AT instruction response is sent to MMI;
Call function module, receives the call business message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer call service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Supplementary service functional module, receives the supplementary service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer supplementary service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Phonebook function module, receives the phone directory service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer phone directory business function, reads corresponding data, send a response message to AT instruction coding/decoding module from SIM card analogue unit;
Message function module, receives the short message service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer short message service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Network information functional module, receives the network information service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer network information business function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Authentication functions module, receive the safe related service message of SIM card from AT instruction coding/decoding module, realize protocol stack application adaptation layer authentication services function, read corresponding data from SIM card analogue unit and associative operation is performed to SIM, sending a response message to AT instruction coding/decoding module.
Described Non-Access Stratum analogue unit as shown in Figure 5, comprising:
Message reception module, receives the non-access layer information that application adaptation unit sends, and receives Indication message and the response message of the transmission of control inerface unit.
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module: according to the type of message parsed, call corresponding Service Processing Module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum network information business is to message transmission module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum Call-Control1 business is to message transmission module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum short message service is to message transmission module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service and to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum supplementary service is to message transmission module;
Message transmission module, transmission response message and Indication message to application adaptation unit, and send a request message to control inerface unit.
The protocol stack simulator of the present embodiment to the handling process that MMI sends request is:
1, MMI sends request AT instruction to communication adaptation unit;
2, AT instruction is sent to the AT instruction coding/decoding module of application adaptation unit by communication adaptation unit;
3, AT instruction coding/decoding module carries out decoding obtaining request message to AT instruction, and select a functional module corresponding to type of message in described call function module, supplementary service functional module, phonebook function module, message function module, network information functional module, authentication functions module according to type of message, send a message to this functional module;
4, selected functional module processes message, if this message only needs application adaptation layer process, direct tectonic response also feeds back to AT instruction coding/decoding module, perform step 18, if this message needs SIM card analogue unit data, perform step 5, otherwise perform step 6;
5, selected functional module from SIM card analogue unit read data go forward side by side line correlation SIM card operation, tectonic response also feeds back to AT instruction coding/decoding module, perform step 18;
6, selected functional module sends a request message to Non-Access Stratum analogue unit;
7, the message reception module of Non-Access Stratum analogue unit receives request message, sends it to message resolution module;
8, message resolution module is resolved message, and the message after resolving is sent to process matching module;
9, process matching module and select a business module corresponding to type of message in described Call-Control1 business module, supplementary service module, short message service module, network information business module according to type of message, send a message to this business module;
10, selected business module processes the request message received, if this message only needs Non-Access Stratum process, then from stored corresponding service data, choose corresponding response data, show needing the content of display to be sent to control inerface unit by message transmission module simultaneously, perform step 16, otherwise, perform step 11;
11, selected business module sends a request message to control inerface unit by message transmission module;
12, control inerface unit shows needing the content shown in message, is sent to the message reception module of Non-Access Stratum analogue unit according to user operation tectonic response message;
13, the response message received is sent to message resolution module by described message reception module;
14, message resolution module is resolved message and is sent the message after resolving to process matching module;
15, process the business module of matching module Response to selection, send a message to selected business module;
16, business module is constructed the response message applying adaptation unit and is sent to the corresponding function module applying adaptation unit by message transmission module;
17, functional module sends to the response message of MMI according to the response message structure of the Non-Access Stratum analogue unit received and sends to AT coding/decoding module;
18, AT coding/decoding module carries out AT instruction encoding to response message, forms AT instruction response and is sent to MMI by communication adaptation unit.
The protocol stack simulator of the present embodiment to the handling process that user operation indicates is:
1, user carries out control inerface operation by control inerface unit, sends the message reception module of Indication message to Non-Access Stratum analogue unit,
2, Indication message is sent to message resolution module parsing by message reception module;
3, the Indication message after parsing is sent to process matching module by message resolution module;
4, processing matching module selects corresponding service module to process according to type of message;
5, business module processes Indication message, and structure sends to the Indication message of application adaptation unit;
6, Indication message is sent to application adaptation unit the corresponding function module by message transmission module by business module;
7, the functional module applying adaptation unit processes Indication message and constructs and sends to the Indication message of MMI to send to AT instruction coding/decoding module;
8, AT instruction coding/decoding module carries out AT instruction encoding to Indication message, forms AT instruction instruction, is sent to MMI by communication adaptation unit;
If 9 these instructions need the instruction of MMI to respond, then wait for that MMI responds, and performs step 10, otherwise completes instruction processing flow process.
10, apply after adaptation unit receives the instruction response of MMI, decoded by AT instruction coding/decoding module, and decoded message is sent to the corresponding function module processes;
11, the instruction response after process is sent to Non-Access Stratum analogue unit by functional module;
12, Non-Access Stratum analogue unit carries out processing to instruction response and instruction response road interface control unit after transmission processing shows.
Specific embodiment 2
The general structure of the protocol stack simulator of the present embodiment is identical with specific embodiment 1, as shown in Figure 3.
The structure of the application adaptation unit of the protocol stack simulator of the present embodiment is identical with specific embodiment 1, as shown in Figure 4.
The structure of the Non-Access Stratum analogue unit of the protocol stack simulator of the present embodiment as shown in Figure 6, comprising:
Application adaptation unit interface module, receives the non-access layer information that application adaptation unit sends and is also sent to message resolution module, receives response message and Indication message and be sent to application adaptation unit from each business module.
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module, according to the type of message parsed, calls corresponding business module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, the various message that structure Non-Access Stratum network information business is relevant, send a request message to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, the various message that structure Non-Access Stratum Call-Control1 business is relevant, send the relevant request message of Call-Control1 business to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, the various message that the short message service of structure Non-Access Stratum is relevant, the request message that the business that sends SMS message is correlated with is to control inerface unit interface module, and transmission response message and Indication message are to application matching unit interface module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service to be correlated with preset parameter, the various message that structure Non-Access Stratum supplementary service is relevant, send the relevant request message of supplementary service to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Control inerface unit interface module, receives response message and Indication message from control inerface unit and is sent to message resolution module, receives request message and be sent to control inerface unit from each business module.
It will be apparent to those skilled in the art that and understand, the inventive method for above embodiment only for illustration of the present invention, and be not limited to the present invention.Although effectively describe the present invention by embodiment; those skilled in the art will know that; there is many changes and do not depart from spirit of the present invention in the present invention; when not deviating from spirit of the present invention and essence thereof; those skilled in the art are when making various corresponding change or distortion according to the inventive method, but these change accordingly or distortion all belongs to claims of the present invention.

Claims (4)

1. a protocol stack simulator of mobile communication system, is characterized in that, comprising:
Communication adaptation unit, according to providing corresponding communication adaptation function to the communication mode between man-machine interface MMI, the AT instruction request issued by MMI is sent to application adaptation unit, and the AT instruction response of application adaptation unit or AT instruction instruction are sent to MMI;
Application adaptation unit, mobile communication system protocol stack application adaptation layer function is provided, comprise, the AT instruction request that MMI issues is decoded, processes according to decoded result, send a request message and indicate response to Non-Access Stratum analogue unit, Indication message and response message is received from Non-Access Stratum analogue unit, tectonic response message, carries out coding to response message and Indication message and generates AT instruction response and AT instruction instruction, send a message to MMI module by communication adaptation unit;
Non-Access Stratum analogue unit, mobile communication system protocol stack Non-Access Stratum function is provided, request message and instruction response is received from application adaptation unit, Indication message and response message is received from control inerface unit, store the preset parameter of non-access layer information, the running parameter structure request message of Non-Access Stratum utilizing preset parameter and obtain from the message received, Indication message, instruction response and response message, send a request message and indicate response to control inerface unit, transmission Indication message and response message are to application adaptation unit;
Control inerface unit, interactive interface with user is provided, receives request message from Non-Access Stratum analogue unit, the content of display request message, there is provided the network information arrange and control with the operation of network interaction business, the response message that transmit operation produces and Indication message are to Non-Access Stratum analogue unit.
2. a kind of protocol stack simulator of mobile communication system according to claim 1, is characterized in that, described application adaptation unit comprises:
AT instruction coding/decoding module, the AT instruction that communication adaptation unit sends over is decoded, and decoded message is sent to the corresponding function module respectively, AT instruction encoding is carried out to the message that each functional module sends over, then by communication adaptation unit, AT instruction response is sent to MMI;
Call function module, receives the call business message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer call service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Supplementary service functional module, receives the supplementary service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer supplementary service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Phonebook function module, receives the phone directory service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer phone directory business function, reads corresponding data, send a response message to AT instruction coding/decoding module from SIM card analogue unit;
Message function module, receives the short message service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer short message service function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Network information functional module, receives the network information service message from AT instruction coding/decoding module, realizes protocol stack application adaptation layer network information business function, sends respective response message to AT instruction coding/decoding module; Meanwhile, will the function of Non-Access Stratum process be needed to be sent to Non-Access Stratum analogue unit with the form of non-access layer information, receive the Indication message from Non-Access Stratum and send to AT instruction coding/decoding module;
Authentication functions module, receive the safe related service message of SIM card from AT instruction coding/decoding module, realize protocol stack application adaptation layer authentication services function, read corresponding data from SIM card analogue unit and associative operation is performed to SIM, sending a response message to AT instruction coding/decoding module.
3. a kind of protocol stack simulator of mobile communication system according to claim 1 and 2, is characterized in that, described Non-Access Stratum analogue unit comprises:
Message reception module, receives the non-access layer information that application adaptation unit sends, and receives Indication message and the response message of the transmission of control inerface unit;
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module: according to the type of message parsed, call corresponding Service Processing Module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum network information business is to message transmission module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum Call-Control1 business is to message transmission module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum short message service is to message transmission module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service and to be correlated with preset parameter, relevant request message, response message and the Indication message of structure Non-Access Stratum supplementary service is to message transmission module;
Message transmission module, transmission response message and Indication message to application adaptation unit, and send a request message to control inerface unit.
4. a kind of protocol stack simulator of mobile communication system according to claim 1 and 2, is characterized in that, described Non-Access Stratum analogue unit comprises:
Application adaptation unit interface module, receives the non-access layer information that application adaptation unit sends and is also sent to message resolution module, receives response message and Indication message and be sent to application adaptation unit from each business module;
Message resolution module, resolves the message received, and the message after resolving is sent to process matching module;
Process matching module, according to the type of message parsed, calls corresponding business module process;
Network information business module, network information service message is received from process matching module, realize Non-Access Stratum network information service processing function, store Non-Access Stratum network information business to be correlated with preset parameter, the various message that structure Non-Access Stratum network information business is relevant, send a request message to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Call-Control1 business module, from process matching module receipt of call service control message, realize Non-Access Stratum Call-Control1 service processing function, store Non-Access Stratum Call-Control1 business to be correlated with preset parameter, the various message that structure Non-Access Stratum Call-Control1 business is relevant, send the relevant request message of Call-Control1 business to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Short message service module, short message service message is received from process matching module, realize Non-Access Stratum short message service processing capacity, store Non-Access Stratum short message service to be correlated with preset parameter, the various message that the short message service of structure Non-Access Stratum is relevant, the request message that the business that sends SMS message is correlated with is to control inerface unit interface module, and transmission response message and Indication message are to application matching unit interface module;
Supplementary service module, supplementary service message is received from process matching module, realize Non-Access Stratum supplementary service processing capacity, store Non-Access Stratum supplementary service to be correlated with preset parameter, the various message that structure Non-Access Stratum supplementary service is relevant, send the relevant request message of supplementary service to control inerface unit interface module, transmission response message and Indication message are to application matching unit interface module;
Control inerface unit interface module, receives response message and Indication message from control inerface unit and is sent to message resolution module, receives request message and be sent to control inerface unit from each business module.
CN201010213577.2A 2010-06-30 2010-06-30 A kind of protocol stack simulator of mobile communication system Active CN102316504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010213577.2A CN102316504B (en) 2010-06-30 2010-06-30 A kind of protocol stack simulator of mobile communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010213577.2A CN102316504B (en) 2010-06-30 2010-06-30 A kind of protocol stack simulator of mobile communication system

Publications (2)

Publication Number Publication Date
CN102316504A CN102316504A (en) 2012-01-11
CN102316504B true CN102316504B (en) 2016-01-20

Family

ID=45429244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010213577.2A Active CN102316504B (en) 2010-06-30 2010-06-30 A kind of protocol stack simulator of mobile communication system

Country Status (1)

Country Link
CN (1) CN102316504B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317621B (en) * 2017-06-29 2020-04-17 福建星海通信科技有限公司 Satellite telephone protocol simulation method and device
CN113938858B (en) * 2021-12-17 2022-04-12 高新兴智联科技有限公司 Communication method of V2X protocol stack

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633198A (en) * 2004-12-31 2005-06-29 大唐微电子技术有限公司 A method and system for compatibility test of subscriber identification module tool kit card
CN201260230Y (en) * 2008-09-01 2009-06-17 ***电信传输研究所 TD-SCDMA terminal card interface test system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009128905A1 (en) * 2008-04-17 2009-10-22 Siemens Energy, Inc. Method and system for cyber security management of industrial control systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633198A (en) * 2004-12-31 2005-06-29 大唐微电子技术有限公司 A method and system for compatibility test of subscriber identification module tool kit card
CN201260230Y (en) * 2008-09-01 2009-06-17 ***电信传输研究所 TD-SCDMA terminal card interface test system

Also Published As

Publication number Publication date
CN102316504A (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN102571840B (en) Remote terminal test method and proxy server
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN101998425B (en) Method and system for testing wireless network optimization
CN101156167A (en) Methods and apparatus for gifting over a data network
CN101930439B (en) The Website processing device of the various model mobile phone of a kind of adaptation and application thereof
WO2016202265A1 (en) Network access method and mobile communication terminal
CN103577320A (en) Testing method and system of remote terminals
CN105391811A (en) DNS (domain name resolution) method, access method for application server, and terminal
CN105306676A (en) Method, apparatus and system for accessing intelligent device
CN103517385A (en) AP connecting method and system of Wi-Fi of Android
CN101854371A (en) Method and device for calling and processing JavaScript object
CN106209503B (en) RPC interface test method and system
CN109783357A (en) The method and device of test application program, computer equipment, storage medium
CN110008109A (en) Application testing method and device
CN101895900A (en) Device and method for managing/controlling terminal based on M2M application platform
CN105808701A (en) Method and system for realizing automatic verification of form and communication among multiple systems
CN101420681B (en) Method and apparatus for processing multi-channel request subscription under service management platform
CN102238263A (en) Method of getting online by using mobile phone to scan barcode
CN102316504B (en) A kind of protocol stack simulator of mobile communication system
CN103237050B (en) Intelligent sound exchange method and system
CN105279452A (en) Method, device and system for managing intelligent equipment
CN105988814A (en) Interface generation method and apparatus
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN100334917C (en) A method and system for compatibility test of subscriber identification module tool kit card
CN109213782A (en) Configuration, display methods, device and the communication equipment of search interface

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

Effective date of registration: 20170425

Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403

Patentee after: Keen (Chongqing) Microelectronics Technology Co.,Ltd.

Address before: 400065 Chongqing Nan'an District huangjuezhen pass Chongqing University of Posts and Telecommunications shineford building 12 floor 1205

Patentee before: CHONGQING CYIT COMMUNICATION TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181109

Address after: 201203 Building 1, exhibition hall, 2288 lane, 2288 Chong, road, Zhangjiang hi tech park, Shanghai

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 400060 Nanping Road 199, Nanping Street, Nan'an District, Chongqing, 403

Patentee before: Keen (Chongqing) Microelectronics Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190327

Address after: 361006 Xiamen Free Trade Pilot Area, Xiamen, Fujian Province, Unit X, 8th Floor, Unit 05, Building D, Xiamen International Shipping Center, 97 Xiangyu Road, Xiamen Section

Patentee after: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Address before: 201203 Building 1, exhibition hall, 2288 lane, 2288 Chong, road, Zhangjiang hi tech park, Shanghai

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120111

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Contract record no.: X2021110000009

Denomination of invention: A protocol stack simulator for mobile communication system

Granted publication date: 20160120

License type: Exclusive License

Record date: 20210317

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20221028

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 361006 Xiamen Free Trade Pilot Area, Xiamen, Fujian Province, Unit X, 8th Floor, Unit 05, Building D, Xiamen International Shipping Center, 97 Xiangyu Road, Xiamen Section

Patentee before: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

TR01 Transfer of patent right