CN106375777B - A kind of audio-video recording method and system - Google Patents

A kind of audio-video recording method and system Download PDF

Info

Publication number
CN106375777B
CN106375777B CN201610875229.9A CN201610875229A CN106375777B CN 106375777 B CN106375777 B CN 106375777B CN 201610875229 A CN201610875229 A CN 201610875229A CN 106375777 B CN106375777 B CN 106375777B
Authority
CN
China
Prior art keywords
task
time interval
level
built
end time
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
CN201610875229.9A
Other languages
Chinese (zh)
Other versions
CN106375777A (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.)
Beijing Win Technology Co Ltd
Original Assignee
Beijing Win 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 Beijing Win Technology Co Ltd filed Critical Beijing Win Technology Co Ltd
Priority to CN201610875229.9A priority Critical patent/CN106375777B/en
Publication of CN106375777A publication Critical patent/CN106375777A/en
Application granted granted Critical
Publication of CN106375777B publication Critical patent/CN106375777B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23109Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion by placing content in organized collections, e.g. EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities

Abstract

The present invention relates to broadcasting and TV technical fields, a kind of audio-video recording method and system are specifically provided, present invention employs following technical solutions: including source by management and includes format template, the same source and the template task of including that acceptance system is assigned are integrated into the subtask that level-one includes task, include module execution level-one and include task.The present invention can solve identical source and be repeated the problem of including into identical file format and coded format.Data management is carried out with file is included to the task of including simultaneously, so that any task of including can obtain the feedback for the state of including and include the index path of output.

Description

A kind of audio-video recording method and system
Technical field
The present invention relates to broadcasting and TV technical field more particularly to a kind of audio-video recording method and systems.
Background technique
As broadcasting and TV cause is to the high speed development in digitlization direction, the service application based on PC is occupied more and more in the industry Consequence.Program is included as the important means for collecting quarry, in business departments such as TV stations using very extensive. And as Internet technology is in the extensive use of traditional radio, TV and film industries, more and more channel columns, live signal source need Acceptance system includes signal.Current acceptance system is all formulated by staff and includes job order to include signal source Data.And include that signal is various, and TV station's column is numerous, it is different to include staff and formulate different job orders of including, It is possible to lead to the problem of the data for repeating to include the same source in this way.
Due to including file usage multiplicity, the same source may be included into different file format or coded format;Together When in order to the functions such as direct broadcast time-shift application, it may be necessary to fragmentation caching is carried out to the source signal included;And it includes and appoints There may be inconsistencies again for the strategy of business and the strategy cached.Therefore it needs a kind of audio, video data to include management method, comes Assistance is included, and is solved the problems, such as that the same source is repeated and is included into identical object format, so that the same source be avoided to be carried out Repetition is included, and the waste of the occupancy of disk space and the resource of system is reduced.
Summary of the invention
The purpose of the present invention is to provide a kind of audio-video recording method and system, it is repeated with to solve the same source and is included The problem of at identical object format, reduces the occupancy of system resource.
In order to achieve the above objectives, on the one hand, the embodiment of the present invention provides a kind of audio-video recording method, comprising:
It is newly-built to include task;It is described include task include at least include source, include template;
It detects whether to exist and includes including source and include the identical built level-one of template and including task for task with described;If In the presence of the task of including then is added to the subtask that the built level-one includes task;Appoint if it is not, then being included according to Newly-built level-one of being engaged in includes task, and the task of including is added to the subtask that the newly-built level-one includes task;
It executes that the built level-one includes task or newly-built level-one includes task, executes audio-video and include.
Preferably, the task of including further includes start and end time interval;When the built level-one task of including includes start-stop Between span list;
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one include the start and end time interval list of task In any start and end time interval member all without intersection, then this is included into start and end time interval of task as newcomer and added Into the start and end time interval list;
Otherwise by the member in the start and end time interval list of the start and end time interval for including task and intersection Merge into newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intersection The latest time of time interval.
Preferably, the newly-built level-one includes including source, including template and start and end time interval and the receipts for task Record task is identical.
Preferably, the execution built level-one includes task or newly-built level-one includes task, executes audio-video and includes, wraps It includes:
It includes task when reaching the built level-one or when newly-built level-one includes the initial time of task, includes in real time corresponding The audio, video data in source is included, and is stored according to template is included accordingly;
When the time interval included meets the start and end time interval of subtask, database is included in update, by the basis The data deposit that template is stored is included accordingly and includes database, and feeds back the state and receipts for completing the subtask included The information of record;Or,
When the built level-one includes task or newly-built level-one includes task completion, database is included in update, will be described Database is included according to the data deposit that template is stored is included accordingly, task is included in end, and feedback is completed to include The information building the state of level-one task or newly-built level-one task and including, and discharge the occupied system resource of task.
On the other hand, the embodiment of the invention provides a kind of audio-video collection device, comprising:
Task acquiring unit is included, includes task for newly-built;It is described include task include at least include source, include mould Plate;
Level-one includes task detection unit, for detecting whether including including source and including template for task in the presence of with described Identical built level-one includes task;
Subtask adding unit, for including task addition for described when including task there are identical built level-one The subtask of task is included for the built level-one;
Level-one includes task generation unit, for when there is no identical built level-one include task when, according to the receipts Record task creates level-one and includes task, and the task of including is added to the subtask that the newly-built level-one includes task;
Unit is included, the built level-one includes task or newly-built level-one includes task, execution audio-video receipts for executing Record.
Preferably, the task of including further includes start and end time interval;When the built level-one task of including includes start-stop Between span list;
The subtask adding unit includes that start and end time interval updates subelement, is used for,
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one include the start and end time interval list of task In any start and end time interval member all without intersection, then this is included into start and end time interval of task as newcomer and added Into the start and end time interval list;
Otherwise by the member in the start and end time interval list of the start and end time interval for including task and intersection Merge into newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intersection The latest time of time interval.
Preferably, the level-one includes task generation unit and is used to that the newly-built level-one to be made to include including source, receiving for task Record template and start and end time interval with described to include task identical.
It is preferably, described to include unit, comprising:
Control subelement is included, for the built level-one to include task or newly-built level-one includes the starting of task when reaching When the time, the audio, video data for accordingly including source is included in real time, and stored according to template is included accordingly;
Subtask controls subelement, when for meeting the start and end time interval of subtask when the time interval included, updates Database is included, the basis is included into the data deposit that template stores accordingly and includes database, and feeds back completion and receives The state of the subtask of record and the information included;Or,
Level-one includes task control subelement, for when the built level-one include task or newly-built level-one to include task complete Database is included in Cheng Shi, update, and the basis is included the data deposit that template stores accordingly and includes database, is terminated Task, the information that feedback is completed the state of the built level-one task or newly-built level-one task included and included are included, and is discharged The occupied system resource of task.
On the other hand, the embodiment of the present invention provides a kind of audio-video acceptance system characterized by comprising
Acceptance system module includes task for newly-built, and is sent to and includes task management module;
Include task management module, for entirely including task, make it is each include each of source and include template only have one Level-one includes task;The newly-built task of including is only capable of being added to the son times that level-one includes task with template is included according to source of including Business;
Task execution module is included, includes task for executing the level-one;
Database module, for record source of including, include module, include mission bit stream, level-one includes mission bit stream, includes State and include data.
Above-mentioned technical proposal, which has the following beneficial effects:, includes source by management and includes format template, under acceptance system The same source and the template task of including reached is integrated into the subtask that level-one includes task, includes module and executes level-one and include and appoints Business.The present invention can solve identical source and be repeated the problem of including into identical file format and coded format.Simultaneously to receipts Record task carries out data management with file is included, so that any task of including can obtain the feedback for the state of including and include output Index path.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of audio-video recording method of the embodiment of the present invention;
Fig. 2 is the flow diagram of step 105 in the embodiment of the present invention one;
Fig. 3 is a kind of structural schematic diagram of audio-video collection device of the embodiment of the present invention;
Fig. 4 is to include the structural schematic diagram of unit 205 in the embodiment of the present invention two;
Fig. 5 is a kind of structural schematic diagram of audio-video acceptance system of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The present invention proposes a kind of method and system that audio-video is included, and includes source by management and includes format template, receives The same source and the template task of including that recording system is assigned are integrated into the subtask that level-one includes task, include module and execute one Grade includes task.The present invention can solve identical source and be repeated the problem of including into identical file format and coded format. To avoid the same source from being carried out repeating to include, the waste of the occupancy of disk space and the resource of system is reduced.
Data management is carried out with file is included to the task of including simultaneously, any task of including is enabled to obtain the state of including Feed back and include the index path of output.
Technical solution of the present invention is further illustrated below by way of specific embodiment.
Embodiment one
Fig. 1 is a kind of flow diagram of audio-video recording method of the embodiment of the present invention.
As shown, method includes the following steps:
Step 101, it creates and includes task;It is described include task include at least include source, include template;
The task of including is assigned by acceptance system:
Source is included from selection in source control module is included.It includes in source control module, comprising including source information list, includes Source packet includes source name, includes source address, include Source Type containing id is included.
The management operation for including source includes that source is included in addition, source is included in modification, deletes source of including, and source information is included in display;
Include Source Type include H.264, a variety of video encoding formats such as AAC, MPEG-2 and UDP-TS, HTTP, The video and audio communications agreement such as RTMP, RTSP.
Template is included from selection in template is included;
Include content-form or format that template refers to including output;It includes template and may specify that including output is sound Video file or stream.Including template includes the encoded information for including output:
Coded video information has: frame per second, code rate, resolution ratio, coded format, pixel ratio;
Audio coding information has: audio code rate, depth, sample rate, channel number, coded format;
The file information: the whether same file of video and audio, the format after file transcoding: FLV, MP4 etc.;
Stream information: RTMP, UDP etc..
The management operation for including template includes addition template, modification template information, deletion template, display template information etc.
To include task choosing time of receipt:
Time of receipt mode can choose disposably to include, and week includes for unit, and the date includes;
Time of receipt includes initial time, and unit is accurate to the second;
Including including section duration;
Management system is included in the task entrance of including assigned.
Step 102, it detects whether to exist and includes including source and including the identical built level-one receipts of template for task with described Record task;If it exists, 103 are entered step;If it is not, then entering step 104;
The step is completed by including management system:
It includes management system and judges whether the source of task A and template are included task by some level-one simultaneously and used;
Step 103, the task of including is added to the subtask that the built level-one includes task;
Step 104, task is included according to the newly-built level-one of task of including, the task of including is added to described newly-built Level-one includes the subtask of task;
Step 105, the execution built level-one includes task or newly-built level-one includes task, executes audio-video and includes.
The task of including further includes start and end time interval;The built level-one task of including includes start and end time interval column Table;
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one include the start and end time interval list of task In any start and end time interval member all without intersection, then this is included into start and end time interval of task as newcomer and added Into the start and end time interval list;
Otherwise by the member in the start and end time interval list of the start and end time interval for including task and intersection Merge into newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intersection The latest time of time interval.
Preferably, the newly-built level-one includes including source, including template and start and end time interval and the receipts for task Record task is identical.
More than, level-one is all included into task and subtask information update into database.
Fig. 2 is the flow diagram of step 105 in the embodiment of the present invention one, comprising:
Step 1051, task is included or when newly-built level-one includes the initial time of task when reaching the built level-one, it is real When include and accordingly include the audio, video data in source, and stored according to template is included accordingly;
Step 1052, when the time interval included meets the start and end time interval of subtask, database is included in update, will The basis includes the data deposit that template is stored accordingly and includes database, and feeds back the shape for completing the subtask included State and the information included;Or,
Step 1053, when the built level-one includes task or newly-built level-one includes task completion, data are included in update The basis is included the data deposit that template stores accordingly and includes database by library, and task is included in end, and feedback is completed The state of the built level-one task or newly-built level-one task included and the information included, and discharge the occupied system money of task Source.
Embodiment two
Fig. 3 is a kind of structural schematic diagram of audio-video collection device of the embodiment of the present invention, comprising:
Task acquiring unit 201 is included, includes task for newly-built;It is described include task include at least include source, include Template;
The task of including is assigned by acceptance system:
Source is included from selection in source control module is included.It includes in source control module, comprising including source information list, includes Source packet includes source name, includes source address, include Source Type containing id is included.
The management operation for including source includes that source is included in addition, source is included in modification, deletes source of including, and source information is included in display;
Include Source Type include H.264, a variety of video encoding formats such as AAC, MPEG-2 and UDP-TS, HTTP, The video and audio communications agreement such as RTMP, RTSP.
Template is included from selection in template is included;
Include content-form or format that template refers to including output;It includes template and may specify that including output is sound Video file or stream.Including template includes the encoded information for including output:
Coded video information has: frame per second, code rate, resolution ratio, coded format, pixel ratio;
Audio coding information has: audio code rate, depth, sample rate, channel number, coded format;
The file information: the whether same file of video and audio, the format after file transcoding: FLV, MP4 etc.;
Stream information: RTMP, UDP etc..
The management operation for including template includes addition template, modification template information, deletion template, display template information etc.
To include task choosing time of receipt:
Time of receipt mode can choose disposably to include, and week includes for unit, and the date includes;
Time of receipt includes initial time, and unit is accurate to the second;
Including including section duration;
Management system is included in the task entrance of including assigned.
Level-one includes task detection unit 202, for detecting whether including including source and including for task in the presence of with described The identical built level-one of template includes task;
Subtask adding unit 203, for when including task there are identical built level-one, the task of including to be added Add as the subtask that the built level-one includes task;
Level-one includes task generation unit 204, for when there is no identical built level-one include task when, according to described It includes the newly-built level-one of task and includes task, and the task of including is added to the subtask that the newly-built level-one includes task;
Unit 205 is included, the built level-one includes task or newly-built level-one includes task, execution audio-video for executing It includes.
The task of including further includes start and end time interval;The built level-one task of including includes start and end time interval column Table;
The subtask adding unit 203 includes that start and end time interval updates subelement, is used for,
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one include the start and end time interval list of task In any start and end time interval member all without intersection, then this is included into start and end time interval of task as newcomer and added Into the start and end time interval list;
Otherwise by the member in the start and end time interval list of the start and end time interval for including task and intersection Merge into newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intersection The latest time of time interval.
Preferably, the level-one include task generation unit 204 for make the newly-built level-one include task include source, Include template and start and end time interval with described to include task identical
Fig. 4 is to include the structural schematic diagram of unit 205 in the embodiment of the present invention two, comprising:
Control subelement 2051 is included, for the built level-one to include task or newly-built level-one includes task when reaching When initial time, the audio, video data for accordingly including source is included in real time, and stored according to template is included accordingly;
Subtask controls subelement 2052, when for meeting the start and end time interval of subtask when the time interval included, Database is included in update, and the basis is included the data deposit that template stores accordingly and includes database, and has been fed back State at the subtask included and the information included;Or,
Level-one includes task control subelement 2053, and for working as, the built level-one includes task or newly-built level-one is included and appointed When business is completed, database is included in update, and the basis is included the data deposit that template stores accordingly and includes database, Task, the state of built level-one task or newly-built level-one task that feedback completion is included and the information included are included in end, and The occupied system resource of release task.
Embodiment three
Fig. 5 is a kind of structural schematic diagram of audio-video acceptance system of the embodiment of the present invention, comprising:
Acceptance system module 301 includes task for newly-built, and is sent to and includes task management module;
Include task management module 302, for entirely including task, make it is each include each of source and include template only have one A level-one includes task;The newly-built task of including is only capable of being added to the son that level-one includes task according to including source and include template Task;
Task execution module 303 is included, includes task for executing the level-one;
Database module 304, for record source of including, include module, include mission bit stream, level-one includes mission bit stream, It includes state and includes data.
Above-mentioned technical proposal, which has the following beneficial effects:, includes source by management and includes format template, under acceptance system The same source and the template task of including reached is integrated into the subtask that level-one includes task, includes module and executes level-one and include and appoints Business.The present invention can solve identical source and be repeated the problem of including into identical file format and coded format.Simultaneously to receipts Record task carries out data management with file is included, so that any task of including can obtain the feedback for the state of including and include output Index path.
Those skilled in the art will also be appreciated that the various illustrative components, blocks that the embodiment of the present invention is listed (illustrative logical block), unit and step can by electronic hardware, computer software, or both knot Conjunction is realized.For the replaceability (interchangeability) for clearly showing that hardware and software, above-mentioned various explanations Property component (illustrative components), unit and step universally describe their function.Such function It can be that the design requirement for depending on specific application and whole system is realized by hardware or software.Those skilled in the art Can be can be used by various methods and realize the function, but this realization is understood not to for every kind of specific application Range beyond protection of the embodiment of the present invention.
Various illustrative logical blocks or unit described in the embodiment of the present invention can by general processor, Digital signal processor, specific integrated circuit (ASIC), field programmable gate array or other programmable logic devices, discrete gate Or transistor logic, discrete hardware components or above-mentioned any combination of design carry out implementation or operation described function.General place Managing device can be microprocessor, and optionally, which may be any traditional processor, controller, microcontroller Device or state machine.Processor can also be realized by the combination of computing device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors combine a digital signal processor core or any other like configuration To realize.
The step of method described in the embodiment of the present invention or algorithm can be directly embedded into hardware, processor execute it is soft The combination of part module or the two.Software module can store in RAM memory, flash memory, ROM memory, EPROM storage Other any form of storaging mediums in device, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this field In.Illustratively, storaging medium can be connect with processor, so that processor can read information from storaging medium, and It can be to storaging medium stored and written information.Optionally, storaging medium can also be integrated into the processor.Processor and storaging medium can To be set in asic, ASIC be can be set in user terminal.Optionally, processor and storaging medium also can be set in In different components in the terminal of family.
In one or more exemplary designs, above-mentioned function described in the embodiment of the present invention can be in hardware, soft Part, firmware or any combination of this three are realized.If realized in software, these functions be can store and computer-readable On medium, or it is transferred on a computer readable medium in the form of one or more instructions or code forms.Computer readable medium includes electricity Brain storaging medium and convenient for so that computer program is allowed to be transferred to from a place telecommunication media in other places.Storaging medium can be with It is that any general or special computer can be with the useable medium of access.For example, such computer readable media may include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storages, disk storage or other magnetic storage devices or other What can be used for carry or store with instruct or data structure and it is other can be by general or special computer or general or specially treated The medium of the program code of device reading form.In addition, any connection can be properly termed computer readable medium, example Such as, if software is to pass through a coaxial cable, fiber optic cables, double from a web-site, server or other remote resources Twisted wire, Digital Subscriber Line (DSL) are defined with being also contained in for the wireless way for transmitting such as example infrared, wireless and microwave In computer readable medium.The disk (disk) and disk (disc) includes compress disk, radium-shine disk, CD, DVD, floppy disk And Blu-ray Disc, disk is usually with magnetic replicate data, and disk usually carries out optically replicated data with laser.Combinations of the above Also it may be embodied in computer readable medium.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (7)

1. a kind of audio-video recording method characterized by comprising
It is newly-built to include task;It is described include task include at least include source, include template;It includes template and refers to and include the interior of output Appearance form or format, including output is audio-video document or stream;
It detects whether to exist and includes including source and include the identical built level-one of template and including task for task with described;If depositing The task of including then is being added to the subtask that the built level-one includes task;If it is not, then including task according to Newly-built level-one includes task, and the task of including is added to the subtask that the newly-built level-one includes task;
It executes that the built level-one includes task or newly-built level-one includes task, executes audio-video and include;
The task of including further includes start and end time interval;The built level-one task of including includes start and end time interval list;
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one are included in the start and end time interval list of task The start and end time interval for including task is then added to institute as newcomer without intersection by any start and end time interval member It states in start and end time interval list;
Otherwise the start and end time interval for including task is merged with the member in the start and end time interval list of intersection For newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intercept time The latest time in section.
2. the method according to claim 1, wherein the newly-built level-one includes including source, including mould for task Plate and start and end time interval with described to include task identical.
3. the method according to claim 1, wherein executing, the built level-one includes task or newly-built level-one is received Record task executes audio-video and includes, comprising:
It includes task when reaching the built level-one or when newly-built level-one includes the initial time of task, includes accordingly include in real time The audio, video data in source, and stored according to template is included accordingly;
When the time interval included meets the start and end time interval of subtask, database is included in update, and the basis is corresponding The data deposit that template stored of including include database, and feed back the state for completing the subtask included and include Information;Or,
When the built level-one includes task or newly-built level-one includes task completion, database is included in update, by the basis The data deposit that template is stored is included accordingly and includes database, and task is included in end, and feedback completes include built one The state and the information included of grade task or newly-built level-one task, and discharge the occupied system resource of task.
4. a kind of audio-video collection device characterized by comprising
Task acquiring unit is included, includes task for newly-built;It is described include task include at least include source, include template;It receives Record template refers to the content-form or format for including output, and including output is audio-video document or stream;
Level-one includes task detection unit, for detecting whether in the presence of with it is described include task include source and to include template identical Built level-one include task;
Subtask adding unit, for when including task there are identical built level-one, the task of including to be added to institute State the subtask that built level-one includes task;
Level-one includes task generation unit, for being appointed according to described include when including task there is no identical built level-one Newly-built level-one of being engaged in includes task, and the task of including is added to the subtask that the newly-built level-one includes task;
Unit is included, the built level-one includes task or newly-built level-one includes task for executing, and executes audio-video and includes;
The task of including further includes start and end time interval;The built level-one task of including includes start and end time interval list;
The subtask adding unit includes that start and end time interval updates subelement, is used for,
After the task of including to be added to the built level-one and includes the subtask of task, further includes:
If the start and end time interval for including task and the built level-one are included in the start and end time interval list of task The start and end time interval for including task is then added to institute as newcomer without intersection by any start and end time interval member It states in start and end time interval list;
Otherwise the start and end time interval for including task is merged with the member in the start and end time interval list of intersection For newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intercept time The latest time in section.
5. device according to claim 4, which is characterized in that it is described new for making that the level-one includes task generation unit Build level-one include task include source, include template and start and end time interval with described to include task identical.
6. device according to claim 4, which is characterized in that described to include unit, comprising:
Control subelement is included, for the built level-one to include task or newly-built level-one includes the initial time of task when reaching When, the audio, video data for accordingly including source is included in real time, and is stored according to template is included accordingly;
Subtask controls subelement, and when for meeting the start and end time interval of subtask when the time interval included, update is included The basis is included the data deposit that template stores accordingly and includes database, and feeds back what completion was included by database The state of subtask and the information included;Or,
Level-one includes task control subelement, and for working as, the built level-one includes task or newly-built level-one is included task and completed When, database is included in update, and the basis is included the data deposit that template stores accordingly and includes database, terminates to receive Record task, the information that feedback is completed the state of the built level-one task or newly-built level-one task included and included, and discharge and appoint It is engaged in occupied system resource.
7. a kind of audio-video acceptance system characterized by comprising
Acceptance system module includes task for newly-built, and is sent to and includes task management module;
Include task management module, for entirely including task, make it is each include each of source and include template only have a level-one Include task;The newly-built task of including is only capable of being added to the subtask that level-one includes task according to including source and include template; It includes template and refers to the content-form or format for including output, including output is audio-video document or stream;
Task execution module is included, includes task for executing the level-one;
Database module, for record source of including, include module, include mission bit stream, level-one includes mission bit stream, includes state And include data;
The task of including further includes start and end time interval;The built level-one task of including includes start and end time interval list;It is inciting somebody to action The task of including is added to after the subtask that the built level-one includes task, further includes:
If the start and end time interval for including task and the built level-one are included in the start and end time interval list of task The start and end time interval for including task is then added to institute as newcomer without intersection by any start and end time interval member It states in start and end time interval list;
Otherwise the start and end time interval for including task is merged with the member in the start and end time interval list of intersection For newcomer;Newcomer's initial time after merging is the earliest time of the time interval of intersection, and terminating the time is intercept time The latest time in section.
CN201610875229.9A 2016-09-30 2016-09-30 A kind of audio-video recording method and system Expired - Fee Related CN106375777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875229.9A CN106375777B (en) 2016-09-30 2016-09-30 A kind of audio-video recording method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875229.9A CN106375777B (en) 2016-09-30 2016-09-30 A kind of audio-video recording method and system

Publications (2)

Publication Number Publication Date
CN106375777A CN106375777A (en) 2017-02-01
CN106375777B true CN106375777B (en) 2019-07-30

Family

ID=57894735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875229.9A Expired - Fee Related CN106375777B (en) 2016-09-30 2016-09-30 A kind of audio-video recording method and system

Country Status (1)

Country Link
CN (1) CN106375777B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008199436A (en) * 2007-02-15 2008-08-28 Sony Corp Communication system, information processor, information processing method, and computer program
CN101662628A (en) * 2008-08-28 2010-03-03 华为技术有限公司 Multimedia storage method, system and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9154721B2 (en) * 2009-03-26 2015-10-06 Dish Network L.L.C. Apparatus and methods for recording adjacent time slots of television programming on the same channel
US9240217B2 (en) * 2013-06-20 2016-01-19 Tivo Inc. Storing same channel overlapping recordings
US9432735B2 (en) * 2014-07-08 2016-08-30 Echostar Uk Holdings Limited Systems and methods for timing the recording and playback of television programming

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008199436A (en) * 2007-02-15 2008-08-28 Sony Corp Communication system, information processor, information processing method, and computer program
CN101662628A (en) * 2008-08-28 2010-03-03 华为技术有限公司 Multimedia storage method, system and device

Also Published As

Publication number Publication date
CN106375777A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US20100254462A1 (en) Method for reducing memory usage with accelerated channel changes
CN103327417A (en) Method and device for directly broadcasting real-time long-distance audio and video frequency
US20170123713A1 (en) Device and process for data storage and read/write efficiency
US9955203B2 (en) Recording device and method for efficient network personal video recorder manipulation through adaptive bit rate streaming
CN101133617A (en) Method of multiple file streaming service through playlist in mobile environment and system thereof
CN111182322B (en) Director control method and device, electronic equipment and storage medium
CN102474652A (en) Systems and methods for managing content in real-time
CN104093067A (en) Device and method for sharing and playing audio and visual fragments in terminal
CN101501775A (en) Media timeline processing infrastructure
US9055268B2 (en) Multi-tier recorder to enable seek-back unique copy recording
CN103518377A (en) Method and apparatus for updating a database in a receiving device
CN105357544A (en) HLS-based multimedia file processing method and server
CN110198494A (en) A kind of video broadcasting method, device, equipment and storage medium
CN102170453A (en) Audio and video coding method and playing method for shortening waiting time before on demand playing
CN113225585A (en) Video definition switching method and device, electronic equipment and storage medium
US10257552B2 (en) News production system with program schedule modification feature
CN105933778A (en) Live broadcast method and device based on screen contents of terminal
CN106375777B (en) A kind of audio-video recording method and system
US9876967B2 (en) News production system with DVE template feature
CN104170373A (en) Creating and managing sub-recordings
CN101848366A (en) Filing and program transmitting method and equipment of time shift slicing files in IPTV (Internet Protocol Television) system
CN102696231B (en) For realizing the application-level modifications of transmission gap
CN101753728B (en) Method and system of ring tone uploading business
CN106407437A (en) Live stream real-time editing system and method
US10321180B2 (en) News production system with dynamic character generator output

Legal Events

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

Termination date: 20210930