Play control method, apparatus, device, and storage medium
By acquiring and evaluating the link status and status parameters of playback data, a dynamic playback protection strategy is implemented, which solves the stuttering problem caused by wireless link fluctuations in video playback devices in home wireless LANs, and improves playback continuity and resource utilization efficiency.
Patent Information
- Application Number
- CN202611226611.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-03
AI Technical Summary
In a home Wi-Fi environment, video playback devices may experience stuttering due to fluctuations in the quality of the wireless link, affecting the user's viewing experience.
By acquiring the link status parameters and playback status parameters of the target playback data, playback risk parameters are assessed, and corresponding playback protection strategies are implemented based on the risk parameters, including control measures such as adjusting transmission parameters, priority adjustment, and link switching, to prevent playback anomalies.
It improves the timely identification and prevention of playback anomalies, avoids resource waste caused by over-protection under low-risk conditions and playback interruption caused by insufficient protection under high-risk conditions, and improves playback continuity and resource utilization efficiency.
Smart Images

Figure CN123035336A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a playback control method, apparatus, device, and storage medium. Background Technology
[0002] Currently, with the widespread use of smart TVs, set-top boxes, and screen mirroring terminals in home wireless LANs, using WiFi to carry continuous media services such as video-on-demand, live streaming, and screen mirroring has become the mainstream approach. However, in actual home deployment environments, TV terminals are often located far from the router, obstructed by walls, experience concurrent access from multiple terminals, and face strong interference from neighboring networks operating on the same frequency. This can cause short-term fluctuations in wireless link quality, negatively impacting the continuity of video playback and affecting the user's viewing experience. Summary of the Invention
[0003] This application provides a playback control method, apparatus, device, and storage medium, aiming to solve the technical problem of video playback stuttering caused by wireless link fluctuations during video playback in the prior art.
[0004] On one hand, embodiments of this application provide a playback control method, which includes the following steps: In response to a playback control request for target playback data, obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback risk parameters of the target playback data are evaluated based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for evaluating the risk of playback abnormalities in the target playback data within a future preset time window. Based on the playback protection strategy corresponding to the playback risk parameters, playback control is performed on the target playback data to obtain the playback control result.
[0005] In one possible implementation of this application, the step of evaluating the playback risk parameters of the target playback data based on the link state parameters and the playback state parameters includes: Based on the first time window, the link state parameters are extracted to obtain the link state features; Based on the second time window, the playback status parameters are extracted to obtain playback status features; Calculate playback risk parameters based on the link status characteristics and the playback status characteristics.
[0006] In one possible implementation of this application, calculating the playback risk parameter based on the link state characteristics and the playback state characteristics includes: Obtain the link weight information corresponding to the link status feature, and the playback weight information corresponding to the playback status feature; The link state features are weighted using the link weight information to obtain weighted link features; The playback state features are weighted using the playback weight information to obtain weighted playback features; Playback risk parameters are determined based on the weighted link characteristics, weighted playback characteristics, and switching evaluation characteristics.
[0007] In one possible implementation of this application, the step of performing playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter to obtain the playback control result includes: The playback risk level of the target playback data is determined based on the playback risk parameters and the playback risk thresholds and / or risk assessment conditions corresponding to each playback risk level. Playback control is performed on the target playback data according to the playback protection strategy corresponding to the playback risk level, and the playback control result is obtained.
[0008] In one possible implementation of this application, the step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level to obtain the playback control result includes: If the playback risk level is the first risk level, the playback protection strategy is determined to be the first protection strategy; The communication aggregation length in the link state parameters is adjusted according to the first protection strategy to obtain the updated aggregation length; And / or, according to the first protection strategy, the key playback data in the target playback data is prioritized to obtain an updated priority; Playback control is performed on the target playback data according to the update aggregation length and / or the update priority to obtain the playback control result.
[0009] In one possible implementation of this application, the step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level to obtain the playback control result includes: If the playback risk level is the second risk level, the playback protection strategy is determined to be the second protection strategy; The adjustment coding level and channel bandwidth in the link state parameters are adjusted according to the second protection strategy to obtain updated link parameters; And / or, in accordance with the second protection strategy, repeatedly send key playback data from the target playback data to the target player; And / or, adjust the packet sending rhythm parameter or priority mapping parameter in the playback status parameters according to the second protection strategy to obtain updated playback parameters; Playback control is performed on the target playback data according to the updated link parameters and updated playback parameters to obtain the playback control result.
[0010] In one possible implementation of this application, repeatedly sending key playback data from the target playback data to the target player according to the second protection strategy includes: The key playback data is marked according to the player status, encoding frame type, or upper-layer service tag to obtain key video tags; Within a specified time window, key playback data marked with key video tags is repeatedly sent to obtain playback control results.
[0011] In one possible implementation of this application, the step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level to obtain the playback control result includes: If the playback risk level is the third risk level, the playback protection strategy is determined to be the third protection strategy; Obtain candidate access data corresponding to the third protection strategy, and calculate the switching benefit data and switching loss data of the target playback data according to the third protection strategy; If the switching gain data is greater than the switching loss data, then link switching processing is performed according to the third protection strategy and the candidate access data to obtain the playback control result.
[0012] In one possible implementation of this application, after performing playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter and obtaining the playback control result, the method further includes: Calculate the update risk parameters corresponding to the playback control results; When the updated risk parameter is lower than the preset recovery threshold, a link recovery operation is performed. The link recovery operation includes any one or more of the following: increasing the aggregation length, restoring the modulation and coding level, restoring the channel bandwidth, and exiting the critical video data protection state.
[0013] On the other hand, this application provides a playback control device, the playback control device comprising: The information acquisition module is configured to respond to a playback control request for target playback data and acquire the link status parameters associated with the target playback data and the playback status parameters of the target playback data. The risk assessment module is configured to assess the playback risk parameters of the target playback data based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for assessing the risk of playback abnormalities in the target playback data within a future preset time window. The playback control module is configured to control the playback of the target playback data based on the playback protection strategy corresponding to the playback risk parameter, and obtain the playback control result.
[0014] On the other hand, this application also provides a playback control device, the playback control device comprising: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the playback control method.
[0015] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps in the playback control method.
[0016] This application responds to playback control requests and synchronously acquires the link status parameters and playback status parameters associated with the target playback data. This allows it to perceive the current network transmission conditions and the playback service operation status. Based on the link status parameters and playback status parameters, it predicts playback risk parameters within a preset time window. This enables the identification of abnormal playback trends before playback stuttering or connection interruption actually occurs, transforming traditional post-event remediation into pre-event prevention. This significantly improves the timeliness of risk identification. Furthermore, based on the playback protection strategy corresponding to the playback risk parameters, it controls the playback of the target playback data. It can adaptively match the protection strength according to the risk level, avoiding resource waste caused by over-protection under low risk and playback interruption caused by insufficient protection under high risk, thus balancing playback continuity and resource utilization efficiency. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a scenario illustrating the playback control method according to an embodiment of this application; Figure 2 This is a flowchart illustrating one embodiment of the playback control method in this application. Figure 3 A flowchart illustrating an embodiment of the playback control method provided in this application, which performs playback control according to a second protection strategy. Figure 4 A flowchart illustrating an embodiment of the playback control method provided in this application, which performs playback control according to a third protection strategy. Figure 5 A schematic diagram of the structure of one embodiment of the playback control device provided in this application; Figure 6 This is a schematic diagram of one embodiment of the playback control device provided in this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0021] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0022] Currently, with the widespread use of smart TVs, set-top boxes, and screen mirroring terminals in home wireless LANs, using WiFi to carry continuous media services such as video-on-demand, live streaming, and screen mirroring has become the mainstream approach. However, in actual home deployment environments, TV terminals are often located far from the router, obstructed by walls, experience concurrent access from multiple terminals, and face strong interference from neighboring networks operating on the same frequency. This can cause short-term fluctuations in wireless link quality, negatively impacting the continuity of video playback and affecting the user's viewing experience.
[0023] Based on this, this application proposes a playback control method, apparatus, device, and computer-readable storage medium to solve the technical problem of video playback stuttering caused by wireless link fluctuations during video playback in the prior art.
[0024] The playback control method in this embodiment of the invention is applied to a playback control device, which is disposed in a playback control equipment. The playback control equipment is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the playback control method; wherein, the playback control equipment can be any smart terminal capable of video playback, such as a mobile phone, tablet computer, smart TV, and smart computer.
[0025] like Figure 1 As shown, Figure 1 This is a schematic diagram of a playback control method according to an embodiment of the present application. The playback control scenario in this embodiment includes a playback control device 100 (the playback control device 100 integrates a playback control unit), and the playback control device 100 has a computer-readable storage medium corresponding to the playback control method running in order to execute the steps of the playback control method.
[0026] Understandable Figure 1The playback control device in the playback control method scenario shown, or the device included in the playback control device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of the playback control device included in the playback control method scenario, or the number or type of the device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0027] In this embodiment of the invention, the playback control device 100 is mainly used to: respond to a playback control request for target playback data, and obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback risk parameters of the target playback data are evaluated based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for evaluating the risk of playback abnormalities in the target playback data within a future preset time window. Based on the playback protection strategy corresponding to the playback risk parameters, playback control is performed on the target playback data to obtain the playback control result.
[0028] The playback control device 100 in this embodiment of the invention can be an independent playback control device, such as a mobile phone, tablet computer, smart TV and smart computer, or a playback control network or playback control cluster composed of multiple playback control devices.
[0029] This application provides a playback control method, apparatus, device, and computer-readable storage medium, which will be described in detail below.
[0030] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The number of playback control devices shown, or the playback control network connections, for example... Figure 1 Only one playback control device is shown in the diagram. It is understood that the scenario of this playback control method may also include one or more playback control devices, which are not specifically limited here. The playback control device 100 may also include a memory for storing playback data and other data.
[0031] It should be noted that, Figure 1 The schematic diagram of the playback control method shown is merely an example. The scenarios of the playback control method described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions provided in the embodiments of the present invention.
[0032] Based on the scenarios described above for playback control methods, various embodiments of the playback control method disclosed in this invention are proposed.
[0033] like Figure 2 As shown, Figure 2 This is a flowchart illustrating one embodiment of the playback control method in this application. The playback control method includes the following steps 201 to 203: 201. Respond to the playback control request for the target playback data, and obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback control method in this embodiment is applied to a playback control device. The type and number of playback control devices are not specifically limited; that is, the playback control device can be one or more smart terminals capable of playing streaming media data. In one specific embodiment, the playback control device is a smart TV, set-top box, screen mirroring terminal, smart screen, in-vehicle entertainment terminal, or other playback device. This playback control device can perform continuous media services such as video-on-demand, live streaming, screen mirroring, cloud gaming, and video conferencing within a wireless local area network (WLAN). It is particularly suitable for environments with weak coverage, wall obstructions, co-channel or adjacent-channel interference, and multiple terminals sharing air interface resources. In this environment, the playback terminal accesses the WLAN through a network access device to carry continuous media services.
[0034] Optionally, target playback data refers to the video data stream that needs to be played upon triggering a playback control request. This video data stream can come from a video-on-demand server, a live broadcast source, a screen mirroring sender, or other multimedia data sources. Target playback data refers to the video content presented to the user after the target playback data has been decoded and rendered.
[0035] Optionally, a playback control request refers to a signal that triggers the playback control process. It can originate from the player's initialization event, periodic trigger events during playback, user operation events, or external system call events. For example, when a user starts playback of a video on the playback control device, the player module generates a playback control request; another example is that during video playback, the terminal generates periodic playback control requests at fixed intervals (e.g., every 500 milliseconds or per second); playback control requests are also generated when the user performs operations such as fast forwarding, switching resolution, or switching playback sources.
[0036] Optionally, the link status data is a wireless link status indicator related to the target playback data transmission, used to reflect the quality status of the current network transmission channel.
[0037] Optionally, in one specific embodiment, the link state data includes any one or more of the following: received signal strength fluctuation, signal-to-noise ratio fluctuation, retransmission rate, packet loss rate, beacon frame arrival jitter, aggregation failure parameters, physical layer rate fluctuation, channel busy time percentage, air interface contention intensity, and short burst packet loss length.
[0038] Among them, the received signal strength fluctuation refers to the degree of deviation of the received signal strength indicator from its moving average or median within a certain observation period. This parameter can reflect the severity of short-term fluctuations in signal strength.
[0039] Signal-to-noise ratio (SNR) fluctuation refers to the short-term fluctuation amplitude of the SNR or received SNR indication. Retransmission rate refers to the proportion of data frames that need to be retransmitted within the observation window out of the total number of transmitted frames. Packet loss rate refers to the proportion of data packets that failed to be successfully received within the observation window out of the total number of transmitted packets.
[0040] Beacon frame arrival jitter refers to the statistical deviation between the actual arrival time and the expected arrival time of adjacent beacon frames. Aggregation failure parameter refers to the statistical indicator of the overall transmission failure of an aggregated frame or the failure of some subframes during the transmission of an Aggregated MAC Protocol Data Unit (A-MPDU). Physical layer rate fluctuation refers to the short-term variation in the physical layer transmission rate. Channel busy time percentage refers to the proportion of channel occupancy time to the total observation time, reflecting the degree of channel contention.
[0041] Optionally, the playback status parameter is a business layer indicator related to the playback process of the target playback data, used to reflect the current operating status of the playback service.
[0042] Optionally, in one specific embodiment, the playback status parameter includes any one or more of the following: playback buffer depth, buffer consumption rate, remaining time limit for key playback data, bitrate switching status, first frame recovery status, and most recently played recovery status.
[0043] Playback buffer depth refers to the amount of video data currently cached but not yet played in the player's buffer, usually measured in the length of time it can be played continuously (in seconds or milliseconds). Buffer consumption rate refers to the rate at which data in the buffer is consumed; when the network transmission rate is lower than the playback consumption rate, the buffer depth will continue to decrease.
[0044] The remaining time until critical playback data arrives refers to the time remaining before the critical playback data (such as I-frame related data, data segments with high decoding dependency, or playback control commands) needs to reach the player to maintain continuous playback. Bitrate switching status refers to whether the player is currently in adaptive bitrate switching (ABR) and the direction and magnitude of the switching. First frame recovery status refers to the time required for the first frame to be restored after playback interruption or stuttering. Recent playback recovery status refers to the duration of stable playback since the most recent playback resumed.
[0045] Optionally, in one embodiment, the playback control device collects corresponding playback status parameters during the playback of the target playback data through the driver layer, network protocol stack, player module, and media decoding module, respectively. It also establishes a communication connection with the network access device, driving the network access device to collect corresponding link status parameters through the wireless driver, MAC layer scheduling module, and air interface statistics module, and transmits these link status parameters to the playback control device, thereby achieving cross-layer data perception. Compared to solutions relying solely on single-dimensional parameters, the joint acquisition of multi-dimensional parameters provides a more comprehensive and accurate data foundation for subsequent risk prediction, enabling the system to simultaneously capture short-term fluctuation trends on the link side and time-limit pressures on the playback side, avoiding misjudgments or omissions due to a single information source.
[0046] 202. Evaluate the playback risk parameters of the target playback data based on the link status parameters and the playback status parameters; Optionally, after obtaining the link status parameters and playback status parameters, the playback control device also conducts a joint evaluation based on the link status parameters and playback status parameters to determine the playback risk parameters of the target playback data within a future preset time window.
[0047] Optionally, the playback risk parameter is an assessment parameter used to evaluate the risk of playback anomalies in the target playback data within a future preset time window. That is, it is a parameter used to quantify the risk of playback anomalies in the target playback data within a future preset time window. This playback anomaly risk includes at least one of the following events: video playback stuttering, wireless connection interruption, significant decrease in data transmission throughput, and link parameter oscillation. The future preset time window refers to a set duration extending into the future from the current moment. Optionally, in one specific embodiment, the future preset time window can be set to 1 to 3 seconds; alternatively, in other embodiments, the future preset time window can be customized to other durations according to actual needs.
[0048] Optionally, in one embodiment, the playback risk parameter can be a continuous numerical value, with a larger value indicating a higher probability of playback anomalies occurring within a future time window. In yet another embodiment, the playback risk parameter can also be a probability value, representing the probability of a playback anomaly event occurring within a future time window.
[0049] Optionally, the prediction and evaluation of playback risk parameters can employ a weighted calculation method, a rule engine method, a classifier model method, a scoring model method, or other risk assessment algorithms. In the weighted calculation method, the features corresponding to the link state parameters and the features corresponding to the playback state parameters are assigned different weights and then summed to obtain the playback risk parameter. In the rule engine method, multiple judgment rules are preset, each rule corresponding to a set of parameter conditions and a risk score. The playback risk parameter is finally calculated based on the number of rules satisfied and their corresponding rule weights. In the classifier model method, the link state features and playback state features are used as input feature vectors, and a trained classifier model outputs the risk level or risk probability. In the scoring model method, each feature is scored separately and then summed with weights.
[0050] Optionally, in one specific embodiment, the playback control device performs a first feature extraction on the link state parameter based on a first time window to obtain link state features. The first time window is the time range for short-term statistical analysis of the link state parameter. Optionally, in one specific embodiment, the first time window is set to 100 milliseconds to 300 milliseconds. Optionally, in other embodiments, other duration ranges can be customized as the first time window according to actual needs. The reason for choosing a shorter time window is that short-term fluctuations in the wireless link (such as a surge in instantaneous retransmission rate due to interference or a rapid fading of signal strength due to weak coverage) often show a deterioration trend on a millisecond scale. Using a shorter time window can more sensitively capture these short-term changes without introducing too much random noise due to an excessively short window.
[0051] Optionally, within the first time window, the playback control device performs statistical processing on various link status parameters, and the calculated link status characteristics include, but are not limited to, at least one of the following: the mean, variance, rate of change, peak value, duration of continuous deterioration, and length of sudden packet loss for each link status parameter.
[0052] Optionally, in other embodiments, the link state feature may also be a fused parameter that characterizes the overall wireless communication link state by fusing multiple parameter features calculated from various link state parameters.
[0053] Optionally, the playback control device further performs second feature extraction on the playback status parameter based on the second time window to obtain playback status features. The second time window is the time range for statistical analysis of the playback status parameter. The second time window is longer than the first time window. Optionally, in one specific embodiment, the second time window is set to 1 to 3 seconds. Optionally, in other embodiments, other duration ranges can be customized as the second time window according to actual needs. Using a longer time window can better reflect the macro trend of the playback service and avoid missing meaningful changes in service status due to a window that is too short.
[0054] Optionally, within the second time window, the playback control device analyzes and processes various playback status parameters, calculating playback status characteristics including, but not limited to, at least one of the following: remaining buffer duration, buffer decay rate, arrival time margin, bitrate switching frequency, and playback recovery duration. The remaining buffer duration refers to how long the data in the buffer can sustain continuous playback at the current buffer consumption rate. The buffer decay rate refers to the amount of decrease in buffer depth per unit time; a positive value indicates that the buffer is being consumed. The arrival time margin is the margin between the latest arrival time of critical playback data and the current time, minus the estimated transmission delay; a positive margin indicates that there is still time leeway, while a negative margin or a margin close to zero indicates that playback continuity is under imminent threat. The bitrate switching frequency refers to the number of times the player performs bitrate switching within the statistical window; frequent bitrate switching often reflects unstable network conditions. The duration of sustained stable playback after playback recovery refers to the length of time of sustained stable playback since the most recent playback interruption was resolved; a shorter duration indicates poorer playback stability.
[0055] Optionally, in other embodiments, the playback state feature may also be a fusion parameter that represents the overall video playback state, obtained by fusing multiple parameter features calculated from various playback state parameters.
[0056] That is, to facilitate the joint calculation of parameters from different sources, in one optional implementation, the playback control device also performs standardized mapping processing on various link state features and playback state features, mapping features of different dimensions to a unified numerical range (e.g., 0 to 1 or -1 to 1) before weighted fusion. The standardized mapping can adopt methods such as min-max normalization, Z-score normalization, threshold clipping mapping, or piecewise linear mapping.
[0057] Optionally, the playback control device calculates playback risk parameters based on the link status characteristics and the playback status characteristics.
[0058] Optionally, in one specific embodiment, the playback control device can determine playback risk parameters through a weighted calculation method. That is, it obtains the link weight information corresponding to the link state feature and the playback weight information corresponding to the playback state feature; it uses the link weight information to weight the link state feature to obtain a weighted link feature; it uses the playback weight information to weight the playback state feature to obtain a weighted playback feature; and it determines the playback risk parameters based on the weighted link feature, the weighted playback feature, and the handover evaluation feature.
[0059] Among them, link weight information refers to the weight values assigned to each link state feature, and playback weight information refers to the weight values assigned to each playback state feature.
[0060] Optionally, in one specific embodiment, the playback control device can determine weights based on the correlation between historical connection failure events. That is, the terminal collects historical data on the distribution of various features prior to playback interruptions or severe stuttering events, calculates the correlation strength (such as correlation coefficient, mutual information, or conditional probability) between each feature and the playback anomaly event, and assigns higher weights to features with stronger correlation strengths. This approach can adaptively reflect the actual predictive capabilities of each feature under different deployment environments.
[0061] Optionally, in another specific embodiment, the playback control device can also dynamically adjust the weights. That is, it can dynamically adjust the weights of each feature based on the type of the current playback scenario (such as video-on-demand, live streaming, screen mirroring, cloud gaming, etc.) or the current risk level. For example, in a live streaming scenario, the weight of the time limit margin for key playback data can be appropriately increased because the buffer margin is usually small and the time limit pressure is greater in a live streaming scenario; in a screen mirroring scenario, the weight of the bitrate switching frequency can be appropriately increased because bitrate switching has a more significant impact on the playback experience in a screen mirroring scenario.
[0062] Optionally, the playback control device multiplies each link state feature by its corresponding link weight and then sums or weights them to obtain weighted link features. The weighted link features comprehensively reflect the degree of instability on the wireless link side. In an optional implementation, the weighted features can also be subjected to a nonlinear transformation (such as sigmoid function mapping) to map the weighted link features to a preset numerical range.
[0063] Optionally, the playback control device multiplies each playback status feature by its corresponding playback weight and then sums or weights them to obtain a weighted playback feature. The weighted playback feature comprehensively reflects the time-limit pressure on the playback service side.
[0064] Optionally, after obtaining the weighted link features and weighted playback features, the playback control device calculates the sum of the weighted link features and the sum of the weighted playback features to obtain the playback risk parameters.
[0065] Optionally, in another specific embodiment, the playback control device further calculates the handover evaluation characteristics of the target playback data and determines the playback risk parameters of the target playback data through weighted link characteristics, weighted playback characteristics, and handover evaluation characteristics. Here, the handover evaluation characteristics refer to features used to assess whether handover is necessary. In one embodiment, the handover evaluation characteristics may include information such as the expected signal quality of candidate access points, the expected load of candidate frequency bands, and the historical handover success rate of the current access point. The role of the handover evaluation characteristics is to determine whether the current link deterioration can be improved through handover. If the handover benefit assessment is high, the playback risk parameters may be high even if the link state characteristics and playback state characteristics have not yet reached an extreme level of deterioration, thus triggering pre-handover protection.
[0066] Optionally, after obtaining the handover evaluation features, the playback control device calculates the sum of the weighted link features, weighted playback features, and handover evaluation features to obtain playback risk parameters.
[0067] 203. Based on the playback protection strategy corresponding to the playback risk parameters, perform playback control on the target playback data to obtain the playback control result.
[0068] Optionally, after determining the playback risk parameters, the playback control device also performs playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameters, and obtains the playback control result.
[0069] Optionally, the playback protection strategy refers to the corresponding control measures taken in response to playback risk parameters. In this invention, different playback risk parameters correspond to different playback protection strategies, and the design principle of the playback protection strategy is to match the protection strength with the degree of risk. For example, when the playback risk parameter indicates low risk, a lightweight protection strategy is implemented; when the playback risk parameter indicates high risk, a stronger protection strategy is implemented.
[0070] Optionally, playback control refers to exerting control over the transmission and playback process of the target playback data, including but not limited to adjusting link transmission parameters (such as aggregation length, modulation and coding level, channel bandwidth, etc.), adjusting data transmission priority, adjusting data transmission strategy, and performing link switching. Playback control results refer to the control effect obtained after implementing the playback protection strategy, which can be reflected in updated link parameters, updated playback parameters, the connection status after switching, or a continuously stable playback state.
[0071] Optionally, after acquiring the playback risk parameters, the playback control device determines the playback risk level of the target playback data based on the playback risk parameters and the playback risk thresholds and / or risk assessment conditions corresponding to each playback risk level.
[0072] Optionally, the playback risk level is a type of playback risk obtained by classifying the degree of risk indicated by the playback risk parameter. In this embodiment, multiple playback risk levels can be set to measure the playback risk of the target playback data, such as a first risk level, a second risk level, and a third risk level, where the first risk level corresponds to mild risk, the second risk level corresponds to moderate risk, and the third risk level corresponds to high risk. The playback risk levels are distinguished by playback risk thresholds.
[0073] Optionally, in one embodiment, the playback risk threshold includes a first playback risk threshold corresponding to a first risk level, a second playback risk threshold corresponding to a second risk level, and a third risk threshold corresponding to a third risk level (the first playback risk threshold is less than the second playback risk threshold, which is less than the third playback risk threshold). When the playback risk parameter is lower than the first playback risk threshold, it is determined to be in a normal state, the current transmission parameters are maintained, and no protection action is performed. When the playback risk parameter reaches the first playback risk threshold but does not reach the second playback risk threshold, it is determined to be at the first risk level. When the playback risk parameter reaches the second playback risk threshold but does not reach the third playback risk threshold, it is determined to be at the second risk level. When the playback risk parameter reaches the third playback risk threshold, it is determined to be at the third risk level.
[0074] In another embodiment, the risk assessment conditions include not only the playback risk threshold but also additional conditions. These additional conditions include, but are not limited to, at least one of the following: whether the rate of change of the playback risk parameter exceeds a preset rate threshold; whether the duration for which the playback risk parameter remains above a certain level exceeds a preset duration threshold; and whether the time interval since the most recent protection action was triggered exceeds a preset cooldown time. The purpose of introducing these additional conditions is to avoid false triggering of protection actions due to momentary glitches or brief fluctuations in parameters, thereby improving the robustness of risk assessment.
[0075] For example, if the playback risk parameter just exceeds the first playback risk threshold but immediately drops back, and the duration is less than the preset duration threshold (e.g., 200 milliseconds), the first risk level protection action will not be triggered to avoid system jitter caused by frequent triggering and exiting. Similarly, if the previous protection action has just finished executing and the cooldown time (e.g., 2 seconds) has not yet elapsed, even if the playback risk parameter reaches a certain threshold again, triggering a new protection action can be temporarily suspended until the cooldown time ends and the assessment is repeated.
[0076] Optionally, the playback control device performs playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtains the playback control result. That is, the playback control device pre-associates a corresponding playback protection strategy for each playback risk level. Different risk levels correspond to protection strategies of different strengths and types. Low-risk levels correspond to lightweight protection strategies, which mainly fine-tune the transmission parameters; medium-risk levels correspond to steady-state protection strategies, which make significant adjustments to the link transmission parameters to enhance connection reliability; high-risk levels correspond to pre-switching protection strategies, which prepare for and execute link switching to avoid playback interruption.
[0077] Optionally, in one specific embodiment, when the playback control device determines that the playback risk level is the first risk level, it determines the playback protection strategy as the first protection strategy. The first protection strategy is a lightweight protection, designed to suppress further deterioration during the initial stage of risk escalation, while minimizing the impact on normal playback performance.
[0078] The first protection strategy includes at least one of the following operations: adjusting the communication aggregation length in the link state parameters according to the first protection strategy to obtain an updated aggregation length, and adjusting the priority of key playback data in the target playback data according to the first protection strategy to obtain an updated priority.
[0079] The aggregation length refers to the aggregation frame length of an A-MPDU, which is the number of subframes and the total number of bytes contained in an aggregation frame. Under normal circumstances, a larger aggregation length can improve transmission efficiency and throughput. However, in interference environments, the longer the aggregation frame, the higher the probability of the entire aggregation frame transmission failing. Once a failure occurs, the amount of data that needs to be retransmitted is also larger, leading to increased latency and accelerated buffer consumption.
[0080] Optionally, under the first protection strategy, the playback control device shrinks the communication aggregation length from the current value to the updated aggregation length. The shrinkage can be done by decreasing in fixed steps (e.g., reducing by 4 subframes each time), reducing by a preset ratio (e.g., reducing to 75% of the current value), or directly setting it to the preset upper limit of the first protection aggregation length. The specific value of the updated aggregation length can be determined based on the current interference level and aggregation failure parameters.
[0081] Optionally, key playback data refers to data types that have a significant impact on playback continuity, including but not limited to I-frame (keyframe) related data, data segments with high decoding dependence (such as reference frame data), playback control instructions (such as DRM licensing information, subtitle synchronization information), and other data that have a high impact on continuous playback.
[0082] Optionally, under the first protection strategy, the transmission priority of critical playback data can be increased, allowing it to enter a high-priority transmission queue first. Specifically, the access category of critical playback data can be mapped to a higher-priority queue, for example, critical playback data originally mapped to the AC_BE (Best Effort) queue can be remapped to the AC_VI (Video) or AC_VO (Voice) queue. At the same time, the transmission priority of non-critical business data (such as background downloads, system updates, log uploads, etc.) can be appropriately reduced to decrease the occupation of air interface resources by background services.
[0083] After performing the above operations, the terminal controls the playback of the target playback data according to the updated aggregation length and / or updated priority, obtaining the playback control result. By implementing lightweight protection actions such as communication aggregation length contraction and priority enhancement of key playback data under the first risk level, this embodiment can suppress the deterioration trend with a small performance cost during the initial stage of risk escalation. Aggregate length contraction reduces the probability of large aggregation packets failing as a whole under interference conditions, reducing the large number of retransmissions and latency spikes caused by the failure of large aggregation frames. Prioritizing key playback data ensures that key frame data can be transmitted preferentially when air interface resources are scarce, reducing the risk of the entire video segment being undecoded due to the loss of key frames. The lightweight protection design means that in most short-term fluctuation scenarios, the system only needs to execute the first protection strategy to maintain playback continuity, avoiding the performance loss caused by prematurely executing high-intensity protection.
[0084] Optionally, in other embodiments, after the playback control device performs playback control on the target playback data using the playback protection strategy, it also calculates the updated risk parameters corresponding to the playback control result. That is, after executing the playback protection strategy, the link status parameters and playback status parameters are continuously monitored, and the updated risk parameters are recalculated according to the method described above. The updated risk parameters reflect the actual risk status of the current connection after the protection strategy is executed.
[0085] Optionally, after obtaining the updated risk parameters, the playback control device may perform a link recovery operation if the updated risk parameters are lower than a preset recovery threshold.
[0086] Optionally, the preset recovery threshold can be equal to or lower than the risk threshold that triggers the protection action, thus forming a hysteresis range. For example, if the trigger threshold for the first risk level is T1, the corresponding recovery threshold can be set to T1-Δ, where Δ is the hysteresis margin. Setting the hysteresis range prevents the system from immediately exiting the protection state when the risk parameter just drops to near the threshold, avoiding frequent triggering and exiting of protection actions caused by repeated oscillations of the risk parameter near the threshold.
[0087] In a preferred embodiment, the link recovery operation is only performed after the updated risk parameter falls below a preset recovery threshold and remains below it for a preset duration. The preset duration is preferably between 2 and 5 seconds, but is not limited to this. This duration requirement further enhances the hysteresis effect, ensuring that the risk has truly subsided and that the improvement is not merely a temporary illusion.
[0088] Optionally, the link recovery operation includes at least one of the following: expanding the aggregation length (gradually restoring the previously shrunken A-MPDU aggregation length to a normal value), restoring the modulation and coding level (gradually restoring the previously reduced MCS level to a higher value), restoring the channel bandwidth (gradually restoring the previously shrunken channel bandwidth to a wider value), and exiting the critical playback data protection state (stopping the selective retransmission of critical playback data and restoring normal priority mapping and scheduling strategies).
[0089] Optionally, link recovery operations employ a gradual recovery method. Specifically, the increment step size during recovery is smaller than the decrement step size. For example, if the MCS level is downgraded by 2 levels under the second protection strategy, it will only be upgraded by 1 level at a time during recovery. The recovery duration is longer than the protection trigger duration. For instance, protection actions can be triggered immediately after the risk parameter reaches a threshold, while recovery operations require the risk parameter to remain below the recovery threshold for more than 3 seconds before execution begins. The purpose of gradual recovery is to prevent an immediate return to an aggressive configuration due to a short-term channel recovery, thereby suppressing parameter oscillations and frequent switching, and improving the long-term stability of the system.
[0090] In this embodiment, the playback control device responds to the playback control request and synchronously acquires the link status parameters and playback status parameters associated with the target playback data. This allows it to perceive the current network transmission conditions and the playback service operation status. Based on the link status parameters and playback status parameters, it predicts playback risk parameters within a preset time window. This enables the identification of abnormal playback trends before playback stuttering or connection interruption actually occurs, transforming traditional post-event remediation into pre-event prevention. This significantly improves the timeliness of risk identification. Furthermore, based on the playback protection strategy corresponding to the playback risk parameters, it performs playback control on the target playback data. It can adaptively match the protection strength according to the risk level, avoiding resource waste caused by over-protection under low risk and playback interruption caused by insufficient protection under high risk, thus balancing playback continuity and resource utilization efficiency.
[0091] like Figure 3 As shown, Figure 3 This is a flowchart illustrating an embodiment of the playback control method provided in this application, which performs playback control according to a second protection strategy. Figure 3 In the illustrated embodiment, the playback control method further includes steps 301 to 305: 301. If the playback risk level is the second risk level, the playback protection strategy is determined to be the second protection strategy; 302. Adjust the adjustment coding level and channel bandwidth in the link status parameters according to the second protection strategy to obtain updated link parameters; 303. Repeatedly send the key playback data in the target playback data to the target player according to the second protection strategy; 304. Adjust the packet sending rhythm parameter or priority mapping parameter in the playback status parameters according to the second protection strategy to obtain the updated playback parameters; 305. Perform playback control on the target playback data according to the updated link parameters and updated playback parameters to obtain the playback control result.
[0092] Based on the above embodiments, in this embodiment, when the playback control device determines the playback risk level to be the second risk level based on the playback risk parameters, it determines the playback protection strategy to be the second protection strategy. The second protection strategy is a steady-state protection strategy, designed to improve the reliability of the current connection when the link quality has significantly deteriorated. The protection strength of the second protection strategy is higher than that of the first protection strategy.
[0093] Optionally, the playback control device adjusts the modulation and coding level and channel bandwidth in the link status parameters according to the second protection strategy to obtain updated link parameters.
[0094] Optionally, the modulation and coding scheme (MCS) determines the modulation method and coding rate of the wireless signal. A higher MCS means a higher transmission rate but also requires higher channel quality, and demodulation failure is more likely to occur in environments with weak coverage and interference.
[0095] Optionally, channel bandwidth determines the available spectrum width for transmission. Wider channel bandwidth provides higher throughput but is also more susceptible to frequency-selective fading and adjacent channel interference.
[0096] Optionally, under the second protection strategy, the playback control device lowers the modulation and coding level to reduce the bit error rate and improve the demodulation success rate. For example, the current modulation and coding level can be lowered by one or more levels, or the highest available modulation and coding level can be directly limited. Simultaneously or optionally, the channel bandwidth can be reduced, for example, from 80MHz to 40MHz or 20MHz, to improve transmission reliability under frequency-selective fading conditions. The updated link parameters are the adjusted modulation and coding level and channel bandwidth.
[0097] Optionally, under the second protection strategy, the playback control device selectively repeats critical playback data. Selective repetition refers to sending additional redundant critical playback data within a short time window to increase the probability of the critical data successfully reaching the player. The emphasis here is on "selectivity," meaning that repetition is only performed on critical playback data, rather than indiscriminately transmitting all data. This allows for increased probability of critical data arrival while controlling air interface overhead.
[0098] That is, the playback control device marks the key playback data according to the player status, encoding frame type or upper-layer service tag to obtain key video tags, and repeatedly sends the key playback data marked with key video tags within a specified time window to obtain the playback control result.
[0099] Optionally, the identification and tagging of key playback data can be achieved using at least one of the following methods: Optionally, the first approach is to mark data based on the player's state. The player module determines which upcoming data is crucial for playback continuity based on the current playback state. For example, when the buffer depth is below a preset buffer threshold, the player module marks all upcoming video data as critical playback data; when the buffer depth has sufficient margin, it only marks I-frame related data and reference frame data as critical playback data.
[0100] Optionally, the second approach is to label frames based on their coded frame type. Video coding standards (such as H.264 / H.265 / AV1) define different types of coded frames. I-frames (Intra-coded Frames) can be decoded independently without relying on other frames, P-frames (Predictive-coded Frames) depend on preceding reference frames, and B-frames (Bi-predictive-coded Frames) depend on both preceding and following reference frames. I-frames and reference frames (P-frames referenced by other frames) are data types with high decoding dependencies and are marked as critical playback data; non-reference B-frames have lower decoding dependencies and are usually not marked as critical playback data.
[0101] Optionally, the third approach is to label data based on upper-layer business tags. The application layer can attach priority tags to specific business data. For example, Digital Rights Management (DRM) authorization information, subtitle synchronization information, and playback control signaling are marked as high-priority data by the application layer, and the system identifies these data as key playback data based on the upper-layer business tags.
[0102] Optionally, the marked key playback data carries a key video tag, which can be set in the header extension field of the data packet, the Quality of Service (QoS) tag field, or a dedicated priority identifier field, for network access devices to identify and schedule.
[0103] Optionally, the specified time window refers to the duration of repeated transmission, preferably from several hundred milliseconds to 1 second, but not limited to this. Within the specified time window, the network access device or playback terminal performs additional redundant transmissions of key playback data carrying key video markers. The number of repeated transmissions can be fixed (e.g., one extra transmission for each key data packet) or dynamically determined based on the current playback risk parameters (the higher the risk, the more repeated transmissions).
[0104] If the playback risk parameter does not increase further after the specified time window ends, retransmission will stop and normal transmission will resume. If the playback risk parameter continues to rise to the third risk level, the second protection strategy will be exited and the third protection strategy will be activated.
[0105] Optionally, the terminal adjusts the packet sending rhythm parameter or priority mapping parameter in the playback status parameters according to the second protection strategy to obtain updated playback parameters.
[0106] Optionally, the packet sending rhythm parameter refers to the packet sending interval and sending rate. Under the second protection strategy, the playback control device can appropriately adjust the packet sending rhythm, for example, speeding up the sending rhythm when critical playback data is due within a tight timeframe, and appropriately slowing down the rhythm to release air interface resources when sending non-critical data. The priority mapping parameter refers to the mapping relationship between service data and the transmission queue. Adjusting the priority mapping parameter can change the transmission priority allocation of different types of data. Updating the playback parameters means adjusting the packet sending rhythm parameter and / or priority mapping parameter.
[0107] Optionally, after performing the above operations, playback control is performed on the target playback data according to the updated link parameters and updated playback parameters to obtain the playback control result.
[0108] In this embodiment, the playback control device significantly improves connection reliability even when link quality has deteriorated significantly by performing steady-state protection actions such as downgrading the modulation and coding scheme (MCS), narrowing the channel bandwidth, selectively repeating critical playback data, and adjusting the packet transmission rhythm under the second risk level. Downgrading the MCS directly reduces the bit error rate, narrowing the channel bandwidth improves the ability to resist frequency-selective fading, selectively repeating data increases the arrival probability of critical data without significantly increasing air interface overhead, and adjusting the packet transmission rhythm further optimizes the allocation efficiency of air interface resources. Compared to schemes that directly perform link switching under the second risk level, this embodiment prioritizes mitigating risks by enhancing the current connection, avoiding unnecessary switching overhead and short-term interruptions introduced by switching, thereby improving playback stability during the playback of the target playback data.
[0109] like Figure 4 As shown, Figure 4 This is a flowchart illustrating an embodiment of the playback control method provided in this application, which performs playback control according to a third protection strategy. Figure 4 In the illustrated embodiment, the playback control method further includes steps 401 to 403: 401. If the playback risk level is the third risk level, the playback protection strategy is determined to be the third protection strategy; 402. Obtain candidate access data corresponding to the third protection strategy, and calculate the switching benefit data and switching loss data of the target playback data according to the third protection strategy; 403. If the switching gain data is greater than the switching loss data, then link switching processing is performed according to the third protection strategy and the candidate access data to obtain the playback control result.
[0110] Based on the above embodiments, in this embodiment, when the playback control device determines the playback risk level to be the third risk level based on the playback risk parameters, it determines the playback protection strategy to be the third protection strategy. The third protection strategy is a pre-switching protection, which aims to migrate the playback service to a link with better quality through link switching when the current link quality has seriously deteriorated and it is difficult to guarantee playback continuity by enhancing the current connection.
[0111] Optionally, candidate access data refers to pre-maintained information used to support link switching. In one embodiment, candidate access data is pre-maintained when the playback risk parameter enters the second risk level to ensure that the preparations required for switching are completed when the risk escalates to the third risk level, thereby shortening the switching latency.
[0112] Optionally, candidate access data may include, but is not limited to, at least one of the following: candidate Basic Service Set Identifier (BSSID), candidate frequency band information (such as available channels in the 2.4 GHz band or 5 GHz band), neighbor access point information (including signal strength, load status and capability information of candidate access points), association preparation information (including authentication context, security key pre-distribution information, etc.), and cache status information (including data cache status of the current access point and candidate access points).
[0113] Optionally, handover benefit data is used to quantify the degree of improvement brought about by link handover. Handover benefit data includes, but is not limited to, at least one of the following: the expected improvement in link quality after handover (estimated based on the signal strength and load of the candidate access point), the expected buffer recovery speed after handover (calculated based on the expected throughput of the candidate link, the time required for the buffer to recover to a safe level), and the ability to guarantee the arrival of critical playback data after handover (assessed based on the expected transmission reliability of the candidate link).
[0114] Optionally, handover loss data is used to quantify the cost introduced by link handover. Handover loss data includes, but is not limited to, at least one of the following: handover-introduced latency (including the time required for processes such as deauthentication, re-association, authentication handshake, and DHCP address acquisition), authentication association overhead (including the computing resources and time required for security authentication), and short-term playback interruption risk (the probability that the buffer may be exhausted during handover, causing a brief stutter).
[0115] Optionally, after the playback control device acquires the switching gain data and switching loss data, it performs link switching processing when it determines that the switching gain data is greater than the switching loss data. In one optional implementation, it is also required that the switching gain data is greater than a preset gain threshold to avoid a situation where the switching gain is slightly greater than the switching loss but the overall improvement is insufficient to justify the switching.
[0116] Optionally, when the playback control device performs link switching, it can quickly complete the association and authentication process with the target access point using pre-maintained candidate access data. Since the association preparation information and authentication context in the candidate access data are already prepared in advance, the authentication and association latency during the switching process can be significantly shortened, thereby reducing playback interruption time during the switching process.
[0117] Optionally, if the switching gain data is not greater than the switching loss data, the link switch will not be performed. Instead, the current connection will be maintained and the second protection strategy will continue to be implemented or a better candidate access point will be tried.
[0118] Optionally, in this embodiment, the playback control device significantly shortens the switching latency by pre-maintaining candidate access data and performing a quantitative comparison of gains and losses before switching. This minimizes playback interruption time during the switching process and reduces the risk of stuttering caused by switching. The comparison mechanism between switching gains and losses effectively avoids invalid and frequent switching—switching is only performed when it truly brings significant improvement, preventing additional latency and playback instability caused by repeated switching between multiple access points.
[0119] To better implement the playback control method in the embodiments of this application, a playback control device is also provided in the embodiments of this application, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of one embodiment of the playback control device provided in this application. Specifically, the playback control device 500 includes: The information acquisition module 501 is configured to respond to a playback control request for target playback data and acquire the link status parameters associated with the target playback data and the playback status parameters of the target playback data. The risk assessment module 502 is configured to assess the playback risk parameters of the target playback data based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for assessing the risk of playback abnormalities in the target playback data within a future preset time window. The playback control module 503 is configured to perform playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter, and obtain the playback control result.
[0120] In one possible implementation of this embodiment, the playback control device evaluates the playback risk parameters of the target playback data based on the link status parameters and the playback status parameters, including: Based on the first time window, the link state parameters are extracted to obtain the link state features; Based on the second time window, the playback status parameters are extracted to obtain playback status features; Calculate playback risk parameters based on the link status characteristics and the playback status characteristics.
[0121] In one possible implementation of this embodiment, the playback control device calculates playback risk parameters based on the link state characteristics and the playback state characteristics, including: Obtain the link weight information corresponding to the link status feature, and the playback weight information corresponding to the playback status feature; The link state features are weighted using the link weight information to obtain weighted link features; The playback state features are weighted using the playback weight information to obtain weighted playback features; Playback risk parameters are determined based on the weighted link characteristics, weighted playback characteristics, and switching evaluation characteristics.
[0122] In one possible implementation of this embodiment, the playback control device performs playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter, and obtains a playback control result, including: The playback risk level of the target playback data is determined based on the playback risk parameters and the playback risk thresholds and / or risk assessment conditions corresponding to each playback risk level. Playback control is performed on the target playback data according to the playback protection strategy corresponding to the playback risk level, and the playback control result is obtained.
[0123] In one possible implementation of this embodiment, the playback control device performs playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtains a playback control result, including: If the playback risk level is the first risk level, the playback protection strategy is determined to be the first protection strategy; The communication aggregation length in the link state parameters is adjusted according to the first protection strategy to obtain the updated aggregation length; And / or, according to the first protection strategy, the key playback data in the target playback data is prioritized to obtain an updated priority; Playback control is performed on the target playback data according to the update aggregation length and / or the update priority to obtain the playback control result.
[0124] In one possible implementation of this embodiment, the playback control device performs playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtains a playback control result, including: If the playback risk level is the second risk level, the playback protection strategy is determined to be the second protection strategy; The adjustment coding level and channel bandwidth in the link state parameters are adjusted according to the second protection strategy to obtain updated link parameters; And / or, in accordance with the second protection strategy, repeatedly send key playback data from the target playback data to the target player; And / or, adjust the packet sending rhythm parameter or priority mapping parameter in the playback status parameters according to the second protection strategy to obtain updated playback parameters; Playback control is performed on the target playback data according to the updated link parameters and updated playback parameters to obtain the playback control result.
[0125] In one possible implementation of this embodiment, the playback control device repeatedly sends key playback data from the target playback data to the target player according to the second protection strategy, including: The key playback data is marked according to the player status, encoding frame type, or upper-layer service tag to obtain key video tags; Within a specified time window, key playback data marked with key video tags is repeatedly sent to obtain playback control results.
[0126] In one possible implementation of this embodiment, the playback control device performs playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtains a playback control result, including: If the playback risk level is the third risk level, the playback protection strategy is determined to be the third protection strategy; Obtain candidate access data corresponding to the third protection strategy, and calculate the switching benefit data and switching loss data of the target playback data according to the third protection strategy; If the switching gain data is greater than the switching loss data, then link switching processing is performed according to the third protection strategy and the candidate access data to obtain the playback control result.
[0127] In one possible implementation of this embodiment, after the playback control device performs playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter and obtains the playback control result, it further includes: Calculate the update risk parameters corresponding to the playback control results; When the updated risk parameter is lower than the preset recovery threshold, a link recovery operation is performed. The link recovery operation includes any one or more of the following: increasing the aggregation length, restoring the modulation and coding level, restoring the channel bandwidth, and exiting the critical video data protection state.
[0128] In this embodiment, the playback control device responds to playback control requests and synchronously acquires the link status parameters and playback status parameters associated with the target playback data. This allows it to perceive the current network transmission conditions and the playback service operation status. Based on the link status parameters and playback status parameters, it predicts playback risk parameters within a preset time window. This enables the identification of abnormal playback trends before playback stuttering or connection interruption actually occurs, transforming traditional post-event remediation into pre-event prevention. This significantly improves the timeliness of risk identification. Furthermore, based on the playback protection strategy corresponding to the playback risk parameters, it performs playback control on the target playback data. It can adaptively match the protection strength according to the risk level, avoiding resource waste caused by over-protection under low risk and playback interruption caused by insufficient protection under high risk, thus balancing playback continuity and resource utilization efficiency.
[0129] This invention also provides a playback control device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of one embodiment of the playback control device provided in this application.
[0130] The playback control device integrates any of the playback control devices provided in the embodiments of the present invention, and the playback control device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the playback control method described in any of the above-described playback control method embodiments.
[0131] Specifically, the playback control device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The playback control device structure shown does not constitute a limitation on the playback control device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 601 is the control center of the playback control device. It connects various parts of the playback control device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data of the playback control device, thereby providing overall monitoring of the playback control device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0132] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and playback control by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the playback control device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0133] The playback control device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0134] The playback control device may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0135] Although not shown, the playback control device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the playback control device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows: In response to a playback control request for target playback data, obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback risk parameters of the target playback data are evaluated based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for evaluating the risk of playback abnormalities in the target playback data within a future preset time window. Based on the playback protection strategy corresponding to the playback risk parameters, playback control is performed on the target playback data to obtain the playback control result.
[0136] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the playback control methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps: In response to a playback control request for target playback data, obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback risk parameters of the target playback data are evaluated based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for evaluating the risk of playback abnormalities in the target playback data within a future preset time window. Based on the playback protection strategy corresponding to the playback risk parameters, playback control is performed on the target playback data to obtain the playback control result.
[0137] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0138] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0139] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0140] The above provides a detailed description of a playback control method provided by the embodiments of this application. Specific embodiments have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A playback control method, characterized in that, The playback control method includes: In response to a playback control request for target playback data, obtain the link status parameters associated with the target playback data and the playback status parameters of the target playback data; The playback risk parameters of the target playback data are evaluated based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for evaluating the risk of playback abnormalities in the target playback data within a future preset time window. Based on the playback protection strategy corresponding to the playback risk parameters, playback control is performed on the target playback data to obtain the playback control result.
2. The playback control method according to claim 1, characterized in that, The step of evaluating the playback risk parameters of the target playback data based on the link state parameters and the playback state parameters includes: Based on the first time window, the link state parameters are extracted to obtain the link state features; Based on the second time window, the playback status parameters are extracted to obtain playback status features; Calculate playback risk parameters based on the link status characteristics and the playback status characteristics.
3. The playback control method according to claim 2, characterized in that, The calculation of playback risk parameters based on the link state characteristics and the playback state characteristics includes: Obtain the link weight information corresponding to the link status feature, and the playback weight information corresponding to the playback status feature; The link state features are weighted using the link weight information to obtain weighted link features; The playback state features are weighted using the playback weight information to obtain weighted playback features; Playback risk parameters are determined based on the weighted link characteristics, the weighted playback characteristics, and the switching evaluation characteristics.
4. The playback control method according to claim 1, characterized in that, The playback control of the target playback data based on the playback protection strategy corresponding to the playback risk parameter, to obtain the playback control result, includes: The playback risk level of the target playback data is determined based on the playback risk parameters and the playback risk thresholds and / or risk assessment conditions corresponding to each playback risk level. Playback control is performed on the target playback data according to the playback protection strategy corresponding to the playback risk level, and the playback control result is obtained.
5. The playback control method according to claim 4, characterized in that, The step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtaining the playback control result, includes: If the playback risk level is the first risk level, the playback protection strategy is determined to be the first protection strategy; The communication aggregation length in the link state parameters is adjusted according to the first protection strategy to obtain the updated aggregation length; And / or, according to the first protection strategy, the key playback data in the target playback data is prioritized to obtain an updated priority; Playback control is performed on the target playback data according to the update aggregation length and / or the update priority to obtain the playback control result.
6. The playback control method according to claim 4, characterized in that, The step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtaining the playback control result, includes: If the playback risk level is the second risk level, the playback protection strategy is determined to be the second protection strategy; The adjustment coding level and channel bandwidth in the link state parameters are adjusted according to the second protection strategy to obtain updated link parameters; And / or, in accordance with the second protection strategy, repeatedly send key playback data from the target playback data to the target player; And / or, adjust the packet sending rhythm parameter or priority mapping parameter in the playback status parameters according to the second protection strategy to obtain updated playback parameters; Playback control is performed on the target playback data according to the updated link parameters and updated playback parameters to obtain the playback control result.
7. The playback control method according to claim 6, characterized in that, The step of repeatedly sending key playback data from the target playback data to the target player according to the second protection strategy includes: The key playback data is marked according to the player status, encoding frame type, or upper-layer service tag to obtain key video tags; Within a specified time window, key playback data marked with key video tags is repeatedly sent to obtain playback control results.
8. The playback control method according to claim 4, characterized in that, The step of performing playback control on the target playback data according to the playback protection strategy corresponding to the playback risk level, and obtaining the playback control result, includes: If the playback risk level is the third risk level, the playback protection strategy is determined to be the third protection strategy; Obtain candidate access data corresponding to the third protection strategy, and calculate the switching benefit data and switching loss data of the target playback data according to the third protection strategy; If the switching gain data is greater than the switching loss data, then link switching processing is performed according to the third protection strategy and the candidate access data to obtain the playback control result.
9. The playback control method according to any one of claims 1-8, characterized in that, After performing playback control on the target playback data based on the playback protection strategy corresponding to the playback risk parameter and obtaining the playback control result, the method further includes: Calculate the update risk parameters corresponding to the playback control results; When the updated risk parameter is lower than the preset recovery threshold, a link recovery operation is performed. The link recovery operation includes any one or more of the following: increasing the aggregation length, restoring the modulation and coding level, restoring the channel bandwidth, and exiting the critical video data protection state.
10. A playback control device, characterized in that, The playback control device includes: The information acquisition module is configured to respond to a playback control request for target playback data and acquire the link status parameters associated with the target playback data and the playback status parameters of the target playback data. The risk assessment module is configured to assess the playback risk parameters of the target playback data based on the link status parameters and the playback status parameters. The playback risk parameters are assessment parameters for assessing the risk of playback abnormalities in the target playback data within a future preset time window. The playback control module is configured to control the playback of the target playback data based on the playback protection strategy corresponding to the playback risk parameter, and obtain the playback control result.
11. A playback control device, characterized in that, The playback control device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the playback control method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the playback control method according to any one of claims 1 to 9.
