A kind of digital home videos storage implementation method and system
Technical field
The invention belongs to areas of information technology, be specifically related to a kind of digital home videos storage implementation method and system.
Background technology
Development along with science and technology and people's demand, digital family set-top box be we can say in recent years and was rapidly being developed, fresh functions such as interactive multimedia application, separation between machine and card, e-advertising, household bank also are more and more, the user is when enjoying the various functions of digital family set-top box, and the quantity of the highlight that can watch also is increasing.This has just brought a problem, promptly works as the user and sees when video that like or valuable is wanted to preserve that the approach that but can not find is stored this programme content.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, provide a kind of and can help the user to preserve system with managing video better, make digital family set-top box more scientific.
In order to realize foregoing invention, the embodiment of the invention provides a kind of digital home videos storage implementation method, comprising:
Obtain user instruction, described user instruction has comprised program video content inventory and program video content priority;
Start video extracting module according to described user instruction the program video content is carried out the video extracting;
Automatically the program video content that grasps for described video is named video name according to the form that sets in advance;
Adopt the insertion ranking method that the video content of described extracting is stored in the corresponding catalogue according to the priority of described program video content and the length of described extracting video content.
Described method also comprises:
Receive user's delete instruction, and the video program content of corresponding extracting is deleted according to the video program content inventory in the delete instruction.
Described method also comprises:
Receive user's change directive, and the video program content of corresponding extracting is deleted according to the video program content inventory in the change directive.
Described method also comprises:
Whether identification has on the USB interface memory device to insert, and is recognizing memory device when inserting, and the video content of described extracting is duplicated automatically.
The described priority and the length of described extracting video content according to described program video content adopts and inserts ranking method and the video content of described extracting is stored in step is specially in the corresponding catalogue:
First video in the video content that newly grasps and the storage ordered series of numbers is compared, if new video content priority level height or the priority level that grasps is identical, but the new video content length that grasps is long, then continue with the storage ordered series of numbers in next video compare; If the new video content priority level that grasps is low or priority level is identical but the new video content length that grasps is short, then the video content that will newly grasp is stored on the position of first video, and the position collective of video in ordered series of numbers behind first video and described first video moves one backward; If traveled through the position that whole storage ordered series of numbers does not still find the video content of new extracting to store, then the video content that will newly grasp is stored in the last of video sequence.
Accordingly, the embodiment of the invention also provides a kind of digital home videos storage system, comprising:
Acquisition module is used to obtain user instruction, and described user instruction has comprised program video content inventory and program video content priority;
Video grasps module, is used for starting video extracting module according to described user instruction the program video content is carried out the video extracting;
Processing module, the program video content that is used for grasping for described video is automatically named video name according to the form that sets in advance;
Memory module is used for adopting the insertion ranking method that the video content of described extracting is stored in corresponding catalogue according to the priority of described program video content and the length of described extracting video content.
Described system also comprises removing module, is used to receive user's delete instruction, and according to the video program content inventory in the delete instruction video program content of corresponding extracting is deleted.
Described system also comprises a change module, is used to receive user's change directive, and according to the video program content inventory in the change directive video program content of corresponding extracting is deleted.
Described system also comprises a USB identification module module, and whether be used to discern has memory device to insert on the USB interface, is recognizing memory device when inserting, and the video content of described extracting is duplicated automatically.
The video content that described memory module is used for newly grasping compares with first video of storage ordered series of numbers, if new video content priority level height or the priority level that grasps is identical, but the new video content length that grasps is long, and then the next video in continuation and the storage ordered series of numbers relatively; If the new video content priority level that grasps is low or priority level is identical but the new video content length that grasps is short, then the video content that will newly grasp is stored on the position of first video, and the position collective of video in ordered series of numbers behind first video and described first video moves one backward; If traveled through the position that whole storage ordered series of numbers does not still find the video content of new extracting to store, then the video content that will newly grasp is stored in the last of video sequence.
Implement the embodiment of the invention, have following beneficial effect: for user management and preservation video provide an application platform, make things convenient for the user to collect the programme content of oneself liking, also make things convenient for more effectively operand word family set-top box of user.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the digital home videos storage implementation method in the embodiment of the invention;
Fig. 2 is the digital home videos memory system architecture schematic diagram in the embodiment of the invention;
Fig. 3 is another structural representation of digital home videos storage system in the embodiment of the invention.
Embodiment
Describe the embodiment of the invention in detail below in conjunction with accompanying drawing.
As shown in Figure 1, Fig. 1 shows the flow chart of digital home videos storage implementation method in the embodiment of the invention, and this implementation is as follows:
S101: obtain user instruction, described user instruction has comprised program video content inventory and program video content priority;
S102: start video extracting module according to described user instruction the program video content is carried out the video extracting;
S103: the program video content that grasps for described video is named video name according to the form that sets in advance automatically;
S104: adopt the insertion ranking method that the video content of described extracting is stored in the corresponding catalogue according to the priority of described program video content and the length of described extracting video content.
Concrete, implementation is as follows here:
First video in the video content that newly grasps and the storage ordered series of numbers is compared, if new video content priority level height or the priority level that grasps is identical, but the new video content length that grasps is long, then continue with the storage ordered series of numbers in next video compare; If the new video content priority level that grasps is low or priority level is identical but the new video content length that grasps is short, then the video content that will newly grasp is stored on the position of first video, and the position collective of video in ordered series of numbers behind first video and described first video moves one backward; If traveled through the position that whole storage ordered series of numbers does not still find the video content of new extracting to store, then the video content that will newly grasp is stored in the last of video sequence
Further, after the inventive method, can also receive user's delete instruction, and the video program content of corresponding extracting be deleted according to the video program content inventory in the delete instruction.
Further, after the inventive method, can also receive user's change directive, and the video program content of corresponding extracting be deleted according to the video program content inventory in the change directive.
Further, whether after the inventive method, can also USB interface and driver or the like be set on the digital and electronic set-top box, being used to discern has memory device to insert on the USB interface, recognizing memory device when inserting, the video content of described extracting is being duplicated automatically.
Accordingly, as shown in Figure 2, the embodiment of the invention also shows digital home videos memory system architecture schematic diagram, comprising:
Acquisition module 201 is used to obtain user instruction, and described user instruction has comprised program video content inventory and program video content priority;
Video grasps module 202, is used for starting video extracting module according to described user instruction the program video content is carried out the video extracting;
Processing module 203, the program video content that is used for grasping for described video is automatically named video name according to the form that sets in advance;
Memory module 204 is used for adopting the insertion ranking method that the video content of described extracting is stored in corresponding catalogue according to the priority of described program video content and the length of described extracting video content.
Concrete, the video content that memory module 204 is used for newly grasping compares with first video of storage ordered series of numbers, if new video content priority level height or the priority level that grasps is identical, but the new video content length that grasps is long, and then the next video in continuation and the storage ordered series of numbers relatively; If the new video content priority level that grasps is low or priority level is identical but the new video content length that grasps is short, then the video content that will newly grasp is stored on the position of first video, and the position collective of video in ordered series of numbers behind first video and described first video moves one backward; If traveled through the position that whole storage ordered series of numbers does not still find the video content of new extracting to store, then the video content that will newly grasp is stored in the last of video sequence.
Accordingly, Fig. 3 shows another structural representation of digital home videos storage system in the embodiment of the invention, comprising:
Acquisition module 301 is used to obtain user instruction, and described user instruction has comprised program video content inventory and program video content priority;
Video grasps module 302, is used for starting video extracting module according to described user instruction the program video content is carried out the video extracting;
Processing module 303, the program video content that is used for grasping for described video is automatically named video name according to the form that sets in advance;
Memory module 304 is used for adopting the insertion ranking method that the video content of described extracting is stored in corresponding catalogue according to the priority of described program video content and the length of described extracting video content;
Removing module 305 is used to receive user's delete instruction, and according to the video program content inventory in the delete instruction video program content of corresponding extracting is deleted.
Change module 306, be used to receive user's change directive, and the video program content of corresponding extracting is deleted according to the video program content inventory in the change directive;
USB identification module module 307, whether USB interface on have memory device insert, recognizing memory device when inserting if being used to discern, the video content of described extracting is duplicated automatically.
To sum up, implement the present invention,, make things convenient for the user to collect the programme content of oneself liking, also make things convenient for more effectively operand word family set-top box of user for user management and preservation video provide an application platform.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.