CN100571268C - A kind of protocol compatibility processing method and device - Google Patents

A kind of protocol compatibility processing method and device Download PDF

Info

Publication number
CN100571268C
CN100571268C CNB2005101242460A CN200510124246A CN100571268C CN 100571268 C CN100571268 C CN 100571268C CN B2005101242460 A CNB2005101242460 A CN B2005101242460A CN 200510124246 A CN200510124246 A CN 200510124246A CN 100571268 C CN100571268 C CN 100571268C
Authority
CN
China
Prior art keywords
cell
signaling message
essential
essential cell
protocol version
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
CNB2005101242460A
Other languages
Chinese (zh)
Other versions
CN1848845A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101242460A priority Critical patent/CN100571268C/en
Publication of CN1848845A publication Critical patent/CN1848845A/en
Application granted granted Critical
Publication of CN100571268C publication Critical patent/CN100571268C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of protocol compatibility processing method and device.The inventive method comprises: in the signaling message that carries the non-essential cell that this transmitting terminal determines according to the protocol version of self supporting that transmitting terminal sends, essential cell back according to non-essential cell under the non-essential cell of protocol version sequence arrangement from low to high, send to receiving terminal.Perhaps in the signaling message that transmitting terminal sends, at the non-essential cell of the confirmable TLV type of essential cell back prioritization length, the non-essential cell of other type sends to receiving terminal according to affiliated protocol version sequence arrangement from low to high.Apparatus of the present invention comprise: signaling message receiving element, cell sequencing unit and signaling message transmitting element.Employing the inventive method can guarantee to support the equipment of low protocol version can correctly resolve the signaling of the equipment transmission of supporting high protocol version with device.

Description

A kind of protocol compatibility processing method and device
Technical field
The present invention relates to the communications field, relate in particular to the transmitting terminal of signaling message and receiving terminal a kind of protocol compatibility processing method and the device when supporting diversity of protocol versions.
Background technology
Any signaling message all has a transmitting terminal and a receiving terminal, if the protocol version that transmitting terminal and receiving terminal are supported is inconsistent, then has the protocol compatibility problem between high protocol version and the low protocol version equipment.
In the message structure definition of communications protocol, stipulate that (information elements IE) is requisite cell to some cell, is essential cell, and other cells in addition then are non-essential cell.Non-essential cell occurs in the optional position, essential cell back of message code stream, and the relative position of promptly non-essential cell in message code stream is unfixing.In existing layer 3 message (L3MESSAGE) encoding scheme, order to non-essential IE is not obligated, like this, just might there be following situation: if the protocol version of transmit leg is than recipient height, when the high-level protocol version cell that includes in the signaling message that the recipient receives that it can not discern, for example: T (Type only) T type cell, TLV (the Type that TV (Type and Value) type cell or length can not be determined, Length and Value) type cell, owing to can't judge the length of its codomain, the recipient can abandon the later all the elements of this cell, this may cause the non-essential cell of follow-up low level protocol version also can't resolve, and may cause the signaling process failure.
Therefore, for the protocol-compliant between the raising equipment, essential cell in the signaling message that guarantees the transmitting terminal transmission can be receiving terminal be correctly resolved, should guarantee as far as possible that also the non-essential cell in the signaling message can be received the end parsing, so that receiving terminal can parse complete signaling message content, thereby the realization Signalling exchange, the carrying out of assurance normal flow.
Summary of the invention
The invention provides a kind of protocol compatibility processing method and device, in order to solve exist in the prior art detect the problem that causes signaling process to be failed when containing the cell that can not discern in the signaling message when receiving terminal.
Protocol compatibility processing method provided by the invention, comprise: in the signaling message that carries the non-essential cell that this transmitting terminal determines according to the protocol version of self supporting that transmitting terminal sends, essential cell back according to non-essential cell under the non-essential cell of protocol version sequence arrangement from low to high, send to receiving terminal.
According to said method of the present invention, transmitting terminal is filled up to essential cell back according to protocol version order from low to high under the non-essential cell according to the order of sequence with the non-essential cell of correspondence;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
According to said method of the present invention, the signaling message of described transmission is layer 3 message L3MESSAGE.
According to said method of the present invention, described non-essential cell comprises: the combination of T type cell, TV type cell, TLV type cell or described cell.
The present invention also provides a kind of protocol compatibility processing method, comprise: in the signaling message that carries the non-essential cell that this transmitting terminal determines according to the protocol version of self supporting that transmitting terminal sends, non-essential cell in the confirmable TLV type of essential cell back prioritization length, the non-essential cell of other type sends to receiving terminal according to affiliated protocol version sequence arrangement from low to high.
According to said method of the present invention, transmitting terminal is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, and the non-essential cell with other type is filled up to essential cell back successively according to affiliated protocol version order from low to high again;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
According to said method of the present invention, the signaling message of described transmission is layer 3 message L3MESSAGE.
According to said method of the present invention, non-the comprising by essential cell of described other type: the TLV type cell that T type cell, TV type cell, length are determined or the combination of described cell.
Protocol compatibility processing unit provided by the invention comprises: signaling message receiving element, cell sequencing unit and signaling message transmitting element;
The signaling message that described signaling message receiving element receiving end/sending end equipment sends sends the cell sequencing unit to;
Described cell sequencing unit with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, send the signaling message transmitting element to;
Signaling message after described signaling message transmitting element will sort sends to receiving device.
Described cell sequencing unit also comprises: cell analysis module, the first cell order module and the second cell order module;
Described cell analysis module receives the signaling message that the signaling message receiving element transmits, and analyzes the non-essential cell that whether includes the confirmable TLV type of length in this signaling message; If include the non-essential cell of the confirmable TLV type of length, then described signaling message is sent to the described first cell order module and handles; Otherwise, described signaling message is sent to the described second cell order module handles;
The described first cell order module is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, again the non-essential cell of other type is filled up to the non-essential cell back of the confirmable TLV type of this length successively according to affiliated protocol version order from low to high, and the signaling message after will sorting sends the signaling message transmitting element to;
The described second cell order module with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, and the signaling message after will sorting sends the signaling message transmitting element to.
Described device is realized by software or hardware.
Described device is arranged in the described sending ending equipment; Or be connected by interface with receiving device with described sending ending equipment.
Beneficial effect of the present invention is as follows:
(1) adopts the inventive method, when transmitting terminal sends signaling message, the non-essential cell that signaling message is carried sends to receiving terminal after according to affiliated protocol version sequence arrangement from low to high again, guaranteed that low level protocol version equipment can correctly resolve the signaling message that high-level protocol version equipment sends, guaranteed not influence normal flow.
(2) adopt apparatus of the present invention, the signaling message that sending ending equipment sends is handled, the non-essential cell that signaling message is carried sends to receiving terminal after according to affiliated protocol version sequence arrangement from low to high again, make low level protocol version equipment can correctly resolve the signaling message that high-level protocol version equipment sends, interconnection and interflow ability between effective raising equipment, the lifting means compatibility.
Description of drawings
Fig. 1 is that the transmitting terminal of supported protocol version n sends the signaling message schematic diagram to a plurality of receiving terminals of supporting diversity of protocol versions;
Fig. 2 is cell sequential schematic in the signaling message that adopts the inventive method;
Fig. 3 is a protocol compatibility processing unit structural representation of the present invention.
Embodiment
As shown in Figure 1, the protocol version of transmitting terminal support is n, is connected with the receiving terminal of a plurality of support diversity of protocol versions [1, N].If carry non-essential option cell in the signaling message that transmitting terminal sends, in order to allow all non-essential cells can obtain correct explanation at the receiving terminal of diversity of protocol versions, transmitting terminal needs to fill in non-essential cell according to protocol version order from low to high, as shown in Figure 2.Wherein:
1: the presentation protocol initial release;
N: presentation protocol intermediate releases;
N: the highest version of presentation protocol.
Embodiment one: all non-essential cells are pressed protocol version sequence arrangement from low to high behind essential cell, send to receiving terminal.
Concrete grammar comprises:
Transmitting terminal obtains the affiliated protocol version of non-essential cell that signaling message to be sent need carry;
Transmitting terminal is filled up to essential cell back according to protocol version order from low to high under the non-essential cell according to the order of sequence with the non-essential cell of correspondence;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
Illustrate concrete non-essential cell arrangement mode below:
4 versions of having supposed a protocol issuance, version number is followed successively by 1/2/3/4 from small to large, wherein all the definition of same message MSG is changed in three versions.In version 1, defined 1 non-essential cell A, increase has defined non-essential cell C in protocol version 3, increases to have defined non-essential cell B in protocol edition 4.Therefore, according to the equipment that protocol version 1 is realized, the MSG message of transmission only has a non-essential A cell, also can only discern non-essential A cell according to the equipment that protocol version 1 is realized; According to the equipment that protocol version 3 is realized, the non-essential cell that the MSG message of transmission is carried has A, C cell, can discern A, C cell according to the equipment that protocol version 3 is realized; According to the equipment that protocol edition 4 is realized, the MSG message of transmission has A, C, B cell, can discern A, C, B cell according to the equipment that protocol edition 4 is realized.
In order to realize and the compatibility of apparatus that realizes according to protocol version 1, the equipment of realizing according to protocol version 3 is when sending MSG message, and putting in order of the non-essential cell that carries is A, C; Equally, in order to realize and the compatibility of apparatus that realizes according to protocol version 1,3, the equipment of realizing according to protocol edition 4 is when sending MSG message, and putting in order of the non-essential cell that carries in the MSG message is A, C, B.
If transmitting terminal is the equipment of realizing according to protocol edition 4, as mentioned above, the signaling message of current transmission is MSG, and then this MSG includes three non-essential cells, is respectively non-essential cell A, non-essential cell B and non-essential cell C; Wherein, the protocol version of non-essential cell A is 1, and the protocol version of non-essential cell B is 4, and the protocol version of non-essential cell C is 3, then non-essential cell put in order for:
Arrange non-essential cell A in the primary importance of essential cell back;
Arrange non-essential cell C in the second place of essential cell back;
At the non-essential cell B of the 3rd positional alignment of essential cell back.
According to the method described in the embodiment one, when receiving terminal supported protocol version 1, can correctly receive non-essential cell A, this receiving terminal does not need the non-essential cell of highest version, just can parse correct signaling, guarantees that follow-up flow process normally carries out;
When receiving terminal supported protocol version 3, can correctly receive non-essential cell A and non-essential cell C, this receiving terminal does not need the non-essential cell of highest version, just can parse correct signaling, guarantees that follow-up flow process normally carries out;
When receiving terminal supported protocol edition 4, can correctly receive non-essential cell A, non-essential cell C and non-essential cell B, parse correct signaling, guarantee that follow-up flow process normally carries out.
Non-essential cell among this embodiment one comprises: T type cell, TV type cell or TLV type cell; Or any two types cell; Perhaps comprise this cell of three types simultaneously.
The signaling message that sends is L3MESSAGE.
Because TLV type cell comprises the TLV type cell that length confirmable TLV type cell and length can not be determined; When occurring for the non-essential cell location of the confirmable TLV type of length cell in message, no matter whether receiving terminal supports its protocol version, because its length can be determined, therefore can not influence follow-up cell resolves (when the protocol version of receiving terminal support hangs down, the cell that abandons designated length gets final product), like this, the invention provides another kind of protocol compatibility processing method, that is:
In the signaling message that transmitting terminal sends, at the non-essential cell of the confirmable TLV type of essential cell back prioritization length, the non-essential cell of other type sends to receiving terminal according to affiliated protocol version sequence arrangement from low to high.
Concrete grammar comprises:
Transmitting terminal obtains non-essential cell type and the affiliated protocol version that signaling message to be sent need carry;
Transmitting terminal is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, and the non-essential cell with other type is filled up to essential cell back successively according to affiliated protocol version order from low to high again;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
Embodiment two: the signaling message of supposing the current transmission of transmitting terminal includes three non-essential cells, is respectively non-essential cell D, non-essential cell E and non-essential cell F; , must essential cell D be non-essential cell, all the other non-essential cell E and the non-essential cell F of the confirmable TLV type of length non-essential cell (the TLV type cell that T type cell, TV type cell or length are determined) wherein for other type; The protocol version of non-essential cell D is 5, and the protocol version of non-essential cell E is 4, and the protocol version of non-essential cell F is 3, then non-essential cell put in order for:
Arrange non-essential cell D in the primary importance of essential cell back;
Arrange non-essential cell F in the second place of essential cell back;
At the non-essential cell E of the 3rd positional alignment of essential cell back.
According to the method among the embodiment two, although be that 5 non-essential cell D is arranged in primary importance with protocol version, the receiving terminal that can not influence the supported protocol version 3 correctly receives and resolves non-essential cell F; This be because, though the receiving terminal of supported protocol version 3 can not identification protocol version number be 5 non-essential cell D, but because the non-essential cell that this non-essential cell D is the confirmable TLV type of length, after the receiving terminal of supported protocol version 3 abandons the cell of designated length, just can correctly receive protocol version and be 3 non-essential cell F and resolve.In like manner, the receiving terminal of supported protocol edition 4 can correctly receive and resolve non-essential cell E.
According to said method, the invention provides the compatible processing unit of a kind of corresponding protocol, as shown in Figure 3, comprising: signaling message receiving element, cell sequencing unit and signaling message transmitting element.
The signaling message that signaling message receiving element receiving end/sending end equipment sends sends the cell sequencing unit to; The cell sequencing unit with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, send the signaling message transmitting element to; Signaling message after the signaling message transmitting element will sort sends to receiving device.
Wherein, the cell sequencing unit can also comprise: cell analysis module, the first cell order module and the second cell order module.
The cell analysis module receives the signaling message that the signaling message receiving element transmits, and analyzes the non-essential cell that whether includes the confirmable TLV type of length in this signaling message; If include the non-essential cell of the confirmable TLV type of length, then described signaling message is sent to the described first cell order module and handles; Otherwise, described signaling message is sent to the described second cell order module handles;
The first cell order module is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, non-essential cell with other type is filled up to essential cell back successively according to affiliated protocol version order from low to high again, and the signaling message after will sorting sends the signaling message transmitting element to;
The second cell order module with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, and the signaling message after will sorting sends the signaling message transmitting element to.
Device provided by the invention can be realized by software or hardware.
If realize by software, corresponding software can be embedded in the sending ending equipment; If realize by hardware, apparatus of the present invention can be connected with receiving device with sending ending equipment by hardware interface.
In sum, adopt method of the present invention, can need not to carry out any additional configuration order, just can guarantee that low level protocol version equipment correctly resolves the signaling that high-level protocol version equipment sends, guarantee not influence normal flow, the effective interconnection and interflow ability between the raising equipment, lifting means compatibility.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if belonging to claim of the present invention, these modifications of the present invention and modification reach
Within the scope of its equivalent technologies, then the present invention also be intended to comprise these change and modification interior.

Claims (12)

1, a kind of protocol compatibility processing method, it is characterized in that, in the signaling message that carries the non-essential cell that this transmitting terminal determines according to the protocol version of self supporting that transmitting terminal sends, essential cell back according to non-essential cell under the non-essential cell of protocol version sequence arrangement from low to high, send to receiving terminal.
2, the method for claim 1 is characterized in that, comprising:
Transmitting terminal is filled up to essential cell back according to protocol version order from low to high under the non-essential cell according to the order of sequence with the non-essential cell of correspondence;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
3, method as claimed in claim 2 is characterized in that, the signaling message of described transmission is layer 3 message L3 MESSAGE.
4, the method for claim 1 is characterized in that, described non-essential cell comprises: the combination of T type cell, TV type cell, TLV type cell or described cell.
5, a kind of protocol compatibility processing method, it is characterized in that, in the signaling message that carries the non-essential cell that this transmitting terminal determines according to the protocol version of self supporting that transmitting terminal sends, non-essential cell in the confirmable TLV type of essential cell back prioritization length, the non-essential cell of other type sends to receiving terminal according to affiliated protocol version sequence arrangement from low to high.
6, method as claimed in claim 5 is characterized in that, comprising:
Transmitting terminal is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, and the non-essential cell with other type is filled up to essential cell back successively according to affiliated protocol version order from low to high again;
The signaling message that transmitting terminal will carry essential cell and non-essential cell sends to receiving terminal.
7, method as claimed in claim 6 is characterized in that, the signaling message of described transmission is layer 3 message L3 MESSAGE.
8, method as claimed in claim 5 is characterized in that, non-the comprising by essential cell of described other type: the TLV type cell that T type cell, TV type cell, length are determined or the combination of described cell.
9, a kind of protocol compatibility processing unit is characterized in that, comprising: signaling message receiving element, cell sequencing unit and signaling message transmitting element;
The signaling message that described signaling message receiving element receiving end/sending end equipment sends sends the cell sequencing unit to;
Described cell sequencing unit with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, send the signaling message transmitting element to;
Signaling message after described signaling message transmitting element will sort sends to receiving device.
10, device as claimed in claim 9 is characterized in that, described cell sequencing unit also comprises: cell analysis module, the first cell order module and the second cell order module;
Described cell analysis module receives the signaling message that the signaling message receiving element transmits, and analyzes the non-essential cell that whether includes the confirmable TLV type of length in this signaling message; If include the non-essential cell of the confirmable TLV type of length, then described signaling message is sent to the described first cell order module and handles; Otherwise, described signaling message is sent to the described second cell order module handles;
The described first cell order module is filled up to essential cell back earlier with the non-essential cell of the confirmable TLV type of length, again the non-essential cell of other type is filled up to the non-essential cell back of the confirmable TLV type of this length successively according to affiliated protocol version order from low to high, and the signaling message after will sorting sends the signaling message transmitting element to;
The described second cell order module with the non-essential cell in the signaling message according to affiliated protocol version sequence arrangement from low to high in essential cell back, and the signaling message after will sorting sends the signaling message transmitting element to.
As claim 9 or 10 described devices, it is characterized in that 11, described device is realized by software or hardware.
12, device as claimed in claim 11 is characterized in that, described device is arranged in the described sending ending equipment; Or be connected by interface with receiving device with described sending ending equipment.
CNB2005101242460A 2005-11-29 2005-11-29 A kind of protocol compatibility processing method and device Active CN100571268C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101242460A CN100571268C (en) 2005-11-29 2005-11-29 A kind of protocol compatibility processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101242460A CN100571268C (en) 2005-11-29 2005-11-29 A kind of protocol compatibility processing method and device

Publications (2)

Publication Number Publication Date
CN1848845A CN1848845A (en) 2006-10-18
CN100571268C true CN100571268C (en) 2009-12-16

Family

ID=37078202

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101242460A Active CN100571268C (en) 2005-11-29 2005-11-29 A kind of protocol compatibility processing method and device

Country Status (1)

Country Link
CN (1) CN100571268C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589406C (en) * 2007-06-15 2010-02-10 中兴通讯股份有限公司 Network management system compatible method and system
CN101370001B (en) * 2007-08-15 2011-01-05 华为技术有限公司 Information transfer method
US8660574B2 (en) 2008-04-02 2014-02-25 Qualcomm Incorporated Generic positioning protocol
US8660540B2 (en) 2009-04-21 2014-02-25 Qualcomm Incorporated Supporting version negotiation for positioning for terminals in a wireless network
US9435874B2 (en) 2009-04-21 2016-09-06 Qualcomm Incorporated Method and apparatus for supporting positioning for terminals in a wireless network
CN102378293B (en) * 2010-08-11 2015-06-10 中兴通讯股份有限公司 Code division multiple access system and A17 interface compatibility realization method
CN105491092B (en) * 2014-09-18 2020-05-26 腾讯科技(深圳)有限公司 Message pushing method and device
CN115038052A (en) * 2022-06-02 2022-09-09 阿波罗智联(北京)科技有限公司 Message set processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN1848845A (en) 2006-10-18

Similar Documents

Publication Publication Date Title
CN100571268C (en) A kind of protocol compatibility processing method and device
CN101562894B (en) Sending method of buffer state report and equipment thereof
WO2006113876A3 (en) Connection failure reporting in wireless communication systems
WO2006109976A3 (en) A method of establishing link for handover by a multi-mode mobile terminal
CN102740337A (en) Remote maintenance method of base station and system thereof
CN102290862B (en) Peer to peer communication method and system of power distribution terminals
CN101820596B (en) Ultralong short message processing method and mobile communication terminal
CN101888610A (en) Method, system and device for realizing short message service
CN102739982A (en) Digital video matrix cascade system as well as communication device and method thereof
CN101902769B (en) Single board wireless debugging method and device
CN102238493B (en) Machine-to-machine (M2M)-platform-based message sequential transmission and receiving method and device
CN101895797A (en) Method and device for realizing all-fiber protection
CN103095365A (en) Method, terminal, base station and system for backward channel signal transmission
CN201626743U (en) Lift car monitoring terminal, lift car monitoring circuit and lift monitoring system
CN101141195B (en) Considerable alarm reporting method and system on optical communication transferring plane
CN102332948A (en) Method and system for controlling main micro/nano satellite communication
CN102841928A (en) Method and device for securely transmitting and receiving inter-network file
CN101951574A (en) Short message processing method and short message center
CN101707589A (en) Automatic port switching method and device for multiport network card
CN1972305A (en) A method and system for consultation
CN102378296B (en) Method for carrying out frequency band switching in communication system
CN102149040A (en) Paging method, system and device for machine type communication device
CN100584058C (en) Information interactive system and implementing method
CN102158832A (en) Method and device for self-adaptively coding short message
CN102647576A (en) Video interaction method and video interaction system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant