Method, device and equipment for switching live broadcast and playback based on IPTV (Internet Protocol Television) and medium

By providing a switching method for live broadcast and playback based on IPTV in the IPTV system, users can achieve seamless switching from live broadcast to playback by pressing the target switch button and selecting the target date, solving the problem of low efficiency of live broadcast and playback switching in the prior art, and improving the convenience and efficiency of user operations.

CN119545103AActive Publication Date: 2025-02-28SICHUAN TIANYI COMHEART TELECOM
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411688920.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-02-28
Estimated Expiration
2044-11-25

AI Technical Summary

Technical Problem

When watching IPTV using a set-top box, the switching between live broadcast and replay programs is low, and the user's operation is cumbersome.

Method used

It provides a switching method for live broadcast and playback based on IPTV. By playing the live broadcast program of the target channel on the current interface, detecting the user pressing the target switching button, stop playing and pop-up window to display the historical date, determine the target time stamp based on the date selected by the user and the time stamp of the live broadcast program stop playing, obtain the target playback clip and play on the current interface.

Benefits of technology

It realizes seamless switching from live programs to replay programs. Users only need to press the target switch button and select the target date, reducing operation steps, saving time for manual search and fast forwarding and rewinding, improving switching efficiency, and providing users with a convenient and smooth viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention provides an IPTV (Internet Protocol Television)-based live broadcast and playback switching method, device and equipment and a medium, relates to the technical field of IPTV, and is used for solving the problem of relatively low switching efficiency between live broadcast and playback. The method comprises the following steps: playing a live program of a target channel on a current interface; detecting a pressing operation of a user on a target switching key, stopping playing the live program on the current interface, and performing pop-up display on a historical date which can be played back; determining a target timestamp according to a target date selected by the user from the historical dates and a first timestamp when the live program stops playing; the first timestamp is composed of a first date and a first time point when the live program stops playing; the target timestamp is composed of a target date and a first time point; obtaining a target playback fragment of the target channel according to the target timestamp; and playing the target playback fragment on the current interface. A user only needs to press the target switching key and select the target date, switching between live broadcast and playback can be realized, and the switching efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of IPTV technology and provides a method, device, equipment and medium for switching between live broadcast and playback based on IPTV. Background Art

[0002] As the terminal of Internet Protocol Television (IPTV) system, set-top box has developed rapidly in recent years, and the number of users and user requirements are also constantly increasing.

[0003] When a user is watching a live channel using a set-top box, if he wants to watch the replay program of the channel at this time, he needs to press the menu button on the remote control to switch from the live interface to the menu interface, then select the "Replay" option in the menu interface, switch to the replay selection interface, and select the channel, date and specific time period he wants to watch in the replay selection interface. The time period is generally displayed as 00:00-24:00. Finally, according to the channel, date and specific time period selected by the user, the corresponding replay program is played, and the user can fast forward to the specific part of the replay program he wants to watch according to actual needs. This process is troublesome for users to operate and the switching efficiency is also low. Summary of the invention

[0004] The present application provides a method, device, equipment and medium for switching between live broadcast and playback based on IPTV, which is used to solve the problem of low switching efficiency between live broadcast and playback.

[0005] In a first aspect, a method for switching between live broadcast and playback based on IPTV is provided, which is applied to an IPTV system, and the method comprises:

[0006] Play the live broadcast of the target channel on the current interface;

[0007] Detecting a user pressing the target switching button, stopping the live broadcast on the current interface, and displaying a pop-up window showing the historical dates that can be replayed;

[0008] Determine a target timestamp according to a target date selected by a user from the historical dates and a first timestamp of the live program stopping playing; the first timestamp is composed of a first date and a first time point of the live program stopping playing; the target timestamp is composed of the target date and the first time point;

[0009] According to the target timestamp, obtaining a target playback segment of the target channel;

[0010] The target playback segment is played on the current interface.

[0011] Optionally, before acquiring the target playback segment of the target channel according to the target timestamp, the method further includes:

[0012] Acquire the playback segments of the target channel within a preset time range from the memory, and preload the playback segments within the preset time range into the cache;

[0013] The step of acquiring a target playback segment of the target channel according to the target timestamp includes:

[0014] According to the target timestamp, a target playback segment of the target channel is acquired from the cache.

[0015] Optionally, after playing the target playback segment on the current interface, the method further includes:

[0016] Detecting a user pressing operation on the target switching button, and stopping playing the target playback segment on the current interface;

[0017] Acquire a target live segment of the target channel according to a second timestamp at which the target playback segment stops playing;

[0018] Play the target live segment on the current interface.

[0019] Optionally, before acquiring the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing, the method further includes:

[0020] Acquire the latest live segment of the target channel through the Internet, and preload the latest live segment into a cache;

[0021] The acquiring the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing comprises:

[0022] According to the second timestamp at which the playing of the target playback segment stops, the target live segment of the target channel is acquired from the cache.

[0023] Optionally, while playing the live program of the target channel on the current interface, the method further includes:

[0024] Recording the live program in real time to obtain recorded content;

[0025] The recording is stored in a memory.

[0026] Optionally, the target switching key is a pre-set switching shortcut key; the switching shortcut key includes at least one physical key.

[0027] Optionally, the first physical key among the at least one physical key is a * key or a # key.

[0028] In a second aspect, a switching device for live broadcast and playback based on IPTV is provided, which is applied to an IPTV system; the device comprises:

[0029] The playback module is used to play the live program of the target channel on the current interface;

[0030] A detection module, used for detecting a user's pressing operation on a target switching button, stopping the playing of the live program on the current interface, and displaying a pop-up window showing the historical date that can be replayed;

[0031] A determination module, configured to determine a target timestamp according to a target date selected by a user from the historical dates and a first timestamp at which the live program stops playing; the first timestamp is composed of a first date and a first time point at which the live program stops playing; and the target timestamp is composed of the target date and the first time point;

[0032] An acquisition module, used for acquiring a target playback segment of the target channel according to the target timestamp;

[0033] The playing module is also used to play the target playback segment on the current interface.

[0034] 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 IPTV-based live broadcast and playback switching method described in the first aspect.

[0035] 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 IPTV-based live broadcast and playback switching method described in the first aspect.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] The present application provides a method for switching live broadcast and playback based on IPTV, which uses an IPTV system and includes: playing a live broadcast program of a target channel on a current interface; detecting a user pressing a target switching button, stopping the live broadcast program on the current interface, and displaying a pop-up window of a historical date that can be played back; determining a target timestamp according to a target date selected by a user from historical dates and a first timestamp when the live broadcast program stops playing; the first timestamp is composed of a first date and a first time point when the live broadcast program stops playing; the target timestamp is composed of a target date and a first time point; obtaining a target playback segment of a target channel according to the target timestamp; and playing the target playback segment on the current interface.

[0038] In this application, the target switching button can be used to switch from the live program of the target channel to the replay program of the target channel. The target timestamp is determined according to the target date selected by the user and the first time point when the live program stops playing. The replay program of the target channel in the same time period can be automatically identified and accurately located through the target timestamp, without having to watch the entire replay program from the beginning. The user only needs to press the target switching button and select the target date, which reduces the user's operation steps, saves the time of manually searching for channels and programs, and the time of fast forward and rewind, thereby improving the switching efficiency between live broadcast and playback, and providing users with a more convenient and smooth viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] 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.

[0040] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a flow chart of a method for switching between live broadcast and playback based on IPTV provided in an embodiment of the present application;

[0042] Figure 3 A schematic diagram of the architecture design of a switching system for live broadcast and playback based on IPTV provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of the structure of a switching device for live broadcast and playback based on IPTV provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] 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.

[0045] In the prior art, in order to watch the replay program, the user has to operate cumbersomely, resulting in low efficiency in switching between live broadcast and replay. In view of this, the embodiment of the present application provides a method for switching between live broadcast and replay based on IPTV, which is applied to the IPTV system. The following is a brief introduction to the application scenarios to which the technical solution of the embodiment of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiment of the present application and are not limited. In the specific implementation process, the technical solution provided by the embodiment of the present application can be flexibly applied according to actual needs.

[0046] Please refer to Figure 1 , which is a schematic diagram of an application scenario provided in an embodiment of the present application, or can be understood as an architecture diagram of an IPTV system, and the application scenario includes a set-top box, a remote control and a TV.

[0047] A set-top box is used to receive signals from TV sources (such as cable TV, satellite TV, streaming services, etc.) and convert them into a format that the TV can display. The set-top box also provides additional functions, such as recording TV programs, watching on-demand content, accessing applications, etc. The remote control is used to remotely operate the set-top box. The remote control usually includes multiple buttons such as direction keys, number keys, and function keys. By pressing these buttons, users can switch channels, adjust volume, navigate menus, and other functions without having to directly touch the set-top box.

[0048] As described above, the application scenarios of the embodiments of the present application are described below. Figure 1 Application scenarios Figure 2 A switching method between live broadcast and playback based on IPTV is introduced as shown.

[0049] Combine the following Figure 1 The application scenario shown is Figure 2 A switching method between live broadcast and playback based on IPTV is introduced as shown.

[0050] S201. Play the live program of the target channel on the current interface.

[0051] In the specific implementation process, after the set-top box is connected to the network, it can obtain the live stream of the target channel through the Internet. After the set-top box decodes the received live stream and converts it into a video format that can be displayed on the TV, it transmits the decoded video signal to the TV through an appropriate interface (such as HDMI). The TV displays the received video signal on the current interface, so that the user can watch the live program of the target channel through the TV.

[0052] In a possible embodiment, while playing the live program of the target channel on the current interface, the method further includes: recording the live program in real time to obtain recorded content; and storing the recorded content in a memory.

[0053] In the specific implementation process, the IPTV system can record the content of the live program while playing the live program of the target channel through the TV, and store the recorded content in the memory of the set-top box, such as a large-capacity hard disk or solid-state hard disk. The memory is used to store data for a long time, and the data in the memory is retained even after the set-top box is turned off or restarted. The cache can be cleaned up regularly to free up memory space and ensure stable system performance.

[0054] In an embodiment of the present application, when the user wants to watch the playback clips of the program in the future, they can directly obtain and play them from the memory of the set-top box without the need for the Internet, which can improve the playback efficiency of the playback program. In addition, local storage does not rely on network stability and can usually maintain a high video quality.

[0055] S202: Detecting that the user has pressed the target switch button, stopping the live broadcast on the current interface, and displaying a pop-up window showing the historical dates that can be replayed.

[0056] In the specific implementation process, when the user is watching the live program of the target channel through the current interface of the TV, if the user wants to switch to the replay program of the target channel, the user presses the target switch button on the remote control, which is used to switch between the live program and the replay program of the same channel. At this time, the current interface of the TV will stop playing the live program, and a window will pop up to display the historical date that can be replayed. Among them, the historical date is the date before the current date.

[0057] Considering that the time range for users to actually watch programs is relatively small, it is not necessary to display too many items. In a possible embodiment, in order to optimize the user experience and avoid information overload, the display range of historical dates is set to dates within a preset number of days before the current date. For example, the preset number of days is only 3 days, the current date is 2024.9.14, and the historical dates are 2024.9.13, 2024.9.12 and 2024.9.11. This setting can improve the relevance and practicality of historical dates, help users quickly find recent related content, and avoid displaying too many historical dates, making it easier for users to find content they are interested in.

[0058] In a possible embodiment, the target switching button may be a physical button newly added on the remote controller, or a switching shortcut key preset by the user, wherein the switching shortcut key includes at least one physical button. The following describes the process of the user setting the target switching button.

[0059] During the specific implementation process, the user presses the "Settings" button on the remote control to enter the TV's settings interface, clicks the "Shortcut Key" option in the settings interface to enter the shortcut key settings interface, selects at least one physical button to be set as the target switch button in the shortcut key settings interface, and selects the function performed by the target switch button, such as "switch from live program to playback program" or "switch from playback program to live program". After completing the settings, save the changes.

[0060] In order to avoid interference with the original function of the key, in a possible embodiment, the first physical key of the at least one physical key is a “*” key or a “#” key.

[0061] In the specific implementation process, the target switching key can be a single physical key, such as the "*" key or the "#" key, or a repeated single physical key combination, such as the "##" key or the "*" key, or a different combination of multiple physical keys, such as "#1" or "*2". This design can effectively reduce conflicts with other function keys, effectively isolate new functions from original functions, and avoid confusion and accidental touches in operation.

[0062] S203: Determine a target timestamp according to a target date selected by the user from historical dates and a first timestamp when the live program stops playing.

[0063] In the specific implementation process, when it is detected that the user presses the target switching button and stops playing the live program on the current interface, the current local time of the system can be recorded, that is, the first timestamp when the live program stops playing, and the first timestamp consists of the first date and the first time point when the live program stops playing. The user selects a target date from the historical dates according to the date of the playback program that he actually wants to watch. The first timestamp is split into the first date and the first time point, and the target date selected by the user is combined with the time point to obtain the target timestamp. In other words, the target timestamp consists of the target date and the first time point. Finally, the target playback segment of the target channel is retrieved according to the target timestamp.

[0064] For example, the target date selected by the user is 2024.09.13, the first timestamp is 2024.09.14 12:00, the first date is 2024.09.14, the first time point is 12:00, and the target timestamp is 2024.09.13 12:00.

[0065] S204: Obtain a target playback segment of a target channel according to a target timestamp.

[0066] In a possible embodiment, before obtaining the target playback segment of the target channel according to the target timestamp, the method further includes: obtaining the playback segment of the target channel within a preset time range from the memory, and preloading the playback segment within the preset time range into the cache.

[0067] The step of acquiring a target playback segment of a target channel according to the target timestamp includes: acquiring the target playback segment of the target channel from a cache according to the target timestamp.

[0068] In the specific implementation process, the cache is used to temporarily store frequently accessed data, and the data in it is usually cleared after the application or set-top box is closed, or replaced after the cache expires. While playing live programs, the IPTV system pre-loads the playback clips within the preset time range into the cache. The pre-loading technology can achieve seamless switching from live programs to playback programs, avoiding waiting caused by network fluctuations or slow server response, and significantly reducing the delay when users switch to playback clips. When users switch from live programs to playback content, they can immediately access the playback clips without waiting for loading, avoiding waiting and buffering time, and enhancing the overall viewing experience.

[0069] S205: Play the target playback segment on the current interface.

[0070] In a possible embodiment, after playing the target playback segment on the current interface, the method further includes:

[0071] When a user presses a target switching button, the target playback segment is stopped on the current interface; the target live segment of the target channel is obtained according to the second timestamp when the target playback segment stops playing; and the target live segment is played on the current interface.

[0072] In a specific implementation process, when it is detected that the user presses the target switching button and stops playing the target playback segment on the current interface, the current local time of the system, that is, the second timestamp when the target playback segment stops playing, can be recorded, and the target live segment of the target channel can be retrieved according to the second timestamp and played on the current interface. The second timestamp is composed of the first date and the second time point, and the second time point is later than the first time point.

[0073] For example, if the user wants to switch from the live program of the target channel to the replay program of the target channel, the user presses the target switch button. At this time, the first timestamp when the live program stops playing is 2024.09.14 12:00. The target date selected by the user is 2024.09.13, and the target timestamp of the target replay segment is 2024.09.13 12:00. After watching for an hour, the user wants to switch from the replay program of the target channel back to the live program of the target channel, and presses the target switch button again. At this time, the second timestamp when the target replay segment stops playing is 2024.09.14 13:00, and the target live segment of 2024.09.14 13:00 is obtained for playback.

[0074] In an embodiment of the present application, by operating the target switch button, free switching between live programs and playback programs on the same channel is achieved. Users can switch back and forth between the live broadcast state and the playback state at any time according to their needs and interests, and watch the program at their own pace, no longer restricted to the traditional linear playback mode.

[0075] In a possible embodiment, before obtaining the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing, the method further includes: obtaining the latest live segment of the target channel via the Internet and preloading the latest live segment into a cache.

[0076] The step of acquiring a target live segment of a target channel according to the live timestamp includes: acquiring the target live segment of the target channel from a cache according to a second timestamp at which the target playback segment stops playing.

[0077] During the specific implementation process, the IPTV system pre-loads the latest live clips into the cache while playing the playback program. The pre-loading technology can achieve seamless switching between playback and live broadcast, which can significantly reduce the delay when users switch from playback programs to live programs. When switching to live content, users can immediately see the latest content, avoiding interruptions in viewing due to slow loading of live data, ensuring that users can continue to enjoy live programs, and improving their viewing experience.

[0078] In a possible embodiment, a dedicated live broadcast thread is created to handle the acquisition, decoding, and playback of live program content. This can ensure the real-time and smoothness of the live broadcast content and avoid the quality of live broadcast being affected by other tasks. Another dedicated playback thread is created to handle the decoding, caching, and playback of the playback program content. The playback thread can run independently of the live broadcast thread, thereby ensuring that the processing of the playback task does not interfere with the live broadcast task.

[0079] In the embodiment of the present application, multi-threading technology is used to process the playing tasks of live broadcast and playback at the same time, improve the response speed of the system, and allocate independent threads for live broadcast and playback respectively. When the user switches between playback and live broadcast, the switching process will be smoother and faster because the task processing is independent. Since the live broadcast and playback processing are independent threads, the failure of one thread will not directly affect the operation of another thread, thereby improving the robustness of the system.

[0080] Please refer to Figure 3 , provides a schematic diagram of the architecture design of a switching system for live broadcast and playback based on IPTV in an embodiment of the present application. The switching system for live broadcast and playback based on IPTV includes a data storage layer, a control logic layer, and a user interface layer. The functions of each layer are introduced below.

[0081] At the data storage layer, an efficient storage system is established to save live program data and recorded playback clips. A large-capacity hard disk or solid-state drive can be used to ensure fast data reading and storage. The stored data is classified and indexed to quickly locate specific live programs or playback clips.

[0082] In the control logic layer, a special control module is designed to handle user operation instructions, such as switching live channels, selecting playback time points, etc. A fast switching algorithm is implemented to quickly locate the target segment according to user instructions and perform seamless switching. Interact with the data storage layer to read and write relevant data.

[0083] At the user interface level, an intuitive and concise user interface is provided so that users can easily switch between live broadcast and playback. Clear operation prompts are provided on the user interface so that users know how to switch between live broadcast and playback.

[0084] In summary, the present application provides a switching method for live broadcast and playback based on IPTV. Through reasonable system architecture design, efficient switching mechanism and fast switching technology, the live broadcast interface can be directly operated to switch to the playback program, and the channel content of this time period can be automatically identified. You only need to select the target date to provide users with a more convenient and smooth viewing experience. Users can freely switch between live broadcast mode and playback mode at any time through the target switching button according to their needs, and watch programs at their own pace, no longer restricted by the traditional linear playback mode. Accurate timestamps can help the system manage and retrieve playback clips more efficiently, reduce the waste of system resources, and retrieve playback clips by target timestamps to quickly switch to the playback program and accurately locate it, saving the time of manual search and fast forward and rewind, and improving the switching efficiency between live broadcast and playback.

[0085] Based on the same invention concept, please refer to Figure 4 The present application also provides a switching device for live broadcast and playback based on IPTV, which is applied to an IPTV system; the device includes:

[0086] The playback module is used to play the live program of the target channel on the current interface;

[0087] The detection module is used to detect the user's pressing operation on the target switching button, stop playing the live program on the current interface, and display the historical date that can be replayed in a pop-up window;

[0088] A determination module, used to determine a target timestamp according to a target date selected by a user from historical dates and a first timestamp when the live program stops playing; the first timestamp is composed of a first date and a first time point when the live program stops playing; and the target timestamp is composed of the target date and the first time point;

[0089] An acquisition module, used for acquiring a target playback segment of a target channel according to a target timestamp;

[0090] The playback module is also used to play the target playback segment on the current interface.

[0091] Optionally, the device further includes a preloading module, and the preloading module is used to:

[0092] Before obtaining the target playback segment of the target channel according to the target timestamp, the playback segment of the target channel within a preset time range is obtained from the memory, and the playback segment within the preset time range is preloaded into the cache;

[0093] The acquisition module is specifically used for:

[0094] Get the target playback segment of the target channel from the cache according to the target timestamp.

[0095] Optionally, the detection module is further configured to detect a user pressing a target switching button after the target playback segment is played on the current interface, and stop playing the target playback segment on the current interface;

[0096] The acquisition module is also used to acquire the target live segment of the target channel according to the second timestamp when the target playback segment stops playing;

[0097] The playback module is also used to play the target live segment on the current interface.

[0098] Optionally, the preloading module is further used to obtain the latest live segment of the target channel through the Internet before obtaining the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing, and preload the latest live segment into the cache;

[0099] The acquisition module is specifically used to acquire the target live segment of the target channel from the cache according to the second timestamp when the target playback segment stops playing.

[0100] Optionally, the device further includes a storage module, and the storage module is used to:

[0101] While playing the live program of the target channel on the current interface, the live program is recorded in real time to obtain the recorded content;

[0102] Store recordings in memory.

[0103] Optionally, the target switching key is a pre-set switching shortcut key; the switching shortcut key includes at least one physical key.

[0104] Optionally, the first physical key among the at least one physical key is a * key or a # key.

[0105] It should be noted that each module in the switching device for live broadcast and playback based on IPTV in this embodiment corresponds one-to-one to each step in the switching method for live broadcast and playback based on IPTV in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned switching method for live broadcast and playback based on IPTV, which will not be repeated here.

[0106] Based on the same inventive concept, the present application also provides a computer device, which is equivalent to the IPTV device discussed above. 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 aforementioned IPTV-based live broadcast and playback switching method is implemented.

[0107] Based on the same inventive concept, the present application also provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the aforementioned IPTV-based live broadcast and playback switching method is implemented.

[0108] 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.

[0109] 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.

[0110] 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).

[0111] 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.

[0112] 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.

[0113] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0114] 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 (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0115] 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 specification and accompanying drawings of the present application, 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 method for switching between live broadcast and playback based on IPTV, characterized in that: In the application IPTV system, the method comprises: Play the live broadcast of the target channel on the current interface; Detecting a user pressing the target switching button, stopping the live broadcast on the current interface, and displaying a pop-up window showing the historical dates that can be replayed; Determine a target timestamp according to a target date selected by a user from the historical dates and a first timestamp of the live program stopping playing; the first timestamp is composed of a first date and a first time point of the live program stopping playing; the target timestamp is composed of the target date and the first time point; According to the target timestamp, obtaining a target playback segment of the target channel; The target playback segment is played on the current interface.

2. The method for switching between live broadcast and playback based on IPTV as claimed in claim 1, characterized in that: Before acquiring the target playback segment of the target channel according to the target timestamp, the method further includes: Acquire the playback segments of the target channel within a preset time range from the memory, and preload the playback segments within the preset time range into the cache; The step of acquiring a target playback segment of the target channel according to the target timestamp includes: According to the target timestamp, a target playback segment of the target channel is acquired from the cache.

3. The method for switching between live broadcast and playback based on IPTV as claimed in claim 1, characterized in that: After playing the target playback segment on the current interface, the method further includes: Detecting a user pressing operation on the target switching button, and stopping playing the target playback segment on the current interface; Acquire a target live segment of the target channel according to a second timestamp at which the target playback segment stops playing; Play the target live segment on the current interface.

4. The method for switching between live broadcast and playback based on IPTV as claimed in claim 3, characterized in that: Before acquiring the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing, the method further includes: Acquire the latest live segment of the target channel through the Internet, and preload the latest live segment into a cache; The acquiring the target live segment of the target channel according to the second timestamp at which the target playback segment stops playing comprises: According to the second timestamp at which the playing of the target playback segment stops, the target live segment of the target channel is acquired from the cache.

5. The method for switching between live broadcast and playback based on IPTV as claimed in claim 1, characterized in that: While playing the live program of the target channel on the current interface, the method further includes: Recording the live program in real time to obtain recorded content; The recording is stored in a memory.

6. The method for switching between live broadcast and playback based on IPTV as claimed in claim 1, characterized in that: The target switching key is a preset switching shortcut key; the switching shortcut key includes at least one physical key.

7. The method for switching between live broadcast and playback based on IPTV as claimed in claim 6, characterized in that: The first physical key in the at least one physical key is a * key or a # key.

8. A switching device for live broadcast and playback based on IPTV, characterized in that: Applicable to IPTV system; the device comprises: The playback module is used to play the live program of the target channel on the current interface; A detection module, used for detecting a user's pressing operation on a target switching button, stopping the playing of the live program on the current interface, and displaying a pop-up window showing the historical date that can be replayed; A determination module, configured to determine a target timestamp according to a target date selected by a user from the historical dates and a first timestamp at which the live program stops playing; the first timestamp is composed of a first date and a first time point at which the live program stops playing; and the target timestamp is composed of the target date and the first time point; An acquisition module, used for acquiring a target playback segment of the target channel according to the target timestamp; The playing module is also used to play the target playback segment on the current interface.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the IPTV-based live broadcast and playback switching method as described in any one of claims 1-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 IPTV-based live broadcast and playback switching method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method and system for playback of live broadcast

    CN102790911A

  • Program playback control method and program playback control device

    CN103475942A

  • Interface display method for set-top box

    CN103561344A

  • Method and system for achieving back view of live program

    CN103763581A

  • Play control method and device

    CN103905913A