Summary of the invention
What the present invention will solve is the problem of decreased performance when existing video terminal does not possess the ability that data service is provided simultaneously and the computer phoneme video system while, deal with data was professional.
The invention provides a kind of video signal terminal device, comprise video input/output interface unit, audio frequency input/output interface unit, packet processing unit, long-range connecting interface and local interface, wherein:
Video input/output interface unit be used for the input, outputting video signal, carry out the conversion of vision signal and coded data, and with packet processing unit transmission of video coded data;
Audio frequency input/output interface unit be used for the input, output audio signal, carry out the conversion of audio signal and coded data, and with packet processing unit transmission of audio coded data;
Packet processing unit is used for carrying out the conversion of video, coded audio data and video signal protocol massages, by remote interface transmitting-receiving video signal protocol massages, carry out comprising between remote interface and the local interface message forwarding of data service, carry out the transmitting-receiving of message by local interface and local computer.
Preferably, described video input/output interface unit comprises coding and decoding video module, video AD/DA module, video input interface and video output interface, wherein:
The coding and decoding video module is used for transferring to packet processing unit after encoding from the video signal of video AD/DA module reception, will transfer to video AD/DA module after the video data encoder that packet processing unit receives is decoded;
Video AD/DA module is used for the video analog signal from the video input interface is converted to video signal, video signal is converted to video analog signal is exported by video output interface;
Described audio frequency input/output interface unit comprises audio coding decoding module, audio A/DA module, audio input interface and audio output interface, wherein:
The audio coding decoding module is used for transferring to packet processing unit after encoding from the audio digital signals of audio A/DA module reception, will transfer to audio A/DA module after the coded audio data that packet processing unit receives is decoded;
Audio A/DA module is used for the audio analog signals from audio input interface is converted to audio digital signals, audio digital signals is converted to audio analog signals is exported by audio output interface.
Preferably, described device also comprises the PSTN line interface, connects audio A/DA module, is used for inserting public switched telephone network, and the calling opposite end that will continue by public telephone network is as the input and output side of audio A/DA module sound intermediate frequency analog signal.
Preferably, described device also comprises the PSTN input interface, is connected with audio A/DA module, is used for connecting telephone set, as audio input end.
Preferably, described device also comprises the PSTN control unit, be connected between PSTN input interface, PSTN line interface and audio A/DA module, after authentication is carried out in the calling that continues by public telephone network, be communicated with audio A/DA module and PSTN line interface; When satisfying setting escape condition, the PSTN control unit is communicated with PSTN input interface and PSTN line interface.
Preferably, described device also comprises the connection control unit, is connected between remote interface and the local interface, is used for setting up and being connected of audio frequency, video and/or the data service of release and far-end.
Preferably, described terminal also comprises the terminal management unit, be used for running parameter is set and the video terminal system is managed, comprise the authentication mode that the PSTN control unit is set, the audio/video coding data input and output that packet processing unit is set and/or preserve linkage record according to the running parameter of storage according to the instruction that receives;
The instruction that described terminal management unit receives also comprises from the instruction of PSTN input interface by the transmission of PSTN control unit, and/or the instruction that receives by local interface.
Preferably, described terminal installation also comprises Remote Control Interface, and the connecting terminal administrative unit is used for receiving remote control command and transmits it to the terminal management unit, and the terminal management unit is provided with the running parameter of its storage according to guidance command.
Preferably, described device also comprises automatic response unit, be used for far-end being connected carrying out automatic-answering back device according to the instruction of terminal management unit, and the coded data of storage from the far-end video signal protocol massages that packet processing unit receives.
The present invention is by realizing coding and decoding video by video input/output interface unit, carry out data service by the computer that is connected with video signal terminal device, make the video terminal system that audio frequency and video business and data service can be provided simultaneously, avoid the resource contention of computer simultaneously, guaranteed its deal with data performance of services;
Simultaneously, video signal terminal device of the present invention has been realized the traditional PSTN business and the fusion of TV conference service by the control to the PSTN replay call.
Embodiment
Thinking of the present invention is to make up the video terminal system that comprises computer, realize data service by computer, by in the video terminal system, providing chip to realize the preferable image quality in addition, avoid simultaneously because of handling the decreased performance that video and other business cause computer simultaneously with video processing function.
The structure of video terminal system as shown in Figure 1 among the present invention, video input-output unit 310, audio frequency input-output unit 320 are connected with packet processing unit 150 respectively, packet processing unit 150 is connected between far-end linkage unit 371 and the local linkage unit 372, is connected with computer 200 by local linkage unit 372.
Video input-output unit 310 comprises video input module, video output module and video decode module, and video input module is camera head normally, in order to generate vision signal; The video output module is image display device normally, and vision signal is shown; The coding and decoding video module is connected with packet processing unit 150, to be converted to video data encoder from the video signal of video input module and transfer to packet processing unit 150, will be sent to the video output module from the video data encoder of packet processing unit 150 and show; When video input module and video output module handle be analog video signal the time, need between video input module, video output module and coding and decoding video module, be connected video AD/DA (modulus/digital-to-analogue conversion) module, carry out the modulus/digital-to-analogue conversion of vision signal, with the vision signal kind of adaptive video input module, video output module and the requirement of coding and decoding video module.
Similarly, audio frequency input-output unit 320 comprises audio frequency input module 321, audio frequency output module 322 and audio decoder module 121, and audio frequency input module 321 is microphone normally, to generate audio signal; Audio frequency output module 322 is sound play device normally, and audio signal is play; Audio coding decoding module 121 is connected with packet processing unit 150, to be converted to coded audio data from the audio digital signals of audio frequency input module 321 and transfer to packet processing unit 150, will be sent to audio frequency output module 322 from the coded audio data of packet processing unit 150 and show; When audio frequency input module 321 and audio frequency output module 322 handle be simulated audio signal the time, need between audio frequency input module 321, audio frequency output module 322 and audio coding decoding module 121, be connected audio A/DA (modulus/digital-to-analogue conversion) module 122, carry out the modulus/digital-to-analogue conversion of audio signal, so that audio frequency input module 321, audio frequency output module 322 and audio coding decoding module 121 operate as normal.
Far-end linkage unit 371 is used for connecting the distant-end node that carries out video conference with local video terminal system, comprises the connection of audio frequency, video and/or data service; The present invention does not require distant-end node, for example can be video terminal of the prior art or computer phoneme video system, can be video terminal of the present invention system yet.Local linkage unit 372 is used for connecting computer 200.
In computer 200, comprise data service unit 210, in order to finish the data service with distant-end node, comprising that electronic whiteboard (white board/image sharing), file transfer (file transport), text chat (text chat), application program data service such as share, also can be the mode of carrying out the user-defined any swap data in two ends of data service.Data service unit 210 is by local linkage unit 372 and packet processing unit 150 transceive data service messages.
Packet processing unit 150 is handled the relevant item with distant-end node exchange video signal protocol massages.For example, to the video signal protocol massages that receives from far-end receiving element 371, packet processing unit 150 can transfer to video input-output unit 310 and audio frequency input-output unit 320 respectively with coded audio data after the decapsulation of video signal protocol massages and video data encoder, also can forward it to computer 200 and be undertaken by it and show and play; To video data encoder and coded audio data from video input-output unit 310 and 320 receptions of audio frequency input-output unit, packet processing unit 150 is encapsulated as the video signal protocol massages of protocol compliant standard with it, and is sent to distant-end node by far-end linkage unit 371; In addition, packet processing unit 150 is also transmitted the data service message between the data service unit 210 of distant-end node and computer 200.
Video terminal system among the present invention can also provide the audio service that merges mutually with PSTN.Audio A/DA module 122 is connected to PSTN control unit 131, and PSTN control unit 131 connects telephone set 333, PSTN line unit 332 and packet processing unit 150.
The PSTN line unit proceeds to the access of public telephone network.The user can set the escape condition, and when satisfying this condition, with 332 direct and telephone set 333 connections of PSTN line unit, this moment, PSTN line unit 332 used as the public network incoming end of telephone set 333 by PSTN control unit 131.The condition enactment of for example will escaping is the video terminal system cut-off, can guarantee that far-end can be connected to the video terminal system by a kind of mode at least.
PSTN control unit 131 can also be controlled the connection between PSTN line unit 333 and the audio A/DA module 122, the calling opposite end that to continue by public telephone network is as the input and the output of audio A/DA module 122 sound intermediate frequency analog signals, so that traditional telephone service is fused to videoconferencing service.The connection that PSTN control unit 131 can adopt following dual mode to carry out between PSTN line unit 333 and the audio A/DA module 122 is controlled: a kind of is to carry out authentication by 131 pairs of callings that insert from PSTN line unit 332 of PSTN control unit, after the calling opposite end is by authentication, connect PSTN line unit 333 and audio A/DA module 122, the calling opposite end is joined in the video conference by packet processing unit 150; Another kind is in conjunction with the GK (Gatekeeper in the videoconferencing service in the prior art by traditional calling, the pass is kept), SIP (Session Initiation Protocol, Session initiation Protocol) server, by GK, sip server finish call out the opposite end authentication after, by far-end linkage unit 371 and packet processing unit 150 instruction PSTN control units 131 call establishment opposite ends, make it add video conference.
If the video terminal system does not need the calling that public telephone network inserts is controlled, then PSTN control unit 131 can omit, and makes PSTN line unit 332 directly be connected with audio A/DA module 122 and gets final product.Telephone set also can directly be connected with audio A/DA module 122, makes local audio signal also can import by telephone set.
In the present invention, computer 200 not only can the deal with data business, but also can be used as audio-video signal output, audio signal input and/or audio, video data stored.Realize that above-mentioned any function all need increase the computer grouped element 220 that is connected with local linkage unit 372 in computer 200, because of other unit in computer 200 and the video terminal system carry out message transmission by message, finish the encapsulation and the decapsulation of message by computer grouped element 220.
If, then in computer 200, increase computer audio decoding unit 231 and computer phoneme video output unit 232 with the output of computer 200 as audio-video signal in the video terminal system.The video signal protocol massages of the carrying audio, video data that packet processing unit 150 will receive is forwarded to computer grouped element 220 by local linkage unit 372; Computer grouped element 220 with the audio/video coding transfer of data after the decapsulation to computer phoneme video decoding unit 231, transfer to computer phoneme video output unit 232 after by it audio/video coding data being converted to the audio frequency and video digital signal, the audio frequency and video digital signal is shown and plays.
If, then in computer 200, increase computer audio coding unit 241 and computer audio input unit 242 with the input of computer 200 as video terminal system sound intermediate frequency signal.After generating audio digital signals, computer audio input unit 242 transmits it to computer audio coding unit 241, computer audio coding unit 241 is converted to coded audio data with audio digital signals, through transferring to packet processing unit 150 after 220 encapsulation of computer grouped element; Packet processing unit 150 is sent to far-end after the coded audio data in the message being converted to the video signal protocol massages of protocol compliant standard.
If the audio, video data in 200 pairs of video terminal systems of computer stores, then in computer 200, increase audio, video data memory cell 250, the audio, video data after machine grouped element 220 decapsulations is as calculated stored.Simultaneously, audio, video data memory cell 250 can also increase automatic-answering back device, realizes the automatic answering machine of audio frequency and video, makes full use of computer 200 expansion of storage capacity abilities.The content of automatic-answering back device can comprise audio frequency, video and/or data message.
Alleged distant-end node is meant the opposite end that is connected with the video terminal system among the present invention, no matter and its concrete position and annexation.When need be when controlling, can in the video terminal system, increase and connect control unit 160 with being connected of distant-end node.Connect control unit 160 and be connected, be used for setting up, being connected of audio frequency, video and/or the data service of release and distant-end node with far-end linkage unit 371 and local linkage unit 372.
Simultaneously, in order to coordinate the work of video terminal system, should on computer 200, increase computer and connect control unit 270.Computer connects control unit 270 and is connected between computer grouped element 220, data service unit 210 and the local linkage unit 372, with be connected the information of control unit 160 exchange with the opposite end connection status, with being connected of audio frequency, video and/or the data service of setting up, discharge computer 200 and far-end.
Connection control unit 160 is connected the working method of control unit 270 can be set according to concrete needs and applied environment by the user with computer, for example adopt video signal agreement and network environment etc.
Have simultaneously that combining PSTN inserts video conferencing function and with computer 200 during in video terminal of the present invention system as audio frequency and video output, audio input end, need be to native system from where receiving the audio frequency input and whither exporting audio, video data and control.Can increase terminal management unit 140 this moment in the video terminal system, respectively with packet processing unit 150, be connected control unit 160, PSTN control unit 131 and local linkage unit 372 and be connected.
Terminal management unit 140 is used for the video terminal system is managed, in terminal management unit 140, storing the running parameter relevant, coming other unit are managed and control by its concrete state according to current running parameter and video terminal system with each function.For example: the escape condition is set in auth method, change that the PSTN control unit is set; Control packet processing unit 150 is that audio/video information is outputed to video input-output unit 310 and audio frequency input-output unit 320 or by E-Packeting it outputed to computer 200, and is to receive the audio frequency input or receive audio frequency inputs etc. from computer 200 from audio coding decoding module 121; The working method that connects control unit 160 is set, preserves linkage record etc.
Configuration mode to the terminal management unit among the present invention comprises following three kinds:
First kind is to increase configuration management element 260 on computer 200, be connected with local linkage unit 372, be used for being provided with the running parameter in the terminal management unit 140, read and preserve current running parameter, and on computer 200, store and the renewal linkage record;
Second kind be telephone set 333 by being connected to terminal management unit 140 with PSTN control unit 131, the running parameter in the terminal management unit 140 is set; This kind mode can be selected to realize by the button of telephone set 333 by the mode of audio communication prompting of the prior art, also can pass through DTMF (Dual ToneMulti Frequency, dual-tone multifrequency) and realize, repeats no more herein;
The third is to increase remote control unit 380 in the video terminal system, is connected with terminal management unit 140, by remote control running parameter in the terminal management unit 140 is set.
Need to prove, in video terminal of the present invention system, above-mentioned module and unit may be combined as a physical unit and realize, for example, video output module in the video input-output unit 310 and the audio frequency output module 322 in the audio frequency input-output unit 320 can be realized by a television set.
In order to adapt to the use habit of user to existing video terminal, utilize the common existing device of user simultaneously as far as possible, reduce the realization cost of video terminal system, recommend to adopt structure shown in Figure 2 to realize video terminal of the present invention system.Among Fig. 2, the video terminal system passes through LAN/WAN (Local Area Network/Wide Area Network by video signal terminal device, LAN/WAN) is connected with distant-end node, insert the PSTN public network, be connected with computer by Ethernet, with television set as audio frequency output module and video output module, with camera as video input module, as the audio frequency input module, connect telephone set with microphone, and receive the control of remote controller signal by infrared interface by the RJ11 interface.
When adopting the implementation structure of external various input-output equipment of video signal terminal device and computer, video signal terminal device need provide multiple connecting interface, and each function that relates to videoconferencing service need be realized by video signal terminal device.
Figure 3 shows that the video signal terminal device that is applied to video terminal of the present invention system, packet processing unit 150 is connected with video input/output interface unit 110, audio frequency input/output interface unit 120, remote interface 171, local interface 172.
Video input/output interface unit 110 comprises coding and decoding video module 111, video AD/DA module 112, video input interface 113 and video output interface 114.Video input interface 113 is used for connecting the video input module in the video terminal system, with incoming video signal; Video output interface 114 is used for connecting the video output module in the video terminal system, with outputting video signal.Coding and decoding video module 111 is connected with packet processing unit 150, to be converted to video data encoder from the video signal of video input interface 113 and transfer to packet processing unit 150, will be sent to video output interface 114 outputs from the video data encoder of packet processing unit 150; When the transmission of video input interface 113 and video output interface be analog video signal the time, need between video input interface 113, video output interface 114 and coding and decoding video module 111, be connected video AD/DA (modulus/digital-to-analogue conversion) module 112, carry out the modulus/digital-to-analogue conversion of vision signal, to guarantee video input interface 113, video output interface 114 and coding and decoding video module 111 operate as normal.
Audio frequency input/output interface unit 120 comprises audio coding decoding module 121, audio input interface 123 and audio output interface 124.Audio input interface 123 is used for connecting the audio frequency input module 321 in the video terminal system, with input audio signal; Audio output interface 124 is used for connecting the audio frequency output module 322 in the video terminal system, with output audio signal.Audio coding decoding module 121 is connected with packet processing unit 150, to be converted to coded audio data from the audio digital signals of audio input interface 123 and transfer to packet processing unit 150, will be sent to audio output interface 124 outputs from the coded audio data of packet processing unit 150; When 124 transmission of audio input interface 123 and audio output interface be simulated audio signal the time, need between audio input interface 123, audio output interface 124 and audio coding decoding module 121, be connected audio A/DA (modulus/digital-to-analogue conversion) module 122, carry out the modulus/digital-to-analogue conversion of audio signal, so that audio input interface 123, audio output interface 124 and audio coding decoding module 121 operate as normal.
Remote interface 171 is used for connecting the far-end linkage unit 371 in the video terminal system, to realize and the communicating by letter of distant-end node; Local interface 172 is used for connecting the local linkage unit 372 in the video terminal system, communicates with the computer with this locality.
Video signal terminal device also comprises PSTN control unit 131, PSTN line interface 132 and PSTN input interface 133, and wherein PSTN line interface 132 is used for connecting the PSTN line unit 332 in the video terminal system, is implemented to the access of public telephone network; PSTN input interface 133 is used for connecting telephone set.PSTN control unit 131 is connected with audio A/DA module 122, PSTN line interface 132 and PSTN input interface 133 respectively.
If the video terminal system does not need the calling that public telephone network inserts is controlled, then PSTN control unit 131 can omit, and makes PSTN line interface 132 directly be connected with audio A/DA module 122 and gets final product.Telephone set also can directly be connected with audio A/DA module 122, makes local audio signal also can import by telephone set.
Video signal terminal device also comprises connection control unit 160, is connected between remote interface 171 and the local interface 172.
Video signal terminal device also comprises terminal management unit 140 and Remote Control Interface 180, wherein terminal management unit 140 respectively with packet processing unit 150, be connected control unit 160, PSTN control unit 131 and local interface 172 and be connected; Remote Control Interface 180 is connected with terminal management unit 140, and the instruction that is used for receiving the remote control emission is provided with the running parameter in the terminal management unit 140.
Obviously, PSTN control unit 131 in the video signal terminal device, terminal management unit 140, packet processing unit 150, connect control unit 160 function, interaction relationship and implementation all with aforementioned video terminal system in identical, no longer repeat herein.
Video signal terminal device also comprises automatic response unit 190, with packet processing unit 150, terminal management unit 140 be connected control unit and be connected.Automatic response unit 190 is according to the instruction of terminal management unit 140, connect control unit 160 set up with being connected of far-end after, automatic-answering back device is carried out in calling to distant-end node, and will store from the coded data the far-end video signal protocol massages that packet processing unit 150 receives.If the computer that is connected with video signal terminal device has automatic answer function, then defaultly finish automatic answer function by computer, can certainly be provided with by the automatic response unit 190 of video terminal and realize automatic-answering back devices; And computer is not when starting with being connected of video signal terminal device, terminal management unit 140 far-end is connected carry out authentication after, 190 work of instruction automatic response unit.The content of automatic-answering back device can comprise Voice ﹠ Video information.
Equally, module, unit, the interface in the above-mentioned video signal terminal device may be combined as a physical unit and realize when specific implementation.
As seen, when not connecting computer, video signal terminal device itself also can be used as video terminal and uses.
In the prior art, the existing mature technique of the calling between the video terminal realizes.In the present invention, the connection of data service can utilize the calling between the video signal terminal device to realize between the computer, promptly between video signal terminal device, adopt prior art to set up after the connection, by the relevant information notice local computer of video signal terminal device with the opposite end computer, the information that both sides' computer passes through to be known connects.
For example, video signal terminal device A is connected with computer A, video signal terminal device B is connected with computer B, video signal terminal device A and B are to server registration, then computer A is connected and can be undertaken by flow process shown in Figure 4 with data service between the computer B: video signal terminal device A and B register to sip server respectively, by IP (Internet Protocol, Internet protocol) address and signaling PDU (ProtocolData Unit, protocol Data Unit) comparison of address can judge that this video terminal device is to be in NAT (Network AddressTranslation, network address translation) intra-gateway is still outside, is in Intranet or outer net to determine it.Suppose that regulation is defaultly made a call by the Intranet video signal terminal device, suppose that simultaneously video signal terminal device A and B are in Intranet, call out video signal terminal device B by video signal terminal device A.
After connecting between video signal terminal device A and the B, intercourse the IP address, intranet and extranet position of the computer A that is connected and computer B and whether online information by intranet and extranet inquiries and intranet and extranet answer; Video signal terminal device A and B send Trap (log information) message to computer A and computer B respectively afterwards, comprise following information in the Trap message:
The intranet and extranet information of local computer should be served as caller or called information;
The intranet and extranet information of far-end computer, caller or called information should be served as in the IP address;
Whether far-end computer is in line states.
After computer A and computer B learn the other side's above-mentioned information, can set up data service automatically according to the rule of setting and connect.Particularly, respectively caller computer and called computer coexist Intranet, the outer net that coexists, at Intranet and outer net, in outer net and Intranet, in the situations such as Intranet of different segment, in conjunction with GK and media gateway realization.For example, the data service concatenate rule of setting is as follows:
One in computer when two ends is positioned at Intranet, and when another was positioned at outer net, inner net computer can be initiated data service and be connected;
When the computer inner-external network position at two ends was identical, arbitrary end all can be initiated data service and be connected;
If outer net computer to call inner net computer takes place, then show the prompting of " this machine is in outer net, and the other side is in Intranet, can't carry out the calling of data service, can be made a call by the other side ".
The terminal management unit of video signal terminal device and the configuration management element of computer can adopt mode interactive maintenance information shown in Figure 5:
Send the management information query message by computer to video signal terminal device, video signal terminal device will comprise that the management information of current running parameter replies to computer in the inquiry response message;
After the video signal terminal device reception is made amendment to running parameter from the instruction of telephone set and/or Remote Control Interface, send management information to computer and initiatively revise message, the amended work at present parameter of notice computer;
Computer can also regularly send to video terminal and upgrade the message registration message, and returned packet sends to computer to video terminal by upgrading as a result with up-to-date message registration.
As seen, the video terminal system of video signal terminal device among the present invention and formation thereof has following advantage:
Have PSTN and call out and pickup feature, can manage by telephone key and remote control;
Can be independently as the video terminal of conference system;
When being connected with computer, the video terminal system promptly becomes desktop system, this moment, the coding of video was still realized by video signal terminal device, and video signal terminal device is transmitted to computer with video to be decoded and voice data, by the decoding of computer realization video and audio frequency; Computer can also be finished the coding of audio frequency and coded data is transferred to video signal terminal device; Can carry out the calling of IP phone, visual telephone and data service by computer; Computer display can be simultaneously as the display terminal of video-signal system;
Can become complete desktop office system by computer realization auto-pickup and the recording function of making video recording;
Voice communication can be switched between earphone that telephone set and computer connect and microphone flexibly, and video output simultaneously can be switched between video output interface and computer screen flexibly;
Can call out the calling of finishing voice, video, data service by a key on computers;
Under the situation of Computer IP address, the unknown opposite end of computer, realize that by the video terminal device data service connects, and can realize the multiple spot data conferencing by server.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.