CN105120049B - A kind of home gateway and its method for realizing telephonograph - Google Patents

A kind of home gateway and its method for realizing telephonograph Download PDF

Info

Publication number
CN105120049B
CN105120049B CN201510566935.0A CN201510566935A CN105120049B CN 105120049 B CN105120049 B CN 105120049B CN 201510566935 A CN201510566935 A CN 201510566935A CN 105120049 B CN105120049 B CN 105120049B
Authority
CN
China
Prior art keywords
home gateway
audio file
file
telephonograph
recording
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
CN201510566935.0A
Other languages
Chinese (zh)
Other versions
CN105120049A (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

Abstract

The invention discloses a kind of home gateway and its method for realizing telephonograph, this method to include:Home gateway establishes talking link according to caller phone incoming call message and called subscriber;Home gateway establishes audio file after detecting record button signal, and generates the file header of audio file;PCM data from phone side is carried out coding compression by home gateway, and above-mentioned audio file is write together with from the speech data of network side;Home gateway terminates speech data write-in according to on-hook signal, and updates the file header of audio file, completes telephonograph;Home gateway realizes the playback of telephonograph using recording broadcasting button according to off hook signal.The present invention, in the case where not increasing hardware cost, for home gateway user provide easy to operate, recording quality is higher, without ancillary cost, without telecommunication department register and obtain the convenient call recording method of recording file.

Description

A kind of home gateway and its method for realizing telephonograph
Technical field
The present invention relates to family gateway equipment field, and in particular to a kind of home gateway and its side for realizing telephonograph Method.
Background technology
Home gateway forum tissue is a formal industry forum tissue established in nineteen ninety-five, and it takes the lead in using family Gateway represents a centralized intelligence interface, and the access network outside family and home Intranet connected.Family Definition of the gateway forum tissue to home gateway is that a kind of simple, intelligent, standardization, flexible whole home network connects Mouth unit, communication signal can be received from different external networks, some smart machine is delivered a signal to by home network.
At present, the family gateway equipment of various forms is gradually popularized, and wherein voice call is a main function.But It is that nowadays user, if necessary to be recorded in communication process, there is following several sides when using the telephone service of home gateway Method:First, a telephone recording box is concatenated on the telephone line;Second, use dtelegraphone;3rd, make in communication process With hands-free, recorded with other sound pick-up outfits;4th, register sound-recording business in telecommunication department.But above-mentioned four kinds of recording sides Method exist cost it is higher, it is cumbersome, can not ensure recording quality and obtain recording file difficulty the shortcomings of.
The content of the invention
The technical problems to be solved by the invention be solve existing home gateway exist in terms of telephonograph cost compared with It is high, cumbersome, can not ensure recording quality and obtain recording file difficulty the problem of.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is to provide a kind of home gateway and realizes phone The method of recording, comprises the following steps:
Home gateway establishes talking link according to caller phone incoming call message and called subscriber;
Home gateway establishes audio file after detecting record button signal, and generates the file header of audio file;
PCM data from phone side is carried out coding compression by home gateway, and with the speech data one from network side Play the above-mentioned audio file of write-in;
Home gateway terminates speech data write-in according to on-hook signal, and updates the file header of audio file, completes phone Recording;
Home gateway realizes the playback of telephonograph using recording broadcasting button according to off hook signal.
In the above-mentioned technical solutions, the record button and the recording broadcasting button may be configured as single special key or Person's special key combines.
In the above-mentioned technical solutions, the home gateway by the PCM data from phone side and it is described come automatic network The speech data of side writes the audio file with binaural format together.
In the above-mentioned technical solutions, the home gateway by the PCM data from phone side and it is described come automatic network The audio file is write with monophonic format after the speech data superposition of side.
In the above-mentioned technical solutions, the audio file is wav file.
Present invention also offers a kind of home gateway, including telephony unit, for establish calling subscribe and called subscriber it Between talking link, it is characterised in that also including recording elements and broadcast unit, the recording elements are used to realize that phone is recorded Sound, the broadcast unit realize the playback of telephonograph using recording broadcasting button according to off hook signal, wherein, the recording Unit includes:
Audio file establishes unit, after the talking link between calling subscribe and called subscriber is established, is pressed according to recording Key signals establish audio file, and generate the file header of audio file;
Audio file writing unit, after the PCM data from phone side is carried out coding compression by home gateway, and from net The speech data of network side writes above-mentioned audio file together, and according to on-hook signal, terminates speech data write-in, renewal audio text The file header of part, complete telephonograph.
In the above-mentioned technical solutions, the record button and the recording broadcasting button may be configured as single special key or Person's special key combines.
In the above-mentioned technical solutions, the home gateway by the PCM data from phone side and it is described come automatic network The speech data of side writes the audio file with binaural format together.
In the above-mentioned technical solutions, the home gateway by the PCM data from phone side and it is described come automatic network The audio file is write with monophonic format after the speech data superposition of side.
In the above-mentioned technical solutions, the audio file is wav file.
The present invention, in the case where not increasing hardware cost, by increasing software module, provided for home gateway user It is easy to operate, recording quality is higher, without ancillary cost, without telecommunication department register and obtain the convenient phone of recording file The way of recording.
Brief description of the drawings
Fig. 1 is the method flow diagram that a kind of home gateway provided in an embodiment of the present invention realizes telephonograph;
Fig. 2 is a kind of structural representation of home gateway provided in an embodiment of the present invention;
Fig. 3 is the specific implementation method flow chart that home gateway provided in an embodiment of the present invention realizes telephonograph.
Embodiment
The present invention is described in detail with reference to specification drawings and specific embodiments.
The embodiments of the invention provide a kind of method that home gateway realizes telephonograph, as shown in figure 1, methods described bag Include following steps:
Step 101, home gateway establish talking link according to caller phone incoming call message and called subscriber.
Step 102, home gateway establish audio file after detecting record button signal, and generate the file of audio file Head.
It should be noted that record button can be arranged to single special key, such as " * " key or " # " key, can also set It is set to special key combination, such as " * # " keys.Audio file is wav file, and wav file is a kind of sound of Microsoft's exploitation File format.
Step 103, home gateway are by the PCM (Pulse Code Modulation, pulse code modulation) from phone side Data carry out coding compression, and write audio file together with from the speech data of network side and (be appended to the text of audio file Behind part head).
It should be noted that can be by the PCM data from phone side and the speech data from network side together with double Channel format writes audio file, can also be superimposed upon the PCM data from phone side and the speech data from network side Together, write in audio file with monophonic format, or in the audio file of the other forms of write-in, will not be described here.This Invention, the speech data of the phone side being linked into home gateway and network side is directly write into audio file, and preserve and be in In nonvolatile memory on the gateway of front yard, reduce the interference of the introducings such as external call line, there is the advantages of voice quality is high.
The possible species of speech data form from network side is a lot, needs to carry out turning for phonetic matrix in the case of necessary Change.
Step 104, home gateway terminate speech data write-in according to on-hook signal, and update the file header of audio file, Complete telephonograph.
Step 105, home gateway realize the playback of telephonograph using recording broadcasting button according to off hook signal.
It should be noted that almost all of audio player supports wav file form, therefore the broadcasting of recording file will Very convenient, being stored as the audio file of other forms can also play.User can also pass through Ethernet, WI-FI (Wireless Fidelity, Wireless Fidelity) or USB (Universal Serial Bus, USB) interface etc. The recording file being stored in home gateway is taken out.
Recording broadcasting button may be configured as single special key or special key combination.
The embodiment of the present invention additionally provides a kind of home gateway, as shown in Fig. 2 including telephony unit 10, for establishing master The talking link between user and called subscriber, in addition to recording elements 20 and broadcast unit 30 are, recording elements 20 are used for real Existing telephonograph, broadcast unit 30 realize the playback of telephonograph using recording broadcasting button according to off hook signal.Wherein, record Unit 20 processed includes:
Audio file establishes unit 201, after the talking link between calling subscribe and called subscriber is established, according to recording Push button signalling establishes audio file, and generates the file header of audio file;
Audio file writing unit 202, after the PCM data from phone side is carried out coding compression by home gateway, with coming The speech data of automatic network side writes above-mentioned audio file together, and according to on-hook signal, terminates speech data write-in, update sound The file header of frequency file, complete telephonograph.
As shown in figure 3, home gateway realizes that the specific embodiment of telephonograph is as follows:
Step 201, home gateway establish audio call, off-hook are called, in talking state.
Step 202, home gateway detect that user has pressed record button (such as " * " key or " # " key) or recording Macintosh (such as " * # " buttons), audio file is established, and generate the file header of audio file.
PCM data from phone side is carried out coding compression by step 203, home gateway, and with the language from network side Sound data write above-mentioned audio file in the form of two-channel together.
It should be noted that after can also the PCM data from phone side be superimposed with the speech data from network side Audio file is write with monophonic format.
After step 204, home gateway detect user's on-hook, terminate speech data write-in, and update the text of audio file Part head, complete telephonograph.
Step 205, home gateway detect user's off-hook, the recording broadcasting button pressed according to user (such as " #* " button) Start playback recording.
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 that the knot made under the enlightenment of the present invention Structure changes, and the technical schemes that are same or similar to the present invention, each falls within protection scope of the present invention.

Claims (6)

1. a kind of method that home gateway realizes telephonograph, it is characterised in that comprise the following steps:
Home gateway establishes talking link according to caller phone incoming call message and called subscriber;
Home gateway establishes audio file after detecting record button signal, and generates the file header of audio file;
PCM data from phone side is carried out coding compression by home gateway, and is write together with from the speech data of network side Enter above-mentioned audio file, be stored in the nonvolatile memory on home gateway;
Home gateway terminates speech data write-in according to on-hook signal, and updates the file header of audio file, completes telephonograph;
Home gateway realizes the playback of telephonograph using recording broadcasting button according to off hook signal;
The home gateway is by the PCM data from phone side and the speech data from network side together with alliteration Road form writes the audio file;
Or the PCM data from phone side and the speech data from network side are superimposed by the home gateway The audio file is write with monophonic format afterwards.
2. the method as described in claim 1, it is characterised in that the record button and the recording broadcasting button may be configured as Single special key or special key combination.
3. the method as described in any one of claim 1-2 claim, it is characterised in that the audio file is wav file.
4. a kind of home gateway, including telephony unit, for establishing the talking link between calling subscribe and called subscriber, it is special Sign is, in addition to recording elements and broadcast unit, and the recording elements are used to realize telephonograph, the broadcast unit according to Off hook signal, the playback of telephonograph is realized using recording broadcasting button, wherein, the recording elements include:
Audio file establishes unit, after the talking link between calling subscribe and called subscriber is established, is believed according to record button Number audio file is established, and generate the file header of audio file;
Audio file writing unit, after the PCM data from phone side is carried out coding compression by home gateway, and from network side Speech data write above-mentioned audio file together, be stored in the nonvolatile memory on home gateway, and according to on-hook Signal, terminate speech data write-in, update the file header of audio file, complete telephonograph;
The home gateway is by the PCM data from phone side and the speech data from network side together with alliteration Road form writes the audio file;
Or the PCM data from phone side and the speech data from network side are superimposed by the home gateway The audio file is write with monophonic format afterwards.
5. home gateway as claimed in claim 4, it is characterised in that the record button and the recording broadcasting button can be set It is set to single special key or special key combination.
6. the home gateway as described in any one of claim 4-5 claim, it is characterised in that the 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 CN105120049A (en) 2015-12-02
CN105120049B true 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)

Families Citing this family (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
CN108881180B (en) * 2018-05-30 2021-11-09 中国联合网络通信集团有限公司 Recording method and recording system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224792B2 (en) * 2001-08-01 2007-05-29 Qwest Communications International, Inc. Personalized telephone announcement

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105120049A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN103795834A (en) Recording method capable of uploading conversation recording file of smart phone and dedicated recording apparatus
CN101277338A (en) Method for recording downstream voice signal of communication terminal as well as the communication terminal
CN105120049B (en) A kind of home gateway and its method for realizing telephonograph
CN101378425B (en) System for implementing repeat play of obligate words before talking between call party and called party
CN110381215B (en) Audio distribution method and device, storage medium and computer equipment
CN104767856A (en) Desktop telephone system
CN105519148A (en) System for switching and outputting sender-controlled incoming ringtone and method therefor
CN104158987B (en) A kind of method for lifting artificial telephone traffic system service quality
CN100505801C (en) Method for joining background voice in call and its system
JP4352138B2 (en) Broadcast call system on mobile phone
CN101510906A (en) Response method of mobile terminal and mobile terminal applying the same
CN1984353B (en) Method and device for mixing sound
CN103166837A (en) Media gateway and method for improving voice quality of conference telephone
CN101340723A (en) Method and apparatus for implementing audio and video ring back tone
KR20050104783A (en) Phone alarm method for mobile communication device
CN109510890A (en) A kind of built-in method and apparatus recorded of bluetooth conversation
CN209561009U (en) Recording device
CN201114293Y (en) System for accomplishing repeated playing of advanced leaving word before talking between caller and the called
CN101193380B (en) A voice mailbox system based on mobile phone
JPH09200303A (en) Telephone set
JPH10271204A (en) Automatic answering device and telephone set provided with automatic answering function
CN105577465A (en) Port number determination processing and determining methods and port number determination processing and determining devices
CN109495852A (en) A kind of type radio station calling system with DA compatibility
KR200440650Y1 (en) Voice Message Telephone
CN102833136A (en) Digital home control method and wireless terminal

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