CN107707856B - Method and device for recording multimedia program - Google Patents

Method and device for recording multimedia program Download PDF

Info

Publication number
CN107707856B
CN107707856B CN201710787165.1A CN201710787165A CN107707856B CN 107707856 B CN107707856 B CN 107707856B CN 201710787165 A CN201710787165 A CN 201710787165A CN 107707856 B CN107707856 B CN 107707856B
Authority
CN
China
Prior art keywords
storage device
recording
locally
storing
registered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710787165.1A
Other languages
Chinese (zh)
Other versions
CN107707856A (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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201710787165.1A priority Critical patent/CN107707856B/en
Publication of CN107707856A publication Critical patent/CN107707856A/en
Application granted granted Critical
Publication of CN107707856B publication Critical patent/CN107707856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick
    • 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/4334Recording 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43622Interfacing an external recording device
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4435Memory management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a television technology, in particular to a method and a device for recording multimedia programs, which are used for solving the problem that the recording of the multimedia programs is interrupted if hot plugging is carried out on a storage device which stores the recorded multimedia programs in the prior art, and the method comprises the following steps: when the television records the multimedia program, one of the locally registered storage devices is selected as a first target storage device, the recorded content is stored in the first target storage device, after the television detects that the user carries out hot plug on the first target storage device, one of the locally registered storage devices is selected as a second target storage device again, and the recorded content obtained after the hot plug is stored in the second target storage device, so that the condition that the user interrupts the recording of the multimedia program due to the hot plug on the currently used storage device is avoided, the recording of the program is accurately ensured, the service quality and the service efficiency of the recording of the program are improved, and the user experience is improved.

Description

Method and device for recording multimedia program
Technical Field
The present invention relates to television technologies, and in particular, to a method and an apparatus for recording a multimedia program.
Background
In the prior art, when a user records a multimedia program, in order to record a multimedia program with a large data volume, a plurality of storage devices are usually inserted into a television, and the multimedia program with the large data volume is stored in the plurality of storage devices, so that the local storage load of the television is reduced.
However, the above-mentioned recording method also causes some problems.
When a user needs to perform hot plug on a storage device, since a plurality of storage devices are inserted into the television, the user cannot determine which storage device is currently storing the recorded multimedia program, and therefore, if the user inadvertently performs hot plug on the storage device currently being used, recording of the multimedia program is interrupted, and errors occur in stored data in the storage device. At this moment, the user needs to insert the storage device into the television again and restart recording the multimedia program, so that recording of the multimedia program cannot be timely and accurately guaranteed, the service quality and the service efficiency of program recording service are reduced, inconvenience is brought to the user, and user experience is poor.
Therefore, a new method for recording multimedia programs is needed to overcome the above-mentioned drawbacks.
Disclosure of Invention
The embodiment of the invention provides a method and a device for recording a multimedia program, which are used for solving the problem that the recording of the multimedia program is interrupted if hot plugging is carried out on a storage device which stores the recorded multimedia program in the prior art.
The embodiment of the invention provides the following specific technical scheme:
a method of multimedia program recording, comprising:
when recording a multimedia program, selecting one of at least one locally registered storage device as a first target storage device, and storing the recorded content in the first target storage device;
detecting that a user carries out hot plug on the first target storage equipment in the recording process;
and selecting one storage device from at least one locally registered storage device as a second target storage device again, and storing the recorded content obtained after the hot plug into the second target storage device.
Optionally, before recording the multimedia program, the method further includes:
determining that a user inserts at least one storage device, and acquiring identification information of each storage device in the at least one storage device;
setting a virtual storage space, mapping each storage device locally to a corresponding storage subspace in the virtual storage space, and establishing a corresponding relationship between the identification information of each storage device and the corresponding storage subspace.
Optionally, before selecting one of the at least one locally registered storage device as the first target storage device, the method further includes:
judging whether at least one storage subspace exists locally or not;
if yes, determining that at least one registered storage device exists locally;
otherwise, the user is prompted to insert at least one storage device.
Optionally, when recording the multimedia program, selecting one of the at least one locally registered storage device as a first target storage device, and storing the recorded content in the first target storage device, including:
recording a multimedia program to obtain a recording content, and storing the recording content in a recording file cache;
when at least one registered storage device is determined to exist locally, screening is carried out in the at least one registered storage device, and one storage device which meets the screening condition is used as a first target storage device;
and storing the recorded content in the recording file cache into the first target storage device.
Optionally, taking one storage device that meets the screening condition as the first target storage device, including:
taking the storage device with the largest residual storage space as a first target storage device, wherein the maximum residual storage space is a screening condition determined according to user instructions; alternatively, the first and second electrodes may be,
and taking the storage equipment with the highest transmission speed as a first target storage equipment, wherein the highest transmission speed is a screening condition determined according to user instructions.
Optionally, reselecting one of the at least one locally registered storage device as a second target storage device, and storing the recorded content obtained after the hot plug into the second target storage device, including:
storing the recording content obtained after the hot plugging into a recording file cache;
detecting locally again, and determining that at least one registered storage device still exists locally when judging that at least one storage subspace exists locally;
re-screening in the at least one registered storage device according to the screening condition, and taking one storage device which meets the screening condition as a second target storage device;
and storing the recorded content in the recording file cache into a second target storage device.
Optionally, after storing the recording content obtained after the hot plug into the recording file cache, before determining that at least one registered storage device still exists locally, the method further includes:
when the data volume of the recorded content stored in the recording file cache reaches a preset data volume threshold, stopping recording the multimedia program; and/or the first and/or second light sources,
and when the duration of the process of storing the recording content obtained after hot plug into the recording file cache reaches a preset duration threshold, stopping recording the multimedia program.
An apparatus for multimedia program recording, comprising at least: first memory cell, detecting element, second memory cell, wherein:
the first storage unit is used for selecting one storage device which is registered locally as a first target storage device when the multimedia program is recorded, and storing the recorded content in the first target storage device;
the detection unit is used for detecting that the user carries out hot plug on the first target storage equipment in the recording process;
and the second storage unit selects one storage device from at least one locally registered storage device as a second target storage device again, and stores the recorded content obtained after the hot plug into the second target storage device.
Optionally, before recording the multimedia program, the first storage unit is further configured to:
determining that a user inserts at least one storage device, and acquiring identification information of each storage device in the at least one storage device;
setting a virtual storage space, mapping each storage device locally to a corresponding storage subspace in the virtual storage space, and establishing a corresponding relationship between the identification information of each storage device and the corresponding storage subspace.
Optionally, before selecting one of the at least one locally registered storage device as the first target storage device, the first storage unit is further configured to:
judging whether at least one storage subspace exists locally or not;
if yes, determining that at least one registered storage device exists locally;
otherwise, the user is prompted to insert at least one storage device.
Optionally, when recording the multimedia program, selecting one of the at least one locally registered storage device as a first target storage device, and storing the recorded content in the first target storage device, the first storage unit is configured to:
recording a multimedia program to obtain a recording content, and storing the recording content in a recording file cache;
when at least one registered storage device is determined to exist locally, screening is carried out in the at least one registered storage device, and one storage device which meets the screening condition is used as a first target storage device;
and storing the recorded content in the recording file cache into the first target storage device.
Optionally, when one storage device that meets the screening condition is taken as the first target storage device, the first storage unit is configured to:
taking the storage device with the largest residual storage space as a first target storage device, wherein the maximum residual storage space is a screening condition determined according to user instructions; alternatively, the first and second electrodes may be,
and taking the storage equipment with the highest transmission speed as a first target storage equipment, wherein the highest transmission speed is a screening condition determined according to user instructions.
Optionally, when one of the at least one locally registered storage device is selected again as a second target storage device, and the recorded content obtained after the hot plug is stored in the second target storage device, the second storage unit is configured to:
storing the recording content obtained after the hot plugging into a recording file cache;
detecting locally again, and determining that at least one registered storage device still exists locally when judging that at least one storage subspace exists locally;
re-screening in the at least one registered storage device according to the screening condition, and taking one storage device which meets the screening condition as a second target storage device;
and storing the recorded content in the recording file cache into a second target storage device.
Optionally, after storing the recording content obtained after the hot plug into a recording file cache, before determining that at least one registered storage device still exists locally, the second storage unit is further configured to:
when the data volume of the recorded content stored in the recording file cache reaches a preset data volume threshold, stopping recording the multimedia program; and/or the first and/or second light sources,
and when the duration of the process of storing the recording content obtained after hot plug into the recording file cache reaches a preset duration threshold, stopping recording the multimedia program.
The invention has the following beneficial effects:
in the embodiment of the invention, the television is provided with the virtual disk device which can register and manage at least one storage device inserted by a user, when the television records a multimedia program, one of the locally registered storage devices is selected as a first target storage device, and the recorded content is stored in the first target storage device, after the television detects that the user carries out hot plug on the first target storage device, the television selects one of the locally registered storage devices as a second target storage device again, and the recorded content obtained after the hot plug is stored in the second target storage device, so that the condition that the recording of the multimedia program is interrupted if the user carries out the hot plug on the currently used storage device unintentionally is avoided, the complete recording of the program is accurately ensured, and the service quality and the service efficiency of the program recording are improved, meanwhile, user experience is improved.
Drawings
FIG. 1 is a flow chart of a television registering at least one storage device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a television recording a multimedia program according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a television function structure according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, a virtual disk system is installed on the television, the television performs registration management on at least one storage device inserted by a user through the virtual disk system, and the television sets a virtual storage space in the virtual disk system and respectively maps each storage device in the virtual storage space to a corresponding storage subspace, so that the television can determine whether at least one storage device exists locally by detecting whether at least one storage subspace exists locally, and further can store recorded contents through at least one storage device existing locally.
In practical applications, the storage device may be a different type of device, such as a usb disk, a removable hard disk, and so on.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, in the embodiment of the present invention, in the preprocessing process, a specific process of registering, by a television, at least one storage device through a virtual disk system is as follows:
step 101: the television detects that the user has inserted at least one storage device.
Step 102: and the television performs registration management on the at least one storage device.
Specifically, after the television determines that the user inserts at least one storage device, the identification information of each storage device in the at least one storage device is acquired through the virtual disk system, and registration management of the at least one storage device is completed.
Step 103: the television maps each storage device locally to a corresponding storage subspace.
Specifically, the television sets a virtual storage space in the virtual disk system, then maps each storage device in the virtual storage space to a corresponding storage subspace, and establishes a corresponding relationship between the identification information of each hard disk and the corresponding storage subspace.
For example: referring to table 1, after successful registration, the correspondence between the identification information of the storage device stored on the television and the storage subspace is as follows:
the identification information of the storage device 1 is device 1, the corresponding storage subspace is subspace 1, the identification information of the storage device 2 is device 2, the corresponding storage subspace is subspace 2, the identification information of the storage device 3 is device 3, and the corresponding storage subspace is subspace 3.
TABLE 1
Hard disk device name Identification information Corresponding storage sub-spaces
Hard disk device 1 Device 1 Subspace 1
Hard disk device 2 Device 2 Subspace 2
Hard disk device 3 Device 3 Subspace 3
Based on the above embodiment, after the storage device is successfully registered, the television can start to use the storage device to store the recorded multimedia program. Referring to fig. 2, in the embodiment of the present invention, a specific process for recording a multimedia program by a television is as follows:
step 200: and the television records the multimedia program to obtain recorded content.
Step 201: and the television stores the obtained recorded content into a recording file cache.
Specifically, the virtual disk system is installed on the television, the recording file cache is arranged in the virtual disk system, and after the television obtains the recorded content, the recorded content is stored through the recording file cache in the virtual disk system.
Step 202: the television determines whether at least one registered storage device exists locally, if so, step 204 is executed, otherwise, step 203 is executed.
Specifically, after the television completes registration management on at least one storage device through the virtual disk system, each storage device locally has a corresponding storage subspace in the virtual storage space, so that the television can locally detect and judge whether at least one storage subspace locally exists, if so, it is indicated that at least one registered storage device locally exists, otherwise, it is indicated that at least one registered storage device locally does not exist, and it is determined that a prompt needs to be sent to the user.
Step 203: the television prompts the user to insert at least one storage device and registers the at least one storage device after determining that the user inserted the at least one storage device, and then returns to step 202.
Specifically, after determining that at least one registered storage device does not exist locally, the television prompts the user, optionally, the television pops up a window on a screen, and displays a content "please insert a storage device" in the window, and the user learns that at least one registered storage device does not exist locally in the television and needs to insert at least one storage device through the display content in the window.
Step 204: the television selects one of the at least one locally registered storage device as a first target storage device, stores the recorded content in the recording file cache in the first target storage device, and then executes step 205.
Specifically, the television is preset with a screening condition, and after the television starts recording the multimedia program, the storage device meeting the screening condition is selected from the plurality of locally registered storage devices as a target storage device.
Specifically, when setting the filtering condition, the television may adopt, but is not limited to, the following modes:
the first method is as follows: the user selects "the remaining storage space is maximum" as the filtering condition.
Suppose there are three registered storage devices locally, respectively: storage device 1, storage device 2 and storage device 3. Then, after determining that the user selects "remaining storage space is maximum" as the filtering condition, the television detects the remaining storage space of the local three registered storage devices. After the television is detected, the remaining storage space of the storage device 1 is determined to be 8G, the remaining storage space of the storage device 2 is determined to be 7G, and the remaining storage space of the storage device 3 is determined to be 11G, so that the remaining storage space of the storage device 3 is determined to be the maximum, the storage device 3 is used as a first target storage device, and the recorded content in the recorded file cache is stored in the storage device 3.
The second method comprises the following steps: the user selects "fastest transmission speed" as the screening condition as an example.
Suppose there are three registered storage devices locally, respectively: storage device 1, storage device 2 and storage device 3. Then, after determining that the user selects "fastest transmission speed" as the filtering condition, the television detects the transmission performance of the local three registered storage devices. After the television is detected, the transmission speed of the storage device 1 is determined to be 10Mb/s, the transmission speed of the storage device 2 is determined to be 30Mb/s, and the transmission speed of the storage device 3 is determined to be 15Mb/s, so that the transmission speed of the storage device 2 can be determined to be the fastest, and therefore the storage device 2 is used as a first target storage device, and the content in the recording file cache is stored in the storage device 2.
Step 205: the television detects that the user carries out hot plug on the first target storage device in the recording process.
Step 206: and the television detects locally again, judges whether at least one registered storage device still exists locally, if so, executes step 207, otherwise, returns to step 203.
Specifically, after detecting that a user hot plugs a first target storage device in a recording process, the television stores the recorded content obtained after the hot plugging into a recording file cache, because the television performs registration management on at least one storage device through a virtual disk system, each storage device locally has a corresponding storage subspace in a virtual storage space, the television can locally re-detect and judge whether at least one storage subspace still exists, if so, the fact that at least one registered storage device still exists locally is indicated, otherwise, the fact that at least one storage device does not exist locally is indicated, and it is determined that the user needs to be prompted.
Step 207: after the television determines that at least one registered storage device still exists locally, the television performs screening again in the at least one registered storage device according to the screening conditions, uses one storage device meeting the screening conditions as a second target storage device, and stores the recording content in the recording file cache into the second target storage device.
Specifically, when the television determines the first target storage device, the filtering condition is already determined according to the user instruction, so that after the television determines that at least one registered storage device still exists locally, the filtering condition selected by the user before is carried out again in the at least one storage device, and one storage device meeting the filtering condition is used as the second target storage device.
In addition, in practical application, the television may preset a data volume threshold or/and a time length threshold according to a user instruction, and when the television fails to determine the second target storage device for a long time, if it is determined that the operation of storing the recording content obtained after hot plug into the recording file cache reaches the data volume threshold or/and the time length threshold, the recording of the multimedia program is stopped.
Taking the preset data volume threshold as 2G as an example, when the television has determined that the data volume of the recorded content stored in the recording file cache reaches the preset data volume threshold 2G, if the second target storage device is not determined yet, the recording of the multimedia program is stopped.
Taking the preset time length threshold of 300s as an example, when the duration of the process that the television already determines to store the recording content in the recording file cache reaches the preset time length threshold of 300s, if the second target storage device is not determined yet, the recording of the multimedia program is stopped.
Step 208: the television judges whether the recorded content is successfully stored in the at least one registered storage device, if so, step 209 is executed, otherwise, step 202 is returned.
Step 209: the television judges whether the recording of the multimedia program is finished, if so, the step 210 is executed, otherwise, the step 200 is returned to.
Specifically, in the recording process, the television monitors the recording process of the multimedia program in real time and judges whether the recording of the multimedia program is completed.
Step 210: the television prompts the user that the recording of the multimedia program has been completed.
Specifically, the television pops up a window on the screen, the display content of the window is "recording end", and the user can know that the recording of the multimedia program is ended through the display content in the window, and at this time, the user can perform hot plug on at least one local registered storage device. Based on the above embodiments, referring to fig. 3, an apparatus for recording multimedia programs at least includes: a first storage unit 30, a detection unit 31, a second storage unit 32, wherein:
a first storage unit 30, configured to select one of at least one locally registered storage device as a first target storage device when recording a multimedia program, and store a recording content in the first target storage device;
the detecting unit 31 detects that the user performs hot plug on the first target storage device in the recording process;
the second storage unit 32 selects one of the at least one locally registered storage device again as a second target storage device, and stores the recorded content obtained after the hot plug into the second target storage device.
Optionally, before recording the multimedia program, the first storage unit 30 is further configured to:
determining that a user inserts at least one storage device, and acquiring identification information of each storage device in the at least one storage device;
setting a virtual storage space, mapping each storage device locally to a corresponding storage subspace in the virtual storage space, and establishing a corresponding relationship between the identification information of each storage device and the corresponding storage subspace.
Optionally, before selecting one of the at least one locally registered storage device as the first target storage device, the first storage unit 30 is further configured to:
judging whether at least one storage subspace exists locally or not;
if yes, determining that at least one registered storage device exists locally;
otherwise, the user is prompted to insert at least one storage device.
Optionally, when recording a multimedia program, selecting one of at least one locally registered storage device as a first target storage device, and storing a recorded content in the first target storage device, the first storage unit 30 is configured to:
recording a multimedia program to obtain a recording content, and storing the recording content in a recording file cache;
when at least one registered storage device is determined to exist locally, screening is carried out in the at least one registered storage device, and one storage device which meets the screening condition is used as a first target storage device;
and storing the recorded content in the recording file cache into the first target storage device.
Optionally, when one storage device meeting the screening condition is taken as the first target storage device, the first storage unit 30 is configured to:
taking the storage device with the largest residual storage space as a first target storage device, wherein the maximum residual storage space is a screening condition determined according to user instructions; alternatively, the first and second electrodes may be,
and taking the storage equipment with the highest transmission speed as a first target storage equipment, wherein the highest transmission speed is a screening condition determined according to user instructions.
Optionally, when one of the at least one locally registered storage device is selected again as a second target storage device, and the recorded content obtained after the hot plug is stored in the second target storage device, the second storage unit 32 is configured to:
storing the recording content obtained after the hot plugging into a recording file cache;
detecting locally again, and determining that at least one registered storage device still exists locally when judging that at least one storage subspace exists locally;
re-screening in the at least one registered storage device according to the screening condition, and taking one storage device which meets the screening condition as a second target storage device;
and storing the recorded content in the recording file cache into a second target storage device.
Optionally, after storing the recording content obtained after the hot plug into the recording file cache, before determining that at least one registered storage device still exists locally, the second storage unit 32 is further configured to:
when the data volume of the recorded content stored in the recording file cache reaches a preset data volume threshold, stopping recording the multimedia program; and/or the first and/or second light sources,
and when the duration of the process of storing the recording content obtained after hot plug into the recording file cache reaches a preset duration threshold, stopping recording the multimedia program.
In summary, in the embodiments of the present invention, a virtual disk device is installed on a television, and registration management may be performed on at least one storage device inserted by a user, when the television records a multimedia program, the television selects one of locally registered storage devices as a first target storage device and stores a recorded content in the first target storage device, and after detecting that the user performs hot plug on the first target storage device, the television selects another one of locally registered storage devices as a second target storage device again and stores a recorded content obtained after the hot plug into the second target storage device, so as to avoid a situation that the recording of the multimedia program is interrupted if the user performs hot plug on the storage device being used unintentionally, accurately ensure complete recording of the program, improve quality of service and service efficiency of the program recording, meanwhile, user experience is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (8)

1. A method for multimedia program recording, comprising:
when recording a multimedia program, selecting one of at least one locally registered storage device as a first target storage device, and storing the recorded content in the first target storage device;
detecting that a user carries out hot plug on the first target storage equipment in the recording process;
and selecting one storage device from at least one locally registered storage device again as a second target storage device, and storing the recorded content obtained after hot plug into the second target storage device, wherein the method comprises the steps of storing the recorded content obtained after hot plug into a recorded file cache, detecting locally again, determining that at least one locally registered storage device still exists when at least one locally stored subspace exists, screening again in the at least one locally registered storage device according to the screening condition, using one storage device meeting the screening condition as the second target storage device, and storing the recorded content in the recorded file cache into the second target storage device.
2. The method of claim 1, wherein prior to recording the multimedia program, further comprising:
determining that a user inserts at least one storage device, and acquiring identification information of each storage device in the at least one storage device;
setting a virtual storage space, mapping each storage device locally to a corresponding storage subspace in the virtual storage space, and establishing a corresponding relationship between the identification information of each storage device and the corresponding storage subspace.
3. The method of claim 1, wherein selecting one of the at least one locally registered storage device as a first target storage device and storing the recorded content in the first target storage device when recording the multimedia program comprises:
recording a multimedia program to obtain a recording content, and storing the recording content in a recording file cache;
when at least one registered storage device is determined to exist locally, screening is carried out in the at least one registered storage device, and one storage device which meets the screening condition is used as a first target storage device;
and storing the recorded content in the recording file cache into the first target storage device.
4. The method of claim 1, wherein after storing the recording obtained after the hot plug into a recording file cache, before determining that at least one registered storage device still exists locally, further comprising:
when the data volume of the recorded content stored in the recording file cache reaches a preset data volume threshold, stopping recording the multimedia program; and/or the first and/or second light sources,
and when the duration of the process of storing the recording content obtained after hot plug into the recording file cache reaches a preset duration threshold, stopping recording the multimedia program.
5. An apparatus for recording multimedia programs, comprising: first memory cell, detecting element, second memory cell, wherein:
the first storage unit is used for selecting one storage device which is registered locally as a first target storage device when the multimedia program is recorded, and storing the recorded content in the first target storage device;
the detection unit is used for detecting that the user carries out hot plug on the first target storage equipment in the recording process;
and the second storage unit is used for selecting one storage device from at least one locally registered storage device again to serve as a second target storage device and storing the recorded content obtained after hot plug into the second target storage device, and the method comprises the steps of storing the recorded content obtained after hot plug into a recorded file cache, detecting locally again, determining that at least one locally registered storage device still exists when at least one storage subspace exists locally, screening again in the at least one registered storage device according to the screening condition, using the storage device meeting the screening condition as the second target storage device, and storing the recorded content in the recorded file cache into the second target storage device.
6. The apparatus of claim 5, wherein prior to recording the multimedia program, the first storage unit is further to:
determining that a user inserts at least one storage device, and acquiring identification information of each storage device in the at least one storage device;
setting a virtual storage space, mapping each storage device locally to a corresponding storage subspace in the virtual storage space, and establishing a corresponding relationship between the identification information of each storage device and the corresponding storage subspace.
7. The apparatus as claimed in claim 5, wherein, when recording the multimedia program, the first storage unit is configured to, when selecting one of the at least one locally registered storage device as a first target storage device and storing the recorded content in the first target storage device:
recording a multimedia program to obtain a recording content, and storing the recording content in a recording file cache;
when at least one registered storage device is determined to exist locally, screening is carried out in the at least one registered storage device, and one storage device which meets the screening condition is used as a first target storage device;
and storing the recorded content in the recording file cache into the first target storage device.
8. The apparatus of claim 5, wherein after storing the recording obtained after the hot plug in a recording file cache, before determining that at least one registered storage device still exists locally, the second storage unit is further configured to:
when the data volume of the recorded content stored in the recording file cache reaches a preset data volume threshold, stopping recording the multimedia program; and/or the first and/or second light sources,
and when the duration of the process of storing the recording content obtained after hot plug into the recording file cache reaches a preset duration threshold, stopping recording the multimedia program.
CN201710787165.1A 2017-09-04 2017-09-04 Method and device for recording multimedia program Active CN107707856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710787165.1A CN107707856B (en) 2017-09-04 2017-09-04 Method and device for recording multimedia program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710787165.1A CN107707856B (en) 2017-09-04 2017-09-04 Method and device for recording multimedia program

Publications (2)

Publication Number Publication Date
CN107707856A CN107707856A (en) 2018-02-16
CN107707856B true CN107707856B (en) 2020-07-10

Family

ID=61171972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710787165.1A Active CN107707856B (en) 2017-09-04 2017-09-04 Method and device for recording multimedia program

Country Status (1)

Country Link
CN (1) CN107707856B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584210B (en) * 2020-12-07 2023-03-31 青岛海信传媒网络技术有限公司 Display device, video recording method and recorded file display method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525329A (en) * 2003-02-25 2004-09-01 太和科技股份有限公司 Method for automatically establishing archive system in storage unit of rapid flash memory
KR20050052000A (en) * 2003-11-28 2005-06-02 (주)온에어솔루션 Hot plug in controling storage device for digital television set and the method thereof
CN101409593A (en) * 2008-11-27 2009-04-15 中兴通讯股份有限公司 Terminal and method for recording mobile multimedia broadcasting program
CN102355568A (en) * 2011-09-22 2012-02-15 杭州海康威视数字技术股份有限公司 Method and device for carrying out charged uninstallation and installation of hard disk for digital video recorder
CN104731915A (en) * 2015-03-24 2015-06-24 上海爱数软件有限公司 Magnetic disk device mapping method in distributed memory system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7934106B2 (en) * 2004-12-27 2011-04-26 Panasonic Corporation Power control for fast initialization of recording apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525329A (en) * 2003-02-25 2004-09-01 太和科技股份有限公司 Method for automatically establishing archive system in storage unit of rapid flash memory
KR20050052000A (en) * 2003-11-28 2005-06-02 (주)온에어솔루션 Hot plug in controling storage device for digital television set and the method thereof
CN101409593A (en) * 2008-11-27 2009-04-15 中兴通讯股份有限公司 Terminal and method for recording mobile multimedia broadcasting program
CN102355568A (en) * 2011-09-22 2012-02-15 杭州海康威视数字技术股份有限公司 Method and device for carrying out charged uninstallation and installation of hard disk for digital video recorder
CN104731915A (en) * 2015-03-24 2015-06-24 上海爱数软件有限公司 Magnetic disk device mapping method in distributed memory system

Also Published As

Publication number Publication date
CN107707856A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107193750B (en) Script recording method and device
CN108681565B (en) Block chain data parallel processing method, device, equipment and storage medium
CN103902331B (en) Information processing apparatus and information processing method
CN108063725B (en) Message pushing method
CN109656627A (en) Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN103810106A (en) Method and device for testing fluency of interfaces
CN104020960A (en) Method and device for conducting partition formatting and mounting on hard disk
CN104317618A (en) Firmware partitioning method and device
RU2017101414A (en) FILE IDENTIFICATION FOR DATA RECORDING OPERATIONS
WO2016123908A1 (en) Memory overflow detection method and apparatus
CN106095413B (en) A kind of configuration method and device of bluetooth driver
CN107707856B (en) Method and device for recording multimedia program
CN109542778A (en) A kind of method and device of resource leak detection
CN104932964A (en) Monitoring processing method and apparatus of computer functional programs
CN110781166B (en) Data management method and device in storage system
CN102262589A (en) Application server for realizing copying of hard disc driver, and method
CN109669828B (en) Hard disk detection method and device
CN103747241A (en) Method and apparatus for detecting integrity of video
CN105610596A (en) Resource directory management method and network terminal
CN107562830A (en) One kind applies recommendation method and application server
CN105824824B (en) Standby call ticket collection equipment and call ticket file collection method thereof
CN112102837B (en) Household electrical appliance and pickup detection method and device thereof
CN102236748A (en) Computer software protection method
CN105260323A (en) Processing method and apparatus for virtual data storage
CN105278993A (en) Linux system based drive module upgrading method and apparatus

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221018

Address after: 83 Intekte Street, Devon, Netherlands

Patentee after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266555, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: Hisense Video Technology Co.,Ltd.