Video playing method, device and equipment of IPTV (Internet Protocol Television) set top box and medium
By establishing a shared folder in the IPTV set-top box and processing video file sharing requests for cross-brand TVs, the problem that the same TV cannot share application videos of different brands is solved, and the cross-brand TV sharing playback of video files is realized, improving the user experience.
Patent Information
- Application Number
- CN202411672509.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The same TV cannot share application videos from different TV manufacturers, which makes it impossible for users to watch application videos from different brands of TV manufacturers on the same TV, affecting the user's viewing experience.
By creating a shared folder in the IPTV set-top box, downloading and storing application video files on TVs from different brands, and receiving and processing connection and data acquisition requests from other set-top boxes, the cross-brand TV shared playback of video files is achieved.
It realizes application video sharing between TVs of different brands, solves the problem that users cannot watch application videos of different brands on the same TV, and improves the user's viewing experience and application compatibility.
Smart Images

Figure CN119520886A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of set-top boxes, and provides a video playback method, device, equipment and medium for an IPTV set-top box. Background Art
[0002] With the rapid development of set-top boxes of Internet Protocol Television (IPTV) systems, the number of users and user requirements are increasing. In order to provide more services and better user experience, IPTV set-top boxes must be able to provide richer value-added services.
[0003] Since different brands of TV manufacturers have their own application management and security authentication mechanisms, they do not allow other brands' applications to be directly installed and used on their own TVs. For example, Hisense TVs can install Juhaoyong applications but cannot install Kiwi applications, and Skyworth TVs can install Kiwi applications but cannot install Juhaoyong applications. If users purchase memberships on both Kiwi and Juhaoyong application platforms, they can only watch Kiwi application videos on Skyworth TVs and Juhaoyong application videos on Hisense TVs, respectively. They cannot watch Kiwi and Juhaoyong application videos on the same TV, which seriously affects the user's viewing experience.
[0004] Therefore, the inability of the same TV to share application videos from different TV manufacturers is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a video playback method, device, equipment and medium for an IPTV set-top box, which are used to solve the problem that the same television cannot share application videos of different television manufacturers.
[0006] In a first aspect, a video playback method of an IPTV set-top box is provided, which is applied to a first set-top box, wherein the first set-top box and a second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to different brands of television manufacturers; the method comprises:
[0007] Create the first shared folder;
[0008] downloading a plurality of first video files from a plurality of applications installed on the first television, and storing the plurality of first video files in the first shared folder;
[0009] receiving a connection request sent by the second set-top box, and establishing a connection with the second set-top box;
[0010] receiving a data acquisition request sent by the second set-top box, and copying a target first video file among the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file;
[0011] The target first video file is sent to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
[0012] Optionally, downloading a plurality of first video files from an application installed on the first television and storing the plurality of first video files in the first shared folder includes:
[0013] downloading a plurality of first video files from a plurality of applications installed on the first television;
[0014] Packing multiple applications installed on the first television and the dependent environment of each application into a container, and storing the multiple first videos in the container according to application type;
[0015] The container is stored in the first shared folder.
[0016] Optionally, before downloading a plurality of first video files from an application installed on the first television and storing the plurality of first video files in the first shared folder, the method further includes:
[0017] The video files whose popularity ranking is higher than a preset ranking among the multiple applications installed in the first television are determined as multiple first video files.
[0018] Optionally, receiving the connection request sent by the second set-top box and establishing a connection with the second set-top box includes:
[0019] receiving a connection request sent by the second set-top box; the connection request including authentication information of the second set-top box;
[0020] Determining whether the second set-top box passes the authentication according to the authentication information;
[0021] If so, a connection is established with the second set-top box.
[0022] Optionally, the target first video file is a first subfile of the target first video; after sending the target first video to the second set-top box, the method further includes:
[0023] Downloading a second subfile of the target first video from an application corresponding to the target first video file; the first subfile and the second subfile are continuous video streams;
[0024] The second sub-file is sent to the second set-top box, so that the second set-top box controls the second television to play the second sub-file after controlling the second television to play the first sub-file.
[0025] Optionally, after downloading a plurality of first video files from a plurality of applications installed on the first television and storing the plurality of first video files in the first shared folder, the method further includes:
[0026] If any first video file in the first shared file has not been accessed for more than a preset time period, the any first video file is deleted from the first shared file.
[0027] Optionally, the second set-top box has a second shared folder, and the second shared folder stores a plurality of second video files downloaded from a plurality of applications installed on the second television; after sending the target first video file to the second set-top box, the method further includes:
[0028] Start a network scanning function to obtain the IP address of the second set-top box;
[0029] Sending a connection request to the second set-top box according to the IP address to establish a connection with the second set-top box;
[0030] In response to a user selecting a target second video file from the plurality of second video files, sending a data acquisition request to the second set-top box;
[0031] receiving a target second video file sent by the second set-top box; the target second video file is copied by the second set-top box from the second shared folder according to the data acquisition request;
[0032] The first television is controlled to play the target second video file.
[0033] In a second aspect, a video playback device for an IPTV set-top box is provided, which is arranged in a first set-top box, wherein the first set-top box and a second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to different brands of television manufacturers; the device comprises:
[0034] A creation module, used for creating a first shared folder;
[0035] a download storage module, configured to download a plurality of first video files from a plurality of applications installed on the first television, and store the plurality of first video files in the first shared folder;
[0036] A connection module, configured to receive a connection request sent by the second set-top box and establish a connection with the second set-top box;
[0037] A copy module, configured to receive a data acquisition request sent by the second set-top box, and copy a target first video file from the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file;
[0038] The sending module is used to send the target first video file to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
[0039] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the video playback method of the IPTV set-top box described in the second aspect.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and a processor executes the computer program to implement the video playback method of the IPTV set-top box described in the second aspect.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The present application provides a video playback method for an IPTV set-top box, which is applied to a first set-top box, wherein the first set-top box and a second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to television manufacturers of different brands; the method comprises: establishing a first shared folder; downloading a plurality of first video files from a plurality of applications installed on the first television, and storing the plurality of first video files in the first shared folder; receiving a connection request sent by the second set-top box, and establishing a connection with the second set-top box; receiving a data acquisition request sent by the second set-top box, and copying a target first video file among the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file; and sending the target first video file to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
[0043] In the present application, the first set-top box stores the video files of multiple applications installed on the first TV in a first shared folder, and the second set-top box can obtain the video files in the first shared folder and play them on the first TV. In this way, even if the first TV and the second TV belong to different brands of TV manufacturers, the second TV can play the application videos of the first TV, thereby solving the problem of not being able to watch application videos of different brands of TV manufacturers on the same TV. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0045] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0046] Figure 2 A schematic diagram of the structure of a set-top box provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of a flow chart of a video playback method of an IPTV set-top box provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the interaction between various devices provided in the embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of a video playback device of an IPTV set-top box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0051] First of all, the Kiwi app is the product of the cooperation between iQiyi and Skyworth TV, and is an application in the Skyworth TV system. Juhaoyong is an application service platform developed by Hisense TV specifically for its smart TVs, and is part of the Hisense TV system. The two belong to different brands and application ecosystems. TV manufacturers of different brands have their own application management and security certification mechanisms, and do not allow applications from other brands to be directly installed and used on their own TVs. Secondly, Skyworth TV and Hisense TV may use different operating systems and application frameworks. Even if they are all smart TV operating systems developed based on the Android system, each manufacturer will customize and optimize them according to their own needs and technologies, resulting in compatibility issues with the application. Therefore, Skyworth TV applications cannot be directly converted into Hisense TV's Juhaoyong, nor can they be installed and used on Hisense TVs.
[0052] Users may install different brands of televisions in different rooms, but cannot watch application videos of different brands of television manufacturers on the same television. In view of this, an embodiment of the present application provides a video playback method of an IPTV set-top box, which is applied to a first set-top box. The application scenario of the present application is introduced below.
[0053] Please refer to Figure 1 , is a schematic diagram of an application scenario provided in an embodiment of the present application. The application scenario includes a first set-top box, a second set-top box, a first television, and a second television. The first set-top box is connected to the first television, and the first set-top box and the first television are arranged in a first room, the second set-top box is connected to the second television, and is arranged in a second room, the first set-top box and the second set-top box are in the same network, and the first set-top box and the second set-top box can communicate with each other through a wired network connection (such as Ethernet) or a wireless network connection (Wi-Fi). The first television and the second television belong to television manufacturers of different brands, for example, the first television is a Skyworth television, and the second television is a Hisense television.
[0054] It should be noted that Figure 1 Taking two set-top boxes and two televisions as an example, there is actually no limit to the number of set-top boxes and televisions.
[0055] like Figure 2 As shown, an embodiment of the present application provides a set-top box, which may include a memory, a processor, and a video playback device of an IPTV set-top box.
[0056] Wherein, the memory and the processor are electrically connected directly or indirectly to realize the transmission or interaction of data. For example, they can be electrically connected to each other through one or more communication buses or signal lines. The video playback device of the IPTV set-top box includes at least one software function module that can be stored in the memory in the form of software or firmware. The processor is used to execute the executable computer program stored in the memory, for example, the software function module and computer program included in the video playback device of the IPTV set-top box, to realize the video playback method of the IPTV set-top box provided in the embodiment of the present application.
[0057] Optionally, the memory can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0058] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0059] Understandably, Figure 1 The structure shown is for illustration only, and the set-top box may also include Figure 1 More or fewer components as shown, or with Figure 1 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices (such as a background server).
[0060] Combination Figure 3 The embodiment of the present application also provides a video playing method of an IPTV set-top box applicable to the above set-top box. The method steps defined in the process related to the video playing method of the IPTV set-top box can be implemented by the first set-top box.
[0061] The following will Figure 3 The specific process shown is explained in detail.
[0062] S301, creating a first shared folder.
[0063] In a specific implementation process, the first set-top box can use a file manager application to create a folder, and can use the file sharing function of the operating system or third-party sharing software to set the folder as a shared folder, which is called the first shared folder. For example, find options related to "network" or "storage" in the settings menu, then find functions such as "file sharing" or "media sharing", and select the folder to be shared. Access rights can also be set to allow specific users or all users to access the shared folder.
[0064] S302: Download multiple first video files from multiple applications installed on the first television, and store the multiple first video files in a first shared folder.
[0065] In a possible embodiment, multiple first video files are downloaded from multiple applications installed on the first television; the multiple applications installed on the first television and the dependent environment of each application are packaged into a container, and the multiple first videos are stored in the container according to the application type; and the container is stored in a first shared folder.
[0066] In the specific implementation process, the first TV is such as Skyworth TV, and the first TV is installed with multiple applications, such as Kiwi, Tencent Video, etc. According to the hardware architecture of the set-top box, a supported container platform is built, a certain network bandwidth is allocated to the container, and the video stream can be stably transmitted between applications in the container. The storage mount point of the container is set as a shared folder for storing application configuration files, cache data, etc.
[0067] In the embodiment of the present application, the containerization technology can be used to package the IPTV application and its dependencies into a container image to achieve rapid deployment. When the video is updated, the updated application container can be quickly pushed to the set-top box through the containerization technology, reducing the user's waiting time.
[0068] Since the images used by container technology are usually layered, each layer represents a different file system change. This structure allows specific layers to be updated separately without rebuilding the entire image. Therefore, container updates can be incremental updates, which only requires updating the changed parts, further improving the efficiency of the update. The following describes the incremental update process.
[0069] First, build a basic Docker image for the video application, including the basic operating system environment, the basic framework and core components of the video application, and assign a clear version number to the initial image to facilitate subsequent version management and incremental update judgment. Secondly, set up a monitoring mechanism on the server side to trigger the incremental update process when the video application has new features released, bug fixes or content updates. Then, you can use a special image analysis tool to compare the differences between the new application version and the current running version to determine the changes. Based on the changes, create a new image layer that only contains the changed files and configurations. For example, if only a video playback library file is updated, then this new layer only contains the update of this file. Then, push the new image layer to the image repository accessible to the set-top box. You can use a private image repository or a public image repository service to ensure that the set-top box can quickly pull updates. Finally, the container runtime on the set-top box (such as the Docker client) regularly checks whether there are new image updates. When an incremental update is detected, only the new incremental layer is downloaded and merged with the existing image layer. The container runtime automatically applies the new changes and starts the updated video application container without re-downloading the entire image, which greatly reduces update time and bandwidth consumption. You can also keep a specific rollback point of the previous version on the set-top box. After the set-top box completes the incremental update, perform automatic functional testing and verification. If a problem occurs in the incremental update, you can roll back and quickly restore to the previous stable version.
[0070] Considering that the local storage space of the set-top box is limited and cannot store all video files of all applications, the multiple first video files can be some video files of all video files of all applications. There are two ways to determine the multiple first video files, which are introduced below.
[0071] In a first manner, the set-top box may determine video files whose popularity rankings are higher than a preset ranking among multiple applications installed in the first television as multiple first video files.
[0072] In the specific implementation process, the set-top box automatically accesses multiple applications, obtains videos with high popularity rankings in each application, and marks these videos as the first video files. Users do not need to browse and select one by one, saving time for searching and selecting.
[0073] In a second manner, the set-top box may determine a plurality of first video files in response to a user's selection operation on the plurality of first video files.
[0074] In a specific implementation process, a user can browse video contents in multiple applications on a set-top box through a remote controller and select multiple first video files that the user is interested in. The user can select videos of interest according to actual needs, thereby improving the user's personalized experience.
[0075] In a possible embodiment, after downloading a plurality of first video files from a plurality of applications installed on the first television and storing the plurality of first video files in the first shared folder, the method further includes:
[0076] If any first video file in the first shared file has not been accessed for more than a preset time period, the first video file is deleted from the first shared file.
[0077] In the embodiment of the present application, unaccessed video files in the first shared file are periodically and automatically deleted, so as to release the storage space of the first shared file and improve the system performance of the set-top box.
[0078] S303: Receive a connection request sent by the second set-top box, and establish a connection with the second set-top box.
[0079] In the specific implementation process, the second set-top box is installed with software that can search and connect to shared folders, for example, a file manager that supports network file system (NFS) or server message block (SMB) protocol can be installed. Since the first set-top box and the second set-top box are in the same network, the second set-top box can start a network scanning function. The user can click the "network" or "share" option in the media player or file manager, and the second set-top box will start searching for available devices and shared resources on the same network, such as the IP address of the first set-top box and the container list of the first shared folder, i.e., the name list of multiple first video files stored in the container. Then the second set-top box sends a connection request to the first set-top box according to the IP address of the first set-top box. The connection request is used to request to establish a network connection.
[0080] In a possible embodiment, the first set-top box receives a connection request sent by the second set-top box, the connection request including authentication information of the second set-top box; determines whether the second set-top box is authenticated according to the authentication information; if so, establishes a connection with the second set-top box.
[0081] In a specific implementation process, after receiving the connection request, the first set-top box parses the connection request and obtains the authentication information of the second set-top box, such as the user name and password, mobile phone number and verification code, etc. If the first set-top box determines that the second set-top box has passed the authentication according to the verification information, the first set-top box establishes a connection with the second set-top box; if the first set-top box determines that the second set-top box has not passed the authentication according to the verification information, the first set-top box refuses to establish a connection with the second set-top box.
[0082] In the embodiment of the present application, through identity authentication, the first set-top box can ensure that the connection request comes from a trusted device, which can prevent hackers, malicious devices or counterfeit devices from accessing the network and causing security risks.
[0083] S304: Receive a data acquisition request sent by the second set-top box, and copy a target first video file from the multiple first video files from the first shared folder.
[0084] In a specific implementation process, after the first set-top box establishes a connection with the second set-top box, a container list of the first shared folder is displayed on the second TV connected to the second set-top box. A user selects a target first video file from multiple first video files, and the second set-top box sends a data acquisition request to the first set-top box, where the data acquisition request is used to request to acquire the target first video file. After receiving the data acquisition request, the first set-top box copies the target first video file from the multiple first video files from the first shared folder.
[0085] S305: Send the target first video file to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
[0086] In a specific implementation process, the first set-top box sends the target first video file to the second set-top box, and after the second set-top box receives the target first video file, it can control the second television to play the target first video file. The target first video file can be a complete file of the target first video, for example, the target first video is movie A. The target first video file can also be the first subfile of the target first video, and the target first video also includes a second subfile, and the first subfile and the second subfile are continuous video streams. For example, the target first video is TV series B, the first subfile is the first episode of TV series B, and the second subfile is the second episode of TV series B.
[0087] In a possible embodiment, after sending the target first video to the second set-top box, the method further includes:
[0088] Download the second subfile of the target first video from the application corresponding to the target first video file; send the second subfile to the second set-top box, so that the second set-top box controls the second television to play the second subfile after controlling the second television to play the first subfile.
[0089] In a specific implementation process, after sending the target first video to the second set-top box, the set-top box can determine whether the target first video has a second sub-file, and if so, download the second sub-file of the target first video from the application corresponding to the target first video file and send it to the second set-top box. In this way, after controlling the second television to play the first sub-file, the second set-top box can continue to control the second television to play the second sub-file.
[0090] In the embodiment of the present application, the video file is split into multiple sub-files, allowing the set-top box to gradually obtain each sub-file of the video, rather than downloading the entire video file at one time, thereby avoiding the tension in storage space caused by an overly large single file. Only a part of the video file is transmitted each time, and the amount of data transmitted each time is small, which can effectively reduce the burden on the network and speed up the transmission speed. By downloading and transmitting part of the video file in advance, the user can start watching the video, and the remaining part continues to download and transmit, thereby improving the user experience and avoiding long waiting time. And if a network interruption is encountered during the file transmission process, part of the file has been successfully transmitted, and it can continue to download and transmit from the breakpoint, reducing the time and bandwidth waste of retransmission.
[0091] In a possible embodiment, after sending the target first video file to the second set-top box, the method further includes:
[0092] Start the network scanning function to obtain the IP address of the second set-top box; send a connection request to the second set-top box according to the IP address to establish a connection with the second set-top box; in response to the user's selection operation of a target second video file from multiple second video files, send a data acquisition request to the second set-top box; receive the target second video file sent by the second set-top box; the target second video is copied by the second set-top box from the second shared folder according to the data acquisition request; control the first television to play the target second video file.
[0093] In the specific implementation process, there is a second shared folder in the second set-top box, and the second shared folder stores multiple second video files downloaded from multiple applications installed on the second TV. The first set-top box can start the network scanning function to search for the IP address of the second set-top box in the same network and the container list of the second shared folder, that is, the name list of multiple second video files stored in the container. According to the IP address of the second set-top box, a connection request is sent to the second set-top box, so that the second set-top box determines that the first set-top box has passed the authentication according to the authentication information in the connection request, and then establishes a connection with the first set-top box. The container list of the second shared folder is displayed on the first TV, and the user selects the target second video file from the multiple second video files, and the first set-top box sends a data acquisition request to the second set-top box. After receiving the data acquisition request, the second set-top box copies the target second video file from the second shared folder and sends it to the first set-top box, and the first set-top box controls the first TV to play the target second video file.
[0094] In the embodiment of the present application, the first set-top box can also obtain the target second video file stored in the second shared folder in the second set-top box for playback. In this way, even if the first TV and the second TV belong to different brands of TV manufacturers, not only the second TV can play the application video of the first TV, but the first TV can also play the application video of the second TV.
[0095] In a possible embodiment, the target second video file is the third subfile of the target second video, and the first set-top box may also receive the fourth subfile of the target second video sent by the second set-top box while controlling the first television to play the target second video file; the third subfile and the fourth subfile are continuous video streams. After controlling the first television to play the third subfile, the first set-top box may also control the first television to play the fourth subfile of the target second video.
[0096] In a possible embodiment, the first set-top box, the second set-top box and the third set-top box are in the same network, and the third set-top box starts a network scanning function to obtain the IP address of the first set-top box and the container list of the first shared folder, the IP address of the second set-top box and the container list of the second shared file. According to the user's selection, the first set-top box or the second set-top box is determined as the target set-top box, and a connection request is sent to the target set-top box according to the IP address of the target set-top box to establish a connection with the target set-top box; in response to the user's selection operation of the target video file among multiple video files, a data acquisition request is sent to the target set-top box; the target video file sent by the target set-top box is received; the target video is copied by the target set-top box from the shared folder of the target set-top box according to the data acquisition request; and the third TV connected to the third set-top box is controlled to play the target video file.
[0097] In an embodiment of the present application, if the user wants to watch the first video file in the first shared folder, he can select the first set-top box; if the user wants to watch the second video file in the second shared folder, he can select the second set-top box, so that the user can watch the application video of the first TV and the application video of the second TV on the third TV, thereby realizing watching application videos of different TV manufacturers on the same TV.
[0098] Please refer to Figure 4 , is a schematic diagram of the interaction between the various devices provided in the embodiment of the present application. In order to more clearly illustrate the solution of the embodiment of the present application, the following is combined with Figure 4 The overall process of a video playback method based on an IPTV set-top box provided in an embodiment of the present application is introduced.
[0099] First, the first TV is installed with multiple applications, the first set-top box sets the first shared file, downloads multiple first video files from the multiple applications installed on the first TV, and stores them in the first shared folder. Secondly, the second set-top box starts the network scanning function, searches for the first set-top box, and the second set-top box sends a connection request to the first set-top box. The first set-top box determines that the authentication is passed based on the authentication information in the connection request, and then establishes a connection with the second set-top box. Then, after the second set-top box determines the target first video file selected by the user, it sends a data acquisition request to the first set-top box. The first set-top box copies the target first video file from the first shared folder, and sends the target first video file to the second set-top box. Finally, the second set-top box controls the second TV to play the target first video file.
[0100] In summary, the embodiment of the present application also provides a video playback method for an IPTV set-top box, which can solve the application attribution and platform restriction problems of different brands of TV manufacturers, realize the sharing of member videos of different TV manufacturers on the same TV, and improve the compatibility of applications.
[0101] Based on the same inventive concept, Figure 5 As shown, the embodiment of the present application further provides a video playback device for an IPTV set-top box, which is arranged in a first set-top box, and the first set-top box and the second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to different brands of television manufacturers; the device includes:
[0102] A creation module, used for creating a first shared folder;
[0103] A download storage module, used for downloading a plurality of first video files from a plurality of applications installed on the first television, and storing the plurality of first video files in a first shared folder;
[0104] A connection module, configured to receive a connection request sent by a second set-top box and establish a connection with the second set-top box;
[0105] A copy module, configured to receive a data acquisition request sent by the second set-top box, and copy a target first video file from the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file;
[0106] The sending module is used to send the target first video file to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
[0107] In addition, in one embodiment, the present application also provides a computer device, which is equivalent to the set-top box discussed above, and the computer device includes a processor, a memory, and a computer program stored in the memory. When the computer program is executed by the processor, the video playback method of the aforementioned IPTV set-top box is implemented.
[0108] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the video playback method of the IPTV set-top box is implemented.
[0109] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0110] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0111] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0112] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0113] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0114] The serial numbers of the embodiments of the present application are for description only and do not indicate the advantages or disadvantages of the embodiments.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a multimedia terminal device to execute the methods described in each embodiment of the present application.
[0116] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A video playing method for an IPTV set-top box, characterized in that: Applied to a first set-top box, the first set-top box and the second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to different brands of television manufacturers; the method comprises: Create the first shared folder; downloading a plurality of first video files from a plurality of applications installed on the first television, and storing the plurality of first video files in the first shared folder; receiving a connection request sent by the second set-top box, and establishing a connection with the second set-top box; receiving a data acquisition request sent by the second set-top box, and copying a target first video file among the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file; The target first video file is sent to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
2. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: The downloading of a plurality of first video files from an application installed on the first television and storing the plurality of first video files in the first shared folder comprises: downloading a plurality of first video files from a plurality of applications installed on the first television; Packing multiple applications installed on the first television and the dependent environment of each application into a container, and storing the multiple first videos in the container according to application type; The container is stored in the first shared folder.
3. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: Before downloading a plurality of first video files from an application installed on the first television and storing the plurality of first video files in the first shared folder, the method further includes: The video files whose popularity ranking is higher than a preset ranking among the multiple applications installed in the first television are determined as multiple first video files.
4. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: The receiving the connection request sent by the second set-top box and establishing a connection with the second set-top box includes: receiving a connection request sent by the second set-top box; the connection request including authentication information of the second set-top box; Determining whether the second set-top box passes the authentication according to the authentication information; If so, a connection is established with the second set-top box.
5. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: The target first video file is a first subfile of the target first video; After sending the target first video to the second set-top box, the method further includes: Downloading a second subfile of the target first video from an application corresponding to the target first video file; the first subfile and the second subfile are continuous video streams; The second sub-file is sent to the second set-top box, so that the second set-top box controls the second television to play the second sub-file after controlling the second television to play the first sub-file.
6. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: After downloading a plurality of first video files from a plurality of applications installed on the first television and storing the plurality of first video files in the first shared folder, the method further includes: If any first video file in the first shared file has not been accessed for more than a preset time period, the any first video file is deleted from the first shared file.
7. The video playing method of the IPTV set-top box as claimed in claim 1, characterized in that: The second set-top box has a second shared folder, and the second shared folder stores a plurality of second video files downloaded from a plurality of applications installed on the second television; After sending the target first video file to the second set-top box, the method further includes: Start a network scanning function to obtain the IP address of the second set-top box; Sending a connection request to the second set-top box according to the IP address to establish a connection with the second set-top box; In response to a user selecting a target second video file from the plurality of second video files, sending a data acquisition request to the second set-top box; receiving a target second video file sent by the second set-top box; the target second video file is copied by the second set-top box from the second shared folder according to the data acquisition request; The first television is controlled to play the target second video file.
8. A video playback device for an IPTV set-top box, characterized in that: The device is set in a first set-top box, the first set-top box and the second set-top box are in the same network; the first set-top box is connected to a first television, and the second set-top box is connected to a second television; the first television and the second television belong to different brands of television manufacturers; the device includes: A creation module, used for creating a first shared folder; a download storage module, configured to download a plurality of first video files from a plurality of applications installed on the first television, and store the plurality of first video files in the first shared folder; A connection module, configured to receive a connection request sent by the second set-top box and establish a connection with the second set-top box; A copy module, configured to receive a data acquisition request sent by the second set-top box, and copy a target first video file from the plurality of first video files from the first shared folder; the data acquisition request is used to request to acquire the target first video file; The sending module is used to send the target first video file to the second set-top box, so that the second set-top box controls the second television to play the target first video file.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the video playing method of the IPTV set-top box according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the video playback method of the IPTV set-top box according to any one of claims 1 to 7.
Citation Information
Patent Citations
Systems and methods for providing a shared folder via television
CN101422042A
Method and device for sharing video
CN104703023A
Method for sharing video through set-top boxes
CN106878801A
File acquisition method and device
CN114647628A
Code coverage rate acquisition method, device and equipment
CN114706767A