CN107124570A - Individual video video recording PVR method for recording and device - Google Patents

Individual video video recording PVR method for recording and device Download PDF

Info

Publication number
CN107124570A
CN107124570A CN201710317491.6A CN201710317491A CN107124570A CN 107124570 A CN107124570 A CN 107124570A CN 201710317491 A CN201710317491 A CN 201710317491A CN 107124570 A CN107124570 A CN 107124570A
Authority
CN
China
Prior art keywords
recording
duration
pvr
region
currently stored
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.)
Pending
Application number
CN201710317491.6A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201710317491.6A priority Critical patent/CN107124570A/en
Publication of CN107124570A publication Critical patent/CN107124570A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • 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/4334Recording operations

Abstract

The present invention provides a kind of individual video video recording PVR method for recording and device, and methods described includes:For recording the target recording task after preset duration, calculate the available recording duration T2 in currently stored region, can be the residual capacity in currently stored region and the ratio of memory rate with duration T2 is recorded, memory rate is the ratio of the memory capacity that the PVR data recorded take and preset duration;If the available recording duration T2 in currently stored region is less than remaining recording duration T1, continue to record after buffering duration T3 in currently stored region, switching to target available memory area from currently stored region proceeds recording;Wherein, buffering duration T3 is not more than available recording duration T2.Using the present invention, in the storage region off-capacity that user selects, automatic change to other storage regions continues to store PVR data, and the integrality of performance recording is can guarantee that in the case where disk size is enough, the utilization rate of disk is improved and uses flexibility.

Description

Individual video video recording PVR method for recording and device
Technical field
The present invention relates to the communications field, more particularly to a kind of individual video video recording PVR method for recording and device.
Background technology
With the development of DTV, set top box has also obtained rapid development, increasing new technology, new business and New function all obtains development and utilization on the set-top box, and brand-new TV program watching mode, PVR are brought to spectators (Personal Video Recorder, individual video video recording) function is arisen at the historic moment, deep to be welcome by spectators.
PVR outstanding feature is, using USB flash disk, mobile hard disk or local hard drive as storage medium, to set up locally a small amount of Buffering area and huge program thesaurus, using digital processing technology, realize the control and management to program.Because PVR is needed The storage medium of larger capacity is wanted, and subregion would generally be carried out to the hard disk of Large Copacity, vast capacity for the ease of management.But It is that PVR only can select some default partition of hard disk mostly, even if there is space in the hard disk in other subregions, as long as selection The subregion remaining space of recording is not enough, can not just complete to record, so as to reduce the utilization rate of hard disk and use flexibility.
The content of the invention
In order to overcome problem present in correlation technique, the invention provides a kind of individual video video recording PVR method for recording And device.Technical scheme is as follows:
There is provided a kind of individual video video recording PVR method for recording, methods described bag for first aspect according to embodiments of the present invention Include following steps:
For recording the target recording task after preset duration, the available recording duration T2 in currently stored region, institute are calculated It is the residual capacity in the currently stored region and the ratio of memory rate to state the available duration T2 that records, and the memory rate is The ratio of the memory capacity that the PVR data of recording take and the preset duration;
If the available recording duration T2 in currently stored region is less than remaining recording duration T1, continue in currently stored region Record after buffering duration T3, switching to target available memory area from currently stored region proceeds recording;
Wherein, the buffering duration T3 is not more than available recording duration T2.
Second aspect according to embodiments of the present invention there is provided a kind of individual video record a video PVR record devices, including:
Computing module, for for recording the target recording task after preset duration, calculating the available of currently stored region Duration T2 is recorded, described is the residual capacity in the currently stored region and the ratio of memory rate, institute with duration T2 is recorded State the ratio that memory rate is memory capacity and the preset duration that the PVR data recorded take;
Module is recorded, if the available recording duration T2 for currently stored region is less than remaining recording duration T1, is being worked as Preceding storage region continues to record after buffering duration T3, and switching to target available memory area from currently stored region proceeds record System;
Wherein, the buffering duration T3 is not more than available recording duration T2.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Start PVR functions and record PVR data, after the target recording task of preset duration is recorded, calculate current memory area The available recording duration T2 in domain, if the available recording duration T2 in currently stored region is less than the remaining recording of target recording task Long T1, then it represents that the residual capacity in currently stored region is not enough to record target recording task, thus currently stored region after Continuous to record after buffering duration T3 (buffering duration T3, which is not more than can use, records duration T2), switching to target from currently stored region can Proceeded to record with storage region.Deposited so as to be changed automatically in the storage region off-capacity that user selects to other Storage area domain continues to store PVR data, and the integrality of performance recording is can guarantee that in the case where disk size is enough, disk is improved Utilization rate and use flexibility.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of individual video video recording PVR method for recording provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that program progress pre-recording is selected according to TV guide;
Fig. 3 is a kind of flow chart of individual video video recording PVR method for recording provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of individual video video recording PVR method for recording provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of individual video video recording PVR method for recording provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of the relevant information stored in existing method for recording storage device;
Fig. 7 is the phase stored in a kind of individual video video recording PVR method for recording storage devices provided in an embodiment of the present invention Close the schematic diagram of information;
Fig. 8 is a kind of flow chart of individual video video recording PVR method for recording provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of individual video video recording PVR record devices provided in an embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention. " one kind ", " described " and "the" of singulative used in the present invention and appended claims are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the scope of the invention, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The embodiments of the invention provide a kind of PVR method for recording, the executive agent of this method can be terminal, wherein terminal Can be that storage device (such as hard disk, disk) can be installed in PVR set top boxes etc., the terminal, can be with outside storage Equipment (such as USB flash disk, mobile hard disk) is connected, and processor, tuning demodulator, memory etc., processor can be provided with the terminal It can be used for the events such as processing video playback, PVR functions, the effect of tuning demodulator is the modulated digital signal that will be transmitted Demodulation is reduced into transport stream, to be stored and/or be played to video, and memory can be used for storing what is needed in processing procedure Data and the data of generation.
As shown in figure 1, a kind of individual video video recording PVR method for recording may comprise steps of:
Step S110:For recording the target recording task after preset duration, the available recording in currently stored region is calculated Duration T2, described is the residual capacity in the currently stored region and the ratio of memory rate with duration T2 is recorded, described to deposit Storage speed is the ratio of memory capacity and the preset duration that the PVR data recorded take;
PVR functions include the mode such as pre-recording and manual start and stop, and manual start and stop refer to user's opened manually or stopped Only PVR functions;Pre-recording refers to pre-set the start-stop time (can also be according to wanting recorded program in an electronic program guide Beginning and ending time determine the start-stop time) and program (target recording task) storage location, reach default time started, equipment PVR functions are automatically turned on by PVR data storages in specified storage location (currently stored region), at the end of arrival is default Between, stop PVR functions.For example, as shown in Fig. 2 user is when checking TV guide, it is desirable to which CCTV-1 synthesizer channels are played News hookup is recorded, and is clicked on and is entered pre-recording interface after pre-recording, can check the programme information of pre-recording, The storage location of display program at storage location 201, user can also change the storage location of program, can be from sda I, sda IIth, a certain storage region is selected in the storage device such as sdb I, sdb II, sda, sdb represent different storage devices, I, II generation Different storage region in table storage device, it is of course also possible to have other naming methods, the invention is not limited in this regard;User When selecting PVR functions to record program, the storage location selected last time using user is typically given tacit consent to, certainly, selected when last time When storage location is not present, other storage locations are automatically configured, for example, maximum storage region of remaining space etc.;Reach default Recording time, equipment automatically turn on PVR functions by the currently stored regions of PVR data Cun Chudao.
Bit rate, definition difference due to different video, compression ratio during storage are different, can all cause the storage taken Capacity is different, is tied so as to can not accurately judge whether the capacity in currently stored region can be supported to record according only to residual capacity Beam, and the code check of same channel is essentially identical, therefore there is corresponding relation between memory rate, recording duration, capacity.One embodiment In, described is the residual capacity in the currently stored region and the ratio of memory rate, the storage speed with duration T2 is recorded Rate is the ratio of memory capacity and the preset duration that the PVR data recorded take.
The memory rate for recording current PVR data can be calculated according to " memory rate=PVR data ÷ records duration ". In the case where knowing the residual capacity of memory rate and currently stored region, the remaining appearance in currently stored region can be calculated How long amount (can use recording duration T2) if can also being recorded, i.e., according to " can use and record duration T2=residual capacity ÷ memory rates " The available recording duration T2 in currently stored region can be calculated, program residue is recorded duration T1 and can obtained in several ways Take, for example, with total duration-recorded duration, reservation end time-current time etc. recorded.
Step S120:If the available recording duration T2 in currently stored region is less than remaining recording duration T1, deposited currently Storage area domain continues to record after buffering duration T3, and switching to target available memory area from currently stored region proceeds recording;
Wherein, the buffering duration T3 is not more than available recording duration T2.
Obviously, when available recording duration T2, which is more than program residue, records duration T1, that is, the surplus of currently stored region is represented Covolume amount supports to performance recording and terminated enough, and the store path of PVR data can not be modified;And when available record When long T2 is less than remaining recording duration T1, that is, represent that the residual capacity in currently stored region is not enough to support to performance recording knot Beam continues to store PVR data, it is necessary to be switched to other storage regions, in order to improve the utilization of currently stored region residual capacity Rate, the present embodiment is switched to other storage regions when being run low using the residual capacity in currently stored region, can be current The residual capacity of storage region switches when being less than a certain lower limit, or continues in currently stored region after recording buffering duration T3 Switching (buffering duration T3 is not more than available recording duration T2), can also be less than in the available recording duration T2 in currently stored region Switch during switching threshold (for example, 2 minutes, 30 seconds etc.), switching to target available memory area from currently stored region is recorded System, and target available memory area can be designated as to currently stored region, the S110 that repeats the above steps, step S120, until program Recording terminates.
By the above method, automatic change other storage regions can be arrived in the storage region off-capacity that user selects Continue to store PVR data, the integrality of performance recording is can guarantee that in the case where disk size is enough, the utilization of disk is improved Rate and use flexibility.
As shown in figure 3, the target available memory area can be determined by following steps:
Step S321:Judge to whether there is other available memory areas in disk residing for currently stored region;
Step S322:If it is, with the maximum available memory area of residual capacity in disk residing for currently stored region It is used as the target available memory area;
Step S323:If it is not, then being used as the target using the maximum available memory area of residual capacity in other disks Available memory area.
The storage region of switching can be in same storage device or in different storage device, for ease of PVR data are read and write, the present embodiment is preferably switched to be in the available memory area in same disk with currently stored region, when So, it can also set to be switched to and be in currently stored region in same disk and the maximum storage region of residual capacity, to subtract The number of times switched less, so as to avoid PVR data storages from excessively disperseing;Certainly, if with disk residing for currently stored region not When there is available memory area, then the storage region storage PVR data in other disks are only switched into, based on same reason By being preferably switched to the maximum storage region of residual capacity.
Available memory area can be the arbitrarily detectable storage region for having residual capacity, however, because storage is set The residual capacity of standby each storage region differs, and some residual capacities are more, and some residual capacities are less even without when residue appearance When measuring less, may do not record how long switch storage region again so that PVR data storages excessively disperse;In addition, difference is deposited The read or write speed in storage area domain is also possible to difference, is lost there may be in PVR data Cun Chudao writing speeds too low storage region Bag phenomenon, being read from reading speed too low storage region may interim card when PVR data are played out.Therefore, in order to cut The storage region changed has preferable recording result, it is necessary to which the situation to other storage regions is detected, including detection is remaining Capacity and read or write speed.Because detection needs to expend the regular hour, so detection is completed before switching storage region, in order to Ensure the accuracy of testing result, be defined again by the result more closely detected, alternatively, the available recording in currently stored region When duration T2 is less than detection threshold value (for example, 10 minutes, 5 minutes etc., detection threshold value should be greater than switching threshold), other storages are detected The residual capacity and read or write speed in region, are more than pre-determined lower limit capacity (for example, 300MB, 500MB etc.) and read-write by residual capacity Speed is more than the storage region of pre-determined lower limit speed (for example, 3MB/s, 5MB/s etc.) as available memory area, is needing switching Storage region is to continue during storage PVR data, and one storage region of selection can as target from the available memory area selected Use storage region;It is, of course, also possible to available memory area is ranked up by residual capacity and/or read or write speed, prioritizing selection Residual capacity it is maximum as target available memory area, to reduce the number of times of follow-up switching storage region;It is of course also possible to from Selection can use recording duration T2 can as target slightly larger than the storage region that program residue records duration T1 in available memory area Use storage region.By switching to target available memory area determined by the present embodiment, the reliability of switching can be improved, subtracted Few switching times.
In the embodiment of the present invention, additionally provide and judge that default storage region is before PVR functions recording PVR data are started No available method, as shown in figure 4, corresponding step can be as follows:
Step S410:Judge whether default storage region meets residual capacity more than pre-determined lower limit capacity and read or write speed More than pre-determined lower limit speed;
Step S420:If it is, being used as currently stored region using default storage region;
Step S430:If it is not, then so that residual capacity is more than pre-determined lower limit capacity and read or write speed is more than pre-determined lower limit speed Other storage regions of degree are used as currently stored region.
As shown in Fig. 2 when user selects pre-recording, there is provided the storage location (default storage region) of PVR data, such as It is preceding described, the read or write speed of storage region can not too low, residual capacity can not very little, in order to avoid in default storage region residual capacity When exhausting, the detection to the residual capacity and read or write speed of other storage regions is not completed also, causes recording process to occur of short duration Interrupt.Detection to default storage region can be carried out when user sets pre-recording, can also record beam worker starting Making the stage (refer to N minutes wake-up devices and modulated channel etc. are prepared for recording before pre-recording when) is carried out, or twice Detected;Residual capacity in currently stored region is more than or equal under lower limit capacity and read or write speed be more than or equal to When speed limit is spent, then keep currently stored region constant;Residual capacity in currently stored region is less than lower limit capacity and/or read-write When speed is less than lower limit speed, the residual capacity and read or write speed of other storage regions are detected;It is more than from residual capacity and sets in advance Limited capacity amount and read or write speed are more than one subregion of selection in other storage regions of pre-determined lower limit speed and are used as currently stored region. So as to avoid occurring in recording process short interruption, not record how long the situation of storage region will be switched, recording is improved Stability.
In the embodiment of the present invention, the method for additionally providing detection storage region read or write speed, corresponding process step can be with It is as follows:
Writing speed is calculated according to the test file size write to storage region, write time, readout time, speed is read Degree, the read or write speed of the storage region is used as using the smaller value in storage region writing speed, reading speed.
As it was previously stated, packet loss phenomenon will be there may be in PVR data Cun Chudao writing speeds too low storage region, from reading Go out in speed too low storage region to read when PVR data are played out may interim card, in order to ensure recording result, it is necessary to obtain The read or write speed of storage region is taken, can be and more smart in order to obtain according to the interval of the attributes estimation read or write speed of storage device True read or write speed, the present embodiment writes test file into storage region by the way of directly testing, from storage region Read test file;Test file is deleted, writing speed is calculated according to test file size, write time, readout time, read Speed, using the smaller value in writing speed, reading speed as the read or write speed of the storage region, so as to obtain storage region essence True read or write speed, to judge whether storage region can use offer foundation.
In the embodiment of the present invention, the method handled after switching storage region PVR configuration files is additionally provided, is such as schemed Shown in 5, corresponding process step can be as follows:
Step S580:Area identity, relative path, the PVR numbers of target available memory area are recorded in configuration file According to filename, played out with searching the PVR data that are stored in different storage zone according to configuration file.
Each storage region in storage device can be distinguished by area identity, current storage device is by UUID (Universally Unique Identifier, general unique identifier) distinguishes each storage region as mark.In order to It is easy to be managed recorded program, program is recorded using PVR functions, not only needs to store PVR data, it is also corresponding to match somebody with somebody The PVR parameters that are stored with file, configuration file are put, in general, the quantity of configuration file is fixed, is typically stored at Selection is recorded in that storage region of program, when recording program in default storage region (storage target recording task PVR numbers According to first storage region) in automatically generate PVR data record in corresponding configuration file, configuration file in this memory block The relative path and filename stored in domain, as shown in fig. 6, set top box 600 is with including sda I 610, sda II 620, sdb I 630th, the storage device connection of the storage region such as sdb II 640, such as default storage region is sda II 620, then when recording program, PVR data storages are in program file 622, while generating path and the file that the record program file 622 of configuration file 621 is stored Name, due to not including area identity in current configuration file 621, so that, when storing and reading PVR data, can only Carried out in this storage region, it is impossible to across storage region to be operated.As shown in fig. 7, one embodiment of the invention is in configuration file Area identity (for example, UUID) is added in 721, storage configuration file 721 and section in default storage region sda II 720 Mesh file (PVR data) 722, when to be switched to other storage regions (such as sda I 710) and stored, in configuration file 721 The middle corresponding UUID of addition (sda I), path and filename, such as also need to be switched to sdb I 730, the memory blocks of sdb II 740 When domain stores PVR data, by continuing to increase corresponding UUID, path and filename in configuration file 721;Play section During mesh, correspondence is read from storage region sda II 720, sda I 710 etc. according to the information recorded in configuration file 721 successively PVR data to play program.A general program only has a configuration file in default storage region, is deposited for minute book The relevant information of storage area domain and the program PVR data in other storage regions, when setting pre-recording for the first time, is referred to by user Determine storage location (default storage region), after user specifies, the storage device UUID that user specifies can be recorded, and the recording is deposited Storage area domain storage region by default, need not repeat to specify when preengaging again, certainly, if the remaining appearance in the storage region Amount can point out user to change storage location when not enough;If the PVR data of a program are distributed in multiple storage regions, The information such as corresponding UUID are stored in the configuration file in the default storage region, it is each to find program by relative path PVR data storages can find the PVR data in which storage region by filename, when user will play the section of recording During mesh, the position of PVR data storages is found by configuration file, the PVR data transferred in different storage zone are played successively, So as to provide complete playback effects.
In order to which the scheme that above-mentioned PVR is recorded is better described, specific explanations will be carried out by an example below.
As shown in figure 8, step S801:PVR functions, including recorded program, storage region are set according to the instruction of user Deng;
Step S802:Residual capacity and read or write speed to the storage region are detected, to judge the storage region Whether residual capacity is more than pre-determined lower limit capacity, and whether read or write speed is more than pre-determined lower limit speed;When two conditions are satisfied by, turn Step S804, otherwise goes to step S803;
Step S803:A residual capacity is selected more than pre-determined lower limit capacity from other storage regions and read or write speed is big Currently stored region is used as in the storage region of pre-determined lower limit speed;
Step S804:When reaching the time of pre-recording, start PVR functions and program is recorded;
Step S805:Calculate the remaining of program and record the duration T1 and available recording duration T2 in currently stored region, work as T2> During T1, S806 is gone to step, S807 is otherwise gone to step;
Step S806:Continue to record and terminate until recording;
Step S807:Judge whether T2 is more than 10 minutes, work as T2>At 10 minutes, S808 is gone to step, is otherwise gone to step S809;
Step S808:Continue to record until T2<10 minutes;
Step S809:The residual capacity and read or write speed of other storage regions are detected, residual capacity is more than pre-determined lower limit The storage region that capacity and read or write speed are more than pre-determined lower limit speed is used as available memory area;
Step S810:Work as T2<At 2 minutes, if the available memory area not allowed hand over, the storage region is recorded to Residual capacity terminate when exhausting to record;
Step S811:Work as T2<At 2 minutes, if there is the available memory area allowed hand over, switch storage region, will cut Storage region after changing goes to step S805 as currently stored region, repeats said process, until section directory is complete, or because not having There is the storage region of enough residual capacities and stop recording.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of individual video video recording PVR record devices, such as Shown in Fig. 9, individual video video recording PVR record devices 900 include:
Computing module 910, for for for recording the target recording task after preset duration, calculating currently stored region Available recording duration T2, described is the residual capacity in the currently stored region and the ratio of memory rate with duration T2 is recorded Value, the memory rate is the ratio of memory capacity and the preset duration that the PVR data recorded take;
Module 920 is recorded, if the available recording duration T2 for currently stored region is less than remaining recording duration T1, Currently stored region continues to record after buffering duration T3, switches to target available memory area from currently stored region and proceeds Record;
Wherein, the buffering duration T3 is not more than available recording duration T2.
Alternatively, the recording module 920, being additionally operable to judge can with the presence or absence of other in disk residing for currently stored region Use storage region;
If it is, being used as the mesh using the maximum available memory area of residual capacity in disk residing for currently stored region Mark available memory area;
If it is not, then being used as the target available storage area using the maximum available memory area of residual capacity in other disks Domain.
Alternatively, the recording module 920, is additionally operable to before PVR functions recording PVR data are started, judges that acquiescence is deposited Storage area domain whether meets residual capacity more than pre-determined lower limit capacity and read or write speed is more than pre-determined lower limit speed;
If it is, being used as currently stored region using default storage region;
If it is not, then with residual capacity be more than pre-determined lower limit capacity and read or write speed be more than pre-determined lower limit speed other Storage region is used as currently stored region.
Alternatively, the recording module 920, when being additionally operable to according to the test file size, write-in write to storage region Between, readout time calculate writing speed, reading speed, this is used as using the smaller value in storage region writing speed, reading speed The read or write speed of storage region.
Alternatively, the recording module 920, the region for being additionally operable to record target available memory area in configuration file is known Other code, relative path, the filename of PVR data, to search the PVR data being stored in different storage zone according to configuration file Play out.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

  1. The PVR method for recording 1. a kind of individual video is recorded a video, it is characterised in that comprise the following steps:
    For recording the target recording task after preset duration, calculate the available recording duration T2 in currently stored region, it is described can It is the residual capacity in the currently stored region and the ratio of memory rate with duration T2 is recorded, the memory rate is to have recorded The ratio of memory capacity and the preset duration that takes of PVR data;
    If the available recording duration T2 in currently stored region is less than remaining recording duration T1, continue to record in currently stored region Buffer after duration T3, switching to target available memory area from currently stored region proceeds recording;
    Wherein, the buffering duration T3 is not more than available recording duration T2.
  2. The PVR method for recording 2. individual video as claimed in claim 1 is recorded a video, it is characterised in that the target available storage area Domain is determined by following steps:
    Judge to whether there is other available memory areas in disk residing for currently stored region;
    If it is, can as the target using the maximum available memory area of residual capacity in disk residing for currently stored region Use storage region;
    If it is not, then being used as the target available memory area using the maximum available memory area of residual capacity in other disks.
  3. The PVR method for recording 3. individual video as claimed in claim 1 is recorded a video, it is characterised in that recorded starting PVR functions Before PVR data, in addition to:
    Judge whether default storage region meets residual capacity more than pre-determined lower limit capacity and read or write speed is more than pre-determined lower limit speed Degree;
    If it is, being used as currently stored region using default storage region;
    If it is not, then being more than other storages of pre-determined lower limit speed more than pre-determined lower limit capacity and read or write speed with residual capacity Region is used as currently stored region.
  4. The PVR method for recording 4. individual video as claimed in claim 3 is recorded a video, it is characterised in that the read or write speed by with Lower step is determined:
    Writing speed, reading speed are calculated according to the test file size write to storage region, write time, readout time, The read or write speed of the storage region is used as using the smaller value in storage region writing speed, reading speed.
  5. 5. the individual video video recording PVR method for recording as any one of Claims 1-4, it is characterised in that methods described Also include:
    Area identity, relative path, the filename of PVR data of target available memory area are recorded in configuration file, with The PVR data being stored in different storage zone are searched according to configuration file to play out.
  6. The PVR record devices 6. a kind of individual video is recorded a video, it is characterised in that including:
    Computing module, for for recording the target recording task after preset duration, calculating the available recording in currently stored region Duration T2, described is the residual capacity in the currently stored region and the ratio of memory rate with duration T2 is recorded, described to deposit Storage speed is the ratio of memory capacity and the preset duration that the PVR data recorded take;
    Module is recorded, if the available recording duration T2 for currently stored region is less than remaining recording duration T1, is deposited currently Storage area domain continues to record after buffering duration T3, and switching to target available memory area from currently stored region proceeds recording;
    Wherein, the buffering duration T3 is not more than available recording duration T2.
  7. The PVR record devices 7. individual video as claimed in claim 6 is recorded a video, it is characterised in that the recording module, are additionally operable to Judge to whether there is other available memory areas in disk residing for currently stored region;
    If it is, can as the target using the maximum available memory area of residual capacity in disk residing for currently stored region Use storage region;
    If it is not, then being used as the target available memory area using the maximum available memory area of residual capacity in other disks.
  8. The PVR record devices 8. individual video as claimed in claim 6 is recorded a video, it is characterised in that the recording module, are additionally operable to Before PVR functions recording PVR data are started, judge whether default storage region meets residual capacity and hold more than pre-determined lower limit Measure and read or write speed is more than pre-determined lower limit speed;
    If it is, being used as currently stored region using default storage region;
    If it is not, then being more than other storages of pre-determined lower limit speed more than pre-determined lower limit capacity and read or write speed with residual capacity Region is used as currently stored region.
  9. The PVR record devices 9. individual video as claimed in claim 8 is recorded a video, it is characterised in that the recording module, are additionally operable to Writing speed, reading speed are calculated according to the test file size write to storage region, write time, readout time, to deposit Smaller value in storage area domain writing speed, reading speed as the storage region read or write speed.
  10. 10. the individual video video recording PVR record devices as any one of claim 6 to 9, it is characterised in that the record Molding block, is additionally operable to record the area identity, relative path, PVR data of target available memory area in configuration file Filename, is played out with searching the PVR data being stored in different storage zone according to configuration file.
CN201710317491.6A 2017-05-08 2017-05-08 Individual video video recording PVR method for recording and device Pending CN107124570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317491.6A CN107124570A (en) 2017-05-08 2017-05-08 Individual video video recording PVR method for recording and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317491.6A CN107124570A (en) 2017-05-08 2017-05-08 Individual video video recording PVR method for recording and device

Publications (1)

Publication Number Publication Date
CN107124570A true CN107124570A (en) 2017-09-01

Family

ID=59726803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317491.6A Pending CN107124570A (en) 2017-05-08 2017-05-08 Individual video video recording PVR method for recording and device

Country Status (1)

Country Link
CN (1) CN107124570A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055571A (en) * 2017-10-12 2018-05-18 深圳Tcl新技术有限公司 A kind of smart television individual video kinescope method, smart television and storage medium
WO2019183769A1 (en) * 2018-03-26 2019-10-03 深圳市大疆创新科技有限公司 Remaining storage capacity processing method, photographic device, and computer readable storage medium
CN111859016A (en) * 2020-06-24 2020-10-30 安徽吉秒科技有限公司 Device and method for storing and playing back video files

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921591A (en) * 2005-08-24 2007-02-28 上海乐金广电电子有限公司 Method for recording broadcasting program
CN1980363A (en) * 2005-11-29 2007-06-13 上海乐金广电电子有限公司 Hard-disc recording method
CN101364431A (en) * 2008-09-23 2009-02-11 无敌科技(西安)有限公司 Recording apparatus and method for continuous storage
CN101600075A (en) * 2008-06-06 2009-12-09 株式会社日立制作所 Broadcast program recorder and recording method thereof
CN103744626A (en) * 2014-01-14 2014-04-23 浪潮电子信息产业股份有限公司 Data writing method based on memory replacement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921591A (en) * 2005-08-24 2007-02-28 上海乐金广电电子有限公司 Method for recording broadcasting program
CN1980363A (en) * 2005-11-29 2007-06-13 上海乐金广电电子有限公司 Hard-disc recording method
CN101600075A (en) * 2008-06-06 2009-12-09 株式会社日立制作所 Broadcast program recorder and recording method thereof
CN101364431A (en) * 2008-09-23 2009-02-11 无敌科技(西安)有限公司 Recording apparatus and method for continuous storage
CN103744626A (en) * 2014-01-14 2014-04-23 浪潮电子信息产业股份有限公司 Data writing method based on memory replacement

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055571A (en) * 2017-10-12 2018-05-18 深圳Tcl新技术有限公司 A kind of smart television individual video kinescope method, smart television and storage medium
WO2019183769A1 (en) * 2018-03-26 2019-10-03 深圳市大疆创新科技有限公司 Remaining storage capacity processing method, photographic device, and computer readable storage medium
CN111859016A (en) * 2020-06-24 2020-10-30 安徽吉秒科技有限公司 Device and method for storing and playing back video files

Similar Documents

Publication Publication Date Title
US8942549B2 (en) Resume point for digital media playback
CN1938774B (en) Reproduction device and method
CN100389610C (en) Playback device
KR19990037243A (en) Recording apparatus, recording method, reproducing apparatus, reproducing method, recording / reproducing apparatus, recording / reproducing method, display medium and recording medium
CN102105937B (en) Simple resume reproduction device and simple resume reproduction method
CN107124570A (en) Individual video video recording PVR method for recording and device
CN101320585B (en) Reproducing device, recording apparatus, and recording method
KR100624848B1 (en) Automatic video content review system
KR20050013524A (en) Information processing device, information processing method, and information processing program
US9100725B2 (en) Method and apparatus for generating moving picture clip and/or displaying content file list, and recording medium storing program for executing the method
US8279726B2 (en) Recording device for recording a content into a plurality of recording media and control method thereof
US7711240B2 (en) Reproducing apparatus and reproducing method
US7486873B2 (en) Video reproduction apparatus and intelligent skip method therefor
EP1798878B1 (en) Method and mobile communication terminal for storing broadcasting program
KR100646301B1 (en) Data recording and reproducing device, memory device and file access method
CN103761194A (en) Memory management method and device
CN105357462A (en) Partition recording method and system for PVR (personal video recorder)
US8195314B2 (en) Method of reproducing previous audio file in multimedia device and multimedia device using the same
CN112148917B (en) Media play control method, device and system and computer readable storage medium
KR20080002088A (en) Reproduction control method, reproduction control apparatus and information recording medium
KR100694123B1 (en) Storage medium including audio-visual data and application programs, apparatus and method thereof
JP4470905B2 (en) Optical recording medium reproducing apparatus, optical recording medium reproducing method, and optical recording medium reproducing program
CN101466012A (en) Video reproducing apparatus having a function for resuming an interrupted reproduction
JP2000207872A (en) Recording and reproducing device
KR100644714B1 (en) Method for managing buffer memory of reproducing apparatus for digital audio data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170901

RJ01 Rejection of invention patent application after publication