CN107257503B - Recording management method and system - Google Patents

Recording management method and system Download PDF

Info

Publication number
CN107257503B
CN107257503B CN201710332344.6A CN201710332344A CN107257503B CN 107257503 B CN107257503 B CN 107257503B CN 201710332344 A CN201710332344 A CN 201710332344A CN 107257503 B CN107257503 B CN 107257503B
Authority
CN
China
Prior art keywords
recording task
recording
storage space
user
task
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
CN201710332344.6A
Other languages
Chinese (zh)
Other versions
CN107257503A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710332344.6A priority Critical patent/CN107257503B/en
Publication of CN107257503A publication Critical patent/CN107257503A/en
Application granted granted Critical
Publication of CN107257503B publication Critical patent/CN107257503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2747Remote storage of video programs received via the downstream path, e.g. from the server
    • 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/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/4147PVR [Personal Video Recorder]
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a recording management method and a recording management system, which are used for improving user experience. The method in the embodiment of the application comprises the following steps: the recording management system receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; determining whether the residual storage space of the user meets the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task; if yes, returning a recording task reservation success response to the user terminal, and automatically deleting part or all of the deletable recording tasks at the deletion time.

Description

Recording management method and system
Technical Field
The present application relates to the field of media, and in particular, to a recording management method and system.
Background
A Network Personal Video Recorder (NPVR) service can be provided in a multimedia service system such as an Internet Protocol Television (IPTV), and a terminal can record and store an interested program content on a Content Delivery Network (CDN) node through the NPVR service. When a terminal user needs to order the NPVR content, the user terminal needs to access the CDN system to obtain the position of the recorded content on the CDN node, and then the user terminal obtains the recorded content on the CDN node. . Compared with the traditional video recording service, the NPVR stores the recorded content on a set-top box (STB) side, reduces the operation and maintenance cost and price of the STB, improves the use experience of an end user, and enables the user to manage free network space, for example, an operator can package the network space into products, the price of the products is 10 dollars per month for 100GB space, or 10 dollars per month for 100 hours of recording time, and after the end user orders the set of meal packages, 100GB or 100 hours of recording tasks can be created.
In the prior art, a terminal user can create an NPVR task for a program which is being played or played in the future, once the created scheduled NPVR task is successful, even if the task is not started, the space of the scheduled NPVR task can be pre-occupied, and the processing can ensure that the space of the scheduled NPVR task is enough and the task cannot cause the problem of recording failure due to insufficient space.
The reservation recording method used in the prior art reserves space in advance for tasks to be started in the future, which results in that the number of recorded tasks created by a user is reduced, when the space is insufficient, the user can only delete the recorded tasks to release the space for the newly-added reservation tasks, and in the worst case, if the user creates reservation tasks, the user must sacrifice part of the reservation tasks to ensure the success of the tasks, for example, the user wants to record the name of people in a series drama, which plays two episodes every day, wherein each episode occupies 1GB space. Assuming that the current day is monday, the user wants to reserve and record programs of 7 days from monday to sunday, that is, 14 episodes, and the user has only 10GB of space in total, the user can only reserve and record programs of monday to friday on the current day, wait until saturday to delete the previously recorded programs, reserve and repeat programs of saturday to next wednesday in sequence until the series is over.
The following is an example of the total space ordered by the user, the used space (the space occupied by the task that was in the middle of recording and successfully recorded) and the reserved space (the space occupied by the task that was not started):
1. the total space ordered by the user is 10GB space;
2. the used space is 6 GB;
3. the reservation space is 3 GB.
The user remaining space is 1 GB. The current time is 2016.12.2310: 00:00, the user creates a reservation task that starts taking 2GB 2016.12.2500: 00:00, and the user must delete some tasks due to insufficient space remaining.
In the existing scheme, the network space is completely managed by a user, and the user must prepare sufficient space in advance to start recording, so that the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a recording management method and a recording management system, which are used for enabling the system to automatically manage recording tasks in a storage space and improving user experience.
A first aspect of an embodiment of the present application provides an information transmission method, including: firstly, when a user needs to add a recording task, a system receives a reservation request of a target recording task sent by the user through a user terminal, wherein the reservation request carries a required storage space of the target recording task; after receiving a reservation request of a user, the system determines that the remaining storage space of the user cannot meet the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of a deletable recording task according to a deletion strategy of the recording task of the user, wherein the deletable recording task is a task which can be automatically deleted by a system; if the residual storage space of the user can meet the storage space required by the target recording task, directly returning a recording task reservation success response to the user terminal, and successfully adding a reservation request of the target recording task; after the system determines the storage space of the deletable recording task, determining that the storage space of the deletable recording task and the residual storage space of the user cannot meet the required storage space of the target recording task; if the reservation request can be satisfied, a reservation success response of the recording task can be returned to the user terminal, so that the reservation request of the target recording task is added successfully. The system in the embodiment of the application can automatically manage the storage space of the recording task according to the deletion strategy, and improves the user experience.
In a possible design, in a first implementation manner of the first aspect of the embodiment of the present application, the determining, according to a deletion policy of a recording task of a user, a storage space of a deletable recording task includes: the system determines which recording tasks can be automatically deleted and the storage space of the recording tasks can be automatically deleted according to the types of the recorded tasks, wherein the watched tasks in the recorded tasks belong to the recording tasks which can be automatically deleted by the system, and the unviewed tasks in the recorded tasks do not belong to the recording tasks which can be automatically deleted by the system. The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation modes of the embodiment.
In a possible design, in a second implementation manner of the first aspect of the embodiment of the present application, the determining, according to a deletion policy of a recording task of a user, a storage space of a deletable recording task includes: the system determines which recording tasks can be automatically deleted and storage spaces of the recording tasks can be automatically deleted according to the recording time of the recorded recording tasks, wherein the recording tasks with the recording time greater than a preset value from the current time of the recorded recording tasks are the deletable recording tasks, and the recording tasks with the recording time less than the preset value from the current time of the recorded recording tasks are the non-deletable recording tasks, wherein the current time is the time when the reservation request is received. The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation means of the embodiment.
In a possible design, in a third implementation manner of the first aspect of the embodiment of the present application, a deletion policy of a recording task of a user includes: and (3) a deletion strategy of the recorded recording task and/or a deletion strategy of the recording task which is reserved successfully. The embodiment of the application specifically illustrates the type of the deletion strategy of the recording task of the user, and increases the specific implementation modes of the embodiment.
In a possible design, in a fourth implementation manner of the first aspect of the embodiment of the present application, the reservation request further carries a target deletion policy of the target recording task and a start time of the target recording task, and determining, according to the deletion policy of the recording task of the user, a storage space of the deletable recording task includes: if the target recording task is determined to be the deletable recording task according to the target deletion strategy, determining the storage space of the deletable recording task according to the storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time and the storage spaces corresponding to all the recording tasks of which the recording time is later than the starting time; and if the target recording task is determined to be the recording task which can not be deleted according to the target deletion strategy, determining the storage space of the deletable recording task according to the storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time. . The embodiment of the application describes how a system determines the storage space of a deletable recording task according to the deletion strategy of the recording task of a user when a reservation request carries a target deletion strategy of the target recording task and the start time of the target recording task, and enriches the specific implementation modes of the embodiment of the application.
In a possible design, in a fifth implementation manner of the first aspect of this embodiment of the present application, after determining whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task, the method further includes: and if the storage space of the deletable recording task and the residual storage space of the user cannot meet the required storage space of the target recording task, returning a reservation failure response of the recording task to the user terminal, wherein the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task and/or indicates the user to purchase the storage space. The embodiment of the present application illustrates how the system responds when it is determined that the storage space of the deletable recording task and the remaining storage space of the user cannot satisfy the required storage space of the target recording task, thereby increasing the integrity of the embodiment of the present application.
In a possible design, in a sixth implementation manner of the first aspect of this embodiment of the present application, after the returning of the recording task reservation success response to the user terminal, before the target recording task starts recording, the method further includes: and the system confirms whether the residual storage space of the user meets the required storage space of the target recording task again, and deletes the deletable recording task at a deletion time if the residual storage space of the user does not meet the required storage space of the target recording task, wherein the deletion time is separated from the starting time by a preset time length. In the embodiment of the application, the system deletes the deletable recording task at the deletion time, so that the storage time of the deletable recording task is increased, and the user experience is improved.
In a possible design, in a seventh implementation manner of the first aspect of the embodiment of the present application, before the receiving a request for reservation of a target recording task sent by a user terminal, the method further includes: the system sends an order space instruction to a business operation support BOSS system according to an order instruction of a user, and then receives an order space feedback instruction sent by the BOSS system, wherein the order space feedback instruction indicates that space ordering is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction. According to the embodiment of the application, the steps of ordering the space from the BOSS system by the system are added, and the operability of the embodiment of the application is improved.
In a possible design, in an eighth implementation manner of the first aspect of the embodiment of the present application, the method further includes: the system receives a checking and deleting strategy instruction sent by the user terminal, and then sends a deleting strategy feedback instruction to the user terminal according to the checking and deleting strategy instruction, so that the user terminal displays the deleting strategy of the recording task of the user through the display screen. In the embodiment of the application, the user can check the deletion strategy of the recording task of the user through the user terminal, and the specific implementation mode of the embodiment of the application is enriched.
A second aspect of an embodiment of the present application provides an information transmission system, including: an input device, an output device, a memory, and a processor;
the input device is used for executing the following steps:
receiving a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task;
the processor is used for executing the following steps by calling the operation instruction stored in the memory:
determining whether the residual storage space of the user meets the required storage space of the target recording task;
if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; (ii) a
Determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task;
and if so, returning a recording task reservation success response to the user terminal.
The system in the embodiment of the application can automatically manage the storage space of the recording task according to the deletion strategy, and improves the user experience.
In one possible design, in a first implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
determining a storage space of a deletable recording task according to the type of the recorded task, wherein the type of the recorded task comprises a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an undeletable recording task.
The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation modes of the embodiment.
In a possible design, in a second implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including: the processor is further configured to perform steps comprising: :
determining a storage space of the deletable recording task according to the recording time of the recorded recording task, wherein the recording task of which the recording time is greater than a preset value from the current time is the deletable recording task, the recording task of which the recording time is not greater than the current time is the non-deletable recording task, and the current time is the time when the reservation request is received.
The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation means of the embodiment.
In a possible design, in a third implementation manner of the second aspect of the embodiment of the present application, the deletion policy of the recording task of the user includes: and (3) a deletion strategy of the recorded recording task and/or a deletion strategy of the recording task which is reserved successfully.
The embodiment of the application specifically illustrates the type of the deletion strategy of the recording task of the user, and increases the specific implementation modes of the embodiment.
In a possible design, in a fourth implementation manner of the second aspect of the embodiment of the present application, the reservation request further carries a target deletion policy of the target recording task and a start time of the target recording task, and the processor is further configured to execute the following steps, including:
if the target recording task is determined to be a deletable recording task according to the target deletion strategy, determining a storage space of the deletable recording task according to a storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time and storage spaces corresponding to all the recording tasks of which the recording time is later than the starting time;
and if the target recording task is determined to be the recording task which can not be deleted according to the target deletion strategy, determining the storage space of the recording task which can be deleted according to the storage space corresponding to the recording task which can be deleted and has the recording time earlier than the starting time.
The embodiment of the application describes how a system determines the storage space of a deletable recording task according to the deletion strategy of the recording task of a user when a reservation request carries a target deletion strategy of the target recording task and the start time of the target recording task, and enriches the specific implementation modes of the embodiment of the application.
In a possible design, in a fifth implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and when the storage space of the deletable recording task and the residual storage space of the user are determined not to meet the required storage space of the target recording task, returning a reservation failure response of the recording task to the user terminal, wherein the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task and/or indicates the user to purchase the storage space.
The embodiment of the present application illustrates how the system responds when it is determined that the storage space of the deletable recording task and the remaining storage space of the user cannot satisfy the required storage space of the target recording task, thereby increasing the integrity of the embodiment of the present application.
In a possible design, in a sixth implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
determining whether the residual storage space of the user meets the required storage space of the target recording task;
and if the residual storage space of the user cannot meet the required storage space of the target recording task, deleting the deletable recording task at a deletion time, wherein the deletion time is separated from the starting time by a preset time length.
In the embodiment of the application, the system deletes the deletable recording task at the deletion time, so that the storage time of the deletable recording task is increased, and the user experience is improved.
In a possible design, in a seventh implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
sending an order space instruction to a business operation support BOSS system according to an order instruction of a user;
receiving an order space feedback instruction sent by the BOSS system, wherein the order space feedback instruction indicates that space ordering is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction.
In the embodiment of the application, the step of ordering the space from the BOSS system by the system is added, and the operability of the embodiment of the application is improved.
In a possible design, in an eighth implementation manner of the second aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
receiving a checking and deleting strategy instruction sent by the user terminal;
and sending a deletion strategy feedback instruction to the user terminal according to the viewing deletion strategy instruction, so that the user terminal displays the deletion strategy of the recording task of the user.
In the embodiment of the application, the user can check the deletion strategy of the recording task of the user through the user terminal, and the specific implementation mode of the embodiment of the application is enriched.
A third aspect of an embodiment of the present application provides an information transmission system, including:
the first receiving unit is used for receiving a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task;
a first determining unit, configured to determine whether a remaining storage space of a user meets a required storage space of the target recording task;
a second determining unit, configured to determine, when the remaining storage space of the user cannot meet the required storage space of the target recording task, a storage space of a deletable recording task according to a deletion policy of the recording task of the user;
a third determining unit, configured to determine whether a storage space of the deletable recording task and a remaining storage space of the user satisfy a required storage space of the target recording task;
and the first returning unit is used for returning a recording task reservation success response to the user terminal when the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task.
The system in the embodiment of the application can automatically manage the storage space of the recording task according to the deletion strategy, and improves the user experience.
In one possible design, in a first implementation manner of the third aspect of the embodiment of the present application, the second determining unit includes:
the first determining subunit is configured to determine a storage space of the deletable recording task according to a type of a recorded task, where the type of the recorded task includes a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an undeletable recording task.
The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation modes of the embodiment.
In one possible design, in a second implementation manner of the third aspect of the embodiment of the present application, the second determining unit includes:
the second determining subunit is configured to determine, according to the recording time of the recorded recording task, a storage space of the deletable recording task, where the recording time of the recorded recording task is greater than a preset value from the current time and is the deletable recording task, and if the recording time of the recorded recording task is not greater than the preset value from the current time, the recording task is the non-deletable recording task, and the current time is the time when the reservation request is received. .
The embodiment of the application details how the system determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user, and enriches the specific implementation means of the embodiment.
In a possible design, in a third implementation manner of the third aspect of the embodiment of the present application, the deletion policy of the recording task of the user includes: and (3) a deletion strategy of the recorded recording task and/or a deletion strategy of the recording task which is reserved successfully.
The embodiment of the application specifically illustrates the type of the deletion strategy of the recording task of the user, and increases the specific implementation modes of the embodiment.
In a possible design, in a fourth implementation manner of the third aspect of the embodiment of the present application, the reservation request further carries a target deletion policy of the target recording task and a start time of the target recording task, and the second determining unit includes:
a third determining subunit, configured to determine, if the target recording task is determined to be a deletable recording task according to the target deletion policy, a storage space corresponding to a deletable recording task whose recording time is earlier than the start time, and storage spaces corresponding to all recording tasks whose recording times are later than the start time, where the deletable recording task is a deletable recording task;
and the fourth determining subunit is configured to determine, when the target recording task is determined to be an unreletable recording task according to the target deletion policy, a storage space of the deletable recording task according to a storage space corresponding to a deletable recording task whose recording time is earlier than the start time.
The embodiment of the application describes how a system determines the storage space of a deletable recording task according to the deletion strategy of the recording task of a user when a reservation request carries a target deletion strategy of the target recording task and the start time of the target recording task, and enriches the specific implementation modes of the embodiment of the application.
In a possible design, in a fifth implementation manner of the third aspect of the embodiment of the present application, the system further includes:
and the second returning unit is used for returning a reservation failure response of the recording task to the user terminal when the storage space of the deletable recording task and the residual storage space of the user cannot meet the required storage space of the target recording task, wherein the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task and/or indicates the user to purchase the storage space.
The embodiment of the present application illustrates how the system responds when it is determined that the storage space of the deletable recording task and the remaining storage space of the user cannot satisfy the required storage space of the target recording task, thereby increasing the integrity of the embodiment of the present application.
In a possible design, in a sixth implementation manner of the third aspect of the embodiment of the present application, the system further includes:
a fourth determining unit, configured to determine whether a remaining storage space of the user meets a required storage space of the target recording task;
and the deleting unit is used for deleting the deletable recording task at a deleting time when the residual storage space of the user cannot meet the required storage space of the target recording task, wherein the deleting time is separated from the starting time by a preset time length.
In the embodiment of the application, the system deletes the deletable recording task at the deletion time, so that the storage time of the deletable recording task is increased, and the user experience is improved.
In a possible design, in a seventh implementation manner of the third aspect of the embodiment of the present application, the system further includes:
the first sending unit is used for sending an ordering space instruction to the business operation support BOSS system according to the ordering instruction of the user;
and the second receiving unit is used for receiving an order space feedback instruction sent by the BOSS system, wherein the order space feedback instruction indicates that space ordering is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction.
In the embodiment of the application, the step of ordering the space from the BOSS system by the system is added, and the operability of the embodiment of the application is improved.
In a possible design, in an eighth implementation manner of the third aspect of the embodiment of the present application, the system further includes:
a third receiving unit, configured to receive a deletion policy viewing instruction sent by the user terminal;
and the second sending unit is used for sending a deletion strategy feedback instruction to the user terminal according to the checking deletion strategy instruction, so that the user terminal displays the deletion strategy of the recording task of the user.
In the embodiment of the application, the user can check the deletion strategy of the recording task of the user through the user terminal, and the specific implementation mode of the embodiment of the application is enriched.
Yet another aspect of the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
According to the technical scheme, the embodiment of the application has the following advantages: a recording management system receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; determining whether the residual storage space of the user meets the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task; (ii) a And if so, returning a recording task reservation success response to the user terminal. The system in the embodiment can automatically manage the recording tasks in the storage space, and improve the user experience.
Drawings
Fig. 1 is a schematic view of an application scenario in an embodiment of the present application;
fig. 2 is a schematic diagram of an embodiment of a recording management method in an embodiment of the present application;
FIG. 3 is a schematic interface diagram of a user terminal according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another interface of a user terminal according to an embodiment of the present application; (ii) a
Fig. 5 is a schematic diagram of another embodiment of a recording management method in the embodiment of the present application;
fig. 6 is a schematic diagram of another embodiment of a recording management method in the embodiment of the present application;
fig. 7 is a schematic diagram of an embodiment of a recording management system in an embodiment of the present application;
fig. 8 is a schematic diagram of another embodiment of a recording management system in an embodiment of the present application;
fig. 9 is a schematic diagram of another embodiment of a recording management system in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a recording management method and a recording management system, which are used for enabling the system to automatically manage recording tasks in a storage space and improving user experience.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present invention can be applied to a network architecture as shown in fig. 1, in which a user can connect to a recording management system for a new scheduled recording task through a user terminal (e.g., a set-top box, a personal computer, a notebook computer, a tablet computer, a mobile phone, etc.). The user terminal is responsible for receiving an instruction sent by a user, if the user needs to add a recording task, a reservation request of the recording task is input to the user terminal, then the user terminal sends the reservation request to the recording management system through a network, and the recording management system determines whether the recording task is added successfully or not according to a deletion strategy of the recording task and a calculation module after receiving the reservation request.
Referring to fig. 2, an embodiment of a recording management method according to an embodiment of the present invention includes:
201. and receiving a reservation request of a target recording task sent by a user terminal.
In this embodiment, when a user wants to add a new recording task, a reservation request of a target recording task is sent to the recording management system through the user terminal, where the reservation request of the target recording task sent by the user carries a storage space required by the target recording task.
The storage space required by the target recording task carried in the reservation request of the target recording task can be determined by the start recording time and the end recording time of the target recording task, that is, a user can input the start recording time and the end recording time of the target recording task through an input interface of a user terminal, so that the user terminal or a recording management system judges the storage space expected to be occupied by the target recording task according to the start recording time and the end recording time of the target recording task, for example, the program time is 1 hour, the code rate is 3Mbps, and the space is 3 × 3600/8/1024 — 1.3 GB.
202. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 203, and if so, executing the step 205.
In this embodiment, after receiving a reservation request of a target recording task sent by a user terminal, the recording management system may determine that the remaining storage space of the user cannot meet the storage space required by the target recording task.
It should be noted that, the method for the recording management system to determine the remaining storage space of the user may be: the recording management system firstly obtains the total space ordered by the user, and then subtracts the used space of the user from the total space to obtain the remaining storage space of the user, namely alpha x-beta, wherein alpha represents the remaining storage space of the user, x represents the total space ordered by the user, and beta represents the used space of the user. The used space of the user comprises a space occupied by the recording task recorded by the user and a space occupied by the recording task reserved successfully by the user.
203. And determining the storage space of the deletable recording task according to the type of the recorded task.
In this embodiment, when the recording management system determines that the remaining storage space of the user cannot meet the required storage space of the target recording task, the storage space of the deletable recording task may be determined according to the type of the recorded task, where the type of the recorded task includes a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an unviewed recording task.
It should be noted that, when a user requests a recorded task through a user terminal, the recording management system marks a watched mark on the recorded task requested by the user, so that the recording management system distinguishes a watched recording task from an unviewed recording task.
The deletable recording task mentioned in this embodiment is a recording task that can be automatically deleted by the recording management system.
204. And determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task, if so, executing the step 205, and if not, executing the step 206.
In this embodiment, after the recording management system obtains the storage space of the deletable recording task and the remaining storage space of the user, it is determined whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the storage space required by the target recording task according to the storage space of the deletable recording task and the remaining storage space of the user.
It should be noted that, when the recording management system determines that the sum of the storage space of the deletable recording task and the remaining storage space of the user is not less than the required storage space of the target recording task, it determines that the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task, and otherwise, it determines that the sum is not satisfied. That is, α + -, where α represents the remaining storage space of the user, represents the storage space of the deletable recording task, and Φ represents the predicted available space, when
Figure BDA0001292097190000091
Then the recording management system determines that the predicted available space satisfies the required storage space of the target recording task, and when the predicted available space satisfies the required storage space of the target recording task
Figure BDA0001292097190000092
Then the recording management system determines that the predicted available space does not satisfy the required storage space for the target recording task, wherein,
Figure BDA0001292097190000093
representing the required storage space for the target recording task.
205. And returning a target recording task reservation success response to the user terminal.
In this embodiment, when the recording management system determines, through the computing module, that the storage space of the deletable recording task and the remaining storage space of the user satisfy the storage space required by the target recording task, that is, when the deletable recording task is deleted, the computing module determines that the storage space of the deletable recording task and the remaining storage space of the user satisfy the storage space required by the target recording task
Figure BDA0001292097190000101
In time, the recording management system will return a successful reservation response of the recording task to the user terminal, as shown in fig. 3, and after receiving the successful reservation response of the recording task, the user terminal will return the recording task to the user terminalAnd displaying the reservation success information of the recording task through the display screen, so that a user can know the reservation success of the recording task through the information displayed on the display screen.
206. And returning a reservation failure response of the recording task to the user terminal.
In this embodiment, when the recording management system determines, through the computing module, that the storage space of the deletable recording task and the remaining storage space of the user do not satisfy the storage space required by the target recording task, that is, when the recording management system determines that the storage space of the deletable recording task and the remaining storage space of the user do not satisfy the storage space required by the target recording task, that
Figure BDA0001292097190000102
In time, the recording management system may return a reservation failure response of the recording task to the user terminal, where as shown in fig. 4, after the user terminal receives the reservation failure response, a prompt of insufficient storage space may be displayed on the display screen, the user may also be prompted to manually delete the recording task, and an entry of a list of manually deleted recording tasks may be provided, where the user may enter a list interface of the recording tasks by clicking a word "delete the recording task" on the display screen, and in addition, a prompt may be provided to instruct the user to purchase the storage space, where the user may enter a purchase address for purchasing the storage space by clicking a word "purchase storage space" on the display screen.
207. And receiving a checking and deleting strategy instruction sent by the user terminal.
In this embodiment, when the user sends the instruction of checking the deletion policy, the instruction of checking the deletion policy may be sent to the recording management system through the user terminal.
208. And sending a deletion strategy feedback instruction to the user terminal according to the deletion strategy checking instruction. .
In the embodiment of the application, after receiving the deletion strategy checking instruction sent by the user terminal, the recording management system sends a deletion strategy feedback instruction to the user terminal according to the deletion strategy checking instruction, so that the user terminal displays the deletion strategy of the recording task of the user.
It should be noted that the implementation order of step 207 and step 208 may be located at any position before step 206, and may also be located at any position after step 209, and the specific position is not limited herein. .
209. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 210, and if so, not executing the step 210.
In this embodiment, after the reservation request of the target recording task is successful, at a certain time before the target recording task starts recording, the recording management system may determine again whether the remaining storage space of the user meets the required storage space of the target recording task, where the time when the target recording task starts recording is the start time, and the recording management system may determine again whether the remaining storage space of the user meets the required storage space of the target recording task at a first preset time from the start time, where a time length of the first preset time may be defined by the user, may be 1 minute, and may also be 30 seconds, and a specific time length is not limited here.
210. Deleting the deletable recording task at the deletion time.
In this embodiment, if the recording management system determines that the remaining storage space of the user cannot meet the required storage space of the target recording task, the deletable recording task is deleted at a deletion time, where the deletion time is separated from the start time of the target recording task by a second preset time, and the second preset time is not greater than the first preset time.
That is, after the reservation of the target recording task is successful, the recording management system may not delete the deletable recording task immediately, before the target recording task starts recording, the recording management system may determine again, through the computing module, whether the remaining storage space of the user satisfies the required storage space of the target recording task (because the user may manually delete some recording tasks or purchase more storage space before the target recording task starts recording), and if the remaining storage space of the user does not satisfy the required storage space of the target recording task, the recording management system may delete part or all of the deletable recording tasks at the time of deletion. The deletion time is between the time when the reservation request of the target recording task is received by the recording management system and the recording time when the target recording task formally starts recording, and the deletion time can be set to be very close to the recording time, namely, the user can have more time to manage the storage space between the time when the user increases the recording task corresponding to the reservation request and the time when the recording task corresponding to the reservation request starts recording, and the deletable reservation task can also have longer time in the storage space.
It should be noted that, the deletable recording tasks deleted by the recording management system at the deletion time are not equal to all deletable recording tasks, the sequence of the deleted deletable recording tasks may be deleted in sequence according to a deletion priority preset by a user, and the deleted tasks with the highest deletion priority are deleted first until the remaining storage space can meet the required storage space of the target recording task; the deleted recording tasks can be deleted according to the sequence of the deleted recording tasks before and after the watching time of the user, and the deleted recording tasks are deleted firstly when the user watches the recording tasks firstly until the residual storage space can meet the required storage space of the target recording task.
It should be noted that the recording management system mentioned in step 201 to step 210 may be an NPVR system, or may also be another system, such as a CPVR system, where a specific system type is not limited herein, and if the recording management system is a CPVR system, the storage space of the recording task is located at the user terminal side at this time.
Optionally, the recording management system in this embodiment may further send an order space instruction to the business operation support BOSS system according to the order instruction of the user, that is, when the user needs to order a space, the order instruction is sent to the user terminal, and then the user terminal sends the order instruction to the recording management system, so that the recording management system sends the order space instruction to the BOSS system. The user sending the order space instruction may be an operator or a dealer, or may be a user who purchases and uses the user terminal, that is, the space ordered by the user terminal may be ordered in advance before the user terminal is sold, or the space may be ordered by a consumer after the user terminal is sold.
After receiving the order space instruction sent by the recording management system, the BOSS system generates an order space feedback instruction according to the order space instruction and sends the order space feedback instruction to the recording management system, and after receiving the order space feedback instruction, the recording management system forwards the instruction to the user terminal, so that the user terminal displays information of successful space ordering on a display screen according to the instruction, and the user can know that the space ordering is successful according to the information of successful space ordering displayed on the display screen.
In the technical scheme provided by the embodiment of the application, a recording management system receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; determining whether the residual storage space of the user meets the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task; if yes, returning a recording task reservation success response to the user terminal, and automatically deleting part or all of the deletable recording tasks at the deletion time. The recording management system in the embodiment can automatically delete the deletable recording task before the target recording task starts, so that the target recording task has enough recording space, a user does not need to participate in the deletion operation, and the user experience is improved.
Referring to fig. 5, another embodiment of the recording management method in the embodiment of the present invention includes:
501. and receiving a reservation request of a target recording task sent by a user terminal.
502. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 503, and if so, executing the step 505.
In this embodiment, steps 501 to 502 are similar to steps 201 to 202 in fig. 2, and are not described herein again.
503. And determining the storage space of the deletable recording task according to the recording time of the recording task.
In this embodiment, when the recording management system determines that the remaining storage space of the user cannot meet the required storage space of the target recording task, the storage space of the deletable recording task is determined according to the recording time of the recording task, where the recording task whose recording time is longer than the third preset time from the current time of the recording task is a deletable recording task, and the recording task whose recording time is not longer than the third preset time from the current time of the recording task is a deletable recording task, where the current time is the time when the reservation request is received.
Or the recording task of which the recording time is longer than the fourth preset time length from the recording start time of the target recording task is a deletable recording task, the recording task of which the recording time is not longer than the fourth preset time length from the recording start time of the target recording task is a non-deletable recording task, and the current time is the time for receiving the reservation request, wherein the recording tasks mentioned in the storage space of the deletable recording task comprise the recorded tasks and the recording tasks which are successfully reserved.
The deletable recording task mentioned in this embodiment is a recording task that can be automatically deleted by the recording management system.
It should be noted that the third preset time period and the fourth preset time period may be customized by a user, and the specific time length is not limited here.
504. And determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task, if so, executing step 505, and if not, executing step 506.
505. And returning a target recording task reservation success response to the user terminal.
506. And returning a reservation failure response of the recording task to the user terminal.
507. And receiving a checking and deleting strategy instruction sent by the user terminal.
508. And sending a deletion strategy feedback instruction to the user terminal according to the deletion strategy checking instruction. .
509. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 510, and if so, not executing the step 510.
510. Deleting the deletable recording task at the deletion time.
In this embodiment, steps 504 to 510 are similar to steps 204 to 210 in fig. 2, and are not described herein again.
It should be noted that the recording management system mentioned in steps 501 to 510 may be an NPVR system, or may also be another system, such as a CPVR system, where the specific system type is not limited herein, and if the recording management system is a CPVR system, the storage space of the recording task is located at the user terminal side at this time.
Optionally, the recording management system in this embodiment may further send an order space instruction to the business operation support BOSS system according to the order instruction of the user, that is, when the user needs to order a space, the order instruction is sent to the user terminal, and then the user terminal sends the order instruction to the recording management system, so that the recording management system sends the order space instruction to the BOSS system. The user sending the order space instruction may be an operator or a dealer, or may be a user who purchases and uses the user terminal, that is, the space ordered by the user terminal may be ordered in advance before the user terminal is sold, or the space may be ordered by a consumer after the user terminal is sold.
After receiving the order space instruction sent by the recording management system, the BOSS system generates an order space feedback instruction according to the order space instruction and sends the order space feedback instruction to the recording management system, and after receiving the order space feedback instruction, the recording management system forwards the instruction to the user terminal, so that the user terminal displays information of successful space ordering on a display screen according to the instruction, and the user can know that the space ordering is successful according to the information of successful space ordering displayed on the display screen.
In the technical scheme provided by the embodiment of the application, a recording management system receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; determining whether the residual storage space of the user meets the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task; if yes, returning a recording task reservation success response to the user terminal, and automatically deleting part or all of the deletable recording tasks at the deletion time. The recording management system in the embodiment can automatically delete the deletable recording task before the target recording task starts, so that the target recording task has enough recording space, and the deletion of part or all of the deletable recording task at the deletion time does not require a user to participate in the deletion operation, thereby improving the user experience.
Referring to fig. 6, another embodiment of the recording management method in the embodiment of the present invention includes:
601. and receiving a reservation request of a target recording task sent by a user terminal.
In this embodiment, when a user wants to add a new recording task, a reservation request of a target recording task is sent to the recording management system through the user terminal, where the reservation request of the target recording task sent by the user carries a storage space required by the target recording task, a target deletion policy of the target recording task and a start time of the target recording task, and the target deletion policy indicates whether the target recording task is a deletable task or an unreletable task.
The storage space required by the target recording task carried in the reservation request of the target recording task can be determined by the starting time and the ending time of the recording of the target recording task, that is, a user can input the starting time and the ending time of the target recording task through an input interface of a user terminal, so that the user terminal or a recording management system judges the storage space expected to be occupied by the target recording task according to the starting time and the ending time of the target recording task, for example, the program duration is 1 hour, the code rate is 3Mbps, and the space is 3 × 3600/8/1024-1.3 GB.
602. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 603, and if so, executing the step 605.
In this embodiment, step 602 is similar to step 202 in fig. 2, and detailed description thereof is omitted here.
603. And determining the storage space of the deletable recording task according to the deletion strategy of the recording task of the user.
In this embodiment, when the recording management system determines that the remaining storage space of the user cannot meet the required storage space of the target recording task, the recording management system determines the storage space of the deletable recording task according to a deletion policy of the recording task of the user, where the deletion policy of the recording task includes: a deletion strategy of a recorded recording task, a deletion strategy of a recording task which has been successfully reserved and/or a deletion strategy of a target recording task.
When the recording management system determines that the target recording task is a deletable recording task according to the target deletion strategy, the recording management system determines the deletable storage space of the recording task according to the storage space corresponding to the deletable recording task of which the recording time is earlier than the start time and the storage space corresponding to all the recording tasks of which the recording time is later than the start time, and the deletable storage space of the recording task can be expressed as: η + κ, where η denotes a storage space corresponding to a deletable recording task whose recording time is earlier than the start time, and κ denotes a storage space corresponding to all recording tasks whose recording time is later than the start time.
When the recording management system determines that the target recording task is an undeletable recording task according to the target deletion strategy, the recording management system determines the storage space of the deletable recording task according to the storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time. That is, the storage space of the recording task that can be deleted at this time: η, where η represents a storage space corresponding to a deletable recording task whose recording time is earlier than the start time. .
The deletable recording task mentioned in this embodiment is a recording task that can be automatically deleted by the recording management system.
For example, if the total space ordered by the user is 10GB, the current time is 2016.11.3018: 00:00, and the existing recording tasks of the user are as follows:
NPVR recording task Occupied space Whether or not it can be automatically deleted Recording start time
Task A 4GB Can be used for 2016.12.01 18:00:00
Task B 4GB Cannot (9) 2016.12.04 18:00:00
Scene one: the user adds a recording task C which starts to record at 2016.12.0118: 00:00, the recording task occupies 3GB, and the user sets the recording task to be automatically deleted, although the sum of the used space and the required space of the new recording task exceeds 10GB, because the task A can be automatically deleted before the new recording task starts to record, the recording space is enough when the new recording task C formally starts to record, so the new recording task C is successfully added.
Scene two: the user adds a recording task D which starts to record at 2016.11.3022: 00:00, the recording task occupies 3GB, and the user sets that the recording task cannot be automatically deleted, at the moment, the task space occupies more than 10GB, but because the recording task D cannot be automatically deleted, if the recording task D is successfully added, the recording task D which is successfully added later is insufficient, so the new addition of the recording task D fails.
Scene three: the user adds a recording task E which starts to record at 2016.11.3022: 00:00, the recording task occupies 3GB, and the user sets the recording task to be automatically deleted, at this moment, the task space occupies more than 10GB, but because the recording task E can be automatically deleted, if the recording task E is successfully added, the recording task E is automatically deleted before the recording task which is successfully added later starts to record, so the recording task E is successfully added.
Scene four: the user adds a series of series episodes, each episode occupies 2GB at a fixed time point every day, the first episode is 2016.12.0520: 00:00, the user sets the series of the series episodes as a deletable recording task, and the user can also set the storage space to be full and automatically delete the previous episode of the series episodes. All subsets of the series of episodes may be booked successfully, as each episode may at least be automatically deleted before it is started.
604. And determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task, if so, executing step 605, and if not, executing step 606.
605. And returning a target recording task reservation success response to the user terminal.
606. And returning a reservation failure response of the recording task to the user terminal.
607. And receiving a checking and deleting strategy instruction sent by the user terminal.
608. And sending a deletion strategy feedback instruction to the user terminal according to the deletion strategy checking instruction. .
609. And determining whether the residual storage space of the user meets the required storage space of the target recording task, if not, executing the step 610, and if so, not executing the step 610.
610. Deleting the deletable recording task at the deletion time.
In this embodiment, steps 604 to 610 are similar to steps 204 to 210 in fig. 2, and are not described herein again.
It should be noted that the recording management system mentioned in step 601 to step 610 may be an NPVR system, or may also be another system, such as a CPVR system, where the specific system type is not limited herein, and if the recording management system is a CPVR system, the storage space of the recording task is located at the user terminal side at this time.
Optionally, the recording management system in this embodiment may further send an order space instruction to the business operation support BOSS system according to the order instruction of the user, that is, when the user needs to order a space, the order instruction is sent to the user terminal, and then the user terminal sends the order instruction to the recording management system, so that the recording management system sends the order space instruction to the BOSS system. The user sending the order space instruction may be an operator or a dealer, or may be a user who purchases and uses the user terminal, that is, the space ordered by the user terminal may be ordered in advance before the user terminal is sold, or the space may be ordered by a consumer after the user terminal is sold.
After receiving the order space instruction sent by the recording management system, the BOSS system generates an order space feedback instruction according to the order space instruction and sends the order space feedback instruction to the recording management system, and after receiving the order space feedback instruction, the recording management system forwards the instruction to the user terminal, so that the user terminal displays information of successful space ordering on a display screen according to the instruction, and the user can know that the space ordering is successful according to the information of successful space ordering displayed on the display screen.
In the technical scheme provided by the embodiment of the application, a recording management system receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; determining whether the residual storage space of the user meets the required storage space of the target recording task; if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user; determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task; if yes, returning a recording task reservation success response to the user terminal, and automatically deleting part or all of the deletable recording tasks at the deletion time. The recording management system in the embodiment can automatically delete the deletable recording task before the target recording task starts, so that the target recording task has enough recording space, a user does not need to participate in the deletion operation, and the user experience is improved.
The foregoing embodiment describes a recording management method in this embodiment, and the following describes a recording management system in this embodiment in detail, which may specifically be:
referring to fig. 7, fig. 7 is a diagram illustrating an embodiment of a recording management system in an embodiment of the present application, where the recording management system is the recording management system according to the method embodiments shown in fig. 2, fig. 5, and fig. 6, and the recording management system includes:
a first receiving unit 701, configured to receive a reservation request of a target recording task sent by a user terminal, where the reservation request carries a storage space required by the target recording task;
a first determining unit 702, configured to determine whether a remaining storage space of a user meets a required storage space of a target recording task;
a second determining unit 703, configured to determine, when the remaining storage space of the user cannot meet the required storage space of the target recording task, a storage space of a deletable recording task according to a deletion policy of the recording task of the user;
a third determining unit 704, configured to determine whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task;
a first returning unit 705, configured to return a recording task reservation success response to the user terminal when it is determined that the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task.
In the technical scheme provided by the embodiment of the application, a first receiving unit 701 receives a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task; the first determining unit 702 determines whether the remaining storage space of the user satisfies the required storage space of the target recording task; when the remaining storage space of the user cannot meet the storage space required by the target recording task, the second determining unit 703 determines the storage space of the deletable recording task according to the deletion policy of the recording task of the user; the third determining unit 704 determines whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task; (ii) a If yes, the first returning unit 705 returns a recording task reservation success response to the user terminal. The recording management system in the embodiment can automatically manage the recording tasks in the storage space, and improve the user experience.
Referring to fig. 8, fig. 8 is a diagram illustrating another embodiment of a recording management system in an embodiment of the present application, where the recording management system is the recording management system according to the method embodiments shown in fig. 2, fig. 5, and fig. 6, and the recording management system includes:
a first receiving unit 801, configured to receive a reservation request of a target recording task sent by a user terminal, where the reservation request carries a storage space required by the target recording task;
a first determining unit 802, configured to determine whether a remaining storage space of a user meets a required storage space of a target recording task;
a second determining unit 803, configured to determine, when the remaining storage space of the user cannot meet the required storage space of the target recording task, a storage space of a deletable recording task according to a deletion policy of the recording task of the user;
wherein the second determining unit 803 further includes:
the first determining subunit 8031 is configured to determine a storage space of a deletable recording task according to a type of a recorded task, where the type of the recorded task includes a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an undeletable recording task.
Or the like, or, alternatively,
the second determining subunit 8032 is configured to determine, according to the recording time of the recorded recording task, a storage space of the deletable recording task, where the recording time of the recorded recording task is greater than the preset value from the current time and is the deletable recording task, and if the recording time of the recorded recording task is not greater than the preset value from the current time, the recording task is the unredeletable recording task, and the current time is the time when the reservation request is received.
Or the like, or, alternatively,
a third determining subunit 8033, configured to, if it is determined that the target recording task is a deletable recording task according to the target deletion policy, determine a storage space of the deletable recording task according to a storage space corresponding to a deletable recording task whose recording time is earlier than the start time and storage spaces corresponding to all recording tasks whose recording times are later than the start time;
a fourth determining subunit 8034, configured to determine, when the target recording task is the unreletable recording task according to the target deletion policy, a storage space of the deletable recording task according to the storage space corresponding to the deletable recording task whose recording time is earlier than the start time.
A third determining unit 804, configured to determine whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task;
a first returning unit 805, configured to return a recording task reservation success response to the user terminal when it is determined that the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task.
A second returning unit 806, configured to, when it is determined that the storage space of the deletable recording task and the remaining storage space of the user cannot meet the required storage space of the target recording task, return a reservation failure response of the recording task to the user terminal, where the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task, and/or indicates the user to purchase the storage space.
A first sending unit 807, configured to send an order space instruction to the business operation support BOSS system according to an order instruction of a user;
a second receiving unit 808, configured to receive an order space feedback instruction sent by the BOSS system, where the order space feedback instruction indicates that the space order is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction.
A fourth determining unit 809 for determining whether the remaining storage space of the user meets the required storage space of the target recording task;
a deleting unit 810, configured to delete a deletable recording task at a deleting time when the remaining storage space of the user cannot meet the required storage space of the target recording task, the deleting time being separated from the starting time by a preset duration.
In the technical solution provided in the embodiment of the present application, a first receiving unit 801 receives a reservation request of a target recording task sent by a user terminal, where the reservation request carries a storage space required by the target recording task; the first determining unit 802 determines whether the remaining storage space of the user satisfies the required storage space of the target recording task; when the remaining storage space of the user cannot meet the required storage space of the target recording task, the second determining unit 803 determines the storage space of the deletable recording task according to the deletion strategy of the recording task of the user; the third determining unit 804 determines whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task; (ii) a If yes, the first returning unit 805 returns a recording task reservation success response to the user terminal. The recording management system in the embodiment can automatically manage the recording tasks in the storage space, and improve the user experience.
Referring to fig. 9, another embodiment of the recording management system in the embodiment of the present application includes:
fig. 9 is a structural diagram of a recording management system according to an embodiment of the present invention, where the recording management system 900 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 922 (e.g., one or more processors) and a memory 932, and one or more storage media 930 (e.g., one or more mass storage devices) storing an application 942 or data 944. Memory 932 and storage media 930 can be, among other things, transient storage or persistent storage. The program stored on storage medium 930 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a recording management system. Still further, central processor 922 may be configured to communicate with storage medium 930 to execute a series of instructional operations on storage medium 930 on recording management system 900.
The recording management system 900 may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input output interfaces 958, and/or one or more operating systems 941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The storage medium 930 may store program modules shown in fig. 7 or fig. 8 to implement the scheme of the present invention, where the following operations may be included:
receiving a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task;
determining whether the residual storage space of the user meets the required storage space of the target recording task;
if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of the deletable recording task according to a deletion strategy of the recording task of the user;
determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task;
and if so, returning a successful response of the reservation of the target recording task to the user terminal.
The steps performed by the recording management system in the above embodiment may be based on the structure of the recording management system shown in fig. 9.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for the convenience and brevity of description, the specific working procedures of the above-described systems, apparatuses and units may refer to the corresponding procedures in the foregoing method embodiments, and will not be described herein again.
In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (16)

1. A recording management method, comprising:
receiving a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task, a target deletion strategy of the target recording task and a starting time of the target recording task;
determining whether the residual storage space of the user meets the required storage space of the target recording task; the residual storage space of the user is equal to the total space of the user minus the used space of the user, wherein the used space of the user comprises the space occupied by the recording task recorded by the user and the space occupied by the recording task reserved successfully by the user;
if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of a deletable recording task according to a deletion strategy of the recording task of the user, wherein the deletable recording task is a recording task which can be automatically deleted by a recording management system;
determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task;
if yes, returning a successful reservation response of the target recording task to the user terminal;
the determining the storage space of the recording task which can be deleted according to the deletion strategy of the recording task of the user comprises the following steps:
if the target recording task is determined to be a deletable recording task according to the target deletion strategy, determining a storage space of the deletable recording task according to a storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time and storage spaces corresponding to all the recording tasks of which the recording time is later than the starting time;
and if the target recording task is determined to be the recording task which can not be deleted according to the target deletion strategy, determining the storage space of the recording task which can be deleted according to the storage space corresponding to the recording task which can be deleted and has the recording time earlier than the starting time.
2. The method of claim 1, wherein determining the storage space of the deletable recording task according to the deletion policy of the recording task of the user comprises:
determining a storage space of a deletable recording task according to the type of the recorded task, wherein the type of the recorded task comprises a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an undeletable recording task.
3. The method of claim 1, wherein determining the storage space of the deletable recording task according to the deletion policy of the recording task of the user comprises:
determining a storage space of the deletable recording task according to the recording time of the recorded recording task, wherein the recording task of which the recording time is greater than a preset value from the current time is the deletable recording task, the recording task of which the recording time is not greater than the current time is the non-deletable recording task, and the current time is the time when the reservation request is received.
4. The method according to any one of claims 1 to 3, wherein the deletion strategy of the recording task of the user comprises: and (3) a deletion strategy of the recorded recording task and/or a deletion strategy of the recording task which is reserved successfully.
5. The method according to any one of claims 1, 2, and 3, wherein after determining whether the storage space of the deletable recording task and the remaining storage space of the user satisfy the required storage space of the target recording task, the method further comprises:
and if not, returning a reservation failure response of the recording task to the user terminal, wherein the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task and/or indicates the user to purchase the storage space.
6. The method according to any one of claims 1, 2 and 3, wherein after the recording task reservation success response is returned to the user terminal, before the target recording task starts recording, the method further comprises:
determining whether the residual storage space of the user meets the required storage space of the target recording task;
and if the residual storage space of the user cannot meet the required storage space of the target recording task, deleting the deletable recording task at a deletion time, wherein the deletion time is separated from the starting time of the target recording task by a preset time length.
7. The method according to any one of claims 1, 2 and 3, wherein before receiving a reservation request of a target recording task sent by a user terminal, the method further comprises:
sending an order space instruction to a business operation support BOSS system according to an order instruction of a user;
receiving an order space feedback instruction sent by the BOSS system, wherein the order space feedback instruction indicates that space ordering is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction.
8. The method according to any one of claims 1, 2, 3, further comprising:
receiving a checking and deleting strategy instruction sent by the user terminal;
and sending a deletion strategy feedback instruction to the user terminal according to the viewing deletion strategy instruction, so that the user terminal displays the deletion strategy of the recording task of the user.
9. A recording management system, comprising:
an input device, an output device, a memory, and a processor;
the input device is used for executing the following steps:
receiving a reservation request of a target recording task sent by a user terminal, wherein the reservation request carries a required storage space of the target recording task, a target deletion strategy of the target recording task and a starting time of the target recording task;
the processor is used for executing the following steps by calling the operation instruction stored in the memory:
determining whether the residual storage space of the user meets the required storage space of the target recording task; the residual storage space of the user is equal to the total space of the user minus the used space of the user, wherein the used space of the user comprises the space occupied by the recording task recorded by the user and the space occupied by the recording task reserved successfully by the user;
if the residual storage space of the user cannot meet the required storage space of the target recording task, determining the storage space of a deletable recording task according to a deletion strategy of the recording task of the user, wherein the deletable recording task is a recording task which can be automatically deleted by a recording management system;
determining whether the storage space of the deletable recording task and the residual storage space of the user meet the required storage space of the target recording task;
if yes, returning a recording task reservation success response to the user terminal;
the processor is further configured to perform steps comprising:
if the target recording task is determined to be a deletable recording task according to the target deletion strategy, determining a storage space of the deletable recording task according to a storage space corresponding to the deletable recording task of which the recording time is earlier than the starting time and storage spaces corresponding to all the recording tasks of which the recording time is later than the starting time;
and if the target recording task is determined to be the recording task which can not be deleted according to the target deletion strategy, determining the storage space of the recording task which can be deleted according to the storage space corresponding to the recording task which can be deleted and has the recording time earlier than the starting time.
10. The system of claim 9, wherein the processor is further configured to perform steps comprising:
determining a storage space of a deletable recording task according to the type of the recorded task, wherein the type of the recorded task comprises a watched recording task and an unviewed recording task, the watched recording task is a deletable recording task, and the unviewed recording task is an undeletable recording task.
11. The system of claim 9, wherein the processor is further configured to perform steps comprising:
determining a storage space of the deletable recording task according to the recording time of the recorded recording task, wherein the recording task of which the recording time is greater than a preset value from the current time is the deletable recording task, the recording task of which the recording time is not greater than the current time is the non-deletable recording task, and the current time is the time when the reservation request is received.
12. The system according to any one of claims 9 to 11, wherein the deletion strategy of the recording task of the user comprises: and (3) a deletion strategy of the recorded recording task and/or a deletion strategy of the recording task which is reserved successfully.
13. The system of any one of claims 9, 10, 11, wherein the processor is further configured to perform steps comprising:
and when the storage space of the deletable recording task and the residual storage space of the user are determined not to meet the required storage space of the target recording task, returning a reservation failure response of the recording task to the user terminal, wherein the reservation failure response indicates a storage space shortage prompt, indicates the user to delete the recording task and/or indicates the user to purchase the storage space.
14. The system of any one of claims 9, 10, 11, wherein the processor is further configured to perform steps comprising:
determining whether the residual storage space of the user meets the required storage space of the target recording task;
and if the residual storage space of the user cannot meet the required storage space of the target recording task, deleting the deletable recording task at a deletion time, wherein the deletion time is separated from the starting time of the target recording task by a preset time length.
15. The system of any one of claims 9, 10, 11, wherein the processor is further configured to perform steps comprising:
sending an order space instruction to a business operation support BOSS system according to an order instruction of a user;
receiving an order space feedback instruction sent by the BOSS system, wherein the order space feedback instruction indicates that space ordering is successful, and the order space feedback instruction is generated by the BOSS system according to the order space instruction.
16. The system of any one of claims 9, 10, 11, wherein the processor is further configured to perform steps comprising:
receiving a checking and deleting strategy instruction sent by the user terminal;
and sending a deletion strategy feedback instruction to the user terminal according to the viewing deletion strategy instruction, so that the user terminal displays the deletion strategy of the recording task of the user.
CN201710332344.6A 2017-05-11 2017-05-11 Recording management method and system Active CN107257503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710332344.6A CN107257503B (en) 2017-05-11 2017-05-11 Recording management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710332344.6A CN107257503B (en) 2017-05-11 2017-05-11 Recording management method and system

Publications (2)

Publication Number Publication Date
CN107257503A CN107257503A (en) 2017-10-17
CN107257503B true CN107257503B (en) 2020-12-18

Family

ID=60028069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710332344.6A Active CN107257503B (en) 2017-05-11 2017-05-11 Recording management method and system

Country Status (1)

Country Link
CN (1) CN107257503B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115643352A (en) * 2022-10-18 2023-01-24 浩云科技股份有限公司 Double recording method and system of double recording special network video recorder

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1995970A2 (en) * 2007-05-21 2008-11-26 Sony Corporation Receiving apparatus, recording apparatus, content receiving method, and content recording method
CN101631229A (en) * 2009-08-14 2010-01-20 华为技术有限公司 Network individual recording method, device and system
CN102917249A (en) * 2012-10-15 2013-02-06 中兴通讯股份有限公司南京分公司 IPTV reservation system and reservation plan adding method based on same
CN104135687A (en) * 2014-07-29 2014-11-05 深圳创维数字技术股份有限公司 Method for processing program data and digital television terminal
CN104219561A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Method and user equipment for cleaning offline videos

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1995970A2 (en) * 2007-05-21 2008-11-26 Sony Corporation Receiving apparatus, recording apparatus, content receiving method, and content recording method
CN101631229A (en) * 2009-08-14 2010-01-20 华为技术有限公司 Network individual recording method, device and system
CN102917249A (en) * 2012-10-15 2013-02-06 中兴通讯股份有限公司南京分公司 IPTV reservation system and reservation plan adding method based on same
CN104135687A (en) * 2014-07-29 2014-11-05 深圳创维数字技术股份有限公司 Method for processing program data and digital television terminal
CN104219561A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Method and user equipment for cleaning offline videos

Also Published As

Publication number Publication date
CN107257503A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US7765235B2 (en) Systems and methods for resolving conflicts and managing system resources in multimedia delivery systems
US7805741B2 (en) Systems and methods for networking digital video recorders
US20210250653A1 (en) Server and program
EP2357821A2 (en) Systems and methods for managing a status change of a multimedia asset in multimedia delivery systems
US20090300695A1 (en) System and method of identifying events scheduled at a media recorder
CN102598622B (en) Assembling streamed content for on-demand presentation
US20080159714A1 (en) Limiting recording demands
US20120290635A1 (en) Content sharing system and method, content relaying apparatus and method, and content providing apparatus and method
KR20090127060A (en) Method and apparatus of terminal entity for presenting event of download item
US20120204215A1 (en) Digital video recorder (dvr) methods and apparatus
US9807447B2 (en) Intelligent scheduling of DVR commands and DVR client status updates
US8775600B2 (en) Storage system and data management method in storage system
US11979625B2 (en) Dynamic scheduling of content
US20210258539A1 (en) Server and program
KR100924646B1 (en) System and method for providing individual broadcasting service using iptv
JP5820222B2 (en) Content recording support system and method, content recording apparatus
CN107257503B (en) Recording management method and system
US9161005B2 (en) Method and apparatus for acquiring storage for media assets
JP2008252200A (en) Content processor
JP2001309334A (en) System and method for picture recording and distributing program and recording medium with program picture recording and distributing program recorded thereon
US20220174345A1 (en) Systems and methods for storing content items based on consumption history
JP2003009116A (en) Video distribution system, video distribution equipment, video distribution method, recording medium and program
JP2005151514A (en) Internet-controlled televison recording service

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
GR01 Patent grant
GR01 Patent grant