CN102056014B - Stream media recording method and system - Google Patents

Stream media recording method and system Download PDF

Info

Publication number
CN102056014B
CN102056014B CN200910208508XA CN200910208508A CN102056014B CN 102056014 B CN102056014 B CN 102056014B CN 200910208508X A CN200910208508X A CN 200910208508XA CN 200910208508 A CN200910208508 A CN 200910208508A CN 102056014 B CN102056014 B CN 102056014B
Authority
CN
China
Prior art keywords
control server
video record
recording
record processor
target video
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
CN200910208508XA
Other languages
Chinese (zh)
Other versions
CN102056014A (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.)
Juhaokan Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN200910208508XA priority Critical patent/CN102056014B/en
Publication of CN102056014A publication Critical patent/CN102056014A/en
Application granted granted Critical
Publication of CN102056014B publication Critical patent/CN102056014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a stream media recording method and system, relating to the communication field and being used for solving the problem of complex steps for modifying or deleting a recording task in the stream media recording process in the prior art. In the technical scheme provided by the invention, the method comprises the following steps of: selecting a target recording server from more than one recording server establishing communication with a control server by the control server; sending a task, to be recorded, acquired from data storage equipment in real time to the target recording server by the control server; and recording a stream media by the target recording server according to the task to be recorded. The technical scheme provided by the embodiment of the invention can be applied to an IPTV (Internet Protocol Television) system.

Description

Streaming Media method for recording and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of Streaming Media method for recording and system.
Background technology
IPTV (Internet Protocol Television; IPTV) business is based on the television broadcasting service of IP agreement; Be be transmission channel with the broadband network, be the terminal with the television set, enjoy personalization, mutualization through " network machine top box+general television set ", customizable TV serves and the broad band value-added service of information service.The IPTV system can provide services such as live telecast, video request program and TV playback.
Wherein, TV playback is professional, claims that again (Television Video On Demand, TVOD) business are spotlights of IPTV system area supplementary biography system TV to TV Video On Demand.This business is that the real-time television channel content is recorded, and promptly carries out Streaming Media and records, and (own favorite program is reviewed in program request for Video On Demand, VOD) that kind so that the user after missing some highlight, can look like video request program.
What Streaming Media was recorded employing in the prior art is that qualified recording task is put into the recording task table; Send recording task in batches through the recording task table and give control unit; In control unit, the recording task in the recording task table is recorded the task dictionary that zero-time is inserted in the local recording task table of control unit and rebulid local recording task table according to it; Meanwhile, control unit regularly takes out recording task and sends to streaming media server and carry out Streaming Media and record from local recording task table.
In realizing process of the present invention, the inventor finds that Streaming Media of the prior art is recorded through recording task and imported the control unit realization in batches.Under the batch importing situation of recording task; When recording task need change or delete; To recording task make amendment or the step of deleting more loaded down with trivial details; Need send revise or the deletion request to control unit, control unit is searched according to said modification or deletion request retrieval tasks concordance list and is required the recording task that is modified or deletes, after finding recording task is made amendment or deletes.
Summary of the invention
The embodiment of the invention provides a kind of Streaming Media method for recording and system, to solve in the prior art, revises or delete the more loaded down with trivial details problem of step of recording task in the Streaming Media recording process.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
The Streaming Media method for recording comprises: Control Server is chosen the target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation; Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time; Said target Video Record Processor treats that according to said recording task carries out Streaming Media and records.
The Streaming Media recording system comprises:
Data storage device is used for storage and treats recording task;
Control Server is used for choosing the target Video Record Processor and the recording task of treating that will from data storage device, obtain in real time sends to said target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation;
The target Video Record Processor is used to record Streaming Media, according to the said recording task of treating.
Streaming Media method for recording and system that the embodiment of the invention provides; Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time; Solved in the prior art and to import control unit in batches through recording task and realize that Streaming Media records, made the more loaded down with trivial details problem of step of modification and deletion of recording task.The technical scheme that the embodiment of the invention provides makes the modification of recording task or deletion in data storage device, to carry out because said Control Server obtains in real time from data storage device and treats recording task, and flexible operation is easy.
Description of drawings
The Streaming Media method for recording flow chart that Fig. 1 provides for the embodiment of the invention;
The Streaming Media method for recording flow chart that Fig. 2 provides for another embodiment of the present invention;
The Streaming Media method for recording flow chart that Fig. 3 provides for yet another embodiment of the invention;
The Streaming Media method for recording flow chart that Fig. 4 provides for further embodiment of this invention;
The flow chart of step 401 in the Streaming Media method for recording that Fig. 5 provides for inventive embodiments shown in Figure 4;
The structural representation of the Streaming Media recording system that Fig. 6 provides for the embodiment of the invention;
The structural representation of the Control Server that Fig. 7 provides for inventive embodiments shown in Figure 6;
The structural representation of the subsequent use Control Server that Fig. 8 provides for inventive embodiments shown in Figure 6.
Embodiment
To import control unit in batches through recording task and realize that Streaming Media records in order to solve in the prior art, make the more loaded down with trivial details problem of step of modification and deletion of recording task, the method and system that the embodiment of the invention provides a kind of Streaming Media to record.
Streaming Media method for recording as shown in Figure 1, that the embodiment of the invention provides comprises:
Step 101, Control Server is chosen the target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation; Said Control Server carries out choosing of target Video Record Processor according to the principle of load balancing.
Step 102, said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time.
Step 103, said target Video Record Processor treats that according to said recording task carries out Streaming Media and records.
In the present embodiment; Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time; Solved in the prior art and to import control unit in batches through recording task and realize that Streaming Media records, made the more loaded down with trivial details problem of step of modification and deletion of recording task.The technical scheme that the embodiment of the invention provides makes the modification of recording task or deletion in data storage device, to carry out because said Control Server obtains in real time from data storage device and treats recording task, and flexible operation is easy.
In order to strengthen the stability that Streaming Media is recorded, the Streaming Media method for recording that another embodiment of the present invention provides, as shown in Figure 2, said Streaming Media method for recording also comprises:
Step 201 judges whether the target Video Record Processor breaks down.
In the present embodiment, Control Server judges whether the target Video Record Processor breaks down, and said target Video Record Processor breaks down and comprises: said Control Server detects the heartbeat packet of fall short Video Record Processor; Or said Control Server to detect the target Video Record Processor unusual through the heartbeat packet that the heartbeat passage sends.
Step 202; When said target Video Record Processor breaks down; Said Control Server regenerates the secondary recording task according to the current recording task of target Video Record Processor and the progress of recording of this task, and said secondary recording task is sent to the secondary target Video Record Processor that Control Server obtains again.
In the present embodiment; Through judging whether the target Video Record Processor breaks down to confirm the operating state of said target Video Record Processor; When said target Video Record Processor breaks down, the secondary recording task that regenerates is sent to secondary target Video Record Processor, and carry out Streaming Media through single streaming media server in the prior art and record and compare; It is uninterrupted that it has ensured that Streaming Media is recorded, and promptly strengthened the stability that Streaming Media is recorded.Choosing of said secondary target Video Record Processor also is on the principle of load balancing, to carry out.
For the stability that further reinforcement Streaming Media is recorded, the Streaming Media method for recording that yet another embodiment of the invention provides, as shown in Figure 3, said Streaming Media method for recording also comprises:
Step 301 judges whether Control Server breaks down; Subsequent use Control Server judges whether Control Server breaks down, and said Control Server breaks down and comprises: said subsequent use Control Server detects the heartbeat packet less than Control Server.
Step 302, when said Control Server does not break down, all inner data of the said Control Server of subsequent use Control Server periodic replication;
Step 303; When said Control Server breaks down; Subsequent use Control Server substitutes said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time, and subsequent use Control Server and said Control Server use virtual IP address, concerning Video Record Processor; Control Server switches and can not know, Control Server switches can not cause external IP change.
In the present embodiment, when Control Server breaks down, substitute Control Server work through subsequent use Control Server and avoid causing Streaming Media to record the phenomenon appearance of interruption, thereby strengthened the stability that Streaming Media is recorded owing to Control Server breaks down.
The Streaming Media method for recording that the embodiment of the invention provides; Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time; Solved in the prior art and to import control unit in batches through recording task and realize that Streaming Media records, made the more loaded down with trivial details problem of step of modification and deletion of recording task.The technical scheme that the embodiment of the invention provides because said Control Server obtains in real time from data storage device and treats recording task, makes the modification of recording task or deletion in data storage device, to carry out, and flexible operation is easy.
In order to make those skilled in the art can more be expressly understood the technical scheme that the embodiment of the invention provides, through concrete embodiment, the Streaming Media method for recording that the embodiment of the invention is provided is elaborated below.
Streaming Media method for recording as shown in Figure 4, that another embodiment of the present invention provides comprises:
Step 401, Control Server is chosen the target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation.
In the present embodiment, said step 401, as shown in Figure 5, comprising:
Step 4011, Video Record Processor sends the Control Server that broadcast is sought the said Video Record Processor of control.Said broadcast comprises the address of said Video Record Processor at least; Be provided with information table in the said Control Server, as shown in table 1, said information table is made up of the address of all Video Record Processor in the said Control Server control range;
Table 1: the information table that Control Server is inner
Sequence number ?1 2 3 4
The address ?ip123 ip124 ip125 ip126
When Video Record Processor started, said Video Record Processor sent broadcast, as; Ip123 seeks oneself Control Server, after Control Server receives broadcast; Detect own inner information table; If in said information table, find the address of said Video Record Processor, as, the address ip123 of Video Record Processor in comprising the Control Server of table 1, found; Then this Control Server is replied acknowledgement messaging, and said Video Record Processor is sought the Control Server of this Video Record Processor of control and sought successfully.
Step 4012, Video Record Processor sends registration message and gives said Control Server, and Control Server receives and preserves said registration message.The registration message that said Video Record Processor sends is the correlated performance parameter of said Video Record Processor; At least the maximum that comprises said Video Record Processor is recorded channel and maximum bandwidth; As; The address is that the Video Record Processor of ip123 sends registration message: " 5,1Mb ", promptly the address be the maximum of the Video Record Processor of ip123 to record channel number be 5, maximum broadband is 1Mb.Said Video Record Processor sends registration message and gives said Control Server; Control Server receives and preserves said registration message; Video Record Processor succeeds in registration, and said Control Server returns to succeed in registration when preserving said registration message and replys to said Video Record Processor.
What be worth explanation is; Control Server can receive and be kept at the registration message of all Video Record Processor in its control range; When a plurality of Video Record Processor that comprise in the said Control Server when it sends registration message, can form the registration message table in that Control Server is inner, as shown in table 2.
Table 2: the registration message table that Control Server is inner
The address ip123 ip124 ip125 ip126
Registration message 5、1Mb 5、1Mb 8、2Mb 8、2Mb
Step 4013 is set up the heartbeat passage between Video Record Processor and the said Control Server, and said Video Record Processor sends heartbeat packet through this heartbeat passage and gives Control Server.Be that said Video Record Processor is communicated by letter with said Control Server foundation.Current channel number and the bandwidth consumed recorded that said heartbeat packet comprises said Video Record Processor at least; As; The address is that the Video Record Processor of ip123 sends heartbeat packet and is: " 2,0.2Mb ", promptly the address is that the current channel number of recording of the Video Record Processor of ip123 is 2, having consumed the broadband is 0.2Mb.Make Control Server understand the operating state of Video Record Processor in real time, as shown in table 3, Control Server receives the heartbeat packet of the Video Record Processor of its control.
Table 3: the heartbeat packet that Control Server receives
The address ip123 ip124 ip125 ip126
Heartbeat packet 2、0.2Mb 3、0.4Mb 7、1.7Mb 6、1.5Mb
What be worth explanation is, the heartbeat packet that at every turn receives, and it is current, and to record the heartbeat packet that channel number and bandwidth consumed and last time receive be different.
Step 4014, Control Server detect the heartbeat packet that said Video Record Processor sends in real time, and carry out choosing of target Video Record Processor according to said registration message and heartbeat packet.Choosing of said target Video Record Processor is on the principle of load balancing, to carry out.As; Associative list 2 and table 3; Control Server compares the heartbeat packet that above-mentioned four Video Record Processor send; The bandwidth consumed of Video Record Processor that draws the address and be ip123 is minimum, thus select the address be the Video Record Processor of ip123 as the target Video Record Processor, promptly adopt the principle of load balancing to choose the target Video Record Processor.
Step 402, said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time.
In the present embodiment; Saidly treat that recording task comprises channel identication at least, records zero-time, recording length and recording finish after the file identification preserved of needs; As; " 881 milliseconds of Tianjin satellite TVs, 13 o'clock sharps, 1 hour 40 minutes 50 seconds, file 1 ", promptly said recording task are that to record the duration that Tianjin satellite TV begins for 13 o'clock sharps be 1 hour 40 minutes 50 seconds 881 milliseconds programs, and after performance recording finishes, store in the file 1.Said Control Server will get access in real time from data storage device and treat recording task " 881 milliseconds of Tianjin satellite TVs, 13 o'clock sharps, 1 hour 40 minutes 50 seconds, file 1 ", and send it to the target Video Record Processor, and promptly the address is the Video Record Processor of ip123.Said Control Server will treat that recording task sends to said target Video Record Processor and makes the modification of the plan of recording or deletion data storage device, to carry out from what data storage device obtained in real time; Flexible operation is easy; Solved in the prior art and to import control unit in batches through recording task and realize that Streaming Media records, made the more loaded down with trivial details problem of step of modification and deletion of recording task.
Step 403, said target Video Record Processor treats that according to said recording task carries out Streaming Media and records.
In order to practice thrift the Streaming Media recording time, said Streaming Media method for recording also comprises:
Step 404 is recorded at Streaming Media and to be closed on when finishing, and said target Video Record Processor sends and closes on end and give Control Server, and as when the current recording task of distance finishes to also have 10 seconds, Video Record Processor sends and closes on end and give Control Server.
What be worth explanation is, in the present embodiment, will finish to also have 10 stopwatches to be shown Streaming Media apart from current recording task and record and close on end, and in the specific implementation, said Streaming Media closes on and finishes to be not limited in above-mentioned expression mode.
Step 405; Receive said close on end after; Said Control Server will obtain new recording task and send to said target Video Record Processor from data storage device, the recording task that this is new to record the said concluding time of recording of recording the Streaming Media that closes on end of zero-time be continuous, as; The current recording task concluding time be 14: 40: 50 881 milliseconds; Close on when finishing at this recording task, if contain in the data storage device record zero-time be 14: 40: 50 881 milliseconds treat recording task, then said Control Server obtains this from data storage device to record zero-time be 14: 40: 50 881 milliseconds recording tasks.Said Control Server obtains this from data storage device to record zero-time be 14: 40: 50 881 milliseconds recording tasks; And at current recording task when 881 milliseconds of end were recorded in 40 minutes 50 seconds in 14 o'clock, be that 14: 40: 50 881 milliseconds recording tasks directly send to this Video Record Processor directly with the said zero-time of recording.
What be worth explanation is, in the present embodiment, records the concluding time with last one and records two identical recording tasks of zero-time with next bar and be expressed as continuous recording task.
In the present embodiment; Because Video Record Processor closes on the transmission of end; Make Control Server in time to seek and be stored in zero-time and the continuous recording task of this recording task concluding time in the data storage device to the current recording task that closes on end; Search out said be stored in continuous recording task of zero-time and this recording task concluding time in the data storage device after; Said Control Server obtains said recording task and directly sends to this Video Record Processor, thereby has practiced thrift the time.The transmission of continuous duty has reduced the step of Video Record Processor resolution flow medium critical data in recording process, has reduced the loss of data.
In order to strengthen the stability that Streaming Media is recorded, the Streaming Media method for recording that the embodiment of the invention provides also comprises:
Step 406 judges whether the target Video Record Processor breaks down.
Step 407; When said target Video Record Processor breaks down; Said Control Server regenerates the secondary recording task according to the current recording task of target Video Record Processor and the progress of recording of this task, and said secondary recording task is sent to the secondary target Video Record Processor that Control Server obtains again.
In the present embodiment, said Control Server judges whether the target Video Record Processor breaks down, and said target Video Record Processor breaks down and comprises: said Control Server detects the heartbeat packet of fall short Video Record Processor; Or said Control Server to detect the target Video Record Processor unusual through the heartbeat packet that the heartbeat passage sends.The fault that said target Video Record Processor takes place has two kinds of forms, is respectively partial fault and paralysis formula fault.Wherein, said partial fault is that wherein one or more channel recordings in the Video Record Processor interrupt, and said paralysis formula fault is that all channel recordings in the Video Record Processor break down.
When Video Record Processor generation partial fault; Said Control Server can also detect heartbeat packet; But the partial information in the said heartbeat packet is unusual, and at this moment, said Control Server regenerates the secondary recording task according to the current recording task of target Video Record Processor and the progress of recording of this task; And said secondary recording task sent to the secondary target Video Record Processor that Control Server obtains again, make secondary target Video Record Processor continue to record uncompleted recording task.As; The performance recording of Tianjin satellite TV breaks down 880 milliseconds the time being recorded to 13: 23: 42, interrupts recording, and heartbeat packet still is in 13: 23: 42 880 milliseconds for the recording state of Tianjin satellite TV program when sending for following 1 millisecond; Said Control Server detects the heartbeat packet that this Video Record Processor sends; Video Record Processor generation partial fault, then said Control Server is according to 880 milliseconds of 13: 23: 42 break periods of Tianjin satellite TV performance recording, 13 o'clock sharps of zero-time of Tianjin satellite TV performance recording; And Tianjin satellite TV performance recording length be 1 hour 40 minutes 50 seconds 881 milliseconds; Regenerate the secondary recording task, with the zero-time in original recording task be revised as 13: 23: 42 881 milliseconds, recording length be 1 hour 17 minutes 8 seconds 1 millisecond; Other information are constant, and promptly said secondary recording task is: " 1 millisecond of Tianjin satellite TV, 13: 23: 42 881 milliseconds, 1 hour 17 minutes 8 seconds, file 1 ".The said secondary recording task that regenerates sends to the secondary target Video Record Processor that said Control Server is chosen on the principle of load balancing, said secondary target Video Record Processor controller continues recording of Tianjin satellite TV's program.The channel of other operate as normal continues in this Video Record Processor, to carry out recording of respective streams medium in the said target Video Record Processor.
When Video Record Processor generation paralysis formula fault; Said Control Server detects the heartbeat packet less than this Video Record Processor; Then Control Server all regenerates the secondary recording task according to the heartbeat packet of detected this Video Record Processor of last time and all recording tasks in this Video Record Processor; Said recording task regenerate with above-mentioned partial fault in recording task to regenerate principle identical, do not give unnecessary details one by one here.
In the present embodiment; Said Control Server carries out regenerating of recording task to the Video Record Processor fault; Avoided breaking down owing to Video Record Processor in the prior art, the situation of missing performance recording takes place, and has further strengthened the stability that Streaming Media is recorded.
In order further to strengthen the stability that Streaming Media is recorded, the Streaming Media method for recording that the embodiment of the invention provides also comprises:
Step 408 judges whether Control Server breaks down; Said subsequent use Control Server judges whether Control Server breaks down, and said Control Server breaks down and comprises: said subsequent use Control Server detects the heartbeat packet less than Control Server.The heartbeat packet that said Control Server sends is a detection signal, is mainly used in this information of " telling " said subsequent use Control Server " I am in operate as normal ".
Step 409, when said Control Server does not break down, all inner data of the said Control Server of subsequent use Control Server periodic replication.
Step 410; When said Control Server breaks down; Subsequent use Control Server substitutes said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time, and said subsequent use Control Server substitutes said Control Server work through the virtual IP address technology.
In the present embodiment; Set up the heartbeat passage between said Control Server and the subsequent use Control Server, said subsequent use Control Server detects heartbeat packet and all inner data of the said master control server of periodic replication that said master control server sends through this heartbeat passage in real time.When said master control server broke down, said subsequent use Control Server detected the heartbeat packet less than said master control server, and subsequent use Control Server adopts the alternative master control service of virtual IP address technology to send recording task and gives Video Record Processor.Through complementing each other of Control Server and standby server; Guaranteed the operate as normal of said Control Server; Avoided breaking down owing to Control Server in the prior art, the situation of missing performance recording takes place, and has further strengthened the stability that Streaming Media is recorded.
Streaming Media method for recording and system that the embodiment of the invention provides; Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time; Solved in the prior art and to import control unit in batches through recording task and realize that Streaming Media records, made the more loaded down with trivial details problem of step of modification and deletion of recording task.The technical scheme that the embodiment of the invention provides makes the modification of recording task or deletion in data storage device, to carry out because said Control Server obtains in real time from data storage device and treats recording task, and flexible operation is easy.
The Streaming Media recording system that the embodiment of the invention provides, as shown in Figure 6, comprising:
Data storage device 501 is used for storage and treats recording task.
Control Server 502 is used for choosing the target Video Record Processor and the recording task of treating that will from data storage device, obtain in real time sends to said target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation; Its concrete implementation method can be said referring to step 401 as shown in Figure 4 and step 402, repeats no more here.
Target Video Record Processor 503 is used to record Streaming Media, according to the said recording task of treating.Its concrete implementation method can be said referring to step 402 as shown in Figure 4 and step 403, repeats no more here.
In order to strengthen the stability that Streaming Media is recorded, said Control Server, as shown in Figure 7, comprising:
Judging unit 5021 is used to judge whether the target Video Record Processor breaks down; Its concrete implementation method can be said referring to step 406 as shown in Figure 4, repeats no more here.
Generation unit 5022 is used to generate the secondary recording task, according to judgement and the current recording task of target Video Record Processor and the progress of recording of this task of said judging unit.Its concrete implementation method can be said referring to step 407 as shown in Figure 4, repeats no more here.
Transmitting element 5023 is used for said secondary recording task is sent to the secondary target Video Record Processor that said Control Server obtains again.Its concrete implementation method can be said referring to step 407 as shown in Figure 4, repeats no more here.
In order further to strengthen the stability that said Streaming Media is recorded, said Streaming Media recording system also comprises:
Subsequent use Control Server 504; Be used for all inner data of the said Control Server of periodic replication; And when Control Server breaks down, substitute said Control Server and will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time.Its concrete implementation method can be said referring to step 408 as shown in Figure 4 to step 410, repeats no more here.
Wherein, said subsequent use Control Server, as shown in Figure 8, comprising:
Judging unit 5041 is used to judge whether Control Server breaks down; Its concrete implementation method can be said referring to step 408 as shown in Figure 4, repeats no more here.
Backup units 5042 is used for all inner data of the said Control Server of periodic replication; Its concrete implementation method can be said referring to step 409 as shown in Figure 4, repeats no more here.
Performance element 5043, being used for substituting said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time, according to the data of periodic replication in the said backup units and the judgement in the judging unit.Its concrete implementation method can be said referring to step 410 as shown in Figure 4, repeats no more here.
The Streaming Media recording system that the embodiment of the invention provides; Obtain the recording task that is stored in the data storage device in real time; Make the modification or the deletion of the plan of recording in data storage device, to carry out; Flexible operation is easy, has solved in the prior art to import control unit in batches through recording task and realize that Streaming Media records, and makes the more loaded down with trivial details problem of step of modification and deletion of recording task; Simultaneously,, thereby practiced thrift the time, improved the efficient that Streaming Media is recorded because Control Server sends zero-time when current recording task finishes and continuous recording task of this recording task concluding time is given Video Record Processor.
Streaming Media method for recording and system that the embodiment of the invention provides can be applied in the IPTV system.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer-readable recording medium, like ROM/RAM, magnetic disc or CD etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of said claim.

Claims (8)

1. a Streaming Media method for recording is characterized in that, comprising:
Control Server is chosen the target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation;
Said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time;
Said target Video Record Processor treats that according to said recording task carries out Streaming Media and records;
Said Control Server judges whether said target Video Record Processor breaks down;
When said target Video Record Processor breaks down; Said Control Server regenerates the secondary recording task according to the current recording task of said target Video Record Processor and the progress of recording of this task, and said secondary recording task is sent to the secondary target Video Record Processor that said Control Server obtains again.
2. method according to claim 1 is characterized in that, also comprises:
Subsequent use Control Server judges whether said Control Server breaks down;
When said Control Server does not break down, all inner data of the said Control Server of said subsequent use Control Server periodic replication;
When said Control Server breaks down, subsequent use Control Server substitutes said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time.
3. method according to claim 1 is characterized in that, said target Video Record Processor breaks down, and comprising:
Said Control Server detects the heartbeat packet of fall short Video Record Processor; Or
It is unusual through the heartbeat packet that the heartbeat passage sends that said Control Server detects the target Video Record Processor.
4. method according to claim 2 is characterized in that, said Control Server breaks down, and comprising:
Said subsequent use Control Server detects the heartbeat packet less than said Control Server.
5. method according to claim 1, its characteristic exists, and also comprises:
Record at Streaming Media and to close on when finishing, said target Video Record Processor sends and closes on end and give said Control Server;
Receive said close on end after; Said Control Server will obtain new recording task and send to said target Video Record Processor from data storage device, the recording task that this is new record zero-time and the said concluding time of recording of recording the Streaming Media that closes on end is continuous.
6. a Streaming Media recording system is characterized in that, comprising:
Data storage device is used for storage and treats recording task;
Control Server is used for choosing the target Video Record Processor and the recording task of treating that will from data storage device, obtain in real time sends to said target Video Record Processor from an above Video Record Processor of communicating by letter with its foundation;
The target Video Record Processor is used for recording Streaming Media according to the said recording task of treating;
Wherein, said Control Server comprises:
Judging unit is used to judge whether the target Video Record Processor breaks down;
Generation unit is used to generate the secondary recording task, according to judgement and the current recording task of target Video Record Processor and the progress of recording of this task of said judging unit;
Transmitting element is used for said secondary recording task is sent to the secondary target Video Record Processor that said Control Server obtains again.
7. system according to claim 6 is characterized in that, also comprises:
Subsequent use Control Server; Be used for all inner data of the said Control Server of periodic replication; And when Control Server breaks down, substitute said Control Server and will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time.
8. system according to claim 7 is characterized in that, said subsequent use Control Server comprises:
Judging unit is used to judge whether Control Server breaks down;
Backup units is used for all inner data of the said Control Server of periodic replication;
Performance element, being used for substituting said Control Server will send to said target Video Record Processor from the recording task of treating that data storage device obtains in real time, according to the data of periodic replication in the said backup units and the judgement of judging unit.
CN200910208508XA 2009-10-28 2009-10-28 Stream media recording method and system Active CN102056014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910208508XA CN102056014B (en) 2009-10-28 2009-10-28 Stream media recording method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910208508XA CN102056014B (en) 2009-10-28 2009-10-28 Stream media recording method and system

Publications (2)

Publication Number Publication Date
CN102056014A CN102056014A (en) 2011-05-11
CN102056014B true CN102056014B (en) 2012-10-31

Family

ID=43959867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910208508XA Active CN102056014B (en) 2009-10-28 2009-10-28 Stream media recording method and system

Country Status (1)

Country Link
CN (1) CN102056014B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523480A (en) * 2011-12-08 2012-06-27 成都东方盛行电子有限责任公司 Recording system and method based on active-standby and cache technology
CN102724583A (en) * 2012-05-30 2012-10-10 中兴通讯股份有限公司 Program recording method and system
WO2015042859A1 (en) * 2013-09-27 2015-04-02 华为技术有限公司 Method and device for asynchronous communication
CN104506949A (en) * 2014-12-25 2015-04-08 四达时代通讯网络技术有限公司 Push video on demand method, push video on demand device and push video on demand system
CN107566883B (en) * 2017-08-11 2019-07-05 中广热点云科技有限公司 A method of utilizing recorded broadcast equipment recorded broadcast TV programme
CN110602545A (en) * 2019-09-26 2019-12-20 杭州米络星科技(集团)有限公司 Distributed recording execution method for network live broadcast
CN113573080B (en) * 2021-06-28 2023-09-29 北京百度网讯科技有限公司 Live broadcast recording method and device, electronic equipment and storage medium
CN114363555A (en) * 2022-01-06 2022-04-15 厦门亿联网络技术股份有限公司 Recording and broadcasting method and device based on AS mode and recording and broadcasting management server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101247512A (en) * 2008-03-19 2008-08-20 天柏宽带网络科技(北京)有限公司 Method and system for recording network individual video
US20080212941A1 (en) * 2005-12-30 2008-09-04 Lillethun David J Recording media content on different devices
CN101505298A (en) * 2009-02-09 2009-08-12 中兴通讯股份有限公司 Storing and obtaining method for media time shift code stream and multimedia service system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212941A1 (en) * 2005-12-30 2008-09-04 Lillethun David J Recording media content on different devices
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101247512A (en) * 2008-03-19 2008-08-20 天柏宽带网络科技(北京)有限公司 Method and system for recording network individual video
CN101505298A (en) * 2009-02-09 2009-08-12 中兴通讯股份有限公司 Storing and obtaining method for media time shift code stream and multimedia service system

Also Published As

Publication number Publication date
CN102056014A (en) 2011-05-11

Similar Documents

Publication Publication Date Title
CN102056014B (en) Stream media recording method and system
CN104023273B (en) VOD method and device
CN104023250B (en) Based on the real-time interactive method and system of Streaming Media
CN100551044C (en) Realize method, equipment and the system of net cast
CN102713883A (en) Audio splitting with codec-enforced frame sizes
CN102123303A (en) Audio/video file playing method and system as well as transmission control device
CN102055718B (en) Method, device and system for layering request content in http streaming system
CN104468395A (en) Direct-broadcasting-room channel access method and system
CN102238419A (en) Method and apparatus for playing live content
CN107534680A (en) For supporting DASH further equipment timing adjustment and method by broadcasting
CN102523314A (en) Identifying an efficient destination server
CN101202882B (en) Method, system for transmitting medium resource and set-top box
CN106656593A (en) Streaming media live broadcast recording redundant hot-standby method and system
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
CN101662658B (en) Program push method, set-top box and electronic program guide
CN100584007C (en) Method for using bookmark on flow media system
CN103118275B (en) A kind of method of program recording, terminal and server
CN102420868A (en) Service providing method, device and system
CN101656947B (en) Establishing method, device and system of cross-heterogeneous-network service sharing
CN110602545A (en) Distributed recording execution method for network live broadcast
CN101494768A (en) Method and apparatus for sending and downloading multimedia data, and multimedia order programme system
CN100446567C (en) Apparatus and method for realizing P2P stream broadcasting in information family appliances
CN107360448B (en) A kind of video data unicast multicast switching method
US20130340015A1 (en) Method for accessing multimedia content within a home
CN106993236B (en) A kind of video broadcasting method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20170109

Address after: 266100 Shandong Province, Qingdao city Laoshan District Songling Road No. 399

Patentee after: Poly Polytron Technologies Inc

Address before: 266071 Laoshan, Qingdao province Hongkong District No. East Road, room 248, room 131

Patentee before: Hisense Media Networks Co., Ltd.