CN116389432A - Method and device for optimizing redundant backup of VOIP RTP transmission data - Google Patents

Method and device for optimizing redundant backup of VOIP RTP transmission data Download PDF

Info

Publication number
CN116389432A
CN116389432A CN202310270416.4A CN202310270416A CN116389432A CN 116389432 A CN116389432 A CN 116389432A CN 202310270416 A CN202310270416 A CN 202310270416A CN 116389432 A CN116389432 A CN 116389432A
Authority
CN
China
Prior art keywords
rtp
data
backup
server
rtpbackup
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
CN202310270416.4A
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.)
Shanghai Huaxin Chang'an Network Technology Co ltd
Original Assignee
Shanghai Huaxin Chang'an Network Technology 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 Shanghai Huaxin Chang'an Network Technology Co ltd filed Critical Shanghai Huaxin Chang'an Network Technology Co ltd
Priority to CN202310270416.4A priority Critical patent/CN116389432A/en
Publication of CN116389432A publication Critical patent/CN116389432A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for optimizing redundant backup of VOIPRTP transmission data, wherein the method comprises the following steps: after the terminal equipment establishes a call, negotiating session information SDP, creating an RTPbackup request message, and synchronously transmitting RTP to the RTPbackup server while transmitting RTP to the opposite terminal; RTPbackup server maps and binds the received RTP stream and the received request message for storage; if the terminal equipment has the condition of discontinuous voice in the communication process, the terminal equipment constructs a lost RTP request recovery data message, and after receiving the recovery request, RTPBackup server returns RTP data from the local backup data and feeds back the backup code to the terminal equipment; and the terminal equipment recovers the data after receiving the data recovery stream returned by the RTPBackup Server and the fed back code and plays the data to the user. In this way, the SSRC and the Seq characteristic specific to RTP are used for carrying out redundant backup of data, so that the problem that the data cannot be restored after packet loss caused by network transmission is solved, the voice recovery capability is improved, and the effectiveness of data verification is improved.

Description

Method and device for optimizing redundant backup of VOIP RTP transmission data
Technical Field
The embodiment of the invention relates to the technical field of VOIP (voice over internet protocol) phones, in particular to a redundancy backup method and device for optimizing RTP (real-time protocol) transmission data of VOIP.
Background
The network communication devices on the market are more and more, so that the data flow in the network is larger and larger, the data congestion, the data transmission priority and the like are more and more challenged, TCP and main-standby redundancy modes are adopted for protecting the reliability of the service on some management devices, but in the SIP service, because RTP is always used on real-time communication interaction, the timeliness of the message is guaranteed, retransmission of the device is reduced, and if packet loss occurs in some important scenes, data compensation cannot be obtained, and very unfriendly experience is brought to some important data experience or data evidence.
Such as the patent: a technology for recovering lost voice packet based on side information (application number: CN 200710120144.0) combines forward error correction (FEC, forward Error Correction) technology based on a transmitting end with error concealment (EC, errorConcealment) technology based on a receiving end, takes two voice packets which are adjacent to the current voice packet as side information at the transmitting end, virtually recovers the current voice packet by using EC technology, obtains redundant information by using minimum mean square error criterion, and packages and transmits the redundant information with the latter voice packet, and if the current voice packet is lost, actually recovers the lost current voice packet by using the side information (the front and rear voice packets), the redundant information (carried by the latter voice packet) and EC technology at the receiving end.
Disclosure of Invention
In order to solve the problems, the invention uses the special SSRC and Seq characteristics of RTP to carry out redundant backup of data, solves the problem that the data cannot be restored after packet loss caused by network transmission, improves the voice recovery capability and proves the effectiveness of data.
According to the embodiment of the invention, a method and a device for optimizing redundant backup of VOIP RTP transmission data are provided.
In a first aspect of the present invention, a method for optimizing redundant backup of VOIP RTP transport data is provided. The method comprises the following steps:
s01: after the terminal equipment establishes a call, negotiating session information SDP, creating an RTP backup request message, and synchronously transmitting RTP to RTP backup server while transmitting RTP to the opposite terminal;
s02: RTP backup server mapping and binding the received RTP stream and the received request message for storage;
s03: if the terminal equipment has the condition of discontinuous voice in the communication process, the terminal equipment constructs a lost RTP request recovery data message, RTP Backup Server returns RTP data from the local backup data after receiving the recovery request, and feeds back the backup code to the terminal equipment;
s04: and after receiving the data recovery stream returned by RTP Backup Server and the fed back code, the terminal equipment recovers the data and plays the data to the user.
Further, the request message in S01 includes the phone call SSRC and SDP information.
Further, the RTP stream described in S02 needs to be announced to the SDP information corresponding to the server SSRC.
Further, in S03, the terminal device constructs a lost RTP request recovery data message, and uses the request message body to include SDP and seq information, so as to inform RTP Backup Server that the seq data segment information needs to be recovered.
Further, the backup code is fed back to the terminal device in S03, where the code is 0 if the return is all restored, 1 if the return is partially restored, and 2 if the return is unable to be restored.
In a second aspect of the invention, an apparatus for optimizing redundant backup of VOIP RTP transport data is provided. The device comprises:
and a synchronization module: the method comprises the steps that after a terminal device establishes a call, session information SDP is negotiated, an RTP backup request message is established, and RTP is synchronously sent to RTP backup server while RTP is sent to an opposite terminal;
binding module: for RTP backup server mapping binding storage of the received RTP stream with the received request message;
a request module: if the voice discontinuity occurs in the communication process of the terminal equipment, the terminal equipment constructs a lost RTP request recovery data message, RTP Backup Server returns RTP data from the local backup data after receiving the recovery request, and feeds back the backup code to the terminal equipment;
and (3) a recovery module: and the terminal equipment is used for recovering the data after receiving the data recovery stream returned by RTP Backup Server and the fed back code and playing the data to the user.
Further, the request message in the synchronization module includes the phone call SSRC and SDP information.
Further, the RTP stream in the binding module needs to be announced to SDP information corresponding to the server SSRC.
Further, the terminal device in the request module constructs a lost RTP request recovery data message, and uses the request message body to contain SDP and seq information for informing RTP Backup Server that the seq data segment information needs to be recovered.
Further, the backup code is fed back to the terminal device in the request module, if all the backup codes are returned, the code is 0, if part of the backup codes are returned, the code is 1, and if the backup codes cannot be returned, the code is 2.
The english abbreviations mentioned above are defined:
VOIP: voice overInternetProtocol Voice over Internet
RTP: real-time TransportProtocol, real-time transport protocol
SDP: session Description Protocol Session description protocol
Backup: backup
RTPbackup server: RTP backup server
Code: state code
SSRC: synchronization Source identifier synchronization source identification
Seq: sequence number, sequence number
TCP: transmission Control Protocol Transmission control protocol
SIP: session initializationProtocol Session initiation protocol
The invention uses the special SSRC and Seq characteristics of RTP to carry out redundant backup of data, solves the problem that the data cannot be restored after packet loss caused by network transmission, improves the voice recovery capability and improves the effectiveness of data verification.
It should be understood that the description in this summary is not intended to limit the critical or essential features of the embodiments of the invention, nor is it intended to limit the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
The above and other features, advantages and aspects of embodiments of the present invention will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. Wherein:
fig. 1 shows a flow chart of a method of optimizing redundant backup of VOIP RTP transport data according to an embodiment of the invention;
fig. 2 shows a block diagram of an apparatus for optimizing redundant backup of VOIP RTP transport data according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to the embodiment of the invention, a method and a device for optimizing redundancy backup of VOIP RTP transmission data are provided, the special SSRC and Seq characteristics of RTP are used for carrying out redundancy backup of the data, the problem that the data cannot be restored after packet loss caused by network transmission is solved, the voice recovery capability is improved, and the validity of data is verified.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments thereof.
Fig. 1 is a flow chart of a method for optimizing redundant backup of VOIP RTP transport data according to an embodiment of the invention. The method comprises the following steps:
s01: after the terminal equipment establishes a call, negotiating session information SDP, creating an RTP backup request message, and synchronously transmitting RTP to RTP backup server while transmitting RTP to the opposite terminal;
s02: RTP backup server mapping and binding the received RTP stream and the received request message for storage;
s03: if the terminal equipment has the condition of discontinuous voice in the communication process, the terminal equipment constructs a lost RTP request recovery data message, RTP Backup Server returns RTP data from the local backup data after receiving the recovery request, and feeds back the backup code to the terminal equipment;
s04: and after receiving the data recovery stream returned by RTP Backup Server and the fed back code, the terminal equipment recovers the data and plays the data to the user.
It should be noted that although the operations of the method of the present invention are described in a particular order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the particular order or that all of the illustrated operations be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
In order to more clearly explain the above-mentioned method for optimizing redundant backup of VOIP RTP transmission data, a specific embodiment is described below, but it should be noted that this embodiment is only for better explaining the present invention and is not meant to limit the present invention unduly.
The following describes in more detail the method of optimizing redundant backup of VOIP RTP transport data with one specific example:
the terminal equipment receives one incoming call, and creates request message information inside the terminal equipment, and the request message information comprises: the SDP, SSRC home information sends the request information to RTP Backup server.
The terminal equipment receives the incoming call, the terminal equipment receives the RTP stream of the opposite terminal, and the local terminal synchronously sends the RTP stream to RTP Backup Server.
RTP Backup server after receipt of the RTP stream, it is mapped with the received request message for subsequent recovery of data usage.
In the communication process, the terminal equipment needs to find that the RTP data segment needs to be recovered, so that the construction request message comprises SSRC and SDP, and the information of the SEQ data segment needing to be recovered is sent to the RTP Backup Server server:
“SDP”:SDP info;
“SSRC”:SSRC info;
“SEQ”:[1;N-N+M;N+M+200]
indicating a deletion of [1; N-N+M; n+m+200 messages. Considering the timeliness of communication processing of the telephone, the packet number is processed according to 1s to confirm whether the interval is lost or not.
RTP Backup Server after receiving the recovery request, returning RTP data from the local backup data, and simultaneously telling the terminal device to feed back the backup code:
“data”:["1”:date;”N-N+M”:data;”N+M+200”:data];
“code”:0;
an 'other' expansion module for authentication and self-defining parameters
Code is 0, indicating that the data segment has been fully recovered.
After receiving the data recovery stream returned by RTP Backup Server and the fed back code, the terminal equipment recovers the data, plays the recovered RTP stream to the user, so that the user can hear the audio data as complete as possible.
Based on the same inventive concept, the invention also provides a device for optimizing the redundant backup of the VOIP RTP transmission data. The implementation of the device can be referred to as implementation of the above method, and the repetition is not repeated. As shown in fig. 2, the apparatus 100 includes:
the synchronization module 101: the method comprises the steps that after a terminal device establishes a call, session information SDP is negotiated, an RTP backup request message is established, and RTP is synchronously sent to RTP backup server while RTP is sent to an opposite terminal;
binding module 102: for RTP backup server mapping binding storage of the received RTP stream with the received request message;
request module 103: if the voice discontinuity occurs in the communication process of the terminal equipment, the terminal equipment constructs a lost RTP request recovery data message, RTP Backup Server returns RTP data from the local backup data after receiving the recovery request, and feeds back the backup code to the terminal equipment;
the recovery module 104: and the terminal equipment is used for recovering the data after receiving the data recovery stream returned by RTP Backup Server and the fed back code and playing the data to the user.
The device for optimizing the redundant backup of the VOIP RTP transmission data uses the special SSRC and Seq characteristics of RTP to perform the redundant backup of the data, solves the problem that the data cannot be restored after the packet loss caused by network transmission, improves the voice recovery capability and improves the data verification effectiveness.
While the spirit and principles of the present invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments nor does it imply that features of the various aspects are not useful in combination, nor are they useful in any combination, such as for convenience of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
It should be apparent to those skilled in the art that various modifications or variations can be made in the present invention without requiring any inventive effort by those skilled in the art based on the technical solutions of the present invention.

Claims (10)

1. A method for optimizing redundant backup of voip rtp transmission data, the method comprising:
s01: after the terminal equipment establishes a call, negotiating session information SDP, creating an RTPbackup request message, and synchronously transmitting RTP to the RTPbackup server while transmitting RTP to the opposite terminal;
s02: RTPbackup server maps and binds the received RTP stream and the received request message for storage;
s03: if the terminal equipment has the condition of discontinuous voice in the communication process, the terminal equipment constructs a lost RTP request recovery data message, and after receiving the recovery request, RTPBackup server returns RTP data from the local backup data and feeds back the backup code to the terminal equipment;
s04: and the terminal equipment recovers the data after receiving the data recovery stream returned by the RTPBackup server and the fed back code and plays the data to the user.
2. The method for optimizing redundant backup of voip rtp transmission data according to claim 1 wherein said request message in S01 comprises phone call SSRC, SDP information.
3. The method for optimizing redundant backup of voip RTP transmission data according to claim 1, wherein said RTP stream in S02 needs to be advertised to the SDP information corresponding to the server SSRC.
4. The method according to claim 1, wherein in S03 the terminal device constructs a lost RTP request recovery data message, and the request message body contains SDP and seq information for informing the rtpbackup server of the seq data segment information to be recovered.
5. The method for optimizing redundant backup of voip rtp transmission data according to claim 1, wherein in S03, the backup code is fed back to the terminal device, and is 0 if all returns, 1 if some returns, and 2 if the returns cannot be restored.
6. An apparatus for optimizing redundant backup of voip rtp transmission data, the apparatus comprising:
and a synchronization module: the method comprises the steps that after a terminal device establishes a call, session information SDP is negotiated, an RTP backup request message is established, and RTP is synchronously sent to an RTPbackup server while RTP is sent to an opposite terminal;
binding module: the RTPbackup server is used for mapping, binding and storing the received RTP stream and the received request message;
a request module: if the voice discontinuity occurs in the communication process of the terminal equipment, the terminal equipment constructs a lost RTP request recovery data message, and after receiving the recovery request, the RTPBackup Server returns RTP data from the local backup data and feeds back the backup code to the terminal equipment;
and (3) a recovery module: and the terminal equipment is used for recovering the data after receiving the data recovery stream returned by the RTPBackup Server and the fed back code and playing the data to the user.
7. The apparatus for optimizing redundant backup of voip rtp transmission data of claim 6 wherein said request message in said synchronization module comprises phone call SSRC, SDP information.
8. The apparatus for optimizing redundant backup of voip RTP transport data of claim 6 wherein said RTP stream in the binding module requires SDP information for notification to the server SSRC.
9. The apparatus for optimizing redundant backup of voip RTP transport data of claim 6 wherein said terminal device in the request module constructs a missing RTP request recovery data message using a request message body containing SDP and seq information for informing the rtpbackup server of the seq data segment information that needs to be recovered.
10. The apparatus for optimizing redundant backup of voip rtp data according to claim 6 wherein said request module feeds back a backup code to the terminal device, wherein the backup code is 0 if all returns, 1 if some returns, and 2 if returns cannot be restored.
CN202310270416.4A 2023-03-20 2023-03-20 Method and device for optimizing redundant backup of VOIP RTP transmission data Pending CN116389432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310270416.4A CN116389432A (en) 2023-03-20 2023-03-20 Method and device for optimizing redundant backup of VOIP RTP transmission data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310270416.4A CN116389432A (en) 2023-03-20 2023-03-20 Method and device for optimizing redundant backup of VOIP RTP transmission data

Publications (1)

Publication Number Publication Date
CN116389432A true CN116389432A (en) 2023-07-04

Family

ID=86977941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310270416.4A Pending CN116389432A (en) 2023-03-20 2023-03-20 Method and device for optimizing redundant backup of VOIP RTP transmission data

Country Status (1)

Country Link
CN (1) CN116389432A (en)

Similar Documents

Publication Publication Date Title
US6850519B1 (en) Communication node and packet transfer method
EP1328096B1 (en) Multimedia data packet communication with data type identifiers
JP3799326B2 (en) Packet transmission method and packet reception method
US7545818B2 (en) Method and system for detecting facsimile communication during a VoIP session
EP1940093A1 (en) Method of internet protocol(ip) message transmission, negotiated bandwidth saving capability and saving network bandwidth
JP2000286894A (en) Method used in packet server and device for transporting packet
EP2515481A1 (en) Transmission control method, access equipment and transmission system
WO2011079763A1 (en) Method for processing forward error correction (fec) data, device and system thereof
EP3515083A1 (en) Method and apparatus for performing synchronization operation on contents
WO2006107164A1 (en) Apparatus and method for delivering stream in a mobile broadcast system
US10230646B2 (en) Method and apparatus for transmitting and receiving packets in broadcast and communication system
CN101453463B (en) Data packet packing, transmitting and receiving method for mobile multimedia broadcast system
EP1547343A1 (en) Communication system and method of managing a streaming session
WO2011076105A1 (en) Video monitoring system and forward error correction (fec) method thereof
JP3057016B2 (en) Electronic data distribution system and method
US20090046621A1 (en) Relay apparatus, communication terminal, and communication method
WO2001043389A2 (en) Dtmf digit collection and transportation for a packet network
CN113746602A (en) Network real-time call method, device and system
CN102006564B (en) Message intercommunication method and convergence service system
CN113301051A (en) Data transmission method and device, computer storage medium and processor
CN116389432A (en) Method and device for optimizing redundant backup of VOIP RTP transmission data
CN102065372A (en) Method for transmitting data in broadcast mode and related device
JP2003163683A (en) System for transmitting packet sequence between server and mobile terminal
CN101426005A (en) IP data packet packaging, sending and receiving method for wireless broadcast system
US7342938B1 (en) Spectrally efficient approach to protection of key elements in a non-homogenous data stream

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination