CN101854515B - Television program remote recording method - Google Patents

Television program remote recording method Download PDF

Info

Publication number
CN101854515B
CN101854515B CN2010101791416A CN201010179141A CN101854515B CN 101854515 B CN101854515 B CN 101854515B CN 2010101791416 A CN2010101791416 A CN 2010101791416A CN 201010179141 A CN201010179141 A CN 201010179141A CN 101854515 B CN101854515 B CN 101854515B
Authority
CN
China
Prior art keywords
request
file
coding output
coding
output file
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.)
Expired - Fee Related
Application number
CN2010101791416A
Other languages
Chinese (zh)
Other versions
CN101854515A (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.)
WUHAN KUANXIN TECHNOLOGY Co Ltd
Original Assignee
WUHAN KUANXIN TECHNOLOGY 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 WUHAN KUANXIN TECHNOLOGY Co Ltd filed Critical WUHAN KUANXIN TECHNOLOGY Co Ltd
Priority to CN2010101791416A priority Critical patent/CN101854515B/en
Publication of CN101854515A publication Critical patent/CN101854515A/en
Application granted granted Critical
Publication of CN101854515B publication Critical patent/CN101854515B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a television program remote recording method, mainly comprising the following steps of: transmitting a coding output file data stream for coding video equipment or a recording file by using a server and reading the coding output data stream and storing the coding output data stream to the local by using a player when a request transmitted by a client is a request of a television program on a remote recording specific channel or specific equipment; and transmitting the data stream of the television program on the specific channel or the specific equipment by using the server and receiving the data stream of the television program on the specific channel or the specific equipment and playing the television program on the specific channel or the specific equipment by using the player when a request transmitted by the client is a request of the television program on a remote playing specific channel or specific equipment. By using the method, a program source on a remote television set or equipment is recorded into a file and saved to the local, so that a user can watch remote television programs at any time and the programs on the remote television or the equipment can be played in real time.

Description

Television program remote recording method
Technical field
The present invention relates to the remote tv playing programs and record (place-shifting andTime-place-shifting) technology, the dynamic image of the real-time change that is specifically related to catch, or play or be recorded to the television program remote recording method on far-end television set or the equipment through network at far-end by recorded file such as dynamic image that DVD preserved by equipment such as TV tuner (tuner), monitoring camera, video cameras.
Background technology
Along with the fast development of the Internet and constantly popularizing of universal and TV, people's quality of life constantly gets a promotion, and free life is abundanter.At present, the user can view and admire program by one day twenty four hours, yet because television channel quantity is numerous, and renewal speed is fast, and user job is busy day by day, many TV programme can't be watched.Like this, how the mode with most convenient makes the user watch that smoothly favorite program becomes the problem that numerous researchers are concerned about.
Present technology and product can have been realized local channel recording (Time-shifting; The program source that also is about on local television set or the equipment is recorded into a kind of technology that file is saved in this locality); Can realize that also remote channel watches (Place-shifting, that is at local can see in real time any of can both seeing Anywhere of the world or recorded program).The advantage of local channel recording is that the user can watch favorite local TV programme at any time, and shortcoming is that program is restricted, and the program of promptly watching can only be local.The advantage that remote channel is watched is in the world Anywhere; Can both see the local in real time or recorded program that can see; And can share own collected any legal media content with other people; Shortcoming is that, user smooth and easy at network do not have the time and have some setbacks when seeing real-time television or at network, when the user sees real-time television if having time, can not realize watching long-range program.
Therefore, be necessary to provide a kind of method of watching long-range program very easily to overcome the defective of prior art.
Summary of the invention
The purpose of this invention is to provide a kind of television program remote recording method; Can with the far-end world Anywhere program source; Comprise real-time television program, real-time monitor video and file of having recorded such as DVD etc.; Through network REC on local television set or equipment, so that the user can watch and watch at any time the remote tv program.
To achieve these goals, the invention provides a kind of television program remote recording method, comprise the steps: that the client request of sending obtains the request of program video data; When server judges that described request is the request of the TV programme on remote recording special channels or the particular device; Said server sends the coding output file data flow to video equipment or recorded file coding, and player reads said coding output file data flow and stores said coding output file data flow into this locality; When server judges that described request is the request of the TV programme on remote playing special channels or the particular device; Said server sends the data flow of the TV programme on said special channels or the particular device, and said player receives the data flow of the TV programme on said special channels or the particular device and plays the TV programme on said special channels or the particular device.
In one embodiment of the invention; The step that said server sends the coding output file data flow of video equipment or recorded file coding is specially: when server is judged the content legality of described request; Encoder is to the output of encoding of video equipment or recorded file, and CGI executable program or script send the message of the URL that comprises each coding output file to client; When said client is judged said message content for coding output file URL address, call player and prepare to read the coding output file, and user end to server sends the transmission file request of asking to send the coding output; Server sends coding output file data flow based on said transmission file request.
In another embodiment of the present invention, the request content that said client is sent comprises the programme televised live video data information of display format that request obtains appointment, Voice & Video form, baud rate.Said encoder is specially the encode step of output of video equipment or recorded file: said encoder is according to display format, Voice & Video form, the baud rate of appointment in the socket message, to the output of encoding of video equipment or recorded file.
In an embodiment more of the present invention; The request of sending of said user end to server is sent after the transmission file request of coding output file; Also comprise step: said server sends big capability notification message to said player, and said big capability notification message comprises that the coding output file that will send is a bulky information.The step that said server sends the coding output file according to said transmission file request is specially: said server constantly sends coding output file data flow.Said player reads said coding output file data flow and stores said coding output file data flow into local step and is specially: said player continues to read the coding output file data flow that said server sends, and stores said coding output file data flow into this locality.
In another embodiment of the present invention, said encoder is specially the encode step of output of video equipment or recorded file: said encoder is a unit to the output of encoding of video equipment or recorded file with client specified coding duration or client designated document output size.
In an embodiment more of the present invention; Said method also comprises step: when said server receive termination video data request that said client is sent or at the appointed time in player when not reading the coding output file data flow of server transmission; Encoder stops coding output, and the temporary coding output file of deletion.
Compared with prior art; When television program remote recording method of the present invention is the request of the TV programme on remote playing special channels or the particular device in the request of judging the client transmission when server; Server sends the television programme data stream on far-end special channels or the particular device; TV programme on client terminal playing far-end special channels or the particular device (remote channel broadcast); Therefore the user can watch the TV programme on far-end special channels or the particular device in real time, just as on local television set or equipment, watching local TV programme; When the request of judging the client transmission when server is the request of the TV programme on remote recording special channels or the particular device; Encoder is encoded into coding output file data flow with the TV programme on far-end special channels or the particular device; Server sends said coding output file data flow; At this moment, client stores said coding output file data flow into this locality (remote channel is recorded), so the user can watch the TV programme on far-end special channels or the particular device at any time.In a word; This method is with being connected on far-end television set or the equipment through network on local television set or the equipment; The local any program (that is remote channel (Remote channel)) that can watch of far-end television set or equipment be can watch in this locality, real-time television program, real-time monitor video and file of having recorded such as DVD etc. comprised.Perhaps real-time file of monitoring or having recorded of programme channel all over the world such as DVD etc. as remote channel, are incorporated in the existing local television channel lists.So just can be on local television set or equipment as watching local TV programme to watch other programs all over the world.That is to say that the user just has more channel (remote channel and local channel) available.If it is more smooth and easy that the user sees real-time television and network if having time, can select remote channel to play.See that real-time television or network are not too smooth and easy if the user is not free; Can select remote channel record (Time-place-shifting is about to far-end world program source Anywhere, through network REC on local television set or equipment; Perhaps be called long-range space-time conversion); The user can be when being inconvenient to see program like this, and the performance recording that the world is liked Anywhere arrives this locality, watches when free later on again.
In addition; Because it is very big that picture when remote channel is play and sound quality are influenced by the network bandwidth; And remote channel is recorded and can be adopted higher bit rate or higher image quality to record; Have sound and image quality better when playing, overcome the restriction of watching Time Bandwidth in real time in this locality.
In addition, present embodiment also can expand new form and encoder under the prerequisite that does not increase any cost.
Description of drawings
Fig. 1 is the flow chart of television program remote recording method of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, the similar elements label is represented similar elements in the accompanying drawing.
The realization of present embodiment remote tv method of program recording is to be based upon on the system architecture of server end and client composition.To provide a side of program source to be server end in this method, be client with a side who stores recorded file.The hardware components of said server end comprises: TV tuner (tuner), camera or video camera, common X86 PC.TV tuner, camera or video camera etc. are connected on common X86 personal host computer.The effect of said TV tuner provides the standard television receiving function.The effect of said camera or video camera be to its take the photograph in the journey scope the people or object is kept watch on or carry out picture catching.Select for use the X86 personal host computer to be owing to be easy to change internal memory and CPU, increased the flexibility of hardware apolegamy according to desired video output formats of user and video quality.The dynamic image of the real-time change that the present invention can catch equipment such as TV tuner, monitoring camera, video cameras is encoded and is stored as file at server end, and then server end institute files stored is dumped to client.In addition, as being provided with recorded file in the said X86 PC, like DVD, like this, the present invention can dump to client with recorded file.The software section of said server end comprises: ++ TV software 1.0, software encoder.Wherein ++ server, CGI executable program or script, coding service that TV software 1.0 has comprised described in the present invention are monitored.The hardware components of said client comprises ordinary individual's computer or the terminal with function of surfing the Net.The software section of said client comprise player (be called for short player), ++ TV software 1.0.
Fig. 1 is the flow chart of present embodiment television program remote recording method.As shown in the figure, the step of said television program remote recording method is specially:
Step S1, client user specify from the very first time to second time (as from March 2 18:00 to 20:00 on March 2) record the program of a remote channel (like the channel 2 on the long-range http server 59.174.19.2);
Step S2; When the said very first time (like 18:00 on March 2) arrives; The client request of sending obtains the request of program video data, and the described request content comprises the programme televised live video data information of display format that request obtains appointment, Voice & Video form, baud rate;
Step S3, server receives described request, and described request is resolved, and judges whether the result who resolves is the request of the TV programme on remote recording special channels or the particular device, if, continue next step, if not, change step S5;
Step S4, the content of server record described request, and CGI executable program or script through CGI(Common gateway interface) (CGI) standard calls server end are changeed step S6;
Step S5, server judge whether the result who resolves is the transmission file request that coding output file data flow is sent in request, if, change step S17, if not, finish;
Step S6, CGI executable program or script are resolved the content of described request, judge whether the content of described request is legal, if, continue next step, if not, change step S8;
Step S7, CGI executable program or script set up socket through the coding service monitoring of socket (socket) and server end and are connected, and monitor the socket message that transmission comprises the described request content through socket to the coding service, commentaries on classics step S9;
Step S8, CGI executable program or script send error message to client, finish;
Step S9, coding is served the said socket message of monitoring reception, and said socket message is resolved, and judges whether said socket message is legal, if, continue next step, if not, change step S11;
Step S10; The encoder of invoking server end is monitored in the coding service; Encoder is according to display format, Voice & Video form, the baud rate of appointment in the said socket message; Video equipment or recorded file (TV tuner (tuner), camera or video camera, recorded file such as DVD) are carried out real-time coding output; At this moment; The coding service is monitored to CGI executable program or script and is sent the message that comprises coding export file name (like tv.1.wmv), changes step S12;
Step S11, the coding service is monitored to CGI executable program or script and is sent the failure response message, changes step S14;
Step S12, CGI executable program or script receive the said message that comprises the export file name of encoding, and the said message that comprises the export file name of encoding is resolved, and judge whether parsing is successful, if, continue next step, if not, change step S14;
Step S13; CGI executable program or script are created the URL of coding output file according to the said message that comprises the export file name of encoding; Then to client send comprise said coding output file URL (like http: // 59.174.46.120/tv.1.wmv) message, change step S15;
Step S14, CGI executable program or script are printed error message, finish.
Step S15, client receives the message that comprises said coding output file URL, and the message that comprises said coding output file URL is resolved; Judge whether the message content that comprises said coding output file URL is the URL address, if continue next step; If not, then finish;
Step S16, client call player, player prepare to receive and store the coding output file on the far-end server, and this moment, the transmission file request of the output file (like tv.1.wmv) of encoding was sent in the client request of sending;
After step S17, server receive said transmission file request, send coding output file data flow;
Step S18, player read said coding output file data flow and store said coding output file data flow into this locality.
Step S19, when said second time (20:00 on March 2) arrived, the client terminate player read said coding output file data flow, and sent the video data request that stops to server, finished.
By on can find out that television program remote recording method of the present invention adopts C/S (Client/Server, client/server) communication pattern, can realize that program source on far-end television set just or the equipment records into file and be saved in this locality, the user can watch at any time.If it is more smooth and easy that the user sees real-time television and network if having time, can select remote channel to play.See that real-time television or network are not too smooth and easy if the user is not free, can select remote channel to record, the user can be when being inconvenient to see program like this, and the performance recording that the world is liked Anywhere arrives this locality, watches when free later on again.In addition; Because it is very big that picture when remote channel is play and sound quality are influenced by the network bandwidth; And in the present embodiment television program remote recording method; Encoder is that display format, Voice & Video form, the baud rate (seeing step S2) according to appointment in the socket message realizes when video equipment or recorded file are carried out real-time coding output; Therefore this method can adopt higher bit rate or higher image quality to record, and has sound and image quality better when playing in this locality, overcomes the restriction of watching Time Bandwidth in real time
Need to prove that client is specified and sent request or the like among recording time, channel and the step S2 among the step S1, all by client ++ TV software 1.0 is realized.
In step S17, after server receives said transmission file request, send before the actual coding output file data flow, also comprise step:
Server sends big capability notification message to said player; Said big capability notification message comprise the coding output file that will send be big capacity (for example 4G size) information (at this moment; After player receives that the coding output file of server notification is big capacity information; Wait for the data flow that receives big capacity documents)
Then, said step S18 is specially:
Said player continues to read the coding output file data flow that said server sends, and stores the said coding output file data flow that continues to read into this locality.
By on can find out; Because actual coding output file size is to increase in real time; During server notification player file size, do not tell the actual size of player coding output file (tv.1.wmv), but the coding output file that the notice player will send is a vast capacity; Thereby player continues to read coding output file data flow, and the output file data flow of will encoding stores this locality into.Therefore, present embodiment utilizes super large documentary information technology to support based on the real-time fluidisation of the video content of file.
In step S10, said encoder is specially the encode step of output of video equipment or recorded file:
Said encoder is a unit to the output of encoding of video equipment or recorded file with client specified coding duration (as 30 minutes) or designated document output size (like 200M).Particularly; When said encoder reaches when specifying duration or coding output file to reach predetermined size video equipment or recorded file coding; Encoder stops coding output file tv.1.wmv; The output file tv.2.wmv that restarts to encode when coding output file tv.2.wmv reaches scheduled duration or coding output file tv.2.wmv and reaches predetermined size, stops coding output file tv.2.wmv; The output file tv.3.wmv that restarts to encode reaches scheduled duration or predetermined size up to coding, and the like.
This method also comprises step:
When server receive termination video data request that client is sent or at the appointed time in player when not reading the coding output file data flow that server sends, encoder stops coding output, and the deletion coding output file of keeping in.
In addition, this method also comprises:
When said server judged that described request is the content legality of request and described request of the TV programme on remote playing special channels or the particular device, said server sent the data flow of the TV programme on said special channels or the particular device according to described request;
Said player receives the data flow of the TV programme on said special channels or the particular device and plays the TV programme on said special channels or the particular device.
By on can know; When the request of judging the client transmission when server is the request of the TV programme on remote playing special channels or the particular device; Server sends the television programme data stream on far-end special channels or the particular device; TV programme on client terminal playing far-end special channels or the particular device (remote channel broadcast), so the user can watch the TV programme on far-end special channels or the particular device in real time; When the request of judging the client transmission when server is the request of the TV programme on remote recording special channels or the particular device; Encoder is encoded into the coding output file with the TV programme on far-end special channels or the particular device; Server sends said coding output file data flow; At this moment, client stores said coding output file data flow into this locality (remote channel is recorded), so the user can watch the TV programme on far-end special channels or the particular device at any time.
Set forth present embodiment with instantiation below: on client end interface, specify from March 2,2010 18:00 to 2010 year on the 2nd March in 20:00 record far-end (like Http: // 59.174.192.55:8008) channel 13, video size 720 * 1366, baud rate be the program of 800Kbps.Client is promptly sent that record tv channel 13, video size are 720 * 1366, baud rate is 800Kbps, recorded duration to server (59.174.46.120) is the request that 2 hours far-end is recorded; After server (like 59.174.46.120) is received the client legitimate request; Will call encoder television channel 13 is encoded, will comprise then the actual coding output file URL (like http: // 59.174.46.120/tv.1.wmv) send to client.Client receive the URL that comprises the actual coding output file (like http: // 59.174.46.120/tv.1.wmv) after; Call player; And let player begin to read and storage file (like http: // 59.174.46.120/tv.1.wmv); The user end to server request of sending this moment is sent the actual coding output file (like http: // 59.174.46.120/tv.1.wmv) transmission file request; After server is received and is sent file request; At first notifying player this document is vast capacity, then constantly to player send the actual coding output file (like http: // 59.174.46.120/tv.1.wmv) data flow, store on local device while player receives packet.
Invention has been described more than to combine most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.

Claims (1)

1. a television program remote recording method comprises the steps:
The client request of sending obtains the request of program video data;
When server judges that described request is the request of the TV programme on remote recording special channels or the particular device; Said server sends the coding output file data flow to video equipment or recorded file coding, and player reads said coding output file data flow and stores said coding output file data flow into this locality;
When server judges that described request is the request of the TV programme on remote playing special channels or the particular device; Said server sends the data flow of the TV programme on said special channels or the particular device, and said player receives the data flow of the TV programme on said special channels or the particular device and plays the TV programme on said special channels or the particular device;
The step that said server sends the coding output file data flow of video equipment or recorded file coding is specially: when server is judged the content legality of described request; Encoder is to the output of encoding of video equipment or recorded file, and CGI executable program or script send the message of the URL that comprises each coding output file to client; When said client is judged said message content for coding output file URL address, call player and prepare to read the coding output file, and user end to server sends the transmission file request of asking to send the coding output file; Server sends coding output file data flow based on said transmission file request; When said server receive termination video data request that said client is sent or at the appointed time in player when not reading the coding output file data flow that server sends, encoder stops coding output, and the deletion coding output file of keeping in;
The request content that said client is sent comprises the programme televised live video data information of display format that request obtains appointment, Voice & Video form, baud rate; Said encoder is specially the encode step of output of video equipment or recorded file: said encoder is based on display format, Voice & Video form, the baud rate of appointment in the socket message, to the output of encoding of video equipment or recorded file;
The request of sending of said user end to server is sent after the transmission file request of coding output file; Also comprise step: said server sends big capability notification message to said player; Said big capability notification message comprises that the coding output file that will send is a bulky information; The step that said server sends the coding output file based on said transmission file request is specially: said server constantly sends coding output file data flow; Said player reads said coding output file data flow and stores said coding output file data flow into local step and is specially: said player continues to read the coding output file data flow that said server sends, and stores said coding output file data flow into this locality;
Said encoder is specially the encode step of output of video equipment or recorded file: said encoder is a unit to the output of encoding of video equipment or recorded file with client specified coding duration or client designated document output size.
CN2010101791416A 2010-05-14 2010-05-14 Television program remote recording method Expired - Fee Related CN101854515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101791416A CN101854515B (en) 2010-05-14 2010-05-14 Television program remote recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101791416A CN101854515B (en) 2010-05-14 2010-05-14 Television program remote recording method

Publications (2)

Publication Number Publication Date
CN101854515A CN101854515A (en) 2010-10-06
CN101854515B true CN101854515B (en) 2012-08-29

Family

ID=42805743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101791416A Expired - Fee Related CN101854515B (en) 2010-05-14 2010-05-14 Television program remote recording method

Country Status (1)

Country Link
CN (1) CN101854515B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412678A (en) * 2016-09-14 2017-02-15 安徽声讯信息技术有限公司 Method and system for transcribing and storing video news in real time
CN114501044B (en) * 2021-12-23 2023-12-08 百果园技术(新加坡)有限公司 Live broadcast data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312654A (en) * 2000-03-06 2001-09-12 翰林汇软件产业有限公司 Interactive system control method for intelligent TV network
CN101594518A (en) * 2000-12-22 2009-12-02 索尼株式会社 Distributed on-demand media transcoding system and method
CN101652997A (en) * 2007-03-26 2010-02-17 阿尔卡特朗讯公司 System and method for efficient delivery of data content

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312654A (en) * 2000-03-06 2001-09-12 翰林汇软件产业有限公司 Interactive system control method for intelligent TV network
CN101594518A (en) * 2000-12-22 2009-12-02 索尼株式会社 Distributed on-demand media transcoding system and method
CN101652997A (en) * 2007-03-26 2010-02-17 阿尔卡特朗讯公司 System and method for efficient delivery of data content

Also Published As

Publication number Publication date
CN101854515A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
CN1263031C (en) Personal video recorder with network interface
CN107071511B (en) Method and computer system for providing rewinding of broadcast video stream received by client
CN101848367B (en) File-based video live webcasting method
US20090049491A1 (en) Resolution Video File Retrieval
US20060015634A1 (en) Progressive streaming media rendering
US20130031222A1 (en) Methods, apparatuses and computer program products for pausing video streaming content
WO2003107672A1 (en) Transcoding media content from a personal video recorder for a portable device
CN112752115B (en) Live broadcast data transmission method, device, equipment and medium
CA2613063A1 (en) Limiting recording demands
CN100574432C (en) The storage means of the video coding in a kind of supervisory control system and equipment
CN111866603B (en) Video file production method based on SRS, background server and system
CN102333243A (en) VOD (video on demand) device of streaming media in live broadcast
CN103313095A (en) Video transmission method, play method, terminal and server
CN105191303B (en) Handle method, the terminal and server of video
WO2006127647A2 (en) Time-shifting audio and video programs
CN1902934A (en) A time-shifting device in a home network
CN101854515B (en) Television program remote recording method
US20190281347A1 (en) Reducing digital video recorder storage through reduced encoding of certain program portions
CN110892729A (en) Media content delivery
KR20080066513A (en) Meta data information providing server, client apparatus, method for providing meta data information, and method for providing contents
WO2012041039A1 (en) Method, correlative equipment and system for digital tv terminal accessing internet video
JP2008103972A (en) Network video recording and reproduction system
JP6294527B2 (en) Transmission device, transmission method, reproduction device, and reproduction method
JP4511569B2 (en) Remote viewing system and remote viewing method
JP2003319363A (en) Server apparatus for substitution service of television broadcast recording

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120829

Termination date: 20200514