CN101188549A - Method for reducing M2PA data loss and method for judging whether MTP3 fails - Google Patents

Method for reducing M2PA data loss and method for judging whether MTP3 fails Download PDF

Info

Publication number
CN101188549A
CN101188549A CNA2007100774040A CN200710077404A CN101188549A CN 101188549 A CN101188549 A CN 101188549A CN A2007100774040 A CNA2007100774040 A CN A2007100774040A CN 200710077404 A CN200710077404 A CN 200710077404A CN 101188549 A CN101188549 A CN 101188549A
Authority
CN
China
Prior art keywords
data
m2pa
local terminal
mtp3
send
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.)
Pending
Application number
CNA2007100774040A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2007100774040A priority Critical patent/CN101188549A/en
Publication of CN101188549A publication Critical patent/CN101188549A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method to reduce M2PA data loss and a method to judge whether an MTP3 has a failure. The method to reduce the M2PA data loss sends a received data to a local end MTP3 through a local end M2PA, if the data is successfully sent out, indicating that an MTP3 processor has no failure, if the data can not be sent out, indicating that the MTP3 has a failure; after the failure occurs, a local end M2PA processor failure is set, the storage of the data sent out by an opposite end is delayed, after the failure is processed, the data stored in a delayed way continues to be sent to the local end MTP3. The method fully utilizes the M2PA receiving delayed-storage to cause the receiving delayed-storage not only to be used after the processor failure occurs, but also to be well used before the MTP3 processor failure occurs, the method ensures that the data does not lose, in addition, the method can rapidly judge whether the MTP3 has a processor failure. The method does not add any difficulties in the system developing, and increases the reliability of the system, thereby being suitable for any environment in which the M2PA is used.

Description

Reduce the method for M2PA loss of data and judge the method whether MTP3 breaks down
Technical field
The data that the invention belongs to IP network send the field, be specifically related to a kind of M2PA (MTP2 User Peer-to-Peer Adaptation Layer that when processor stall, reduces, MTP2 user's equity adapting protocol, MTP2 is Signaling System 7 (SS7) Message Transfer Part 2, signaling transmission second portion) method of loss of data, and judge whether MTP3 the method for processor stall takes place.
Background technology
Along with the progressively maturation of IP network technology, the demand of circuit switching signaling protocols such as Signaling System Number 7 has appearred transmitting on IP network.In order to satisfy demand in IP network transmitting signaling agreement, IETF (InternetEngineering Task Force, Internet engineering duty group) network work is formed the special signaling transmission group of having stood, and the IP network SIGTRAN that they worked out (Signaling Transport) agreement (being the IP network signaling transfer protocol) is supported by IP network transmission legacy circuit-switched signaling.IETF working group in 2005 has formally issued MTP2-User Peer-to-Peer Adaptation Layer agreement M2PA, and (regulation of M2PA agreement is seen RFC4165, RFC is Request For Comments, the internet draft standard), in fact the M2PA agreement is not a kind of adapting protocol, but and SCTP (Stream Control Transmission Protocol, SCTP) agreement realize the function of MTP2 together.By the M2PA agreement, article one, SCTP is packaged into a signaling link fully in the connection of IP network, and (Signaling System7 (SS7) the Message Transfer Part 3 of the MTP3 on the M2PA layer, signaling transmission third part) agreement can an image tube PSTN of reason (Public Switched Telephone Network, public switch telephone network) signaling link is the same seamlessly it is managed.
According to RFC4165, the present data that M2PA is received from the opposite end do not offer some clarification on data and how to be buffered effectively, just explanation needs buffer memory when the local processor fault, but for M2PA and MTP3 when the different processor operations, when processor stall takes place in MTP3, when finding the MTP3 processor stall, M2PA needs a time, before so when M2PA finds that processor stall takes place MTP3 during this period of time, when sending to MTP3, the data that receive from the opposite end lost probably, influence the safety of communication data, and then influenced communication effect.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of method of the M2PA of reduction loss of data is provided.This method is not only applicable to M2PA and is in different processors with MTP3, is applicable to that also M2PA and MTP3 are in identical processor, can make reliable data transmission arrive MTP3.
The method that provides a kind of MTP3 of judgement whether to break down is provided.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of method that reduces the M2PA loss of data comprises the steps:
Steps A. local terminal M2PA is kept at it to the opposite end M2PA data that receive and receives in the buffer memory;
The data that step B. local terminal M2PA will receive in the buffer memory send to local terminal MTP3, if send successful execution step C, otherwise execution in step D;
Step C. local terminal M2PA continues to receive the data from opposite end M2PA;
Step D. is provided with local terminal M2PA local terminal processor stall, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3.
Can there to be more space to preserve data in the buffer memory in order making to receive, among the described step C, before local terminal M2PA continues to receive from the data of opposite end M2PA, can from receive buffer memory, to delete sending successful data.
Among the described step B, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
The another kind of method that reduces the M2PA loss of data comprises the steps:
Steps A. local terminal M2PA sends to local terminal MTP3 to the opposite end M2PA data that receive;
If data successfully send to local terminal MTP3 with regard to execution in step C in the step B. steps A, otherwise execution in step D;
Step C. local terminal M2PA continues to receive the data from opposite end M2PA;
Step D. local terminal M2PA puts into data the reception buffer memory of this link, local terminal M2PA local terminal processor stall is set simultaneously, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3.
In the described steps A, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
The method whether a kind of MTP3 of judgement breaks down comprises the steps:
Step 1. local terminal M2PA sends to local terminal MTP3 to the opposite end M2PA data that receive;
Step 2. if data successfully send to local terminal MTP3 in the step 1, then processor stall does not take place in MTP3; Get nowhere if send, then processor stall has taken place in MTP3.
In the described step 1, the data that local terminal M2PA receives opposite end M2PA can be kept at earlier in its reception buffer memory, and then data are sent to local terminal MTP3.
In the described step 1, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
After the present invention receives data from opposite end M2PA, can be in the reception buffer memory of local terminal M2PA with metadata cache, also buffer memory does not directly send to local terminal MTP3.If send successfully, represent that then the MTP3 processor does not have fault; Get nowhere if send, represent that then fault has taken place the MTP3 processor.The inventive method can be earlier data cached when local terminal M2PA receives opposite end M2PA data, also can be data cached after local terminal M2PA sends to data local terminal MTP3 failure, after sending failure local terminal M2PA local terminal processor stall is set simultaneously, send local terminal processor stall message to the opposite end then, message is sent the back if receive the data of opposite end, these data of buffer memory so, after pending fault is handled well data in buffer is continued to send to local terminal MTP3, the processing of processor stall is pressed the description of 4.1.4 among the RFC4165 and is handled.
Use the inventive method, have following beneficial effect:
First, this method has made full use of M2PA and has received buffer memory, make that receiving buffer memory not only only just is used after the generation processor stall, and before processor stall appears in MTP3, also can well be used, so both guaranteed not losing of data, and judged MTP3 apace whether processor stall has taken place;
The second, this method can only realize at the M2PA protocol layer, does not increase the difficulty and the complexity of system development, has also improved the reliability of system simultaneously;
The 3rd, the upper-layer user of M2PA has only MTP3 in principle, but this situation may change in actual the use, and the present invention also is applicable to the environment of any use M2PA.
Description of drawings
Fig. 1 is the structural representation of M2PA of the present invention present position in the SIGTRAN stack;
Fig. 2 is the flow chart of data processing figure of the present invention's method of reducing the M2PA loss of data;
Fig. 3 is the flow chart of data processing figure of the present invention's another kind of method of reducing the M2PA loss of data.
Embodiment
In order to understand the present invention better, the present invention is done to describe further below in conjunction with the drawings and specific embodiments.
See also Fig. 1, it is the structural representation of M2PA of the present invention present position in the SIGTRAN stack, and MTP3 is the upper-layer user of M2PA, and M2PA is the upper-layer user of SCTP, and SCTP is the upper-layer user of IP.
See also Fig. 2, it is the flow chart of data processing figure of the present invention's method of reducing the M2PA loss of data, comprises the steps:
Step 1: the data-interface of local terminal M2PA is from the data of bottom SCTP reception from opposite end M2PA;
Step 2: local terminal M2PA deposits the opposite end M2PA data that receive in it and receives in the buffer memory;
Step 3: local terminal M2PA is submitted to local terminal MTP3 sequentially with the data that it receives in the buffer memory;
Step 4: if be delivered to local terminal MTP3 failure in the step 3, local terminal M2PA local terminal processor stall is set so at once, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3.
Step 5: if submit success in the step 3, delete from receive buffer memory sending successful data, local terminal M2PA continues to receive the data from opposite end M2PA then.
In the above-mentioned steps 3,, illustrate that then processor stall has taken place MTP3, should in time handle if be delivered to the data failure of local terminal MTP3; If submit success, illustrate that then processor stall does not take place MTP3, can continue to transmit data, this can be used to judge whether MTP3 processor stall takes place, and is very convenient, quick.
See also Fig. 3, it is the flow chart of data processing figure of the present invention's another kind of method of reducing the M2PA loss of data, comprises the steps:
Step a: local terminal M2PA data-interface is from the data of bottom SCTP reception from opposite end M2PA;
Step b: after local terminal M2PA carried out verification to the data that receive, the data transmit-receive interface by between local terminal M2PA and the local terminal MTP3 sent to local terminal MTP3 sequentially with data;
Step c: according to the result of step b, after local terminal M2PA sends to data local terminal MTP3 failure, local terminal M2PA puts into these data the reception buffer memory of this link, local terminal M2PA local terminal processor stall is set simultaneously, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3;
Steps d: according to the result of step b, after local terminal M2PA sent to data local terminal MTP3 success, local terminal M2PA continued to receive the data from opposite end M2PA.
Among the above-mentioned steps b,, illustrate that then processor stall has taken place MTP3, should in time handle if send to the data failure of local terminal MTP3; If submit success, illustrate that then processor stall does not take place MTP3, can continue to transmit data, this can be used to judge whether MTP3 processor stall takes place, and is very convenient, quick.
Above two kinds of methods that reduce the M2PA loss of data all be better embodiment of the present invention, but second method is higher than the first clock method efficient, so we can adopt second method when advising using.
In above-mentioned two kinds of methods, the upper-layer user of M2PA has only MTP3 in principle, but this situation may change in actual the use, and the present invention is equally applicable to the environment of any use M2PA.
The above only is preferred embodiment of the present invention;, not should be pointed out that for the person of ordinary skill of the art in order to restriction the present invention; any modification of being done within every the spirit and principles in the present invention, be equal to and replace or improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a method that reduces the M2PA loss of data is characterized in that, comprises the steps:
Steps A. local terminal M2PA is kept at it to the opposite end M2PA data that receive and receives in the buffer memory;
The data that step B. local terminal M2PA will receive in the buffer memory send to local terminal MTP3, if send successful execution step C, otherwise execution in step D;
Step C. local terminal M2PA continues to receive the data from opposite end M2PA;
Step D. is provided with local terminal M2PA local terminal processor stall, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3.
2. the method for reduction M2PA according to claim 1 loss of data is characterized in that, among the described step C, will send successful data and delete from receive buffer memory before local terminal M2PA continues to receive from the data of opposite end M2PA.
3. the method for reduction M2PA according to claim 1 and 2 loss of data is characterized in that among the described step B, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
4. a method that reduces the M2PA loss of data is characterized in that, comprises the steps:
Steps A. local terminal M2PA sends to local terminal MTP3 to the opposite end M2PA data that receive;
If data successfully send to local terminal MTP3 with regard to execution in step C in the step B. steps A, otherwise execution in step D;
Step C. local terminal M2PA continues to receive the data from opposite end M2PA;
Step D. local terminal M2PA puts into data the reception buffer memory of this link, local terminal M2PA local terminal processor stall is set simultaneously, send local terminal processor stall message to the opposite end then, if receive the data of opposite end after local terminal processor stall message is sent, these data of buffer memory so, simultaneously these data are not authenticated, after pending fault is handled well data in buffer continued to send to local terminal MTP3.
5. the method for reduction M2PA according to claim 4 loss of data is characterized in that in the described steps A, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
6. a method of judging whether MTP3 breaks down is characterized in that, comprises the steps:
Step 1. local terminal M2PA sends to local terminal MTP3 to the opposite end M2PA data that receive;
Step 2. if data successfully send to local terminal MTP3 in the step 1, then processor stall does not take place in MTP3; Get nowhere if send, then processor stall has taken place in MTP3.
7. the method whether MTP3 of judgement according to claim 6 breaks down is characterized in that, in the described step 1, the data that local terminal M2PA receives opposite end M2PA are kept at earlier in its reception buffer memory, and then data are sent to local terminal MTP3.
8. the method that whether breaks down according to claim 6 or the 7 described MTP3 of judgement is characterized in that in the described step 1, the data that local terminal M2PA sends to local terminal MTP3 send sequentially.
CNA2007100774040A 2007-11-27 2007-11-27 Method for reducing M2PA data loss and method for judging whether MTP3 fails Pending CN101188549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100774040A CN101188549A (en) 2007-11-27 2007-11-27 Method for reducing M2PA data loss and method for judging whether MTP3 fails

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100774040A CN101188549A (en) 2007-11-27 2007-11-27 Method for reducing M2PA data loss and method for judging whether MTP3 fails

Publications (1)

Publication Number Publication Date
CN101188549A true CN101188549A (en) 2008-05-28

Family

ID=39480746

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100774040A Pending CN101188549A (en) 2007-11-27 2007-11-27 Method for reducing M2PA data loss and method for judging whether MTP3 fails

Country Status (1)

Country Link
CN (1) CN101188549A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193995A (en) * 2021-04-22 2021-07-30 深圳市信锐网科技术有限公司 Communication apparatus, control method thereof, and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193995A (en) * 2021-04-22 2021-07-30 深圳市信锐网科技术有限公司 Communication apparatus, control method thereof, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN101262437B (en) A method for state migration of stream control transmission protocol
Andreasen et al. Media gateway control protocol (MGCP) version 1.0
CN101924771B (en) Core-level TCP adhering junction method for accelerating application proxy
US6785259B2 (en) Enhanced transmission of critical data
US20180323913A1 (en) Data transmission method and related device
US7965625B2 (en) Communication device and logical link abnormality detection method
KR101419579B1 (en) Method for enabling faster recovery of client applications in the event of server failure
EP2079024A1 (en) Proxy server, communication system, communication method, and program
CN101547210A (en) Method and device for processing TCP connection
US8825804B2 (en) Method and system for avoiding an unintentional time-out for communications in a client-proxy-server environment
CN111970092B (en) Multi-protocol redundant network asynchronous communication method supporting reliability adjustment
CN103036885B (en) Sip server overload protective device and method
CN102315918B (en) Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection
CN104536934A (en) Serial port communication method and system
JP5029685B2 (en) Backup device
CN101188549A (en) Method for reducing M2PA data loss and method for judging whether MTP3 fails
CN103607311A (en) System and method for reestablishing TCP connection seamlessly
GB2428537A (en) Transmitting DUA messages with protocol identification information
CN109067503A (en) A kind of data repeating method and device
CN100414909C (en) Method of detecting opposite nodes route configuration state and method of setting up connection
CN100375479C (en) Network system and method for implementing media gateway control protocol stack
CN108667682A (en) Connection synchronous method, device and medium based on security gateway deep-packet detection
CN104320273B (en) Data transmission method, equipment and system
CN100423513C (en) Merging method with TCP connection
CN104506642A (en) Client message efficient transceiving and processing method and 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080528