CN111147879B - Live program caching method, system, equipment and computer storage medium - Google Patents

Live program caching method, system, equipment and computer storage medium Download PDF

Info

Publication number
CN111147879B
CN111147879B CN201911394444.7A CN201911394444A CN111147879B CN 111147879 B CN111147879 B CN 111147879B CN 201911394444 A CN201911394444 A CN 201911394444A CN 111147879 B CN111147879 B CN 111147879B
Authority
CN
China
Prior art keywords
program
terminal
target program
live
sharing terminal
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
CN201911394444.7A
Other languages
Chinese (zh)
Other versions
CN111147879A (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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201911394444.7A priority Critical patent/CN111147879B/en
Publication of CN111147879A publication Critical patent/CN111147879A/en
Application granted granted Critical
Publication of CN111147879B publication Critical patent/CN111147879B/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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Abstract

The invention discloses a live program caching method, which comprises the following steps: the method comprises the steps that a television terminal receives an acquisition request sent by a sharing terminal, acquires program information according to the acquisition request and sends the program information to the sharing terminal; the television terminal receives the target program information sent by the sharing terminal and judges whether the target program corresponding to the target program information is the same as the currently played live program or not; and if the target program is different from the live program, caching the recording file of the target program to the sharing terminal. The invention also discloses a live program caching system, equipment and a computer storage medium. The invention realizes that two users watch different live programs without mutual interference by utilizing the existing recording function of the television.

Description

Live program caching method, system, equipment and computer storage medium
Technical Field
The present invention relates to the field of video-on-demand, and in particular, to a method, system, device, and computer storage medium for caching live programs.
Background
With the development of television technology, PVR (Personal video recorder) functions are increasingly applied to televisions, for example, a picture-in-picture function of a television is that a small picture is overlaid on a picture, so that the content of the large picture cannot be displayed completely, the small picture is difficult to focus on due to an excessively small size and a continuously changing background of the large picture, and in addition, the operable functions of the small picture are particularly limited, and only the main picture has audio output, so that the user experience is poor. In addition, the split screen display function is provided, the picture of the television is divided into two parts, one program is played on the left side, the other program is played on the right side, and the left picture and the right picture have audio output, so that although the requirement that two people watch the television at the same time and have audio output is met, the user cannot concentrate on the television visually.
In summary, in the prior art, when two users watch different live programs simultaneously, the experience is not satisfactory, and how to make the two users watch different live programs simultaneously without mutual interference is a problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a live program caching method, a live program caching system, live program caching equipment and a computer storage medium, and aims to solve the technical problem that two users interfere with each other when watching different live programs simultaneously to a certain extent.
In order to achieve the above object, the present invention provides a live program caching method, which comprises the following steps:
receiving an acquisition request sent by a sharing terminal, acquiring program information according to the acquisition request, and sending the program information to the sharing terminal;
receiving target program information sent by the sharing terminal, and judging whether a target program corresponding to the target program information is the same as a currently played live program or not;
and if the target program is different from the live program, caching the recording file of the target program to the sharing terminal.
In an embodiment, before the steps of receiving an acquisition request sent by a sharing terminal, acquiring program information according to the acquisition request, and sending the program information to the sharing terminal, the method includes:
Searching terminal equipment in a preset range, acquiring equipment information of the terminal equipment, and judging whether the terminal equipment has connection permission or not according to the equipment information;
and if the terminal equipment has the connection authority, taking the terminal equipment as a shared terminal, and establishing Bluetooth connection with the shared terminal.
In an embodiment, the step of receiving an acquisition request sent by a sharing terminal, acquiring program information according to the acquisition request, and sending the program information to the sharing terminal includes:
receiving an acquisition request sent by a shared terminal and a history viewing record of the shared terminal corresponding to the acquisition request;
and acquiring a program list according to the acquisition request, arranging programs in the program list according to the historical viewing record to generate program list information, and sending the program list information to the sharing terminal.
In an embodiment, the step of caching the recording file of the target program in the sharing terminal if the target program is different from the live program includes:
if the target program is different from the live program, determining whether the connection mode with the sharing terminal is a preset connection mode;
If the connection mode is a preset connection mode, recording the target program on the sharing terminal;
and if the connection mode is not the preset connection mode, switching to the preset connection mode, and recording the target program on the sharing terminal.
In an embodiment, the step of caching the recording file of the target program in the sharing terminal if the target program is different from the live program includes:
if the target program is different from the live program, comparing whether the current time is within the playing time range of the target program;
and if the current time is within the playing time range of the target program, recording the target program in the sharing terminal.
In an embodiment, the step of caching the recording file of the target program in the sharing terminal if the target program is different from the live program includes:
if the target program is different from the live program, acquiring a residual storage space value of the sharing terminal;
calculating the storage space occupation value of the recording file corresponding to the target program according to the time length parameter and the code rate parameter of the target program;
If the residual storage space value of the shared terminal is smaller than the storage space occupation value of the recording file corresponding to the target program, outputting a prompt;
and if the residual storage space value of the shared terminal is greater than or equal to the storage space occupation value of the recording file corresponding to the target program, recording the target program in the shared terminal.
In an embodiment, after the step of caching the recording file of the target program in the sharing terminal if the target program is different from the live program, the method includes:
in the process of recording the target program, if the live program is detected to be switched to the target program, sending prompt information to the sharing terminal;
if a continuing instruction selected based on the prompt information is received, continuing to record the target program on the sharing terminal;
and if a cancel instruction selected based on the prompt information is received, stopping recording the target program on the sharing terminal.
In addition, in order to achieve the above object, the present invention further provides a live program caching system, wherein the caching system implements the following steps;
the sharing terminal sends an acquisition request to the television terminal;
The method comprises the steps that a television terminal receives an acquisition request sent by a sharing terminal, acquires program information according to the acquisition request and sends the program information to the sharing terminal;
the sharing terminal receives the program list information and outputs and displays the program list information;
the sharing terminal receives target program information input based on the program list information and sends the target program information to the television terminal;
the television terminal receives the target program information sent by the sharing terminal, and the television terminal judges whether a target program corresponding to the target program information is the same as a currently played live program or not;
if the target program is different from the live program, the television terminal records the target program on the sharing terminal;
and the shared terminal reads and plays the recorded target program.
In addition, in order to achieve the above object, the present invention further provides a live program caching device;
live program buffer memory equipment includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program, when executed by the processor, implements the steps of the live program caching method as described above.
In addition, to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the live program caching method as described above.
The embodiment of the invention provides a live program caching method, a system, equipment and a computer storage medium, a television terminal acquires a request by acquiring program information sent by a sharing terminal and sends the program information to the sharing terminal according to the request, the traditional mode that a user needs to select a target program by using a remote control switching program at the television terminal is broken, the user can conveniently select the target program to be recorded at the sharing terminal, the user selects the target program information to be recorded at the sharing terminal and sends the target program information to the television terminal, the television terminal receives the target program information and judges whether the target program corresponding to the target program information is the same as the currently played live program, if the target program is different from the live program, the television terminal caches the file of the target program to the sharing terminal, the user can analyze and play the recording file at the sharing terminal, so that two users of the television terminal and the sharing terminal can watch different live programs without mutual interference, and the television program playing mode meets the personalized requirements of the user.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a live program caching method according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart of step S10 of the live program caching method in fig. 2;
fig. 4 is a detailed flowchart of step S30 of the live program caching method in fig. 2;
fig. 5 is a schematic functional module diagram of a live program caching apparatus according to an embodiment of the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the prior art, when two users watch different live programs simultaneously, the picture-in-picture function and the split screen display function of a television are mostly adopted, the different live programs are played simultaneously in the same screen, and the problems that only audio of a single picture can be output, the operation function of a secondary picture is limited, the visual attention of the users is difficult to concentrate and the like exist.
The invention provides a solution, which enables the program content recorded by the television terminal to be transmitted to the sharing terminal in real time and played, and the television terminal can play different program contents, thereby realizing that two users watch different live programs without mutual interference, and meeting the personalized requirements of the users.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a television terminal (also called live program caching device, where the live program caching device may be formed by a separate live program caching apparatus, or may be formed by combining other apparatuses with a live program caching apparatus) in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the television terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIFI interface, WIreless FIdelity, WIFI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 includes an operating system, a network communication module, a user interface module, and a computer program, where the operating system refers to an operating system installed in the television terminal, for example, an android system; the network communication module is a network module for communication connection, and in this embodiment, the network communication module can establish connection with the shared terminal; the user interface module is a module for receiving user input, for example, the user interface module is used for receiving an instruction sent by a remote controller; the computer program stores a program for buffering live programs, and the memory 1005 may optionally be a storage device independent of the processor 1001 in this embodiment.
Those skilled in the art will appreciate that the television terminal architecture shown in fig. 1 is not intended to be limiting of television terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the computer software product is stored in a computer storage medium (also called computer storage medium, computer medium, readable computer storage medium, computer readable computer storage medium, or direct medium, etc., and the computer storage medium may be a non-volatile readable computer storage medium, such as RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method according to the embodiments of the present invention, and a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a computer program.
In the television terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the computer program stored in the memory 1005 and execute the steps in the live program caching method provided by the following embodiments of the present invention.
The embodiment of the live program caching method is provided based on the hardware structure.
Referring to fig. 2, in a first embodiment of the live program caching method of the present invention, the live program caching method includes:
step S10, receiving an acquisition request sent by a sharing terminal, acquiring program list information according to the acquisition request, and sending the program list information to the sharing terminal.
The live program caching method in this embodiment is applied to a television terminal, which is not specifically limited and may be a television, a set-top box, or other device. In this embodiment, the shared terminal interacting with the television terminal is not particularly limited, and may be an intelligent terminal such as a mobile phone and a tablet.
The invention is applied to a television terminal, which is described in the embodiment by taking a television as an example, the television is preset to receive an acquisition request sent by a sharing terminal, the acquisition request is a communication frame with a specified format, the communication frame contains frame Information that can be analyzed by the television, the Information content triggers the television to acquire and analyze live EIT (Event Information Table) operation and generate program Information, the television terminal returns the program Information to the sharing terminal, and a user selects a target program to be recorded at the sharing terminal.
In this embodiment, the television receives an acquisition request with specific information from the sharing terminal, analyzes the request, analyzes the live EIT, generates program information, and returns the program information to the sharing terminal, so as to acquire, through the sharing terminal, target program information selected by a user and make a further determination, specifically including:
step S20, receiving the target program information sent by the sharing terminal, and determining whether the target program corresponding to the target program information is the same as the currently played live program.
The television receives target program information sent by a sharing terminal, and judges whether a target program corresponding to the target program information is the same as a currently played program, wherein the target program information refers to program information selected and determined by a user from program list information output by the sharing terminal, and the program corresponding to the program information is the target program.
Step S30, if the target program is different from the live program, caching the recording file of the target program in the sharing terminal.
If the target program is different from the live program, the television terminal caches the recording file of the target program to the sharing terminal; in this embodiment, the television terminal acquires a request for acquiring program information sent by the sharing terminal, and sends the program information to the sharing terminal according to the request, which breaks through the traditional way that a user needs to select a target program by switching a program list at the television terminal by using a remote control, the user can conveniently select the target program to be recorded at the sharing terminal, the user selects the target program information to be recorded at the sharing terminal and sends the target program information to the television terminal, the television terminal receives the target program information, judges whether the target program corresponding to the target program information is the same as a currently played live program, if the target program is different from the live program, the television terminal caches a recording file of the target program to the sharing terminal, and the user can analyze and play the recording file at the sharing terminal, so that two users of the television terminal and the sharing terminal can simultaneously view different live programs without mutual interference, the television program playing mode can meet the personalized requirements of users. The method and the device realize the operation that a user can select the target program at the sharing terminal, record the target program and send the target program to the sharing terminal for real-time watching, and change the traditional mode that the target program is selected at the television and only two paths of live broadcasts can be watched on the screen of the television.
Further, on the basis of the first embodiment of the present invention, a second embodiment of the live program caching method of the present invention is provided, and this embodiment is a pre-step of the first embodiment, and the live program caching method includes:
step a1, searching terminal equipment in a preset range, acquiring equipment information of the terminal equipment, and judging whether the terminal equipment has a connection authority according to the equipment information.
Step a2, if the terminal device has the connection authority, the terminal device is used as a sharing terminal, and the Bluetooth connection with the sharing terminal is established.
In the invention, the interactive operation of the television terminal and the sharing terminal is based on the connection established between the devices, and the invention does not limit the connection, and can be wired connection such as USB connection, Ethernet connection and the like, and can also be WIreless connection such as Bluetooth, WiFi (Wireless-Fidelity) and the like.
In this embodiment, taking bluetooth connection as an example, the television detects whether a connected device exists in the bluetooth module, and if the connected device does not exist in the bluetooth module, the television searches for a shared terminal within a range using a bluetooth function and establishes bluetooth connection for subsequent operations.
The Bluetooth communication is used as a short-distance and low-power-consumption communication mode, and the communication method is in accordance with the use scene of the invention, so that the television and the sharing terminal are kept in a Bluetooth normally-open state with extremely low energy consumption, the television and the sharing terminal can be automatically connected within a range after the first connection is completed, when a user has a program recording requirement, the sharing terminal can be operated within the connection range to complete the operation of selecting a target program, and the television records the target program in real time or makes a reservation record after receiving the target program.
In this embodiment, use the bluetooth to connect as an example, utilize bluetooth low energy characteristics, establish the connection that accords with daily use characteristics, television terminal consumes extremely low energy at the within range with sharing terminal promptly and keeps connecting, can select the target program at sharing terminal at any time when having the demand of recording, switches to wiFi when recording the transmission and connects, ensures the transmission reliability, promotes the user and watches experience.
Further, referring to fig. 3, a third embodiment of a live program caching method is provided based on the foregoing embodiment, in this embodiment, the step S10 includes:
step S11, receiving an acquisition request sent by a sharing terminal and a history viewing record of the sharing terminal corresponding to the acquisition request;
Step S12, acquiring a program list according to the acquisition request, generating program list information according to the programs in the program list arranged in the historical viewing record, and sending the program list information to the sharing terminal.
In this embodiment, after the television acquires the program list, the television acquires the historical watching records of the watching frequency of each program of the sharing terminal, namely, the television terminal acquires the watching frequency of each program of the sharing terminal by inquiring the record table of the storage and the television, the record table records hardware addresses of a plurality of sharing terminals and viewing records corresponding to the hardware addresses, it can be understood that the hardware address of each terminal communication module is unique, so that the watching records corresponding to the sharing terminal can be obtained by acquiring the hardware address of the sharing terminal after the television terminal establishes connection with the sharing terminal, the watching frequency of each program of the sharing terminal can be obtained through the watching records, and according to the watching frequency, performing descending order arrangement on all programs in the program list information, namely generating the program list information, and then sending the program list information to the sharing terminal.
In the embodiment, the hardware address and the watching record of the sharing terminal are recorded by using the record list established in the television, so that personalized program list information is generated for different users, and the usability of the user program selection operation is improved.
Further, referring to fig. 4, a fourth embodiment of a live program caching method is proposed based on the foregoing embodiment, in this embodiment, the step S30 includes:
and step S31, if the target program is different from the live program, determining whether the connection mode with the sharing terminal is a preset connection mode.
If the target program is different from the live program, the television terminal determines whether a connection mode with the shared terminal is a preset connection mode, where the preset connection mode is a connection mode that meets a rate of transmitting a target program recording file between the television terminal and the shared terminal, and the rate is based on that the shared terminal reads a received part of the recording file and plays the recording file without occurrence of an abnormality such as a pause, and the preset connection mode is not limited in this embodiment and may be a wired or wireless high-speed connection mode such as a USB connection, an ethernet connection, a WiFi, and the like, and this embodiment takes a WiFi connection as an example.
The television terminal detects the current connection mode with the shared terminal and judges whether the current connection mode is in a preset connection mode or not.
And step S32, if the connection mode is a preset connection mode, recording the target program in the sharing terminal.
In this embodiment, if the connection mode is a preset connection mode, the television terminal records the target program in the sharing terminal, for example, the characteristic of low bluetooth transmission rate cannot meet the requirement of sending the recorded file of the recorded target program to the sharing terminal, so a new connection mode, that is, a preset connection mode, is introduced in this scenario, and in this embodiment, WiFi is taken as an example, to distinguish a program selection scenario from a recorded file transmission scenario, so that convenience in program selection and high speed of file transmission are both considered while less energy is consumed.
And step S33, if the connection mode is not a preset connection mode, switching to the preset connection mode, and recording the target program on the sharing terminal.
And if the connection mode of the television terminal and the sharing terminal is not the preset connection mode, switching to the preset connection mode, and recording the target program on the sharing terminal. In this embodiment, the television terminal controls the switching of the connection mode to improve the recording efficiency of the target interface and prevent the jam.
Further, a fifth embodiment of a live program caching method is proposed based on the foregoing embodiment, in this embodiment, the step S30 includes:
Step b1, if the target program is different from the live program, comparing whether the current time is within the playing time range of the target program.
Step b2, if the current time is within the playing time range of the target program, recording the target program in the sharing terminal.
In the application of the present invention, there is a case where a target program selected by a user has already started, and the present embodiment is proposed on the basis of the first embodiment for the case.
When the target program is different from the currently played live program, comparing whether the current time is in the playing time range of the target program, wherein the playing time range of the target program can be obtained by analyzing the EIT in the first embodiment, and when the current time is in the playing time range of the target program, starting recording and recording the target program at a shared terminal.
In this embodiment, a situation that a target program selected by a user starts in practical application is considered, and when the selected target program is different from a current live program of a television, a comparison of whether the current time is within a playing time range of the target program is added, so that the user is prevented from missing the target program.
Further, a sixth embodiment of a live program caching method is proposed based on the foregoing embodiments, and in this embodiment, the step S30 includes:
step c1, if the target program is different from the live program, obtaining the residual storage space value of the sharing terminal;
step c2, calculating the storage space occupation value of the recording file corresponding to the target program according to the time length parameter and the code rate parameter of the target program;
step c3, if the remaining storage space value of the shared terminal is smaller than the storage space occupation value of the recording file corresponding to the target program, outputting a prompt;
and c4, if the remaining storage space value of the shared terminal is greater than or equal to the storage space occupation value of the recording file corresponding to the target program, recording the target program in the shared terminal.
In this embodiment, the recording file is transmitted to the shared terminal in real time, the shared terminal reads the recording file cached in the memory and analyzes and plays the recording file, and after the target program is played, a complete recording file of the target program is also generated in the memory of the shared terminal.
After the connection between the television and the sharing terminal is established, the television acquires a residual space value of a memory of the sharing terminal, the television acquires target program time length information obtained by analyzing the EIT in the first embodiment as a target program time length parameter, recording code rate preset by a recording transmission module as a code rate parameter, calculates a storage space occupation value of a recording file of the target program according to the target program time length parameter and the code rate parameter, compares the residual space value of the memory of the sharing terminal with the storage space occupation value of the recording file of the target program, records the target program on the sharing terminal if the residual space value is greater than or equal to the storage space occupation value of the recording file of the target program, and outputs a prompt on the television if the storage space occupation value is greater than or equal to the storage space occupation value of the recording file of the target program.
In this embodiment, the remaining space value of the shared terminal memory is compared with the storage space occupation value of the recording file of the target program, so as to ensure that the recording operation is performed on the premise that the shared terminal memory has enough remaining space.
The present embodiment and the fifth embodiment are both the refinement of step S30, and have different technical effects, and the present embodiment and the fifth embodiment can be used alone, or the present embodiment and the fifth embodiment can also be combined to form a new implementation, and the individual implementation or the combined implementation is selected according to the actual application scenario to achieve the optimal cost and technical effect.
Further, a seventh embodiment of a live program caching method is proposed based on the foregoing embodiments, where this embodiment is a subsequent supplementing step of step S30, and the subsequent supplementing step includes:
step d1, recording the target program in the sharing terminal process, if the played program is switched to the target program, sending a prompt of whether to continue recording to the sharing terminal;
step d2, if the user chooses to continue recording, the target program is continuously recorded on the sharing terminal;
and d3, if the user chooses to stop recording, stopping recording the target program on the sharing terminal.
In the recording and transmission process of the target program, the television also plays the live program, when any user changes the live program in the television, if the changed live program is the same as the target program, the situation can be judged that the two users select the same target program, at the moment, the necessity of watching the target program at the sharing terminal is reduced, at the moment, a prompt is output to the sharing terminal to remind the sharing terminal user whether to stop recording, and follow-up operation is carried out according to the selection of the user.
In the embodiment, whether the program replaced by the television is the same as the target program is judged, and whether the user watching the shared terminal continues to record or not is reminded when the program replaced by the television is the same as the target program, so that the user can select the best watching device.
In addition, as shown in fig. 5, an embodiment of the present invention further provides a live program caching apparatus, where the live program caching apparatus includes:
a receiving and sending module 10, configured to receive an acquisition request sent by a shared terminal, acquire program information according to the acquisition request, and send the program information to the shared terminal;
a receiving and determining module 20, configured to receive target program information sent by the sharing terminal, and determine whether a target program corresponding to the target program information is the same as a currently played live program;
and the recording transmission module 30 is configured to cache the recording file of the target program to the sharing terminal if the target program is different from the live program.
In one embodiment, the receiving and sending module 10 includes:
the first receiving unit is used for receiving an acquisition request sent by the sharing terminal and acquiring the program information according to the request;
and the return unit is used for sending the acquired program list information to the sharing terminal.
In an embodiment, the receiving and determining module 20 includes:
the second receiving unit is used for receiving the target program information sent by the sharing terminal;
the judging unit is used for judging whether a target program corresponding to the target program information is the same as a currently played live program or not;
In an embodiment, the recording transmission module 30 includes:
the recording unit is used for recording the target program to form a target program recording file;
and the transmission unit is used for transmitting the recorded target program recording file to the sharing terminal in real time.
The steps implemented by each functional module of the live program caching device can refer to each embodiment of the live program caching method of the present invention, and are not described herein again.
In addition, the embodiment of the invention also provides a computer storage medium.
The computer storage medium stores thereon a computer program, and when executed by a processor, the computer program implements the operations in the live program caching method provided by the foregoing embodiments.
In addition, an embodiment of the present invention provides a live program caching system, where the live program caching system includes a television terminal and a sharing terminal that are in communication connection, and the live program caching system implements the following steps:
the sharing terminal sends an acquisition request to the television terminal;
the method comprises the steps that a television terminal receives an acquisition request sent by a sharing terminal, acquires program information according to the acquisition request and sends the program information to the sharing terminal;
The sharing terminal receives the program list information and outputs and displays the program list information;
the sharing terminal receives target program information input based on the program list information and sends the target program information to the television terminal;
the television terminal receives the target program information sent by the sharing terminal, and the television terminal judges whether the target program corresponding to the target program information is the same as the currently played live program or not;
if the target program is different from the live program, the television terminal records the target program in the sharing terminal;
and the shared terminal reads and plays the recorded target program.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (9)

1. A live program caching method is characterized in that the live program caching method is applied to a television terminal, and comprises the following steps:
receiving an acquisition request sent by a shared terminal, acquiring program information according to the acquisition request, and sending the program information to the shared terminal;
receiving target program information sent by the sharing terminal, and judging whether a target program corresponding to the target program information is the same as a currently played live program or not;
if the target program is different from the live program, caching a recording file of the target program to the sharing terminal;
if the target program is different from the live program, caching the recording file of the target program to the sharing terminal, wherein the caching step comprises the following steps:
if the target program is different from the live program, comparing whether the current time is within the playing time range of the target program;
And if the current time is within the playing time range of the target program, recording the target program in the sharing terminal.
2. The live program caching method of claim 1, wherein before the step of receiving an acquisition request sent by a sharing terminal, acquiring program information according to the acquisition request, and sending the program information to the sharing terminal, the step comprises:
searching terminal equipment in a preset range, acquiring equipment information of the terminal equipment, and judging whether the terminal equipment has a connection authority or not according to the equipment information;
and if the terminal equipment has the connection authority, the terminal equipment is used as a sharing terminal, and the Bluetooth connection with the sharing terminal is established.
3. The live program caching method of claim 1, wherein the step of receiving an acquisition request sent by a sharing terminal, acquiring program information according to the acquisition request, and sending the program information to the sharing terminal comprises:
receiving an acquisition request sent by a shared terminal and a history viewing record of the shared terminal corresponding to the acquisition request;
And acquiring a program list according to the acquisition request, arranging programs in the program list according to the historical viewing record to generate program list information, and sending the program list information to the sharing terminal.
4. The live program caching method of claim 1, wherein the step of caching the recording file of the target program to the sharing terminal if the target program is different from the live program comprises:
if the target program is different from the live program, determining whether the connection mode with the sharing terminal is a preset connection mode;
if the connection mode is a preset connection mode, recording the target program on the sharing terminal;
and if the connection mode is not the preset connection mode, switching to the preset connection mode, and recording the target program on the sharing terminal.
5. The live program caching method of claim 1, wherein the step of caching the recording file of the target program to the sharing terminal if the target program is different from the live program comprises:
if the target program is different from the live program, acquiring a residual storage space value of the sharing terminal;
Calculating the storage space occupation value of the recording file corresponding to the target program according to the time length parameter and the code rate parameter of the target program;
if the residual storage space value of the shared terminal is smaller than the storage space occupation value of the recording file corresponding to the target program, outputting a prompt;
and if the residual storage space value of the shared terminal is greater than or equal to the storage space occupation value of the recording file corresponding to the target program, recording the target program in the shared terminal.
6. The live program caching method of claim 1, wherein after the step of caching the recording file of the target program in the sharing terminal if the target program is different from the live program, the method comprises:
in the process of recording the target program, if the live program is detected to be switched to the target program, sending prompt information to the sharing terminal;
if a continuing instruction selected based on the prompt information is received, continuing to record the target program on the sharing terminal;
and if a cancel instruction selected based on the prompt information is received, stopping recording the target program on the sharing terminal.
7. The live program cache system is characterized by comprising a television terminal and a sharing terminal which are in communication connection, and the live program cache system realizes the following steps:
the sharing terminal sends an acquisition request to the television terminal;
the method comprises the steps that a television terminal receives an acquisition request sent by a sharing terminal, acquires program information according to the acquisition request and sends the program information to the sharing terminal;
the sharing terminal receives the program list information and outputs and displays the program list information;
the sharing terminal receives target program information input based on the program list information and sends the target program information to the television terminal;
the television terminal receives the target program information sent by the sharing terminal, and the television terminal judges whether a target program corresponding to the target program information is the same as a currently played live program or not;
if the target program is different from the live program, the television terminal records the target program on the sharing terminal;
the shared terminal reads and plays the recorded target program;
if the target program is different from the live program, the step of recording the target program in the shared terminal by the television terminal includes:
If the target program is different from the live program, the television terminal compares whether the current time is within the playing time range of the target program;
and if the current time is within the playing time range of the target program, the television terminal records the target program in the sharing terminal.
8. A live program caching device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program when executed by the processor implementing the steps of the method of live program caching as claimed in any one of claims 1 to 6.
9. A computer storage medium, characterized in that the computer storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of live program caching as claimed in any one of claims 1 to 6.
CN201911394444.7A 2019-12-30 2019-12-30 Live program caching method, system, equipment and computer storage medium Active CN111147879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911394444.7A CN111147879B (en) 2019-12-30 2019-12-30 Live program caching method, system, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911394444.7A CN111147879B (en) 2019-12-30 2019-12-30 Live program caching method, system, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN111147879A CN111147879A (en) 2020-05-12
CN111147879B true CN111147879B (en) 2022-06-10

Family

ID=70521870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911394444.7A Active CN111147879B (en) 2019-12-30 2019-12-30 Live program caching method, system, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111147879B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449349B (en) * 2020-10-30 2023-07-25 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220554A (en) * 2013-04-12 2013-07-24 四川长虹电器股份有限公司 Long-distance real-time broadcast system based on intelligent set top box and implementation method
CN103237230A (en) * 2013-04-27 2013-08-07 深圳创维数字技术股份有限公司 Video sharing method and digital television terminal
CN104811794A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Medium data transmitting method, device and set top box
CN107135416A (en) * 2017-03-27 2017-09-05 腾讯科技(深圳)有限公司 Method for downloading video and device
CN108449648A (en) * 2018-05-09 2018-08-24 深圳市零度智控科技有限公司 Television broadcasting method, device and computer readable storage medium
CN110557672A (en) * 2018-06-01 2019-12-10 深圳Tcl新技术有限公司 Television program sharing method, television and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115294A1 (en) * 2000-05-31 2003-06-19 Khoi Hoang Selective access digital data broadcast system
US9113208B2 (en) * 2013-03-18 2015-08-18 Squaredon Co Ltd Personalized video channel control
CN104703029B (en) * 2015-02-06 2017-11-24 深圳市三峰光电科技有限公司 A kind of digital television program flow point enjoys method, apparatus, terminal and system
CN107959868A (en) * 2016-10-17 2018-04-24 中国电信股份有限公司 Realize that method, set-top box and the system of IPTV service are watched in multiple terminals at the same time

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220554A (en) * 2013-04-12 2013-07-24 四川长虹电器股份有限公司 Long-distance real-time broadcast system based on intelligent set top box and implementation method
CN103237230A (en) * 2013-04-27 2013-08-07 深圳创维数字技术股份有限公司 Video sharing method and digital television terminal
CN104811794A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Medium data transmitting method, device and set top box
CN107135416A (en) * 2017-03-27 2017-09-05 腾讯科技(深圳)有限公司 Method for downloading video and device
CN108449648A (en) * 2018-05-09 2018-08-24 深圳市零度智控科技有限公司 Television broadcasting method, device and computer readable storage medium
CN110557672A (en) * 2018-06-01 2019-12-10 深圳Tcl新技术有限公司 Television program sharing method, television and storage medium

Also Published As

Publication number Publication date
CN111147879A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
US8805817B2 (en) Techniques to consume content and metadata
CN102685576B (en) For the method and apparatus switched between native applications and the second application
CN111277884B (en) Video playing method and device
US9226021B2 (en) Method and system for realizing mutual control of multimedia terminals in the home
US20130110900A1 (en) System and method for controlling and consuming content
EP2784641A1 (en) User interface display method and device using same
CA2820402A1 (en) Method and device for controlling a video receiver
CN102724566A (en) Method and apparatus for content playback using multiple IPTV devices
CN102918835A (en) Controllable device companion data
US11288033B2 (en) Method for outputting audio data of applications and display device
KR101629813B1 (en) Digital broadcasting reception apparatus and method for providing zapping advertisement using the same
TW201327202A (en) Cooperative provision of personalized user functions using shared and personal devices
JP2012170053A (en) Internet television control system and control method therefor
WO2013089672A2 (en) Method and apparatus for networking media content consumption status in a group of users
KR20140095854A (en) Image display apparatus, contents recommand receive method, server and contents recommand method
CN112653906A (en) Video hotspot playing method on display device and display device
CN111147879B (en) Live program caching method, system, equipment and computer storage medium
CN111263223A (en) Media volume adjusting method and display device
KR101137802B1 (en) Set-top box and method for controlling picture in pictures on internet protocol television
US20190075373A1 (en) Acquisition of extracts of a multimedia stream on a terminal
JP3966343B2 (en) Distribution management method, distribution management apparatus, and distribution management system
JP2017509200A (en) Television program image frame capture device, television program image frame acquisition device, system and method
US20230224265A1 (en) Display apparatus and operating method thereof
CN113573127B (en) Method for adjusting channel control sequencing and display equipment
KR101103694B1 (en) System and method for providing two-way service using realtime broadcast channel

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