State notice method in a kind of MPTY, equipment and system
Technical field
The present invention relates to moving communicating field, particularly state notice method, the equipment and system in a kind of MPTY.
Background technology
The process of setting up of existing MPTY is: when master control side existed one the tunnel to keep calling and a road to activate calling, master control side can set up MPTY to network request, and each member's speech can both be heard by the caller.In the MPTY process, the operation that master control side can continue to add conversation member, cancellation MPTY or one of them member is conversed separately or hangs up.Be subjected to simultaneously prosecutor also can initiate, keep or hang up the operation of MPTY.
State for above MPTY changes, and network can send corresponding information to its conversation member, and for example, when master control side added conversation member, network side can be to being subjected to prosecutor to send the notice of " entering MPTY "; When master control side kept operating to MPTY, network can be to being subjected to prosecutor to send the notice of " being held ".
State notice method in the existing MPTY is: according to the standard A T instruction that provides among the 3GPP TS 27.007, terminal applies module (MMI) sends the change of MPTY state with AT command format to protocol stack and reports instruction, when the state in the MPTY changes, the state that protocol stack reports network according to instruction change data with the reference format active reporting of AT instruction to MMI, MMI points out the user after resolving.The AT instruction is an interface standard, is used at first the communication between modulator-demodulator and the serial ports of computers, the rear standard criterion that is applied to gsm communication system that formed.
The call instance of MPTY has a plurality of, when the talking state of one of them call instance changes, protocol stack all can change data with the reference format active reporting state of AT instruction, but can't comprise call instance number in the standard A T instruction that provides among the 3GPP TS27.007, so prior art can't be accurate to concrete call instance to the notice of MPTY state variation.
Summary of the invention
In view of this, the invention provides state notice method, equipment and system in a kind of MPTY, purpose is to solve prior art can't be accurate to concrete call instance to the notice of MPTY state variation problem.
State notice method in a kind of MPTY comprises:
Resolve the MPTY state that network reports and change data, to determine call instance that state changes and the current status data of described call instance;
Generate the status command corresponding with the current status data of described call instance;
Described status command and the identification marking corresponding with described call instance are packaged into notification message;
Send described notification message, described notification message is used for, after terminal applies module MMI receives and carries out message parse, process described status command according to identification marking, obtain the call instance corresponding with described identification marking number and status data, and send the information comprise described call instance number and status data, change with the state in the notice MPTY.
Preferably, the identification marking that described and described call instance is corresponding is the call instance number of described call instance, perhaps, and the call instance channel number of the call instance passage corresponding with described call instance.
Preferably, when identification marking corresponding to described and described call instance was the call instance of described call instance, the described process that described status command and the identification marking corresponding with described call instance are packaged into notification message comprised:
Described status command and the call instance corresponding with described call instance number are packaged into notification message.
Preferably, when identification marking corresponding to described and described call instance was call instance channel number with call instance passage corresponding to described call instance, the described process that status command and the identification marking corresponding with described call instance are packaged into notification message comprised:
According to pre-stored call instance and the corresponding relation of call instance passage, determine the call instance passage corresponding with described call instance;
Be packaged into notification message with described status command with the call instance channel number of number corresponding call instance passage of described call instance.
Preferably, described status command is the AT instruction.
State notice method in a kind of MPTY comprises:
Receiving notice message, described notification message is, protocol stack is resolved the MPTY state change data that network reports, determine call instance that state changes and the current status data of described call instance, generate the status command corresponding with the current status data of described call instance, and described status command and the identification marking corresponding with described call instance encapsulation are formed;
Resolve described notification message, obtain described identification marking and status command;
Process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data;
Transmission comprises the information of described call instance number and status data, changes with the state in the notice MPTY.
Preferably, the identification marking that described and described call instance is corresponding is the call instance number of described call instance, perhaps, and the call instance channel number of the call instance passage corresponding with described call instance.
Preferably, when identification marking corresponding to described and described call instance is the call instance of described call instance, the described identification marking of described foundation is processed described status command, and the process that obtains the call instance corresponding with described identification marking number and status data comprises:
According to pre-stored call instance and the corresponding relation of call instance passage, determine the call instance passage corresponding with described identification marking;
Described call instance passage is resolved and is obtained the status data that comprises in the described status command, and obtains call instance number according to described corresponding relation.
Preferably, when identification marking corresponding to described and described call instance is the call instance of described call instance, the described identification marking of described foundation is processed described status command, and the process that obtains the call instance corresponding with described identification marking number and status data comprises:
Preserve described call instance number;
Resolve described status command, obtain status data;
Preferably, when identification marking corresponding to described and described call instance is call instance channel number with call instance passage corresponding to described call instance, the described identification marking of described foundation is processed described status command, and the process that obtains the call instance corresponding with described identification marking number and status data comprises:
Utilize described call instance channel number to determine the call instance passage, and status command is sent to corresponding call instance passage;
Described call instance passage is resolved and is obtained the status data that comprises in the described status command, and obtains call instance number according to the corresponding relation of pre-stored call instance and call instance passage.
State notifying equipment in a kind of MPTY comprises:
Data resolution module be used for to be resolved the MPTY state that network reports and is changed data, determines call instance that state changes and the current status data of described call instance;
The status command generation module is used for generating the status command corresponding with the current status data of described call instance;
The notification message package module is used for the status command that current status data described and described call instance is corresponding and is packaged into notification message with identification marking corresponding to described call instance;
The notification message sending module, be used for sending described notification message, described notification message is used for, after MMI receives and carries out message parse, process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data, and send this call instance number and status data, the state that is used for the notice MPTY changes.
Preferably, when identification marking corresponding to described call instance is the call instance channel number, also comprise:
The identification marking acquisition module is used for the corresponding relation of pre-stored call instance and call instance passage, and obtains the identification marking corresponding with described call instance according to described corresponding relation.
Preferably, when identification marking corresponding to described call instance was the call instance channel number, described notification message package module comprised:
The identification marking acquiring unit is used for the corresponding relation of pre-stored call instance and call instance passage, and obtains the identification marking corresponding with described call instance according to described corresponding relation;
The message encapsulation unit is used for status command and the described identification marking that the current status data of described call instance is corresponding and is packaged into notification message.
State notifying equipment in a kind of MPTY comprises:
The notification message receiver module, be used for receiving notice message, described notification message is, protocol stack is resolved the MPTY state change data that network reports, determine call instance that state changes and the current status data of described call instance, generate the status command corresponding with the current status data of described call instance, and the status command that current status data described and described call instance is corresponding and form with identification marking corresponding to described call instance encapsulation;
The notification message parsing module is used for resolving described notification message and obtains described identification marking and status command;
Processing module is used for processing described status command according to described identification marking, obtains the call instance corresponding with described identification marking number and status data;
The information sending module be used for to send the announcement information that comprises described call instance number and described status data, and the state in the notice MPTY changes.
Preferably, described processing module comprises:
Identify recognition unit, be used for the corresponding relation of pre-stored described call instance and call instance passage, and identify the call instance passage corresponding with described identification marking according to described corresponding relation, and status command is sent in the corresponding call instance passage;
The call instance passage is used for obtaining call instance number according to described corresponding relation, and resolves described status command and obtain status data.
Preferably, it is characterized in that, described processing module comprises:
Memory cell is used for preserving described call instance number;
The instruction resolution unit is used for resolving described status command and obtains status data.
State notifying system in a kind of MPTY comprises: protocol stack and terminal applies module, wherein:
Protocol stack be used for to be resolved the MPTY state that network reports and is changed data, determines call instance that state changes and the current status data of described call instance; Generate the status command corresponding with the current status data of described call instance; Described status command and the identification marking corresponding with described call instance are packaged into notification message; Send described notification message;
The terminal applies module is used for receiving notice message, resolves described notification message and obtains described identification marking and status command; Process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data; Transmission comprises the information of described call instance number and status data, and the state that is used for the notice MPTY changes.
Compared with prior art, state notice method in the disclosed MPTY of the embodiment of the invention, with the rear transmission that is packaged together of the identification marking that represents call instance and the standard A T status command that comprises state change message, after being used for the MMI dissection process, the state of the call instance in the notice MPTY changes, and makes the notice that state in the MPTY is changed be accurate to concrete call instance.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the state notice method in the disclosed MPTY of the embodiment of the invention;
Fig. 2 is the flow chart of the state notice method in the disclosed another MPTY of the embodiment of the invention;
Fig. 3 is the state notifying device structure schematic diagram in the disclosed MPTY of the embodiment of the invention;
Fig. 4 is the state notifying device structure schematic diagram in the disclosed another MPTY of the embodiment of the invention;
Fig. 5 is the state notifying device structure schematic diagram in the disclosed another MPTY of the embodiment of the invention;
Fig. 6 is the state notifying device structure schematic diagram in the disclosed another MPTY of the embodiment of the invention;
Fig. 7 is the state notifying device structure schematic diagram in the disclosed another MPTY of the embodiment of the invention;
Fig. 8 is the state notifying system structural representation in the disclosed a kind of MPTY of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
State notifying system in the disclosed MPTY of the embodiment of the invention comprises: protocol stack and MMI.At initial phase, MMI is according to the standard A T instruction among the 3GPP TS27.007, and the AT instruction of configuration MPTY state active reporting also sends to protocol stack, requires protocol stack when the call instance state changes, and state is changed data report.
According to above-mentioned basis, the flow process of the state notice method in the disclosed MPTY of the embodiment of the invention comprises as shown in Figure 1:
Step S11, protocol stack resolve the MPTY state that network reports and change data, determine call instance that state changes and the current status data of described call instance;
After protocol stack receives that MPTY state that network reports changes data, state is changed data resolve, the call instance of the call instance that the state of obtaining changes number and current status data corresponding to call instance.
Step S12, protocol stack generate the status command corresponding with the current status data of described call instance;
Here, status data is packaged into the AT instruction of standard, as status command.
Step S13, protocol stack are packaged into notification message with described status command and the identification marking corresponding with call instance;
Identification marking in the present embodiment is for being used for the sign of call identifying example, and it both can be the call instance of call instance number, also can be the call instance channel number of the call instance passage corresponding with call instance.
Described call instance passage refers to, is arranged at corresponding with each call instance respectively among the MMI and can be used for the call instance passage that instruction is resolved to AT.MMI is that each call instance distributes a call instance passage, resolves with the AT instruction that is used for sending when state to this call instance changes.Because the call instance in the MPTY can have at most six, therefore, the quantity of call instance passage can be set to 6.The corresponding relation of call instance and call instance passage can only be stored among the MMI, also can the corresponding relation of call instance and call instance passage be sent to protocol stack by MMI, mode the protocol stack side is also stored perhaps, only is stored in the mode in the protocol stack.
According to the difference of identification marking, this process is specifically as follows:
When described identification marking is the call instance of call instance, described status command and described call instance number are packaged into notification message; When described identification marking is the call instance channel number of call instance passage corresponding to call instance, according to pre-stored call instance and the corresponding relation of call instance passage in protocol stack, definite call instance passage corresponding with call instance; The status command that the current status data of call instance is corresponding and the call instance channel number of call instance passage are packaged into notification message.
In the present embodiment, the encapsulation format of notification message is to arrange according to the interface agreement with MMI.
Step S14, protocol stack send described notification message, this notification message is used for, after MMI receives and carries out message parse, process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data, and sending the information comprise described call instance number and status data, the state that is used for the notice MPTY changes.
State notice method in the disclosed MPTY of the present embodiment, with the rear transmission that is packaged together of the identification marking that represents call instance and the standard A T status command that comprises state change message, after being used for the MMI dissection process, the state of the call instance in the notice MPTY changes, and makes the notice that state in the MPTY is changed be accurate to concrete call instance.
State notice method in the another MPTY disclosed by the invention, flow process comprises as shown in Figure 2:
Step S21, MMI receiving notice message;
This notification message is, protocol stack is resolved the MPTY state change data that network reports, determine the call instance of generation state change and the current status data of this call instance, generate the therewith status command corresponding to current status data of call instance, and the identification marking that this status command and this call instance is corresponding encapsulation forms.
Step S22, MMI resolve described notification message, obtain the identification marking and the status command that comprise in this notification message;
The form of this status command is standard A T instruction.
Step S23, MMI process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data;
Identification marking in the present embodiment is similarly the sign for the call identifying example, both can be the call instance of call instance number, also can be the call instance channel number of the call instance passage corresponding with call instance, when identification marking not simultaneously, this step is specially:
When identification marking is call instance, according to the corresponding relation of call instance pre-stored among the MMI and call instance passage, determine that distinguishing mark is the call instance passage of call instance correspondence therewith; This call instance passage is resolved the status data that obtains comprising in the status command, and obtains call instance number according to described corresponding relation.
Perhaps, directly preserve this call instance number, simultaneously status command is resolved, obtain status data.
When distinguishing mark is the call instance channel number, utilize this call instance channel number to determine the call instance passage, this call instance passage is resolved the status data that obtains comprising in the status command, and obtains call instance number according to the corresponding relation of pre-stored call instance and call instance passage.
Step S24, MMI send the information comprise described call instance number and status data, and the state that is used for the notice MPTY changes.
State notice method in the disclosed MPTY of the present embodiment, by receiving and resolve notification message, obtain identification marking and status command, obtain call instance number and the status data of the call instance of change state according to identification marking and status command, and then the state in the notice MPTY changes.Owing to having obtained the call instance corresponding with status data number, when changing, notice MPTY state has been accurate to concrete call instance.
The present invention discloses the state notifying equipment in a kind of MPTY, its structure comprises as shown in Figure 3:
Data resolution module 31 be used for to be resolved the MPTY state that network reports and is changed data, determines call instance that state changes and the current status data of described call instance;
Status command generation module 32 is used for generating the status command corresponding with the current status data of described call instance;
Notification message package module 33 is used for the status command that current status data described and described call instance is corresponding and is packaged into notification message with identification marking corresponding to described call instance;
Notification message sending module 34 is used for sending described notification message;
Described notification message is used for, after MMI received and carries out message parse, processing and identification sign and status command obtained call instance corresponding to this distinguishing mark number and status data, and sending this call instance number and status data, the state that is used for the notice MPTY changes.
Further, when identification marking corresponding to described call instance is the call instance channel number, this device also can comprise identification marking acquisition module 35, is used for the corresponding relation of stored calls example and call instance passage and obtains the call instance channel number according to this corresponding relation;
Further, be illustrated in figure 4 as the disclosed another state notifying device structure schematic diagram of the embodiment of the invention, the modules that comprises in Fig. 3, notification message package module 33 comprises:
Identification marking acquiring unit 331 is used for the corresponding relation of pre-stored call instance and call instance passage, and obtains the identification marking corresponding with described call instance according to described corresponding relation;
Message encapsulation unit 332 is used for status command and the described identification marking that the current status data of described call instance is corresponding and is packaged into notification message.
The course of work of modules and unit can with reference to the description in the embodiment of the method shown in Figure 1, not repeat them here in the state notifying equipment in the disclosed MPTY of the present embodiment.
State notifying equipment in the another MPTY disclosed by the invention, its structure comprises as shown in Figure 5:
Notification message receiver module 51, be used for receiving notice message, described notification message is, protocol stack is resolved the MPTY state change data that network reports, determine call instance that state changes and the current status data of described call instance, generate the status command corresponding with the current status data of described call instance, and the status command that current status data described and described call instance is corresponding and form with identification marking corresponding to described call instance encapsulation;
Notification message parsing module 52 is used for resolving described notification message and obtains described identification marking and status command;
Processing module 53 is used for processing described status command according to described identification marking, obtains the call instance corresponding with described identification marking number and status data;
Information sending module 54 be used for to send the announcement information that comprises described call instance number and described status data, and the state in the notice MPTY changes.
Further, the state notifying device structure in the disclosed another MPTY of the present embodiment as shown in Figure 6, except module shown in Fig. 5, processing module 53 comprises:
Sign recognition unit 531, the corresponding relation that is used for pre-stored described call instance and call instance passage, and identify the call instance passage corresponding with described identification marking according to described corresponding relation, status command is sent in the corresponding call instance passage;
Call instance passage 532 is used for obtaining call instance number and to resolve described status command obtaining status data according to described corresponding relation.
Further, except comprising modules shown in Figure 5, the described processing module of the present embodiment also can be another structure, and as shown in Figure 7, processing module comprises:
Memory cell 531 is used for preserving described call instance number;
Instruction resolution unit 532 is used for resolving described status command and obtains status data.
The course of work of modules and unit can with reference to the description in the embodiment of the method shown in Figure 2, not repeat them here in the state notifying equipment in the disclosed MPTY of the embodiment of the invention.
The invention discloses the state notifying system in a kind of MPTY, its structure comprises as shown in Figure 8:
Protocol stack 81 be used for to be resolved the MPTY state that network reports and is changed data, determines call instance that state changes and the current status data of described call instance; Generate the status command corresponding with the current status data of described call instance; Described status command and the identification marking corresponding with described call instance are packaged into notification message; Send described notification message;
Terminal applies module MMI82 is used for receiving notice message, resolves described notification message and obtains described identification marking and status command; Process described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data; Transmission comprises the information of described call instance number and status data, and the state that is used for the notice MPTY changes.
State notifying system in the disclosed MPTY of the embodiment of the invention, the identification marking that protocol stack will represent call instance sends to MMI after being packaged together with the standard A T status command that comprises state change message, MMI processes described status command according to described identification marking, obtain the call instance corresponding with described identification marking number and status data, the state that transmission comprises the call instance in the information notice MPTY of described call instance number and status data changes, and makes the notice that state in the MPTY is changed be accurate to concrete call instance.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, in other embodiments realization.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.