A method, device, equipment and medium for accelerating the playing of IPTV application live broadcast channel switching

By using live prediction module and preload cache technology in IPTV applications, combined with user habitual and behavioral channel prediction strategies, fast channel switching is achieved, solving the problem of long waiting time for live channel switching in IPTV applications, and improving user experience .

CN118509654BActive Publication Date: 2024-11-22SICHUAN TIANYI COMHEART TELECOM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410962995.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-22
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

In IPTV applications, users wait for a long time when switching live channels, resulting in poor user experience and unable to switch live broadcasts in real time.

Method used

The live prediction module is used to predict and preload cache the channel list, update the channel list through user habitual and behavioral channel prediction strategies, perform network connection requests and data preloading, and directly play preload data when responding to user switch operations, eliminating the middle. Network request and play buffering.

Benefits of technology

Reduce user waiting time, improve live broadcast switching speed and real-time, ensure the perfection and effectiveness of preloading, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509654B_ABST
    Figure CN118509654B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for accelerating the playback of live channel switching in IPTV applications, which relates to the field of communication technology and is used to solve the problem of long waiting time and poor user experience in live channel switching in IPTV applications. The method comprises: using a live prediction module to predict the channel to be played, obtaining the live channel information of at least one predicted channel, and updating the live channel information of at least one predicted channel to the predicted channel list; using a live preloading cache module to make a network connection request according to the predicted channel list, and preloading and caching the requested data; responding to the channel switching operation performed by the user, if it is determined that the channel to be played has preloaded data in the cache, then using a live playback module to read and play the preloaded data. By eliminating the intermediate network request and playback buffering links, the user's waiting time can be reduced to achieve the effect of fast channel switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Currently, in the Internet Protocol Television (IPTV) business, live TV services that can provide live viewing services are becoming more and more popular among users, and usually, users will use the up and down buttons and the channel list to switch channels to play live broadcasts. Therefore, in order to improve the user's viewing experience, the "channel switching time" generated during the playback process is very important to users.

[0003] However, for the application-side player, switching to play a live channel requires the following processes: (1) establishing a request according to the protocol; (2) decrypting the protocol to obtain streaming data; (3) caching a certain amount of streaming data; (4) the player begins to decapsulate and decompose it into audio streams and / or video streams; (5) the player begins to decode the audio stream and / or video stream for playback and outputs the video screen. Furthermore, when the user wants to watch the live broadcast, the live stream request and cache playback must be made after the user switches to the channel. During this process, the waiting time for the playback screen is generally long, and the user experience is poor, resulting in the user being unable to switch to the channel in real time to watch the live broadcast. Summary of the invention

[0004] The present application provides an IPTV application live broadcast channel switching accelerated playback method, device, equipment and medium, which are used to solve the problem of long waiting time and poor experience of IPTV application live broadcast channel switching.

[0005] On the one hand, a method for accelerating the playing of IPTV application live broadcast channel switching is provided, the method comprising:

[0006] A live broadcast prediction module is used to predict the broadcast channel to obtain live broadcast channel information of at least one predicted channel, and the live broadcast channel information of at least one predicted channel is updated to the predicted channel list; wherein the live broadcast prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy;

[0007] A live broadcast preloading cache module is used to make a network connection request according to the predicted channel list, and preload and cache the requested data;

[0008] In response to a channel switching operation performed by the user, if it is determined that the channel to be played has preloaded data cached, a live broadcast module is used to read and play the preloaded data.

[0009] Optionally, the step of using a live broadcast prediction module to predict a channel to be broadcasted, obtaining live broadcast channel information of at least one predicted channel, and updating the live broadcast channel information of at least one predicted channel to the predicted channel list includes:

[0010] Determining multiple time periods during which the user used the IPTV application according to the historical usage time of the user using the IPTV application;

[0011] For any time period, a live broadcast prediction module is used to predict the broadcast channel, obtain the live broadcast channel information of at least one predicted channel, and update the live broadcast channel information of the at least one predicted channel to the predicted channel list.

[0012] Optionally, the step of using a live broadcast prediction module to predict a channel to be broadcasted for any time period, obtaining live broadcast channel information of at least one predicted channel, and updating the live broadcast channel information of at least one predicted channel to the predicted channel list includes:

[0013] Determine a first channel ranking and a second channel ranking according to the user's habitual channel prediction strategy; wherein the first channel ranking is a channel ranking obtained by sorting the cumulative viewing time in descending order, and the second channel ranking is a channel ranking obtained by sorting the number of viewing times in descending order;

[0014] According to the user behavioral channel prediction strategy, according to the user's focus behavior and key-pressing behavior on each channel, the third channel ranking, the previous and next channels, the focus channel, the popular channel and the channel with the highest priority are determined; wherein the third channel ranking is the channel ranking obtained by sorting the cumulative number of channel switching in descending order, the previous and next channels are the previous and next channels of the channel to be played, the focus channel is the channel where the focus stays the longest, and the popular channel is the most popular live channel at the current query time point;

[0015] According to the first channel sorting, the second channel sorting, the third channel sorting, the front and back channels, the focus channel, the popular channel and the channel with the highest priority, the live channel information of the at least one predicted channel is obtained.

[0016] Optionally, the step of determining the first channel ranking and the second channel ranking according to the user's habitual channel prediction strategy includes:

[0017] Determine the user's cumulative viewing time and cumulative viewing count on each channel;

[0018] The first channel ranking and the second channel ranking are determined according to the cumulative viewing time and cumulative viewing times of the user on each channel.

[0019] Optionally, the step of determining the third channel ranking, front and back channels, focus channels, popular channels and the highest priority channel according to the user behavioral channel prediction strategy and the user's focus behavior and key-pressing behavior on each channel includes:

[0020] Determine the user's focus behavior and keystroke behavior in each channel;

[0021] According to the user's focus behavior and key behavior in each channel, the ranking of the third channel, the front and back channels, the focus channel, the popular channel and the channel with the highest priority are determined.

[0022] Optionally, the step of obtaining the live channel information of the at least one predicted channel according to the first channel sorting, the second channel sorting, the third channel sorting, the front and back channels, the focus channel, the popular channel and the channel with the highest priority includes:

[0023] taking the first N channels in the first channel ranking, the second channel ranking and the third channel ranking as a plurality of first predicted channels;

[0024] taking all the channels of the front and back channels, the focus channel, the popular channels and the channel with the highest priority as a plurality of second predicted channels;

[0025] The plurality of first predicted channels and the plurality of second predicted channels are used as the at least one predicted channel.

[0026] Optionally, in response to the channel switching operation performed by the user, if it is determined that the channel to be played has preloaded data cached, the step of using the live broadcast module to read and play the preloaded data includes:

[0027] In response to a channel switching operation performed by a user, determining whether preloaded data is cached in the channel to be played;

[0028] If it is determined that the channel to be played has no preloaded data cached, a new network connection request is made using the player module, and the data obtained by the new request is preloaded and cached;

[0029] If it is determined that the channel to be played has preloaded data in the cache, the live broadcast module is used to read the preloaded data and play the preloaded data.

[0030] Optionally, after playing the preloaded data, the method further includes:

[0031] Determine whether the channel to be played is played successfully;

[0032] If it is determined that the channel to be played is played successfully, then determining whether the previous and subsequent channels of the channel to be played are in the preloaded list;

[0033] If it is determined that the channels before and after the channel to be played are in the preload list, determining whether to preload data for the channels before and after according to the preload list;

[0034] If it is determined that the front and rear channels have not been preloaded with data, preload the data on the front and rear channels to obtain preloaded data corresponding to the front and rear channels respectively;

[0035] The cache data of the front and rear channels are updated in real time according to the preloaded data corresponding to the front and rear channels respectively.

[0036] On the one hand, a device for accelerating the playing of IPTV application live broadcast channel switching is provided, the device comprising:

[0037] A predicted channel list updating unit, configured to use a live broadcast prediction module to predict a channel to be broadcasted, obtain live broadcast channel information of at least one predicted channel, and update the live broadcast channel information of at least one predicted channel to a predicted channel list; wherein the live broadcast prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy;

[0038] A data preloading cache unit, configured to use a live broadcast preloading cache module to make a network connection request according to the predicted channel list, and to preload and cache the requested data;

[0039] The data live broadcast unit is used to respond to the channel switching operation performed by the user. If it is determined that the channel to be played has preloaded data cached, the live broadcast module is used to read and play the preloaded data.

[0040] On the one hand, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein any one of the above methods is implemented when the processor executes the computer program.

[0041] In one aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above methods is implemented.

[0042] Compared with the prior art, the beneficial effects of this application are:

[0043] In the embodiment of the present application, when performing live channel switching, first, a live prediction module can be used to predict the channel to be played to obtain the live channel information of at least one predicted channel, and the live channel information of at least one predicted channel can be updated to the predicted channel list; wherein the live prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy; then, a live preload cache module can be used to make a network connection request according to the predicted channel list, and preload and cache the requested data; finally, in response to the user's channel switching operation, if it is determined that the channel to be played has preloaded data cached, the live playback module can be used to read and play the preloaded data. Therefore, in the embodiment of the present application, since the live channel switching acceleration adopts a preload mechanism and directly plays the preloaded cache data, the user waiting time can be reduced by eliminating the intermediate network request and playback buffering links to achieve the effect of fast channel switching. In addition, since the channel prediction is also performed through the user's habitual channel prediction strategy and the user's behavioral channel prediction strategy, not only the completeness of the preload can be guaranteed, but also the real-time and effectiveness of the preload can be guaranteed to the greatest extent. 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 flow chart of a method for accelerating the playback of live broadcast channels of an IPTV application provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of dynamic time period division provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of a flow chart of channel prediction provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of an IPTV application live broadcast channel switching accelerated playback device provided in an embodiment of the present application.

[0050] Markings in the figure: 10-IPTV application live channel switching accelerated playback device, 101-processor, 102-memory, 103-I / O interface, 104-database, 50-IPTV application live channel switching accelerated playback device, 501-prediction channel list update unit, 502-data preloading cache unit, 503-data live broadcast unit. DETAILED DESCRIPTION

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

[0052] Currently, in the Internet Protocol Television (IPTV) business, live TV services that can provide live viewing services are becoming more and more popular among users, and usually, users will use the up and down buttons and the channel list to switch channels to play live broadcasts. Therefore, in order to improve the user's viewing experience, the "channel switching time" generated during the playback process is very important to users.

[0053] However, for the application-side player, switching to play a live channel requires the following processes: (1) establishing a request according to the protocol; (2) decrypting the protocol to obtain streaming data; (3) caching streaming data of a certain amount of data; (4) the player begins to decapsulate and decompose it into audio streams and / or video streams; (5) the player begins to decode the audio stream and / or video stream for playback and outputs the video screen. Furthermore, when the user wants to watch the live broadcast, the live stream request and cache playback must be made after the user switches to the channel. During this process, the waiting time for the playback screen is generally long, resulting in a poor user experience, which makes it impossible for the user to switch to the channel in real time to watch the live broadcast.

[0054] Based on this, the embodiment of the present application provides an IPTV application live channel switching accelerated playback method, in which, first, a live prediction module can be used to predict the channel to be played to obtain the live channel information of at least one predicted channel, and the live channel information of at least one predicted channel is updated to the predicted channel list; wherein, the live prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy; then, a live preloading cache module can be used to make a network connection request according to the predicted channel list, and preload and cache the requested data; finally, in response to the user's channel switching operation, if it is determined that the channel to be played has preloaded data in the cache, the live playback module can be used to read and play the preloaded data. Therefore, in the embodiment of the present application, since the live channel switching acceleration adopts a preloading mechanism and directly plays the preloaded cache data, the user's waiting time can be reduced by eliminating the intermediate network request and playback buffering links to achieve the effect of fast channel switching. In addition, since channel prediction is performed through user habitual channel prediction strategy and user behavioral channel prediction strategy, not only the completeness of preloading can be guaranteed, but also the real-time and effectiveness of preloading can be guaranteed to the greatest extent.

[0055] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0056] like Figure 1 FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. The application scenario may include an IPTV application live broadcast channel switching accelerated playback device 10.

[0057] Among them, the IPTV application live broadcast channel switching accelerated playback device 10 can be used to accelerate the live broadcast channel switching of the IPTV application, for example, it can be a personal computer (PC), a server and a laptop. The IPTV application live broadcast channel switching accelerated playback device 10 may include one or more processors 101, a memory 102, an I / O interface 103 and a database 104. Specifically, the processor 101 can be a central processing unit (CPU), or a digital processing unit, etc. The memory 102 can be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 102 can also be a non-volatile memory (non-volatile memory), such as a read-only memory, a flash memory (flash memory), a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 102 can be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory 102 can be a combination of the above memories. The memory 102 may store some program instructions of the method for accelerating the playback of live broadcast channel switching of IPTV applications provided in the embodiment of the present application. When these program instructions are executed by the processor 101, they can be used to implement the steps of the method for accelerating the playback of live broadcast channel switching of IPTV applications provided in the embodiment of the present application, so as to solve the problem of long waiting time and poor experience of live broadcast channel switching of IPTV applications. The database 104 may be used to store data such as the predicted channel list, preloaded list, historical usage time of IPTV applications, user habitual channel prediction strategy, user behavioral channel prediction strategy, etc. involved in the solution provided in the embodiment of the present application.

[0058] In the embodiment of the present application, the IPTV application live channel switching accelerated playback device 10 can obtain the user's channel switching operation through the I / O interface 103, and then the processor 101 of the IPTV application live channel switching accelerated playback device 10 will reduce the waiting time and improve the experience when the IPTV application live channel switching is performed according to the program instructions of the IPTV application live channel switching accelerated playback method provided in the embodiment of the present application in the memory 102. In addition, the predicted channel list, preloaded list, historical use time of the IPTV application, user habitual channel prediction strategy, user behavioral channel prediction strategy and other data can also be stored in the database 104.

[0059] Of course, the method provided in the embodiment of the present application is not limited to Figure 1The application scenarios shown can also be used in other possible application scenarios, and the embodiments of the present application are not limited thereto. Figure 1 The functions that can be realized by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here. Below, the method of the embodiment of the present application will be introduced in conjunction with the accompanying drawings.

[0060] like Figure 2 As shown, it is a flow chart of a method for accelerating the playing of IPTV application live broadcast channel switching provided by an embodiment of the present application. The method can be performed by Figure 1 The IPTV application live channel switching acceleration playback device 10 is executed. Specifically, the process of the method is introduced as follows.

[0061] Step 201: using a live broadcast prediction module to predict a channel to be broadcasted, obtaining live broadcast channel information of at least one predicted channel, and updating the live broadcast channel information of at least one predicted channel into a predicted channel list.

[0062] In the embodiment of the present application, the live broadcast prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy, and the live broadcast channel information may include a channel ID, a channel name, and a channel address, etc. The live broadcast prediction module is the starting module of the entire IPTV application live broadcast system, and can specifically predict the live broadcast channels that may be watched by the user based on the user's operation. In order to save computing resources, a predicted channel number threshold can also be set for the predicted channel list. Then, when it is detected that the predicted channel number is greater than the predicted channel number threshold (for example, the predicted channel number threshold can be 6), the live broadcast channel information of the predicted channel that has been added the longest in the predicted channel list can be automatically deleted.

[0063] In actual applications, since different people may use the channel at different time periods, and the same group of people may have different concerns and needs for channel content, in order to improve the accuracy of channel prediction, in the embodiment of the present application, the use time of the IPTV application can be divided into multiple time periods by dynamic time period division, so that the prediction can be accurately made for different users through multi-time period analysis.

[0064] Specifically, when predicting the channels to be played, multiple time periods in which the user uses the IPTV application may be determined based on the historical usage time of the user using the IPTV application.

[0065] For example, the time when the user starts the IPTV application can be recorded as T1, and the time when the IPTV application is closed can be recorded as T2. (T2-T1) is the user's usage time period A. By analogy, a series of dynamic time periods can be obtained, with the time unit accurate to minutes. Figure 3FIG. 1 is a schematic diagram of a dynamic time period division provided by an embodiment of the present application, wherein the horizontal axis of the bar graph represents time. Figure 3 It can be seen that the usage time of the user using the IPTV application can be divided into three time periods, namely, time period A (7:00-9:00), time period B (12:00-15:00) and time period C (18:00-23:00).

[0066] Moreover, in order to make the time period division more accurate, the division of the above time periods can be continuously updated and corrected as the usage of IPTV applications is continuously recorded. Furthermore, when the user is playing live, it can be determined whether the current time point T1 is in the divided time period (for example, the above time periods A, B, C). If so, the prediction rules of the corresponding time period can be directly used to preload the live content. That is, for any time period, the live prediction module can be directly used to predict the channel to be played, so as to obtain the live channel information of at least one predicted channel, and the live channel information of the at least one predicted channel can be updated to the predicted channel list.

[0067] Furthermore, at least one frequently watched channel can be predicted in each time period accordingly, so as to meet the channel prediction preferences of different users or the same user in different time periods, and better improve the user experience.

[0068] Step 202: Using the live broadcast preloading cache module, a network connection request is made according to the predicted channel list, and the requested data is preloaded and cached.

[0069] In the embodiment of the present application, the live broadcast preloading cache module is the core module of the entire IPTV application live broadcast system. Specifically, first, the live broadcast preloading cache module can be used to make a network connection request (i.e., request a live broadcast stream) according to the live broadcast channel information in the predicted channel list; then, the requested data can be preloaded and cached according to the channel ID in the live broadcast channel information, wherein, when caching, the requested data (live broadcast data) can be updated in real time according to the set preloading cache size (for example, the preloading cache data size is set to 5M).

[0070] Step 203: In response to the channel switching operation performed by the user, if it is determined that the channel to be played has preloaded data cached, the live broadcast module is used to read and play the preloaded data.

[0071] In an embodiment of the present application, after the user performs a channel switching operation, the IPTV application live channel switching accelerated playback device 10 can respond to the user's channel switching operation, close the previous playback channel, and determine whether the channel to be played has preloaded data cached; if it is determined that the channel to be played has no preloaded data cached, the player module can be used to make a new network connection request, and preload and cache the data obtained from the new request; and if it is determined that the channel to be played has preloaded data cached, the live playback module is used to read the corresponding cached preloaded data (for example, TS stream, RTP network packet, etc.) according to the channel ID of the channel to be played, and the preloaded data is decapsulated and decoded in turn, so that the decoded audio / video data is played synchronously.

[0072] In a possible implementation manner, in order to further reduce the long waiting time for changing channels and improve the user experience, in an embodiment of the present application, after playing the preloaded data, it can also be determined whether the channel to be played is played successfully; if it is determined that the channel to be played is played successfully, it can be determined whether the front and rear channels of the channel to be played are in the preload list; if it is determined that the front and rear channels of the channel to be played are not in the preload list, the front and rear channels of the channel to be played can be updated to the preload list to facilitate subsequent channel prediction and data preloading; if it is determined that the front and rear channels of the channel to be played are in the preload list, it can be determined whether the front and rear channels are preloaded with data according to the preload list; if it is determined that the front and rear channels are not preloaded with data, a network connection request can be made according to the channel IDs of the front and rear channels to preload data for the front and rear channels, thereby obtaining the preloaded data corresponding to each of the front and rear channels; further, the cached data of the front and rear channels can be updated in real time according to the preloaded data corresponding to each of the front and rear channels to ensure that the cached data is the latest.

[0073] In a possible implementation manner, in order to further improve the channel prediction accuracy, in the embodiment of the present application, as Figure 4 As shown, it is a flow chart of channel prediction provided in an embodiment of the present application. For any time period, a live broadcast prediction module is used to predict the broadcast channel, obtain the live broadcast channel information of at least one predicted channel, and update the live broadcast channel information of at least one predicted channel to the predicted channel list. Specifically, the prediction can be made by combining the user's habitual channel prediction strategy and the user's behavioral channel prediction strategy.

[0074] Step 401: Determine a first channel ranking and a second channel ranking according to a user's habitual channel prediction strategy.

[0075] In the embodiment of the present application, the first channel sorting may be a channel sorting obtained by sorting the cumulative viewing time in descending order, and the second channel sorting may be a channel sorting obtained by sorting the number of viewing times in descending order.

[0076] Specifically, each time a program is watched, the corresponding viewing time is recorded, and after leaving the channel, the recorded viewing time is accumulated to obtain the cumulative channel viewing time, which is saved in the cache center; in addition, each time a program is watched, the number of views is increased by 1, and the number of views is accumulated to obtain the cumulative number of channel views, which is also saved in the cache center.

[0077] Furthermore, when determining the first channel ranking and the second channel ranking, the user's cumulative viewing time and cumulative viewing times on each channel can be determined based on the user's habitual channel prediction strategy; then, the first channel ranking and the second channel ranking can be determined based on the user's cumulative viewing time and cumulative viewing times on each channel.

[0078] Step 402: According to the user behavioral channel prediction strategy, according to the user's focus behavior and key-pressing behavior on each channel, the third channel ranking, front and back channels, focus channels, popular channels and the highest priority channel are determined.

[0079] In an embodiment of the present application, the third channel sorting may be the channel sorting obtained by sorting the cumulative number of channel switching times in descending order; the previous and next channels may be the previous and next channels of the channel to be played; the focus channel is the channel where the focus stays the longest; the popular channel is the most popular live channel at the current query time point obtained after comprehensive analysis of popular live broadcasts in the next week; the channel with the highest priority is the channel with the highest priority obtained by dividing the priority according to type and hobby.

[0080] Specifically, for the sorting of the third channel, the input of the digital keys can be monitored. Each time the user switches channels by using the digital keys, the number of times the channel is switched to the channel by digital means is recorded. After the switching is completed, the recorded number of times the channel is switched is accumulated to obtain the cumulative number of times the channel is switched. The channels are then sorted according to the cumulative number of times the channel is switched, thereby accurately predicting the channels that the user often watches by digital switching.

[0081] For the previous and next channels, the previous and next channels of the to-be-played channel in the system channel list may be queried according to the to-be-played channel, so as to use these two channels as the predicted channels that the user may watch next.

[0082] For the focus channel, after calling out the system channel list, when the focus stays on a channel for more than a preset time threshold (for example, 200ms), it can be determined that the user is likely to watch the channel, and the channel is recorded as a predicted channel.

[0083] For popular channels, combined with third-party external network evaluation data and popularity, we can obtain popular live broadcast sources for the next week (including popular events, interviews, military, etc.) to obtain the user's current viewing time within the live broadcast time range or about to be broadcast, and then, we can get the most popular live broadcast channel at the current query time point.

[0084] For the highest priority channels, specific live broadcast types can be divided into military, movies, sports, and TV drama live broadcasts, etc. Then, based on the current user behavior cumulative habits, the user hobby type priority can be obtained, and then, the highest priority channel can be obtained. For example, based on the current user behavior cumulative habits, the priority of sports can be set to the highest, and then, when caching data, the default background cache of CCTV5 sports-related network data can be prioritized.

[0085] Furthermore, when performing channel prediction through the user behavioral channel prediction strategy, the user's focus behavior and key behavior in each channel can be determined first; then, based on the user's focus behavior and key behavior in each channel, the third channel ranking, front and back channels, focus channel, popular channel and the highest priority channel can be determined.

[0086] Step 403: According to the first channel sorting, the second channel sorting, the third channel sorting, the front and back channels, the focus channel, the popular channel and the highest priority channel, the live channel information of at least one predicted channel is obtained.

[0087] In an embodiment of the present application, after obtaining the first channel sorting, the second channel sorting, the third channel sorting, the front and back channels, the focus channel, the popular channel and the channel with the highest priority, the first N channels in the first channel sorting, the second channel sorting and the third channel sorting can be used as multiple first predicted channels; all channels in the fourth channel sorting, the fifth channel sorting, the sixth channel sorting and the seventh channel sorting can be used as multiple second predicted channels; then, the multiple first predicted channels and the multiple second predicted channels can be used as at least one predicted channel, and the live channel information of the at least one predicted channel determined can be updated to the predicted channel list.

[0088] In a possible implementation manner, the number of predicted channels in the predicted channel list may be detected in the following two ways.

[0089] (1) Detect according to the channel to be played.

[0090] Specifically, based on the channel to be played, the live channel information of the adjacent channels before and after, or the adjacent channels before and after, can be automatically added to the predicted channel list. Then, the number of predicted channels in the predicted channel list is automatically detected. When it is detected that the number of predicted channels is greater than the predicted channel number threshold, the live channel information of the predicted channel that has been added the longest in the predicted channel list is deleted.

[0091] (2) Detect based on the focus behavior of the user's operating system channel list.

[0092] Specifically, when the user calls out the system channel list, the current focus channel can be checked, and the live channel information of the adjacent channels before and after, or before and after, can be added to the predicted channel list. When the number of predicted channels is detected to be greater than the predicted channel number threshold, the live channel information of the predicted channel that has been added the longest in the predicted channel list is deleted. When the focus is switched, the predicted channel list can be updated accordingly according to the new focus channel.

[0093] In summary, the technical solution of this application has the following advantages:

[0094] (1) Since a preloading mechanism is used during the live switching process, and the loaded buffer data is played directly, the intermediate network request and playback buffering links are omitted. Therefore, the user waiting time can be reduced, the user experience can be improved, and the purpose of accelerating the switching speed and watching the live content in real time can be achieved.

[0095] (2) Since the prediction mechanism is set up by dividing the time periods (multiple dimensions) and channel prediction is performed based on user habits and user behaviors, the completeness, real-time nature, and effectiveness of preloading can be guaranteed to the greatest extent.

[0096] (3) The technical solution of this application does not require platform transformation and upgrading. All modules are in the application terminal and can be adapted by switching platforms, which makes it more versatile.

[0097] (4) The technical solution of this application does not require any pressure to transform and upgrade the server platform, and the cost is lower.

[0098] Based on the same inventive concept, the embodiment of the present application provides an IPTV application live broadcast channel switching accelerated playback device 50, such as Figure 5 As shown, the IPTV application live broadcast channel switching accelerated playback device 50 includes:

[0099] The predicted channel list updating unit 501 is used to predict the to-be-played channel by using the live broadcast prediction module, obtain the live broadcast channel information of at least one predicted channel, and update the live broadcast channel information of at least one predicted channel to the predicted channel list; wherein the live broadcast prediction module includes a user habitual channel prediction strategy and a user behavioral channel prediction strategy;

[0100] The data preloading cache unit 502 is used to use the live broadcast preloading cache module to make a network connection request according to the predicted channel list, and preload and cache the requested data;

[0101] The data live broadcast unit 503 is used to respond to the channel switching operation performed by the user. If it is determined that the channel to be played has preloaded data cached, the live broadcast module is used to read and play the preloaded data.

[0102] Optionally, the predicted channel list updating unit 501 is further configured to:

[0103] Determine multiple time periods when the user uses the IPTV application according to the user's historical use time of the IPTV application;

[0104] For any time period, a live broadcast prediction module is used to predict the broadcast channel, obtain the live broadcast channel information of at least one predicted channel, and update the live broadcast channel information of at least one predicted channel to the predicted channel list.

[0105] Optionally, the predicted channel list updating unit 501 is further configured to:

[0106] Determine a first channel ranking and a second channel ranking according to a user's habitual channel prediction strategy; wherein the first channel ranking is a channel ranking obtained by sorting the cumulative viewing time in descending order, and the second channel ranking is a channel ranking obtained by sorting the number of views in descending order;

[0107] According to the user behavioral channel prediction strategy, according to the user's focus behavior and key-pressing behavior on each channel, the third channel ranking, the previous and next channels, the focus channel, the popular channel and the channel with the highest priority are determined; wherein the third channel ranking is the channel ranking obtained by sorting the cumulative number of channel switching in descending order, the previous and next channels are the previous and next channels of the channel to be played, the focus channel is the channel where the focus stays the longest, and the popular channel is the most popular live channel at the current query time point;

[0108] According to the first channel sorting, the second channel sorting, the third channel sorting, the front and back channels, the focus channel, the popular channel and the highest priority channel, the live channel information of at least one predicted channel is obtained.

[0109] Optionally, the predicted channel list updating unit 501 is further configured to:

[0110] Determine the user's cumulative viewing time and cumulative viewing count on each channel;

[0111] The first channel ranking and the second channel ranking are determined according to the cumulative viewing time and cumulative viewing times of the user on each channel.

[0112] Optionally, the predicted channel list updating unit 501 is further configured to:

[0113] Determine the user's focus behavior and keystroke behavior in each channel;

[0114] According to the user's focus behavior and key behavior in each channel, the ranking of the third channel, the front and back channels, the focus channel, the popular channel and the channel with the highest priority are determined.

[0115] Optionally, the predicted channel list updating unit 501 is further configured to:

[0116] taking the first N channels in the first channel ranking, the second channel ranking and the third channel ranking as a plurality of first predicted channels;

[0117] All channels of the front and back channels, the focus channel, the popular channels and the highest priority channel are used as a plurality of second prediction channels;

[0118] A plurality of first prediction channels and a plurality of second prediction channels are used as at least one prediction channel.

[0119] Optionally, the data live broadcast unit 503 is used to:

[0120] In response to a channel switching operation performed by a user, determining whether preloaded data is cached in the channel to be played;

[0121] If it is determined that the channel to be played has no preloaded data cached, a new network connection request is made using the player module, and the data obtained by the new request is preloaded and cached;

[0122] If it is determined that the channel to be played has preloaded data in its cache, the live broadcast module is used to read the preloaded data and play the preloaded data.

[0123] Optionally, the data live broadcast unit 503 is used to:

[0124] Determine whether the channel to be played is played successfully;

[0125] If it is determined that the channel to be played is played successfully, then determining whether the previous and subsequent channels of the channel to be played are in the preloaded list;

[0126] If it is determined that the channels before and after the channel to be played are in the preload list, then it is determined whether to preload data for the channels before and after according to the preload list;

[0127] If it is determined that the front and rear channels have not been preloaded with data, preload the data on the front and rear channels to obtain the preloaded data corresponding to the front and rear channels respectively;

[0128] The cached data of the front and rear channels are updated in real time according to the preloaded data corresponding to the front and rear channels respectively.

[0129] The IPTV application live broadcast channel switching accelerated playback device 50 can be used to perform Figure 2-Figure 4 The method executed in the embodiment shown in FIG. 1 is a method for performing the functions of the various functional modules of the IPTV application live channel switching accelerated playback device 50. Figure 2-Figure 4 The description of the illustrated embodiment is not repeated in detail.

[0130] In some possible implementations, various aspects of the method provided in the present application may also be implemented in the form of a program part, which includes a program code. When the program part is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 2-Figure 4 The method performed in the illustrated embodiment.

[0131] Those skilled in the art can understand that all or part of the steps of the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks. Alternatively, if the above integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent part, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software part, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in various embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0132] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0133] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for accelerating the playing of live broadcast channels of IPTV applications, characterized in that: The method comprises: Determining multiple time periods during which the user used the IPTV application according to the historical usage time of the user using the IPTV application; For any time period, a live broadcast prediction module is used to determine a first channel ranking and a second channel ranking according to a user's habitual channel prediction strategy; wherein the first channel ranking is a channel ranking obtained by sorting the cumulative viewing time in descending order, and the second channel ranking is a channel ranking obtained by sorting the number of views in descending order; According to the user behavioral channel prediction strategy, as well as the user's focus behavior and key-pressing behavior on each channel, the third channel ranking, the previous and next channels, the focus channel, the popular channel and the channel with the highest priority are determined; wherein the third channel ranking is the channel ranking obtained by sorting the cumulative number of channel switching in descending order, the previous and next channels are the previous and next channels of the channel to be played, the focus channel is the channel where the focus stays the longest, and the popular channel is the most popular live channel at the current query time point; The first N channels in the first channel sorting, the second channel sorting and the third channel sorting are used as multiple first predicted channels; all channels in the front and back channels, the focus channels, the popular channels and the channels with the highest priority are used as multiple second predicted channels; the multiple first predicted channels and the multiple second predicted channels are used as at least one predicted channel, and the live channel information of the at least one predicted channel is updated to the predicted channel list; wherein the number of predicted channels in the predicted channel list is obtained by detecting the channels to be played, or is obtained by detecting the focus behavior of the user operating system channel list; A live broadcast preloading cache module is used to make a network connection request according to the predicted channel list, and preload and cache the requested data; In response to a channel switching operation performed by the user, if it is determined that the channel to be played has preloaded data cached, a live broadcast module is used to read and play the preloaded data.

2. The method according to claim 1, characterized in that The step of determining the first channel ranking and the second channel ranking according to the user's habitual channel prediction strategy comprises: Determine the user's cumulative viewing time and cumulative viewing count on each channel; The first channel ranking and the second channel ranking are determined according to the cumulative viewing time and cumulative viewing times of the user on each channel.

3. The method according to claim 1, characterized in that The step of determining the third channel ranking, the front and back channels, the focus channel, the hot channel and the highest priority channel according to the user behavioral channel prediction strategy and the user's focus behavior and key-pressing behavior on each channel includes: Determine the user's focus behavior and keystroke behavior in each channel; According to the user's focus behavior and key behavior in each channel, the ranking of the third channel, the front and back channels, the focus channel, the popular channel and the channel with the highest priority are determined.

4. The method according to claim 1, characterized in that In response to the channel switching operation performed by the user, if it is determined that the to-be-played channel has preloaded data cached, the step of using the live broadcast module to read and play the preloaded data includes: In response to a channel switching operation performed by a user, determining whether preloaded data is cached in the channel to be played; If it is determined that the channel to be played has no preloaded data cached, a new network connection request is made using the player module, and the data obtained by the new request is preloaded and cached; If it is determined that the channel to be played has preloaded data in the cache, the live broadcast module is used to read the preloaded data and play the preloaded data.

5. The method according to claim 4, characterized in that After playing the preloaded data, the method further includes: Determine whether the channel to be played is played successfully; If it is determined that the channel to be played is played successfully, then determining whether the previous and subsequent channels of the channel to be played are in the preloaded list; If it is determined that the channels before and after the channel to be played are in the preload list, determining whether to preload data for the channels before and after according to the preload list; If it is determined that the front and rear channels have not been preloaded with data, preload the data on the front and rear channels to obtain preloaded data corresponding to the front and rear channels respectively; The cache data of the front and rear channels are updated in real time according to the preloaded data corresponding to the front and rear channels respectively.

6. An IPTV application live broadcast channel switching accelerated playback device, characterized in that: The device comprises: The predicted channel list updating unit is used to determine multiple time periods when the user uses the IPTV application according to the historical usage time of the user using the IPTV application; for any time period, a live broadcast prediction module is used to determine a first channel ranking and a second channel ranking according to the user's habitual channel prediction strategy; wherein the first channel ranking is a channel ranking obtained by sorting the cumulative viewing time in descending order, and the second channel ranking is a channel ranking obtained by sorting the number of views in descending order; according to the user's behavioral channel prediction strategy, a third channel ranking, a front and back channel, a focus channel, a popular channel and a channel with the highest priority are determined according to the user's focus behavior and keystroke behavior on each channel; wherein the third channel ranking is a channel ranking obtained by sorting the cumulative number of switching channels in descending order, and the front and back channels are determined according to the user's focus behavior and keystroke behavior on each channel; wherein the third channel ranking is a channel ranking obtained by sorting the cumulative number of switching channels in descending order, and the front and back channels are determined according to the user's focus behavior and keystroke behavior on each channel. The channels are the previous and next channels of the channel to be played, the focus channel is the channel where the focus stays the longest, and the popular channel is the most popular live channel at the current query time point; the first N channels in the first channel sorting, the second channel sorting and the third channel sorting are used as multiple first predicted channels; all channels in the previous and next channels, the focus channel, the popular channel and the channel with the highest priority are used as multiple second predicted channels; the multiple first predicted channels and the multiple second predicted channels are used as at least one predicted channel, and the live channel information of the at least one predicted channel is updated to the predicted channel list; wherein the number of predicted channels in the predicted channel list is obtained by detecting the channel to be played, or is obtained by detecting the focus behavior of the user operating system channel list; A data preloading cache unit, configured to use a live broadcast preloading cache module to make a network connection request according to the predicted channel list, and to preload and cache the requested data; The data live broadcast unit is used to respond to the channel switching operation performed by the user. If it is determined that the channel to be played has preloaded data cached, the live broadcast module is used to read and play the preloaded data.

7. An electronic device, characterized in that: The device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute any method according to claims 1-5 according to the obtained program instructions.

8. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the methods in claims 1-5.