CN105120049A - Home gateway and method for realizing telephone recording thereof - Google Patents

Home gateway and method for realizing telephone recording thereof Download PDF

Info

Publication number
CN105120049A
CN105120049A CN201510566935.0A CN201510566935A CN105120049A CN 105120049 A CN105120049 A CN 105120049A CN 201510566935 A CN201510566935 A CN 201510566935A CN 105120049 A CN105120049 A CN 105120049A
Authority
CN
China
Prior art keywords
home gateway
audio file
file
recording
speech 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.)
Granted
Application number
CN201510566935.0A
Other languages
Chinese (zh)
Other versions
CN105120049B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201510566935.0A priority Critical patent/CN105120049B/en
Publication of CN105120049A publication Critical patent/CN105120049A/en
Application granted granted Critical
Publication of CN105120049B publication Critical patent/CN105120049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a home gateway and a method for realizing telephone recording thereof. The method comprises the following steps that: the home gateway establishes a communication link according to a calling telephone incoming call message and a called user; the home gateway establishes an audio file after detection of a recording key signal, and generates a file header of the audio file; the home gateway performs encoding and compression on PCM (Pulse Code Modulation) data from a telephone side, and writes the encoded and compressed PCM data into the audio file together with voice data from a network side; the home gateway ends voice data writing according to an on-hook signal, and updates the file header of the audio file to finish the telephone recording; and the home gateway realizes playback of telephone audio through an audio playing key according to an off-hook signal. The telephone recording method for a home gateway user has the advantages of easiness and convenience in operation, high recording quality, avoidance of extra cost, avoidance of registration in a telecom department and convenience in acquisition of audio files under the situation of not increasing the hardware cost.

Description

A kind of home gateway and realize the method for telephonograph
Technical field
The present invention relates to family gateway equipment field, be specifically related to a kind of home gateway and realize the method for telephonograph.
Background technology
Home gateway forum tissue is a formal industry forum tissue set up in nineteen ninety-five, and it takes the lead in adopting home gateway to represent a centralized intelligence interface, the access network of family outside and home Intranet is connected.Home gateway forum tissue is a kind of simple, intelligent, standardized, whole home network interface unit flexibly to the definition of home gateway, communication signal can be received from different external networks, give certain smart machine by home network transmission of signal.
At present, the family gateway equipment of various form is popularized gradually, and wherein voice call is a main function.But nowadays user is when using the telephone service of home gateway, if need to record in communication process, there is following several method: the first, being connected in series a telephone recording box on the telephone line; The second, use dtelegraphone; 3rd, use hands-free in communication process, record with other sound pick-up outfit; 4th, at telecommunication department registration sound-recording business.But above-mentioned four kinds of ways of recording exist, and cost is higher, complex operation, cannot ensure recording quality and obtain recording file difficulty etc. shortcoming.
Summary of the invention
Technical problem to be solved by this invention solves that existing home gateway exists in telephonograph that cost is higher, complex operation, cannot ensure recording quality and obtain the problem of recording file difficulty.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of method that home gateway realizes telephonograph, comprises the following steps:
Home gateway sets up talking link according to caller phone incoming call message and called subscriber;
Home gateway sets up audio file after record button signal being detected, and generates the file header of audio file;
PCM data from phone side are carried out compression coding by home gateway, and write above-mentioned audio file together with the speech data from network side;
Home gateway terminates speech data write according to on-hook signal, and upgrades the file header of audio file, completes telephonograph;
Home gateway, according to off hook signal, utilizes recording broadcasting button to realize the playback of telephonograph.
In technique scheme, button is play in described record button and described recording can be set to single special key or special key combination.
In technique scheme, the described PCM data from phone side are write described audio file with binaural format by described home gateway together with the described speech data from network side.
In technique scheme, described home gateway writes described audio file by after the described PCM data from phone side and the superposition of the described speech data from network side with monophonic format.
In technique scheme, described audio file is wav file.
Present invention also offers a kind of home gateway, comprise telephony unit, for setting up the talking link between calling subscriber and called subscriber, it is characterized in that, also comprise recording elements and broadcast unit, described recording elements is used for realizing telephonograph, described broadcast unit is according to off hook signal, utilize recording broadcasting button to realize the playback of telephonograph, wherein, described recording elements comprises:
Audio file sets up unit, and the talking link between calling subscriber and called subscriber is set up audio file according to record button signal, and generated the file header of audio file after setting up;
Audio file writing unit, home gateway writes above-mentioned audio file after the PCM data from phone side are carried out compression coding together with the speech data from network side, and according to on-hook signal, terminate speech data write, upgrade the file header of audio file, complete telephonograph.
In technique scheme, button is play in described record button and described recording can be set to single special key or special key combination.
In technique scheme, the described PCM data from phone side are write described audio file with binaural format by described home gateway together with the described speech data from network side.
In technique scheme, described home gateway writes described audio file by after the described PCM data from phone side and the superposition of the described speech data from network side with monophonic format.
In technique scheme, described audio file is wav file.
The present invention, when not increasing hardware cost, by increasing software module, for home gateway user provide easy and simple to handle, recording quality is higher, without the need to ancillary cost, without the need to obtaining recording file call recording method easily in telecommunication department registration.
Accompanying drawing explanation
Fig. 1 realizes the method flow diagram of telephonograph for a kind of home gateway that the embodiment of the present invention provides;
The structural representation of a kind of home gateway that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 realizes the specific implementation method flow chart of telephonograph for home gateway that the embodiment of the present invention provides.
Embodiment
Below in conjunction with specification drawings and specific embodiments, the present invention is described in detail.
Embodiments provide a kind of method that home gateway realizes telephonograph, as shown in Figure 1, said method comprising the steps of:
Step 101, home gateway set up talking link according to caller phone incoming call message and called subscriber.
Step 102, home gateway set up audio file after record button signal being detected, and generate the file header of audio file.
It should be noted that, record button can be arranged to single special key, as " * " key or " # " key etc., also can be set to special key combination, as " * # " key etc.Audio file is wav file, and wav file is a kind of AIFC of Microsoft's exploitation.
Step 103, home gateway are by the PCM (PulseCodeModulation from phone side, pulse code modulation) data carry out compression coding, and the audio file file header of audio file (be appended to after) is write together with the speech data from network side.
It should be noted that, PCM data from phone side can be write audio file with binaural format together with the speech data from network side, also by the PCM data from phone side and can be superimposed from the speech data of network side, with in monophonic format write audio file, or write in the audio file of other form, do not repeat at this.The present invention, directly writes audio file by the speech data of the phone side be linked in home gateway and network side, and is kept in the nonvolatile memory on home gateway, decrease the interference that external call line etc. is introduced, have the advantage that voice quality is high.
Speech data form possibility kind from network side is a lot, needs the conversion carrying out phonetic matrix in necessary situation.
Step 104, home gateway terminate speech data write according to on-hook signal, and upgrade the file header of audio file, complete telephonograph.
Step 105, home gateway, according to off hook signal, utilize recording broadcasting button to realize the playback of telephonograph.
It should be noted that, nearly all audio player all supports wav file form, therefore the broadcasting of recording file is by very convenient, and the audio file being stored as other form also can be play.User can also pass through Ethernet, WI-FI (WirelessFidelity, Wireless Fidelity) or USB (UniversalSerialBus, USB) interface etc. and be taken out by the recording file be stored in home gateway.
Button is play in recording can be set to single special key or special key combination.
The embodiment of the present invention additionally provides a kind of home gateway, as shown in Figure 2, comprise telephony unit 10, for setting up the talking link between calling subscriber and called subscriber, also comprise recording elements 20 and broadcast unit 30, recording elements 20 is for realizing telephonograph, and broadcast unit 30, according to off hook signal, utilizes recording broadcasting button to realize the playback of telephonograph.Wherein, recording elements 20 comprises:
Audio file sets up unit 201, and the talking link between calling subscriber and called subscriber is set up audio file according to record button signal, and generated the file header of audio file after setting up;
Audio file writing unit 202, home gateway writes above-mentioned audio file after the PCM data from phone side are carried out compression coding together with the speech data from network side, and according to on-hook signal, terminate speech data write, upgrade the file header of audio file, complete telephonograph.
As shown in Figure 3, to realize the specific embodiment of telephonograph as follows for home gateway:
Step 201, home gateway set up audio call, and called off-hook, is in talking state.
Step 202, home gateway detect that user has pressed record button (as " * " key or " # " key) or recording Macintosh (as " * # " button), set up audio file, and generate the file header of audio file.
PCM data from phone side are carried out compression coding by step 203, home gateway, and write above-mentioned audio file with the form of dual track together with the speech data from network side.
It should be noted that, after also the PCM data from phone side can being superposed with the speech data from network side, write audio file with monophonic format.
After step 204, home gateway detect user's on-hook, terminate speech data write, and upgrade the file header of audio file, complete telephonograph.
Step 205, home gateway detect user's off-hook, start playback recording according to recording broadcasting button (as " #* " button) that user presses.
Step 206, home gateway detect user's on-hook, terminate playback recording.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.

Claims (10)

1. home gateway realizes a method for telephonograph, it is characterized in that, comprises the following steps:
Home gateway sets up talking link according to caller phone incoming call message and called subscriber;
Home gateway sets up audio file after record button signal being detected, and generates the file header of audio file;
PCM data from phone side are carried out compression coding by home gateway, and write above-mentioned audio file together with the speech data from network side;
Home gateway terminates speech data write according to on-hook signal, and upgrades the file header of audio file, completes telephonograph;
Home gateway, according to off hook signal, utilizes recording broadcasting button to realize the playback of telephonograph.
2. the method for claim 1, is characterized in that, button is play in described record button and described recording can be set to single special key or special key combination.
3. the method for claim 1, is characterized in that, the described PCM data from phone side are write described audio file with binaural format by described home gateway together with the described speech data from network side.
4. the method for claim 1, is characterized in that, described home gateway writes described audio file by after the described PCM data from phone side and the superposition of the described speech data from network side with monophonic format.
5. the method as described in any one of claim 1-4 claim, is characterized in that, described audio file is wav file.
6. a home gateway, comprise telephony unit, for setting up the talking link between calling subscriber and called subscriber, it is characterized in that, also comprise recording elements and broadcast unit, described recording elements is used for realizing telephonograph, described broadcast unit is according to off hook signal, utilize recording broadcasting button to realize the playback of telephonograph, wherein, described recording elements comprises:
Audio file sets up unit, and the talking link between calling subscriber and called subscriber is set up audio file according to record button signal, and generated the file header of audio file after setting up;
Audio file writing unit, home gateway writes above-mentioned audio file after the PCM data from phone side are carried out compression coding together with the speech data from network side, and according to on-hook signal, terminate speech data write, upgrade the file header of audio file, complete telephonograph.
7. home gateway as claimed in claim 6, is characterized in that, button is play in described record button and described recording can be set to single special key or special key combination.
8. home gateway as claimed in claim 6, is characterized in that, the described PCM data from phone side are write described audio file with binaural format by described home gateway together with the described speech data from network side.
9. home gateway as claimed in claim 6, is characterized in that, described home gateway writes described audio file by after the described PCM data from phone side and the superposition of the described speech data from network side with monophonic format.
10. the home gateway as described in any one of claim 6-9 claim, is characterized in that, described audio file is wav file.
CN201510566935.0A 2015-09-07 2015-09-07 A kind of home gateway and its method for realizing telephonograph Active CN105120049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510566935.0A CN105120049B (en) 2015-09-07 2015-09-07 A kind of home gateway and its method for realizing telephonograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510566935.0A CN105120049B (en) 2015-09-07 2015-09-07 A kind of home gateway and its method for realizing telephonograph

Publications (2)

Publication Number Publication Date
CN105120049A true CN105120049A (en) 2015-12-02
CN105120049B CN105120049B (en) 2018-03-20

Family

ID=54667930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510566935.0A Active CN105120049B (en) 2015-09-07 2015-09-07 A kind of home gateway and its method for realizing telephonograph

Country Status (1)

Country Link
CN (1) CN105120049B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107293305A (en) * 2017-06-21 2017-10-24 惠州Tcl移动通信有限公司 It is a kind of to improve the method and its device of recording quality based on blind source separation algorithm
CN108881180A (en) * 2018-05-30 2018-11-23 中国联合网络通信集团有限公司 The way of recording and recording system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030026416A1 (en) * 2001-08-01 2003-02-06 Fusco Marc E. Personalized telephone announcement
CN101365011A (en) * 2007-08-07 2009-02-11 友讯科技股份有限公司 System and method for storing and reading telephone voice answering and recording through internet storage
CN102299988A (en) * 2010-06-24 2011-12-28 杭州华三通信技术有限公司 Method and device for implementing telephone recording

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030026416A1 (en) * 2001-08-01 2003-02-06 Fusco Marc E. Personalized telephone announcement
CN101365011A (en) * 2007-08-07 2009-02-11 友讯科技股份有限公司 System and method for storing and reading telephone voice answering and recording through internet storage
CN102299988A (en) * 2010-06-24 2011-12-28 杭州华三通信技术有限公司 Method and device for implementing telephone recording

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107293305A (en) * 2017-06-21 2017-10-24 惠州Tcl移动通信有限公司 It is a kind of to improve the method and its device of recording quality based on blind source separation algorithm
CN108881180A (en) * 2018-05-30 2018-11-23 中国联合网络通信集团有限公司 The way of recording and recording system
CN108881180B (en) * 2018-05-30 2021-11-09 中国联合网络通信集团有限公司 Recording method and recording system

Also Published As

Publication number Publication date
CN105120049B (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN1172515C (en) Method of generating ringing sound using tune rhyme and communication terminal equipment
CN103401984A (en) Bluetooth headset and communication device
CN103250205A (en) Audio fingerprint differences for end-to-end quality of experience measurement
CN105653237B (en) Audio play control method, audio broadcasting control system and terminal
CN102833432A (en) Method, device and system for forwarding incoming calls
CN102769633A (en) Call recording system and call recording method
CN101277338A (en) Method for recording downstream voice signal of communication terminal as well as the communication terminal
CN101521866A (en) Method and device for forwarding call
CN105120049A (en) Home gateway and method for realizing telephone recording thereof
CN102143573B (en) Method and device for data transmission
CN103067455A (en) Voice talkback implementation method and device based on Internet
CN102413216A (en) Method and system for realizing Android intelligent mobile terminal voice communication
CN1885872A (en) Automatic recording type mobile phone capable of recording for telephone
CN103002107A (en) Method, device and terminal for processing incoming call information
RU2368950C2 (en) System, method and processor for sound reproduction
CN105519148A (en) System for switching and outputting sender-controlled incoming ringtone and method therefor
CN1984353B (en) Method and device for mixing sound
CN101848259A (en) Speech processing method and system for digital family fixed telephone
CN101510906A (en) Response method of mobile terminal and mobile terminal applying the same
CN103685220A (en) High Definition Audio Distribution System
CN104158987B (en) A kind of method for lifting artificial telephone traffic system service quality
CN103166837A (en) Media gateway and method for improving voice quality of conference telephone
CN111131595B (en) Method, apparatus and storage medium for controlling telephone speaker
CN100411403C (en) Network telephone terminal and network telephone calling, hearing method
JP2007104184A (en) Information storage device, and information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant