Implementation Method, System, Device and Computer Medium for Personal Recording Service

Through intelligent selection of the optimal node and setting aging time, the inefficiency caused by personal recording business dependence on program lists and insufficient capacity of the CDN system is solved, node load and storage balancing is achieved, and business reliability and disaster recovery capabilities are improved.

CN113806303BActive Publication Date: 2025-07-18ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010541307.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-15
Publication Date
2025-07-18
Estimated Expiration
2040-06-15

AI Technical Summary

Technical Problem

In the prior art, personal recording services rely on program lists, resulting in inefficiency, and insufficient capacity of the CDN system, making it impossible to effectively manage node load and storage pressure.

Method used

After receiving the personal recording request, intelligently select the personal recording node and central node with the best performance, query the node whether there is a recording related file, return it if it exists, and start recording if it does not exist. If it exists, record the missing part, and set the aging time in the node to manage the storage space and manage the NPVR central nodes of different channels in the node.

Benefits of technology

It realizes node load and storage balancing without relying on program lists, improves the reliability of personal recording services and the disaster recovery capabilities of the CDN system, and solves the problem of insufficient capacity of the CDN system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113806303B_ABST
    Figure CN113806303B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and computer medium for implementing a personal recording service, which relates to the technical field of multimedia personal recording, and solves the technical problem of low efficiency of personal recording services relying on program schedules. The key points of the technical solution are that after receiving a personal recording request, the optimal personal recording node and the central node with the best performance are selected, and then it is queried whether there are personal recording-related files in the nodes. If they exist, the recording is returned as successful; if not, the recording starts; if only some exist, the missing parts are recorded. Based on the existing multimedia network, this solution can implement personal recording services without the need to pre-distribute program schedules. When selecting personal recording nodes, it can achieve node load and storage balance, and the intelligent selection of the optimal node improves the reliability of personal recording services. At the same time, when selecting the central node, the NPVR central nodes of different channels are managed separately, with balanced pressure, which also improves the disaster tolerance of the personal recording service of the CDN system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of multimedia personal recording, and particularly to a method, system, device and computer medium for implementing a personal recording service. Background Art

[0002] The improvement of network bandwidth and the development of network technologies provide a basis for carrying out multimedia value-added services on existing networks. With the development of wireless communication technologies, the development of media value-added services based on wireless communication technologies, such as mobile TV and mobile downloads, has gradually become a trend. Streaming media technology provides a way to transmit media content such as video, audio, and pictures in a network, and thus has been widely used in multimedia services.

[0003] In a video service system, a content distribution network (CDN) composed of multiple servers (nodes) is usually adopted to provide services for end users. Usually, nodes closer to users can provide most of the services, and the central node only provides partial services for a small number of users.

[0004] In multimedia service systems such as OTT (Over The Top) and IPTV (Internet Protocol Television), personal recording services can be provided. Through the personal recording service, the user terminal can record the program content of interest and store it for a long time. When the user terminal requests the personal recording content, it obtains the node information of the recording content by accessing the CDN system, and then obtains the recording content from that node. However, personal recording content usually needs to be stored on the CDN for a long time to meet the needs of users. Therefore, with the geometric growth of the number of end users and the expansion of the user NPVR (Network Personal Video Recorder) service demand, the nodes need to be continuously expanded, and this expansion method can only solve the short-term content volume problem.

[0005] At the same time, when the user terminal subscribes to the personal recording service, it needs to rely on a pre-formulated program list TVOD (TV On Demand). The personal recording service can only be processed after the program list is completed, which results in low efficiency in processing the personal recording service. In addition, the dependence of personal recording on the program list service also leads to excessive complexity of the service. Summary of the Invention

[0006] The present disclosure provides a method, system, device, and computer medium for implementing a personal recording service. Its technical objective is to provide a personal recording solution that does not rely on a program schedule and can be intelligently managed, improving the service processing efficiency and also solving the problem of insufficient CDN system capacity caused by the growth of personal recording services.

[0007] The above technical objective of the present disclosure is achieved through the following technical solutions:

[0008] A method for implementing a personal recording service includes:

[0009] After receiving a personal recording request, query whether there are any recorded relevant files in the nodes.

[0010] Select a personal recording node and a second central node from the nodes where the recorded relevant files exist.

[0011] Query whether there are any personal recording relevant files in the personal recording node and the second central node.

[0012] If all the personal recording relevant files exist, return recording success; if the personal recording relevant files do not exist, start recording; if there are missing parts of the personal recording relevant files, start recording the missing parts.

[0013] After recording is completed, store all the personal recording relevant files in the personal recording node and the second central node.

[0014] Further, the personal recording node is provided with a first aging time, and the second central node is provided with a second aging time. After reaching the first aging time, delete the personal recording relevant files stored in the personal recording node; after reaching the second aging time, delete the personal recording relevant files stored in the second central node.

[0015] Further, after receiving a request to delete the personal recording relevant files, if the personal recordings of all users on the personal recording node are cancelled, then delete the personal recording relevant files, and the second central node continues to store the personal recording relevant files.

[0016] Further, select at least two first central nodes from the nodes where the recorded relevant files exist, and select the personal recording node and the second central node from the first central nodes.

[0017] Further, after receiving a personal recording request, check whether there is the same personal recording request in the second central node. If it exists, return that recording is in progress; if it does not exist, continue recording.

[0018] Further, after receiving a request to cancel personal recording, send the request to the second central node. If there are no other recording subscriptions after the second central node queries, cancel the recording.

[0019] An implementation system for a personal recording service, including a CDN system, where the CDN system includes:

[0020] A receiving unit that receives a personal recording request;

[0021] A first query unit that queries whether there are any recorded related files in the nodes;

[0022] A second selection unit that selects a personal recording node and a second central node from the nodes where the recorded related files exist;

[0023] A second query unit that queries whether there are any personal recording related files in the personal recording node and the second central node;

[0024] A recording unit that starts recording if the personal recording related files do not exist; if there are missing parts in the personal recording related files, start recording the missing parts;

[0025] A storage unit that, after recording is completed, stores all the personal recording related files in the personal recording node and the second central node.

[0026] Further, the personal recording node is provided with a first setting unit that sets a first aging time. After the first aging time is reached, delete the personal recording related files stored in the personal recording node;

[0027] The second central node is provided with a second setting unit that sets a second aging time. After the second aging time is reached, delete the personal recording related files stored in the second central node.

[0028] Further, the CDN system further includes a deletion unit. After the receiving unit receives a request to delete the personal recording related files and after the personal recordings of all users on the personal recording node are cancelled, the deletion unit deletes the personal recording related files, and the second central node continues to store the personal recording related files.

[0029] Further, the CDN system further includes a first selection unit that selects at least two first central nodes from the nodes where the recorded related files exist, and the second selection unit then selects the personal recording node and the second central node from the first central nodes.

[0030] Furthermore, the CDN system further comprises a third query unit. After the receiving unit receives the personal recording request, the third query unit searches the second central node for the same personal recording request. If so, it returns that recording is in progress; if not, it continues recording.

[0031] Furthermore, the CDN system further comprises a cancelling unit. After receiving the request to cancel personal recording, the receiving unit sends the request to cancel personal recording to the second central node. After the second central node inquires, if there is no other recording subscription, the cancelling unit cancels the recording.

[0032] A device for implementing a personal recording service comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned methods for implementing the personal recording service when executing the program.

[0033] A computer medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the above-mentioned methods for implementing the personal recording service.

[0034] The beneficial effects of the present disclosure are as follows: the implementation method, system, device and computer medium of the personal recording service described in the present invention, after receiving a personal recording request, selects the personal recording node and central node with the best performance, and then queries whether there are personal recording related files in the node. If so, it returns a successful recording, if not, it starts recording, and if partially exists, it records the missing part.

[0035] Based on the existing multimedia network, this solution can realize personal recording services without issuing program lists in advance. When selecting personal recording nodes, it can achieve node load and storage balance, solve the problem of personal recording space capacity in the CDN system, and intelligently select the optimal node to improve the reliability of personal recording services. In addition, when selecting the central node, the NPVR central nodes of different channels are decentralized and pressure is balanced, which also improves the disaster recovery capability of the CDN system's personal recording services. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flow chart of the disclosed method;

[0037] Figure 2 This is a flow chart of Embodiment 1 of the present disclosure;

[0038] Figure 3 This is a flow chart of Embodiment 2 of the present disclosure;

[0039] Figure 4 This is a framework diagram of the third embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings. In the description of the present disclosure, it should be understood that the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features, and are only used to distinguish different components.

[0041] Figure 1 This is the flowchart of the method of the present disclosure, and the specific process is as Figure 1 shown and will not be elaborated here. When the CDN system selects a node, it first queries whether there are any recorded relevant files in the node, and then the nodes with recorded relevant files report the information of channel shard anomalies to the CDN system at regular intervals. The CDN system statistically calculates relevant information at regular intervals (the relevant information includes channel shard anomaly information, node storage space, node performance, etc.), and then the CDN system selects different nodes from the nodes with recorded relevant files on different channels that support personal recording according to the calculation, and sets them as the first central nodes for personal recording.

[0042] After the user applies for a personal recording application for a recordable channel on the EPG (Electronic Program Guide), the service system sends the personal recording channel information, the start time and end time of personal recording, and relevant personal recording information such as the user's IP and user identifier to the CDN system. After receiving the personal recording request, the receiving unit of the CDN system selects personal recording nodes and central nodes according to the relevant information of the user in the request, as well as relevant shards, the space and performance of the user's affiliated node, etc., to ensure the stability of the personal recording service. The CDN system intelligently selects the optimal personal recording node and the optimal central node (i.e., the second central node) from the first central nodes through an algorithm.

[0043] The CDN system sends a recording request to the selected personal recording node. After the personal recording node receives the recording request, it queries the personal recording information in the second central node and the selected optimal personal recording node. If there are already relevant records on the second central node and the personal recording node, the CDN system immediately returns that the personal recording is successful. If there are only some or no relevant files on the second central node and the personal recording node, a personal recording application is sent to the personal recording node. Similarly, if all the personal recording relevant files exist on the personal recording node, there is no need to store other files additionally; if not all the personal recording relevant files exist on the personal recording node, the missing files will be supplemented in the form of small files.

[0044] After the CDN system receives another personal recording request again, it checks whether the same request already exists in the central node (the second central node). If the same request has been completed, it immediately returns a message indicating successful recording, and the personal recording subscription of the user terminal is successful, thus improving the processing speed of the personal recording service.

[0045] When applying for personal recording cancellation, the CDN system sends the cancellation request to the central node (the second central node). After receiving the cancellation request, the central node deletes it according to the local record information if it is the last recording; if there are still subscriptions for this recording during this period, it continues to be retained.

[0046] In addition, to control the storage space occupied by the personal recording service of the CDN system, the CDN system actively manages the deletion of personal recording files within the system. The CDN system calculates the aging time of the personal recording node and the second central node according to the internal personal recording requests and service conditions. After the personal recording node reaches the preset aging time (the first aging time), the CDN system actively deletes the files of the personal recording node and only retains the relevant files of the second central node. When the maximum retention duration of personal recording (the second aging time) is reached and the personal subscription has expired, the second central node deletes the relevant files, as Figure 3 shown. This embodiment enables the CDN system to achieve automatic management and solves the problem of conflicts between node and personal recording service capacity.

[0047] Figure 2 It is a flowchart of Embodiment 1 of the present disclosure, as Figure 2 shown:

[0048] Step 100: When the user cancels personal recording, the service system receives the personal recording cancellation request and sends the personal recording cancellation request to the CDN system;

[0049] Step 101: The CDN system receives the personal recording cancellation request;

[0050] Step 102: Send the personal recording cancellation request to the personal recording node and the second central node;

[0051] Step 102: The second central node queries relevant information such as the channel, start time, and end time in the message. If there are no other recording subscriptions, it cancels the recording and deletes the local files.

[0052] Figure 4 It is a system framework diagram of a specific embodiment of the present disclosure. In this embodiment, the terminal device communicates with the service system, the service system communicates with the CDN system, and the terminal device communicates with the CDN system through the HTTP method. Different message interaction methods can be adopted in specific embodiments. The specific implementation steps of this system are as follows:

[0053] Step 300: Nodes within the CDN system report shard information of channel anomalies, and the management module of the CDN system statistics and calculates the anomaly information; the management module of the CDN system covers the functions of all units included in the CDN system (receiving unit, query unit, selection unit, recording unit, storage unit, etc.);

[0054] Step 301: The personal terminal device sends a personal recording request to the service system in HTTP mode;

[0055] Step 302: After receiving the personal recording request, the service system immediately returns a response, and the personal terminal displays "ordering (recording)";

[0056] Step 303: The service system sends the personal recording request to the CDN system in HTTP mode;

[0057] Step 304: After receiving the personal recording request, the management module of the CDN system returns an HTTP response after verifying the personal recording request;

[0058] Step 305: The management module of the CDN system obtains the optimal central node and personal recording node according to the user information, channel shard distribution information, ordering records, and node space, performance, etc. in the personal recording request. If the central node and personal recording node have not subscribed to the relevant content, an ordering request is sent to the central node and personal recording node in HTTP mode;

[0059] Step 306: After receiving the personal recording request, the central node and personal recording node calculate the relevant file information according to the algorithm, save the missing relevant files, and return the recording result to the management module of the CDN system;

[0060] Step 307: The management module sends the personal recording result to the service system;

[0061] Step 308: After receiving the personal recording result sent by the CDN system in HTTP mode, the service system notifies the terminal device, and the terminal device displays that the personal recording order is successful;

[0062] Step 309: The terminal device sends a personal recording on-demand request to the CDN system in HTTP mode;

[0063] Step 310: After receiving the play request, the CDN system sends the bitstream to the terminal device to complete the on-demand process.

[0064] In summary, the present invention can be extended and applied to other business fields. Without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes and deformations should all fall within the protection scope of the appended claims of the present invention.

Claims

1. A method for implementing a personal recording service, characterized in that Including: After receiving a personal recording request, query whether there are recorded relevant files in the nodes; Select a personal recording node and a second central node from the nodes with the recorded relevant files. The personal recording node is provided with a first aging time, and the second central node is provided with a second aging time; Query whether there are personal recording relevant files in the personal recording node and the second central node; If all the personal recording relevant files exist, return recording success; If the personal recording relevant files do not exist, start recording; if there are missing parts of the personal recording relevant files, start recording the missing parts; After recording is completed, store all the personal recording relevant files in the personal recording node and the second central node; After reaching the first aging time, delete the personal recording relevant files stored in the personal recording node; After reaching the second aging time, delete the personal recording relevant files stored in the second central node, where reaching the second aging time indicates that the personal subscription has expired; After receiving a request to delete the personal recording relevant files, delete the personal recording relevant files after canceling the personal recordings of all users on the personal recording node, and the second central node continues to store the personal recording relevant files.

2. The implementation method of the personal recording service according to claim 1, wherein Select at least two first central nodes from the nodes with the recorded relevant files. The personal recording node and the second central node are selected from the first central nodes.

3. The implementation method of the personal recording service according to claim 2, characterized in that, After receiving a personal recording request, check whether there is the same personal recording request in the second central node. If it exists, return that recording is in progress; if it does not exist, continue recording.

4. The method for implementing the personal recording service according to claim 3, wherein, After receiving a request to cancel a personal recording, send the request to cancel the personal recording to the second central node. After the second central node queries, if there are no other recording subscriptions, cancel the recording.

5. An implementation system for a personal recording service, characterized in that, Including a CDN system, The CDN system includes: A receiving unit that receives a personal recording request; A first query unit that queries whether there are recorded relevant files in the nodes; A second selection unit that selects a personal recording node and a second central node from the nodes with the recorded relevant files. The personal recording node is provided with a first setting unit that sets a first aging time, and the second central node is provided with a second setting unit that sets a second aging time; A second query unit that queries whether there are personal recording relevant files in the personal recording node and the second central node; A recording unit that starts recording if the personal recording relevant files do not exist; starts recording the missing parts if there are missing parts of the personal recording relevant files; The storage unit stores all the personal recording related files in the personal recording node and the second central node after the recording is completed. After reaching the first aging time, the personal recording related files stored in the personal recording node are deleted. After reaching the second aging time, the personal recording related files stored in the second central node are deleted, where reaching the second aging time indicates that the personal subscription has expired; The CDN system further includes a deletion unit. After the receiving unit receives a request to delete the personal recording related files and the personal recordings of all users on the personal recording node are cancelled, the deletion unit deletes the personal recording related files, and the second central node continues to store the personal recording related files.

6. The implementation system of the personal recording service according to claim 5, characterized in that, The CDN system further includes a first selection unit. The first selection unit selects at least two first central nodes from the nodes where the recorded related files exist, and the second selection unit then selects the personal recording node and the second central node from the first central nodes.

7. The implementation system of the personal recording service according to claim 6, characterized in that, The CDN system further includes a third query unit. After the receiving unit receives a personal recording request, the third query unit checks whether there is the same personal recording request in the second central node. If it exists, it returns that recording is in progress; if not, it continues the recording.

8. The implementation system of the personal recording service according to claim 7, characterized in that, The CDN system further includes a cancellation unit. After the receiving unit receives a request to cancel a personal recording, it sends the request to cancel the personal recording to the second central node. After the second central node queries, if there is no other recording subscription, the cancellation unit cancels the recording.

9. An implementation device for a personal recording service, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that When the processor executes the program, it implements the implementation method of the personal recording service described in any one of claims 1-4.

10. A computer medium, characterized in that, A computer program is stored on the computer medium. When the computer program is executed by the processor, it implements the implementation method of the personal recording service described in any one of claims 1-4.

Citation Information

Patent Citations

  • Method and multimedia system for recording programs

    CN101656861A

  • Method and device for implementing network personal video recorder service

    CN102833579A