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
Application number
CN201510566935.0A
Other languages
Chinese (zh)
Other versions
CN105120049A (en
Inventor
李超纯
王功乾
覃洪清
张涛
Original Assignee
烽火通信科技股份有限公司
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 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
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

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 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 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)

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 杭州华三通信技术有限公司 Implemented method and apparatus for recording telephone

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 杭州华三通信技术有限公司 Implemented method and apparatus for recording telephone

Also Published As

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

Similar Documents

Publication Publication Date Title
US5036513A (en) Method of and apparatus for integrated voice (audio) communication simultaneously with "under voice" user-transparent digital data between telephone instruments
USRE34536E (en) Call management system with protocol converter and port controller
KR100594152B1 (en) Earphone jack deleting power-noise and the method
CN102340599B (en) Processing method for call of terminal, terminal and processing system
US20070167188A1 (en) A system and a device for mobile radio communication
KR20070024262A (en) Wireless communication terminal outputting information of addresser by voice and its method
EP1178651A3 (en) Data recording system for storing the contents of telephone calls made by internal and mobile telephones having memory card data storage function
JPH0870366A (en) Method for recording and reproducing voice message and communication equipment
JP3125407U (en) Internet phone with female connector for audio equipment
JPH07111528A (en) Automatic answering telephone system
CN1909646A (en) Video communication method and system
JP3877951B2 (en) Improvement of digital communication equipment or related equipment
US5956389A (en) Message monitoring method in keyphone system
CN1859491A (en) Free interferencing method
CN100484179C (en) Simple portable telepone set and system with video record response information function
JPH09326858A (en) Automatic answering telephone set
JPH10210118A (en) Communication device and controlling method for network voice messaging system
JP2003125448A (en) Information terminal, communication method using same, and program therefor
CN105120048B (en) The recording method of call voice and system
JP3912003B2 (en) Communication device
ES2238686T3 (en) Dictar device with data transmission without threads.
EP2391100A1 (en) Method and apparatus for answering and recording automatically in visual telephone service
CN1798362A (en) Message for sending short message of voice
US8391187B2 (en) Method and communication terminal device for exchanging data during or after a communication connection
ES2257079T3 (en) Circuit and procedure to register and play voice and other sounds in digital mobile telephone devices.

Legal Events

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