CN102420815B - VOIP (Voice Over Internet Protocol) recording and playing system and method - Google Patents

VOIP (Voice Over Internet Protocol) recording and playing system and method Download PDF

Info

Publication number
CN102420815B
CN102420815B CN201110380231.6A CN201110380231A CN102420815B CN 102420815 B CN102420815 B CN 102420815B CN 201110380231 A CN201110380231 A CN 201110380231A CN 102420815 B CN102420815 B CN 102420815B
Authority
CN
China
Prior art keywords
recording
server
data flow
rtp
rtp data
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
CN201110380231.6A
Other languages
Chinese (zh)
Other versions
CN102420815A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201110380231.6A priority Critical patent/CN102420815B/en
Publication of CN102420815A publication Critical patent/CN102420815A/en
Application granted granted Critical
Publication of CN102420815B publication Critical patent/CN102420815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a VOIP communication technology, solving the problem of occupation of a large quantity of processor time because the received RTP (Realtime Transport Protocol) data stream in the traditional VOIP recording system is decoded in real time and synthesized into a voice file. The invention provides the VOIP recording and playing system and method. The technical scheme can be summarized as follows: the VOIP recording and playing system comprises at least one recording client end, at least one recording server and at least one recording and playing server, wherein each recording client end is only connected with one recording server, and each recording and playing server is connected with all recording servers. The invention has the advantage of the RTP data stream recording file is only stored without being decoded and synthesized into the voice file, thus processing time of a plurality of processors is saved. The invention is suitable for the VOIP recording system.

Description

VOIP recording and Play System and method thereof
Technical field
The present invention relates to the technology of VOIP (Voice over IP) communication, particularly the recording technology of VOIP communication.
Background technology
VOIP correlation technique and solution, in numerous industry widespread deployment application such as public security, finance.Due to client's business to the demand of VOIP in continuous increase, the related application business of VOIP also needs continuous development, such as recording application based on VOIP, recording application is relatively more typical to be used is the consulting can monitoring enterprise in call center externally providing, the quality of service, is very beneficial for improving the ability of enterprises service.
Existing VOIP recording system mainly adopt by Port Mirroring mode by RTP (Real-Time Transport Protocol) data image to recording server, by trunking scheme by RTP data be routed to recording server, by IP phone by RTP data redirection then the mode such as recording server realize.
But in most VOIP recording systems are realized, RTP data flow arrives after recording server, by recording server, voice messaging file is decoded, synthesized to RTP data flow, and be stored in server, in the time need to playing, play-over the voice document of preservation, RTP data message is the data cell one by one in RTP data flow, for voice-bearer data.
In said method, recording server carries out real-time decoding and synthesizes voice document the RTP data flow of receiving, will take a large amount of processor time, is unfavorable for that server records to a large amount of recording clients simultaneously; Synthesize language file simultaneously and store, increase server disk is taken, also when carrying out netcast, increase transmitted data on network amount.
Summary of the invention
Object of the present invention is exactly to overcome in current VOIP recording system the RTP data flow of receiving carry out real-time decoding and synthesize voice document, will take the shortcoming of a large amount of processor time, and a kind of VOIP recording and Play System and method thereof are provided.
The present invention solves its technical problem, the technical scheme adopting is, VOIP recording and Play System, it is characterized in that, comprise at least one recording client, at least one recording server and at least one recording Play Server, described each recording client is only connected with a recording server, and each recording Play Server is connected with all recording servers;
Described recording client, for when the user's communication, sends recording request to recording server, obtaining from recording server RTP receiving port, by the RTP data flow replication of user's communication to this RTP receiving port of recording server;
Described recording server, for receiving the recording request of client, recording client is opened to RTP receiving port, recording user call-information, the each RTP data flow receiving is stored as to different RTP data flow recording files, and user's communication information and RTP data flow recording file are associated, for the inquiry of recording Play Server and downloading and playing;
Described recording Play Server, for inquiry call-information function is provided to user, and in the time that user need to listen to recording substance, obtain corresponding RTP data flow recording file from recording server inquiry, this RTP data flow recording file is decoded and audio mixing, generate general format voice document, be transferred to user place and play.
Concrete, described recording server can be opened multiple RTP receiving ports simultaneously, the corresponding recording request of each RTP receiving port.
Further, described user's communication information comprises calling number, called number, the duration of call and call time started.
Concrete, described when the each RTP data flow receiving is stored to different RTP data flow recording files, be that each RTP data message increases time of reception stamp information.
VOIP recording and player method, is characterized in that, comprises the following steps:
The client of recording when step 1. user's communication sends recording request to recording server;
Step 2. recording server receives recording request, opens RTP receiving port, recording user call-information;
Step 3. client of recording gets RTP receiving port from recording server, by the RTP data flow replication of user's communication to this RTP receiving port of recording server;
The each RTP data flow receiving is stored as different RTP data flow recording files by step 4. recording server, and user's communication information and RTP data flow recording file are associated, End of Tape;
When step 5. user needs playback, cross recording Play Server according to user's communication information exchange the RTP data flow recording file of storing in recording server is inquired about, select the RTP data flow recording file needing;
Step 6. Play Server of recording obtains from recording server the RTP data flow recording file inquiring, and it is decoded and audio mixing, generates general format voice document, is transferred to user place and plays.
Concrete, in step 2, the mode of described unlatching RTP receiving port is a RTP receiving port of each recording request unlatching.
Concrete, in step 2, described user's communication information comprises calling number, called number, the duration of call and call time started.
Further, in step 4, described when the each RTP data flow receiving is stored to different RTP data flow recording files, be that each RTP data message increases time of reception stamp information.
The invention has the beneficial effects as follows, by above-mentioned VOIP recording and Play System and method thereof, owing to only storing RTP data flow recording file, no longer need decode and synthesize voice document, save the processing time of a large amount of processors, be beneficial to recording server records to a large amount of recording clients simultaneously, RTP data flow recording file due to what store simultaneously, the disk of recording server takies relatively little, disk size is increased greatly, by recording Play Server, only need decoding, the voice document that audio mixing and synthetic user need, save the processing time of processor.
Brief description of the drawings
Fig. 1 is the structured flowchart of VOIP recording of the present invention and Play System.
Fig. 2 is the flow chart of VOIP recording of the present invention and player method.
Embodiment
Below in conjunction with embodiment and accompanying drawing, describe technical scheme of the present invention in detail.
The structured flowchart of VOIP recording of the present invention and Play System is referring to Fig. 1, and the flow chart of VOIP recording of the present invention and player method is referring to Fig. 2.VOIP recording of the present invention and Play System, comprise at least one recording client, at least one recording server and at least one recording Play Server, described each recording client is only connected with a recording server, each recording Play Server is connected with all recording servers, wherein, recording client is in the time of user's communication, send recording request to recording server, obtaining from recording server RTP receiving port, by the RTP data flow replication of user's communication to this RTP receiving port of recording server; Recording server is for receiving the recording request of client, recording client is opened to RTP receiving port, recording user call-information, the each RTP data flow receiving is stored as to different RTP data flow recording files, and user's communication information and RTP data flow recording file are associated, for the inquiry of recording Play Server and downloading and playing; Recording Play Server is for providing inquiry call-information function to user, and in the time that user need to listen to recording substance, obtain corresponding RTP data flow recording file from recording server inquiry, this RTP data flow recording file is decoded and audio mixing, generate general format voice document, be transferred to user place and play.
In VOIP recording of the present invention and player method, first the client of recording when user's communication sends recording request to recording server, recording server receives after recording request, open RTP receiving port, and recording user call-information, recording client gets RTP receiving port from recording server again, by the RTP data flow replication of user's communication to this RTP receiving port of recording server, then the each RTP data flow receiving is stored as different RTP data flow recording files by recording server, and user's communication information and RTP data flow recording file are associated, End of Tape, in the time that user needs playback, crossing recording Play Server according to user's communication information exchange inquires about the RTP data flow recording file of storing in recording server, select the RTP data flow recording file needing, recording Play Server obtains from recording server the RTP data flow recording file inquiring again, and it is decoded and audio mixing, generate general format voice document, be finally transferred to user place and play.
Embodiment
In the embodiment of the present invention, the structured flowchart of VOIP recording and Play System is referring to Fig. 1, and in the embodiment of the present invention, the flow chart of VOIP recording and player method is referring to Fig. 2.The VOIP recording of the present embodiment and Play System comprise at least one recording client, at least one recording server and at least one recording Play Server, described each recording client is only connected with a recording server, each recording Play Server is connected with all recording servers, wherein, recording client is in the time of user's communication, send recording request to recording server, obtaining from recording server RTP receiving port, by the RTP data flow replication of user's communication to this RTP receiving port of recording server, recording server is for receiving the recording request of client, recording client is opened to RTP receiving port, recording user call-information, user's communication information comprises calling number, called number, the duration of call and call time started etc., the each RTP data flow receiving is stored as to different RTP data flow recording files, can be now that each RTP data message increases time of reception stamp information, the accuracy of audio mixing while decoding to increase, then user's communication information and RTP data flow recording file are associated, for the inquiry of recording Play Server and downloading and playing, recording server can be opened multiple RTP receiving ports simultaneously, the corresponding recording request of each RTP receiving port, also can only open a RTP receiving port, all recording requests are corresponding this RTP receiving port all, user's call-information is distinguished each RTP data flow, recording Play Server is for providing inquiry call-information function to user, and in the time that user need to listen to recording substance, obtain corresponding RTP data flow recording file from recording server inquiry, this RTP data flow recording file is decoded and audio mixing, generate general format voice document, be transferred to user place and play.
VOIP recording and the player method of the embodiment of the present invention, concrete steps are as follows:
The client of recording when step 1. user's communication sends recording request to recording server;
Step 2. recording server receives recording request, opens RTP receiving port, recording user call-information;
In this step, the mode of described unlatching RTP receiving port can be opened a RTP receiving port for each recording request, to distinguish the recording request of different clients.User's communication information comprises calling number, called number, the duration of call and call time started etc.
Step 3. client of recording gets RTP receiving port from recording server, by the RTP data flow replication of user's communication to this RTP receiving port of recording server;
The each RTP data flow receiving is stored as different RTP data flow recording files by step 4. recording server, and user's communication information and RTP data flow recording file are associated, End of Tape;
In this step, recording server, before to save data, generates the filename of this port rtp streaming recording file of preservation according to receiving port number, calling number, called number, call time started.And while once conversing, at least there is the two-way RTP data flow of both call sides, the identification information SSID (Synchronization Source identifier) of two-way RTP will can be not identical, so recording server can deposit two-way or multichannel rtp streaming in same RTP data flow recording file in the time of save data.When recording server save data, the RTP data message that each is received increases additional timestamp information, length information, then deposits in successively in recording file by receiving sequence.The time that arrives recording server in view of RTP data flow message is periodically substantially, therefore in this step, recording server first carries out partial buffering by RTP data message by port, then by recording server timing is unified, each buffer to ports data is preserved.
When step 5. user needs playback, cross recording Play Server according to user's communication information exchange the RTP data flow recording file of storing in recording server is inquired about, select the RTP data flow recording file needing;
Step 6. Play Server of recording obtains from recording server the RTP data flow recording file inquiring, and it is decoded and audio mixing, generates general format voice document, is transferred to user place and plays.
In this step, recording Play Server gets after RTP data flow recording file, preserve form by the content of file size, air time, data and read all RTP data messages in this recording file, then distinguish different RTP data flow by RTP data message SSID, different RTP data flow is decoded respectively, when decoding, adopt G729, the G711A of standard, G711 algorithm to decode.After having decoded, all RTP data flow acoustic informations are carried out to audio mixing by intensity, generate the call voice file of wav form.Generate after wav formatted voice file, audio record player downloads to user place by the call voice file of generation and plays.

Claims (10)

1.VOIP recording and Play System, it is characterized in that, comprise at least one recording client, at least one recording server and at least one recording Play Server, described each recording client is only connected with a recording server, and each recording Play Server is connected with all recording servers;
Described recording client, for when the user's communication, sends recording request to recording server, obtaining from recording server RTP receiving port, by the RTP data flow replication of user's communication to this RTP receiving port of recording server;
Described recording server, for receiving the recording request of client, recording client is opened to RTP receiving port, recording user call-information, the each RTP data flow receiving is stored as to different RTP data flow recording files, and user's communication information and RTP data flow recording file are associated, for the inquiry of recording Play Server and downloading and playing;
Described recording Play Server, for inquiry call-information function is provided to user, and in the time that user need to listen to recording substance, obtain corresponding RTP data flow recording file from recording server inquiry, this RTP data flow recording file is decoded and audio mixing, generate general format voice document, be transferred to user place and play.
2. VOIP recording as claimed in claim 1 and Play System, is characterized in that, described recording server can be opened multiple RTP receiving ports simultaneously, the corresponding recording request of each RTP receiving port.
3. VOIP recording as claimed in claim 1 and Play System, is characterized in that, described user's communication information comprises calling number, called number, the duration of call and call time started.
4. the VOIP as described in claim 1-3 any one recording and Play System, is characterized in that, described when the each RTP data flow receiving is stored as to different RTP data flow recording files, is that each RTP data message increases time of reception stamp information.
5. the recording of the VOIP as described in claim 1-3 any one and Play System, is characterized in that, preserved the RTP data flow of call each side in a RTP data flow recording file.
6.VOIP recording and player method, is characterized in that, comprises the following steps:
The client of recording when step 1. user's communication sends recording request to recording server;
Step 2. recording server receives recording request, opens RTP receiving port, recording user call-information;
Step 3. client of recording gets RTP receiving port from recording server, by the RTP data flow replication of user's communication to this RTP receiving port of recording server;
The each RTP data flow receiving is stored as different RTP data flow recording files by step 4. recording server, and user's communication information and RTP data flow recording file are associated, End of Tape;
When step 5. user needs playback, cross recording Play Server according to user's communication information exchange the RTP data flow recording file of storing in recording server is inquired about, select the RTP data flow recording file needing;
Step 6. Play Server of recording obtains from recording server the RTP data flow recording file inquiring, and it is decoded and audio mixing, generates general format voice document, is transferred to user place and plays.
7. VOIP recording as claimed in claim 6 and player method, is characterized in that, in step 2, the mode of described unlatching RTP receiving port is a RTP receiving port of each recording request unlatching.
8. VOIP recording as claimed in claim 6 and player method, is characterized in that, in step 2, described user's communication information comprises calling number, called number, the duration of call and call time started.
9. the VOIP as described in claim 6-8 any one recording and player method, is characterized in that, in step 4, described when the each RTP data flow receiving is stored to different RTP data flow recording files, is that each RTP data message increases time of reception stamp information.
10. the recording of the VOIP as described in claim 6-8 any one and player method, it is characterized in that, in step 4, the each RTP data flow receiving is stored as different RTP data flow recording files by recording server, concrete, the RTP data flow of each side in a call is saved as to a RTP data flow recording file.
CN201110380231.6A 2011-11-25 2011-11-25 VOIP (Voice Over Internet Protocol) recording and playing system and method Active CN102420815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110380231.6A CN102420815B (en) 2011-11-25 2011-11-25 VOIP (Voice Over Internet Protocol) recording and playing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110380231.6A CN102420815B (en) 2011-11-25 2011-11-25 VOIP (Voice Over Internet Protocol) recording and playing system and method

Publications (2)

Publication Number Publication Date
CN102420815A CN102420815A (en) 2012-04-18
CN102420815B true CN102420815B (en) 2014-08-06

Family

ID=45945050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110380231.6A Active CN102420815B (en) 2011-11-25 2011-11-25 VOIP (Voice Over Internet Protocol) recording and playing system and method

Country Status (1)

Country Link
CN (1) CN102420815B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769633A (en) * 2012-08-03 2012-11-07 深圳中兴网信科技有限公司 Call recording system and call recording method
CN103905670A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(深圳)有限公司 VoIP recording method and device
CN103345930B (en) * 2013-06-14 2016-04-13 小米科技有限责任公司 data synthesis method, device and terminal
CN103701803B (en) * 2013-12-26 2017-02-08 迈普通信技术股份有限公司 Recording control system
CN106777326B (en) * 2017-01-10 2020-03-17 泰康保险集团股份有限公司 Method and device for playing sound recording file
CN108174008A (en) * 2017-12-22 2018-06-15 天津七二通信广播股份有限公司 A kind of voice packet storage method for communication speech Transmission system
CN109787966B (en) * 2018-12-29 2020-12-01 北京金山安全软件有限公司 Monitoring method and device based on wearable device and electronic device
CN111586778A (en) * 2020-04-17 2020-08-25 上海中通吉网络技术有限公司 Communication method, device and storage medium in weak network environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159790A (en) * 2007-07-26 2008-04-09 深圳市共进电子有限公司 Voice recording method and method thereof of ADSL broadband router
CN101437047A (en) * 2008-12-09 2009-05-20 中兴通讯股份有限公司 Method, system and media server for playback/ sound-recording for user terminal
CN101605184A (en) * 2009-07-23 2009-12-16 杭州华三通信技术有限公司 A kind of method and apparatus of VoIP recording
CN101710928A (en) * 2009-10-29 2010-05-19 北京佳讯飞鸿电气股份有限公司 Method for centrally recording multi-media dispatcher
CN102137199A (en) * 2011-03-31 2011-07-27 华为技术有限公司 Method, device and system for call recording in call center

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159790A (en) * 2007-07-26 2008-04-09 深圳市共进电子有限公司 Voice recording method and method thereof of ADSL broadband router
CN101437047A (en) * 2008-12-09 2009-05-20 中兴通讯股份有限公司 Method, system and media server for playback/ sound-recording for user terminal
CN101605184A (en) * 2009-07-23 2009-12-16 杭州华三通信技术有限公司 A kind of method and apparatus of VoIP recording
CN101710928A (en) * 2009-10-29 2010-05-19 北京佳讯飞鸿电气股份有限公司 Method for centrally recording multi-media dispatcher
CN102137199A (en) * 2011-03-31 2011-07-27 华为技术有限公司 Method, device and system for call recording in call center

Also Published As

Publication number Publication date
CN102420815A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
CN102420815B (en) VOIP (Voice Over Internet Protocol) recording and playing system and method
US10511646B2 (en) System and method for delivering content
KR101176648B1 (en) A system and method for erasure coding of streaming media
KR101183430B1 (en) A system and method for receiver driven streaming in a peer-to-peer network
KR101159332B1 (en) A system and method for distributed streaming of scalable media
US8639830B2 (en) System and method for streaming audio
US9635335B2 (en) System and methods for recording a compressed video and audio stream
US7548609B2 (en) Process for scalable conversation recording
US8375137B2 (en) System and method for streaming audio using a send queue
US20040172656A1 (en) Two-way audio/video conferencing system
KR101440179B1 (en) Method and system for real-time media synchronisation across a network
TW201251406A (en) Network streaming of video data using byte range requests
WO2014096968A2 (en) Server-based content tracking apparatus and method
CN101115011A (en) Stream media playback method, device and system
CN108111872B (en) Audio live broadcasting system
US8437266B2 (en) Flow through call control
CN102546537B (en) The processing method and system of media information
JP2001313678A (en) Method for synchronizing reproduction of audio data in computer network
CN114025191B (en) Webrtc low-delay live broadcast method and system based on Nginx-rtmp
CN103501321B (en) remote multimedia network transmission platform
Rudkin et al. Real-time applications on the Internet
WO2010130193A1 (en) Device, method for controlling audio media packet transmission and audio media server
US20090006581A1 (en) Method and System For Downloading Streaming Content
CN102158615B (en) LINUX-based media server in (Voice Over Internet Protocol) system and playback method of media server
Cooperstock et al. The recording studio that spanned a continent

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