CN100350791C - Method for realizing network IP telephone function using cable television digital set-top box - Google Patents

Method for realizing network IP telephone function using cable television digital set-top box Download PDF

Info

Publication number
CN100350791C
CN100350791C CNB2005101042888A CN200510104288A CN100350791C CN 100350791 C CN100350791 C CN 100350791C CN B2005101042888 A CNB2005101042888 A CN B2005101042888A CN 200510104288 A CN200510104288 A CN 200510104288A CN 100350791 C CN100350791 C CN 100350791C
Authority
CN
China
Prior art keywords
top box
network
speech data
interface
phone
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
CNB2005101042888A
Other languages
Chinese (zh)
Other versions
CN1767591A (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.)
Hisense Broadband Multimedia Technology (BVI) Co.,Ltd.
Original Assignee
Hisense Group Co Ltd
Qingdao Hisense Electronics 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 Hisense Group Co Ltd, Qingdao Hisense Electronics Co Ltd filed Critical Hisense Group Co Ltd
Priority to CNB2005101042888A priority Critical patent/CN100350791C/en
Publication of CN1767591A publication Critical patent/CN1767591A/en
Application granted granted Critical
Publication of CN100350791C publication Critical patent/CN100350791C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for realizing a network IP telephone function using a cable television digital set-top box, which belongs to the cable television and communications technology. The method comprises: connecting a codec module of a USB telephone with a CPU of the digital set-top box through an I/O interface; using 8KH sampling frequency and an A8BI encoding mode to encode speech into speech data according to G711 encoding; making the velocity of each way of speech data be 64 kbs; using a UDP mode to pack the speech data; selecting the size of speech data packets to make 16 bytes of data contained in each packet; transferring the speech data packets to IP once every 2 ms; transferring the speech data packets to an Ethernet network port through the IP via ARP; then transferring the speech data packets to a network through the network port; selecting signaling ICMP of the IP telephone, etc. The present invention utilizes the network feedback of the digital set-top box and a multimedia access channel to realize the function of the networks IP telephone through a USB interface; thus, the functions of the set-top box are greatly expanded. The present invention can be widely applied to families, hotels, etc.

Description

Realize the method for network IP telephone function with cable television digital set-top box
Technical field
The invention belongs to cable TV and communication technical field, more particularly relate to the design that realizes the method for network IP telephone function with cable television digital set-top box.
Background technology
The networking telephone is present emerging communication mode, but existing networking telephone cost is very high, is difficult to popularize in market.On the other hand, the development of present domestic Digital Television is swift and violent, and wired digital set-top box almost spreads to each family.But present top box of digital machine product only limits to receive audio/video broadcasting or data broadcasting, can not realize network IP telephone function, and function ratio is more single.
Summary of the invention
Purpose of the present invention just is to overcome above-mentioned shortcoming and defect, and a kind of method that realizes network IP telephone function with cable television digital set-top box is provided.It combines the cable television digital set-top box technology and the communication technology, utilizes the network return path and the multimedia access path of wired digital set-top box, realizes the function of network IP telephone by USB interface.Need not increase more hardware, expand the function of top box of digital machine greatly, for users provide more convenience, and cost is lower.
In order to achieve the above object, the present invention includes following steps:
(1) the coding decoder codec module with the USB phone is connected with the CPU of top box of digital machine by USB interface, constitutes the IP phone set-top box;
(2) according to the G711 coding, adopting 8KHz sample frequency and A8BI coded system, is speech data with speech coding, and making every road speech data speed is 64Kbs;
(3) adopt the user datagram protocol UDP mode that speech data is encapsulated, and select the size of VoP, make in each bag to comprise the 16bytes data;
(4) every 2ms transmits a VoP to IP, explains through the address that by IP agreement ARP is passed to Ethernet Ethernet network interface with VoP, is passed to network through Ethernet Ethernet network interface again.
The signaling of IP phone is selected control protocol message ICMP.As plain old telephone (PSTN), beating IP phone also will have processes such as call establishment, connection, release.Realize these processes, will control, the signaling of IP phone that Here it is by signaling.According to the suggestion of ITU, under framework agreement H.323, H.245, H.248 can realize the signaling of these IP phone, but will realize H.323, even simplify most, also need the bigger program space.For saving the memory headroom of set-top box, in implementation procedure, abandoned H.323, only with its some basic thoughts, in ICP/IP protocol, go to realize the IP phone signaling.The design selects ICMP (internet control message protocol) to realize the IP phone signaling.To be ICMP---IP---ARP---Ethernet. realize that with ICMP the IP phone signaling has two benefits to its basic procedure, the one, and ICMP ask the visitor in summation answering, the 2nd, realize that ICMP is fairly simple, its prototype or basic function are exactly the Ping function.These 2 had both met simple requirement, met the basic demand of IP phone signaling again, thereby can all signaling formats of self-defined IP phone and coding in the data of ICMP.A basic call flow is a normal course of communications from the overall process of calling out, release is communicated by letter in foundation.If improper communication process, major part is to support by timer or other signaling, in the middle of the detailed design implementation procedure, needs to consider all situations that may run into so that can accurately judge all that are taken place, determine next step the operation that should take.
The present invention utilizes the network return path of wired digital set-top box and the function that network IP telephone is realized in the multimedia access path, and wherein the network return path comprises INTELNET network interface or CABLE MODEM dual mode; The multimedia access path refers to the USB interface of set-top box.
IP phone part principle is as follows: select to have used the interface of very general Ethernet network interface as access network, and do not select SLIP or the MODEM interface as access network.In the Ethernet interface, the realization principle of IP phone is actual to be exactly the hierarchy of an ICP/IP protocol.This hierarchy is on the basis of the seven-layer structure of following SI, has done the ICP/IP protocol mechanism of suitable simplification.Because ICP/IP protocol is a huge and numerous and diverse architecture, almost contained all application on the network, the basis of this realization must could be realized in the system of powerful dedicated cpu.So,, adapt to the needs of this application platform to the cutting that ICP/IP protocol is simplified most according to the application request of set-top box.
The principle of IP phone voice data transmission is as follows: the process of making a phone call is the process that a voice signal transmits mutually.What plain old telephone was taked is Circuit-switched mode, and networking telephone employing is the mode of packet switching.In order to realize IP phone, must at first speech data be encapsulated, deliver to the destination according to certain Route Selection then.Because Network Transmission, certainly exist the phenomenons such as time-delay, shake, loss of data of voice signal.In order to reduce the loss of speech volume as far as possible, should take some measures as much as possible, guarantee the quality of voice.The consideration of comprehensive each side, speech coding can adopt 8KH sample frequency and A8BI coded system according to the coded system of G711, and every road speech data speed is 64Kb/s.This mode is compared with the 8kb/s data rate of compressed encoding G729, improve data transmission bauds, and kept voice quality, reduced numerous and diverse algorithm computing of the speech data compression and decompression of IP phone, can not use the DSP device, realize on the set-top box that IP phone becomes possibility thereby make.On the other hand, can consider the size of VoP,,, affect greatly for the IP phone voice quality in case lose if VoP is too big; If VoP is too little, need frequently to transmit, can reduce efficiency of transmission, and strengthen network load.Therefore to select the size of suitable VoP, take 2ms to transmit a VoP, in this bag, comprise 16bytes, make it can guarantee voice quality, be unlikely to again to cause excessive pressure to network.The design adopts the mode of UDP (user data protocol) to come speech data is encapsulated, contrast TCP mode encapsulation of data, although UDP does not have the functions of retransmission of loss of data, but under the not too big situation of network pressure, can improve efficiency of transmission, its flow process that transmits speech data is Audio-Data-UDP-IP-ARP-Ethernet.
CPU in the IP phone adopts I 2C interface is connected with RAM with memory ROM.
According to above-mentioned principle, the hardware designs of the IP section of set-top box is as follows: the realization of IP phone can be divided into three parts: user interface, I/O interface and memory interface.Below just with CPU (to set-top box partly is DCU, for ease of the narration, to call CPU in the following text) be the function that the center illustrates three interfaces:
User interface: refer to usb phone part, comprise two aspects: the one, keyboard (telephone keyboard), its effect is input telephone number or input IP address; The 2nd, video screen shows that it is mainly used to show that telephone number or expansion are as the Chinese character that shows the transmitting-receiving short message.
The I/O interface: the I/O interface comprises two aspects: the one, and the interface of the codec of CPU and usb phone (code anddecode) module, its effect is that digitized voice are read or send.Codec links to each other with the handle (speaker and erphone) of IP phone, and the interface shape of CPU and codec adopts usb2.0 interface; The 2nd, the interface of CPU and Ethernet (Ethernet interface), its effect is that the IP bag is received or sends, it is the passage that enters LAN (local Area network).Ethernet mainly finishes is the function of 802.3 agreement, and CPU is to adopt local bus mode to link to each other the realization of the set-top box of being more convenient for like this circuit with the interface of ethernet.
Memory interface: memory interface comprises two aspects, the one, the ROM interface, also comprise the Flash interface in the reality, it mainly is program code stored used, normally local bus form links to each other with CPU, and the 2nd, the RAM interface uses the EEPROM interface in the reality, what it was mainly stored is data, uses I 2C interface links to each other with CPU.These memory devices also are that top box of digital machine is necessary, lucky so compatible both sides' needs.
The former functions such as program upgrade, multimedia file transmission that are used for of the USB mouth of wired digital set-top box now expand to it the digitlization transmission of telephone speech signal.Be responsible for carrying out the conversion of data-signal at the application layer of wired digital set-top box, the foundation of communication protocol, and the various controls of communication process, these operating process by set-top box with operating system on utilize software programming to finish.The port of export at wired digital set-top box can be linked into intelnet network or cable network respectively by lan network interface or cable modem interface, utilizes the return path of wired digital set-top box to establish a communications link.Because wired digital set-top box has oneself control system and memory bank, can handle the state of a variety of phones, show that as unmanned automatic-answering back device, recording automatically, message registration management, video screen incoming call and caller's related data and following video telephone function show or the like on television set.
The phone price that has USB interface in the market is very low, need not increase more hardware resource on wired digital set-top box, only need carry out the software development of respective communication agreement, just can realize the IP phone function with lower cost.
The present invention has realized the network IP telephone function of wired digital set-top box with lower cost, has expanded the function of set-top box greatly, enriched consumer's communication mode, and this technical implementation way is along with science and technology development has very strong autgmentability.It can be widely used in family, the hotels and other places.
Description of drawings
Fig. 1 is the composition frame chart of top box of digital machine.
Fig. 2 communication flow diagram of the present invention.
Fig. 3 basic call flow process of the present invention figure
The block diagram of Fig. 4 IP phone of the present invention.
Embodiment
Embodiment 1.A kind ofly realize the method for network IP telephone function, as Fig. 2~shown in Figure 4 with cable television digital set-top box.
It may further comprise the steps:
(1) the codec module with the USB phone is connected with the CPU of top box of digital machine by the I/O interface, constitutes the IP phone set-top box;
(2) according to the G711 coding, adopting 8KH sample frequency and A8BI coded system, is speech data with speech coding, and making every road speech data speed is 64Kbs;
(3) adopt the UDP mode that speech data is encapsulated, and select the size of VoP, make in each bag to comprise the 16bytes data;
(4) every 2ms transmits a VoP to IP, through ARP VoP is passed to the Ethernet network interface by IP, is passed to network through the Ethernet network interface again.
The signaling of IP phone is selected ICMP.CPU in the IP phone adopts I 2C interface is connected with RAM with memory ROM.
With the process of once making a phone call the IP telephony system course of work among Fig. 4 is described below: call setup, speech phase, clearing phase.
Call setup: under idle condition, whether CPU has the signal of off-hook or other user's incoming call always in cycle detection.During user's off-hook, CPU detects off hook signal, and with regard to the Sending dialled number sound, the user begins dialing.CPU cuts off dialing tone after receiving first number, and send the dtmf tone of respective counts keyboard to microphone, then the number of receiving is given TV and is shown.After number collects, CPU arrive seek among the RAM with dial the number the IP address corresponding.If do not find corresponding IP address, just send busy tone to microphone, expression does not have this telephone number; If find corresponding IP address, CPU just begins to make a call, and delivers to Ethernet by ICMP, waits for called subscriber's response.Certainly, when sending ICMP, CPU at first has the protocol procedures of an ARP, and this process mainly is to seek ethernetID number corresponding with the IP address.If wait for a period of time, the user does not have response, illustrates that the user does not exist or line fault, send busy tone to the user; If the called subscriber responds, just send ring-back tone, simultaneously called subscriber's one side's ring to microphone.If called off-hook not for a long time, calledly stop ring, concurrent ICMP message is taken out stitches to the calling subscriber.The calling subscriber receives this message, send busy tone, waits for calling subscriber's on-hook.If the called subscriber is off-hook at the appointed time, then stop to send ring back tone, and use the ICMP answer signal, subscriber call is calledly replied.The calling subscriber receives this message, stops to send the bell sound, the conversation beginning.
Speech phase: enter speech phase, the calling subscriber just begins to send the IP bag of voice data.Detailed process is as follows: at first the speech data with the codes coding receives, and encapsulates according to UDP, is packaged into the IP bag again and is sent to ethernet; Simultaneously, the voice IP bag that ethernet receives is unpacked, and by certain beat the deblocking speech data is delivered to code and decode, thereby receiver delivered in called subscriber's speech, the callee delivered in the speech of microphone.The called subscriber is identical at speech phase and the handled process of calling subscriber's speech phase.
Clearing phase: when both sides' speech phase finished, if the on-hook of caller elder generation, CPU had detected on-hook signal, just send disconnecting signal ICMP through the callee.The callee is subjected to this disconnecting signal, just send busy tone to the callee, reminds callee's on-hook.If callee's on-hook is just sent one to discharge answer signal through the calling party, and stopped to send busy tone, current conversation just ends.On the contrary, if the callee thinks on-hook, its processing procedure with above be identical.After one time communication process finished, both sides entered idle condition, and CPU carries out the signal whether cycle detection has off-hook and other user's incoming call again, similarly handled above carrying out then.
Embodiment 1 has realized the network IP telephone function of wired digital set-top box with lower cost, has expanded the function of set-top box greatly, enriched consumer's communication mode, and this technical implementation way is along with science and technology development has very strong autgmentability.It can be widely used in family, the hotels and other places.

Claims (3)

1. realize the method for network IP telephone function it is characterized in that it may further comprise the steps with cable television digital set-top box for one kind:
(1) the coding decoder codec module with the USB phone is connected with the CPU of top box of digital machine by USB interface, constitutes the IP phone set-top box;
(2) according to the G711 coding, adopting 8KHz sample frequency and A8BI coded system, is speech data with speech coding, and making every road speech data speed is 64Kbs;
(3) adopt the user datagram protocol UDP mode that speech data is encapsulated, and select the size of VoP, make in each bag to comprise the 16bytes data;
(4) every 2ms transmits a VoP to IP, explains through the address that by IP agreement ARP is passed to Ethernet Ethernet network interface with VoP, is passed to network through Ethernet Ethernet network interface again.
2. according to the described method of claim 1, it is characterized in that the signaling of said IP phone is selected control protocol message ICMP with cable television digital set-top box realization network IP telephone function.
3. according to claim 1 or 2 described methods, it is characterized in that the CPU of said top box of digital machine adopts universal serial bus I with cable television digital set-top box realization network IP telephone function 2C interface is connected with RAM with memory ROM.
CNB2005101042888A 2005-10-31 2005-10-31 Method for realizing network IP telephone function using cable television digital set-top box Active CN100350791C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101042888A CN100350791C (en) 2005-10-31 2005-10-31 Method for realizing network IP telephone function using cable television digital set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101042888A CN100350791C (en) 2005-10-31 2005-10-31 Method for realizing network IP telephone function using cable television digital set-top box

Publications (2)

Publication Number Publication Date
CN1767591A CN1767591A (en) 2006-05-03
CN100350791C true CN100350791C (en) 2007-11-21

Family

ID=36743168

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101042888A Active CN100350791C (en) 2005-10-31 2005-10-31 Method for realizing network IP telephone function using cable television digital set-top box

Country Status (1)

Country Link
CN (1) CN100350791C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006028502C5 (en) * 2006-06-21 2017-01-05 Nokia Solutions And Networks Gmbh & Co. Kg Apparatus and method for supporting IP telephony in a consumer electronics environment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298244A (en) * 1999-12-02 2001-06-06 深圳市在线通数据网络有限公司 Intelligent TV set-top box based on telephone wire and its application
US20020088002A1 (en) * 2001-01-02 2002-07-04 Shintani Peter Rae Transmission of camera image to remote display device
CN1479895A (en) * 2000-10-11 2004-03-03 ŦԼ�и��ױ��Ǵ�ѧ�йܻ� Network telephone appliance and system supporting wireless Internet telephone
CN1145342C (en) * 1998-01-27 2004-04-07 汤姆森许可公司 System and method for providing IP/internet telephone
CN1669022A (en) * 2002-08-22 2005-09-14 益民技术株式会社 Realtime service system using the interactive data communication and method thereof
CN1671147A (en) * 2004-03-21 2005-09-21 兖矿集团山东比特电子公司 Plug and play network telephone set

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1145342C (en) * 1998-01-27 2004-04-07 汤姆森许可公司 System and method for providing IP/internet telephone
CN1298244A (en) * 1999-12-02 2001-06-06 深圳市在线通数据网络有限公司 Intelligent TV set-top box based on telephone wire and its application
CN1479895A (en) * 2000-10-11 2004-03-03 ŦԼ�и��ױ��Ǵ�ѧ�йܻ� Network telephone appliance and system supporting wireless Internet telephone
US20020088002A1 (en) * 2001-01-02 2002-07-04 Shintani Peter Rae Transmission of camera image to remote display device
CN1669022A (en) * 2002-08-22 2005-09-14 益民技术株式会社 Realtime service system using the interactive data communication and method thereof
CN1671147A (en) * 2004-03-21 2005-09-21 兖矿集团山东比特电子公司 Plug and play network telephone set

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HFC网络的综合业务终端中VOIP的实现 蒋颖,毛幼菊,韩庆,韩庆文.中国有线电视,第2005卷第7期 2005 *

Also Published As

Publication number Publication date
CN1767591A (en) 2006-05-03

Similar Documents

Publication Publication Date Title
US7706355B2 (en) System and method for converting packet payload size
US6914898B2 (en) Ip communication network system having a gateway function with communication protocol conversion between a switched circuit network and a packet switched network including data over tcp/ip and voice/fax over rtp
CN101494916B (en) System and method for supporting VOIP and CS telephone
US6876648B1 (en) Internet based telephone apparatus
CN101909192B (en) Television terminal and communication method thereof
CN1889613A (en) Calling control method and speech gate based on speech Internet protocol
US20060072546A1 (en) IP telephony apparatus providing simultaneous SIP communication for multiple IP phones and method for the same
CN105657204A (en) 4G wireless fax device with IP voice function and application method thereof
CN1988578A (en) System and method for providing multimedia communication and household gateway
CN100350791C (en) Method for realizing network IP telephone function using cable television digital set-top box
JP3642515B2 (en) Network connection device, communication system, communication method, communication program, and recording medium
CN100340090C (en) Dual net IP telephone realizing method and dual net IP telephone concentrator
CN108881180B (en) Recording method and recording system
CN101110751A (en) IP PBX based on P2P technology
CN1713718A (en) Visual telephone system of network based on single-chip
CN101031000A (en) System and method for utilizing wide-band color bell by narrow-band user
US7035282B1 (en) Wideband telephones, adapters, gateways, software and methods for wideband telephony over IP network
CN1571536A (en) Method for implementing half-duplex IP voice communication
CN1213604C (en) Video telephone realizing method and equipment
CN1780268A (en) Speech gateway for connecting PSTN and IP network
CN2710268Y (en) Network telephone
CN100452784C (en) Phonetical gate communication device and method
CN100382552C (en) Method for establishing VOIP communication penetrating fire wall
CN2819686Y (en) Newtork visual telephone
CN201345682Y (en) Novel phone network conversion device

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090109

Address after: No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Province: 266100

Patentee after: QINGDAO HISENSE ELECTRONIC INDUSTRY HOLDING Co.,Ltd.

Address before: No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Province: 266100

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

Effective date of registration: 20090109

Address after: No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Province: 266100

Patentee after: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

Address before: Shandong City, Qingdao Province, Jiangxi City Road 11, zip code: 266071

Co-patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

Patentee before: HISENSE Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: QINGDAO HISENSE ELECTRIC APPLIANCE CO., LTD.

Free format text: FORMER OWNER: HAIXIN GROUP CO., LTD.

Effective date: 20090109

Owner name: QINGDAO HAIXIN ELECTRON INDUSTRY STOCK CO., LTD.

Free format text: FORMER OWNER: QINGDAO HISENSE ELECTRIC APPLIANCE CO., LTD.

Effective date: 20090109

ASS Succession or assignment of patent right

Owner name: XAIXIN BROAD BAND MULTIMEDIA TECHNOLOGY(BVI) CO.,L

Free format text: FORMER OWNER: QINGDAO HAIXIN ELECTRON INDUSTRY STOCK CO., LTD.

Effective date: 20090814

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090814

Address after: The British Virgin Islands holding city Dora Road No. 146 box office Cui Dent

Patentee after: Hisense Broadband Multimedia Technology (BVI) Co.,Ltd.

Address before: No. 151, Zhuzhou Road, Laoshan District, Qingdao, Shandong

Patentee before: QINGDAO HISENSE ELECTRONIC INDUSTRY HOLDING Co.,Ltd.