Video processing methods, apparatus, devices, storage media, and computer programs

The method and apparatus enhance video processing systems by notifying users of offline playback and enabling cached video playback, addressing the challenge of lost network connectivity and improving user experience.

JP2026525179APending Publication Date: 2026-07-29BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2025-02-07
Publication Date
2026-07-29

AI Technical Summary

Technical Problem

Existing video processing systems fail to effectively notify users about offline playback modes when network connectivity is lost, leading to a poor user experience as users often abandon video playback without understanding how to continue watching cached content.

Method used

A method and apparatus that display video playback notification information to trigger offline playback mode when no network connection is detected, allowing users to play pre-cached videos and enabling interaction operations, with automatic caching options when no cached content is available.

Benefits of technology

Enhances user experience by allowing seamless playback of cached videos and interaction capabilities offline, reducing the effort required to find cached content and improving overall video viewing experience during network outages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026525179000001_ABST
    Figure 2026525179000001_ABST
Patent Text Reader

Abstract

This disclosure provides a video processing method, apparatus, device, and storage medium, the method comprising the following: First, in response to a message indicating that there is no network connection, video playback notification information is displayed on the target page, where the video playback notification information is used to notify the user that the network connection is triggered to enter offline playback mode and play the video; and in response to a pre-configured trigger operation acting on the target page, offline playback mode is entered and the video is played on the target page based on a target video stream, where the target video stream includes a pre-cached video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0004] , , , , ,

[0006] , , , , , , , , , , ,

[0003] ,

[0005] ,

[0001] [Cross - reference to Related Applications] This application claims the priority of Chinese Patent Application No. 202410733661.9 filed on June 6, 2024. All of the content of the said application is incorporated herein by reference.

[0002] [Technical Field] This disclosure relates to the field of data processing, and particularly to video processing methods, apparatuses, devices, and storage media.

Background Art

[0003] With the continuous development of network technology, users' needs for video - related interaction functions are becoming increasingly diverse.

[0004] Therefore, how to enrich the interaction methods related to video processing and meet the diverse needs of growing users has currently become a technical problem that urgently needs to be solved.

Summary of the Invention

[0005] To solve the above - mentioned technical problems, embodiments of this disclosure provide a video processing method, apparatus, device, and storage media.

[0006] According to a first aspect, this disclosure provides a video processing method, the method comprising: displaying video playback notification information for notifying a user to trigger to enter an offline playback mode to play a video in a target page in response to a message indicating that the network is down; entering the offline playback mode in response to a preset trigger operation acting on the target page, and playing a target video based on a target video stream including a pre - cached video in the target page.

[0007] In one optional embodiment, the video playback notification information includes an offline playback trigger control, and in response to a pre-configured trigger operation acting on the target page, the system enters the offline playback mode. In response to a trigger operation on the offline playback trigger control, enter the offline playback mode. and / or, This includes entering the offline playback mode in response to a pre-configured swipe operation performed on the target page.

[0008] In one optional embodiment, the method is: The system further includes switching and playing videos based on pre-cached videos in response to a pre-configured video switching operation for the target video.

[0009] In one optional embodiment, the target page playing the target video displays an offline playback end control, and the method is: In response to a trigger operation for the offline playback termination control, the system further includes terminating the offline playback mode and displaying the video playback notification information on the target page.

[0010] In one optional embodiment, after playing the target video on the target page based on the target video stream, the method: In response to detecting a message indicating that a network connection has been established, the system further includes retrieving a recommended video stream. Accordingly, in response to the aforementioned pre-configured video switching operation for the target video, switching and playing the video based on the pre-cached video is, This includes switching and playing a video based on the recommended video stream in response to a pre-configured video switching operation for the target video.

[0011] In one optional embodiment, displaying video playback notification information on the target page in response to the message indicating that a network out-of-service state has been reached is: In response to the message indicating no network connection, check whether a pre-cached video exists, and This includes, if it is confirmed that a pre-cached video exists, displaying video playback notification information on the target page.

[0012] In one optional embodiment, the method is: If it is determined that no pre-cached video exists, the system further includes displaying a cache-on notification on the target page, wherein the cache-on notification is used to notify the system to turn on the automatic video caching function, and the automatic video caching function is used to automatically cache the video under the target network conditions.

[0013] In one optional embodiment, the method is: The further includes controlling the automatic video caching function to be turned on in response to a cache-on operation triggered by the cache-on notification information.

[0014] In one optional embodiment, if it is determined that no pre-cached video exists, the cache-on notification information is displayed on the target page. If it is determined that no pre-cached videos exist, it will check whether the current user has enabled the automatic video caching function, If it is determined that the current user has not enabled the automatic video caching function, the system includes displaying a cache-on notification on the target page.

[0015] In one optional embodiment, the method is: If it is confirmed that the current user has turned on the automatic video caching function, the target page further includes displaying notification information indicating that it has been turned on, wherein the notification information indicating that it has been turned on is used to inform the current user that the automatic video caching function is turned on.

[0016] In one optional embodiment, after playing the target video on the target page based on the target video stream, the method: The process further includes recording interaction data corresponding to a target interaction operation triggered on the target video, wherein the interaction data is used to be synchronized with the service when a network is available.

[0017] According to a second aspect, the present disclosure further provides a video processing apparatus, the apparatus is A first display module for displaying video playback notification information to notify the user that the target page will be triggered to enter offline playback mode and play the video in response to a message indicating that there is no network connection, The system includes an offline playback module that, in response to a pre-configured trigger operation acting on the target page, enters the offline playback mode and plays the target video on the target page based on a target video stream that includes a pre-cached video.

[0018] According to a third aspect, the disclosure provides a computer-readable storage medium in which, when executed on a terminal device, instructions causing the terminal device to implement the above method are stored.

[0019] According to a fourth aspect, the present disclosure provides a video processing device, the video processing device including a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the above method is implemented.

[0020] According to a fifth aspect, the present disclosure provides a computer program product including a computer program / instruction that, when executed by a processor, implements the above method.

[0021] The drawings are incorporated into the specification and form a part of the specification, showing embodiments suitable for the present disclosure and used together with the specification to interpret the principles of the present disclosure.

[0022] To more clearly explain the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that need to be used in the following description of the embodiments or the prior art are briefly introduced. It is self-evident that those skilled in the art can also obtain other drawings based on these drawings on the premise of not paying creative labor.

Brief Description of the Drawings

[0023] [Figure 1] It is a flowchart of a video processing method according to an embodiment of the present disclosure. [Figure 2] It is a schematic diagram of a target page according to an embodiment of the present disclosure. [Figure 3] It is a schematic diagram of another target page according to an embodiment of the present disclosure. [Figure 4] It is a schematic diagram of yet another target page according to an embodiment of the present disclosure. [Figure 5] It is a schematic diagram of another target page according to an embodiment of the present disclosure. [Figure 6] It is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure. [Figure 7] It is a schematic structural diagram of a video processing device according to an embodiment of the present disclosure.

Modes for Carrying Out the Invention

[0024] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the methods of this disclosure are further described below. The embodiments and features of the embodiments of this disclosure can be combined with each other, as long as they do not contradict each other.

[0025] Many details are specifically described below in order to fully understand this disclosure, but this disclosure may be implemented in a different form than that described herein, and obviously the examples in this specification are only a selection of examples, not all examples, of this disclosure.

[0026] "No network connection" indicates that the current device is in an environment without a network connection. Specifically, this state can be caused by factors such as the device's own network connection being disconnected.

[0027] Currently, users have a low understanding of offline playback mode. Many users abandon video playback when their device loses network connectivity during playback, partly because the entry that triggers the offline playback mode is hidden. Therefore, improving the user's video viewing experience without network connectivity by notifying them of the trigger that initiates offline playback mode is an urgent technical challenge that needs to be addressed.

[0028] Therefore, embodiments of the present disclosure provide a video processing method, specifically, first, in response to a message indicating that there is no network connection, display video playback notification information on the target page, where the video playback notification information is used to notify the user that the network connection is triggered to enter offline playback mode and play the video, and then, in response to a pre-configured trigger operation acting on the target page, enter offline playback mode and play the video on the target page based on a target video stream, where the target video stream includes a pre-cached video.

[0029] Embodiments of this disclosure support a function that notifies the user when entering offline playback mode to play a video when there is no network connection, and provide a way to easily enter offline playback mode to make it easier for the user to trigger playback of cached video when there is no network connection, thereby improving the user's video viewing experience when there is no network connection by reducing the cost for the user to search for cached video playback entries when there is no network connection.

[0030] Specifically, the embodiments of this disclosure provide a video processing method, and referring to Figure 1, is a flowchart of the video processing method according to the embodiments of this disclosure, which specifically includes the following:

[0031] S101, in response to a message indicating no network connection, displays video playback notification information on the target page.

[0032] Here, the video playback notification information is used to notify the user that the system is entering offline playback mode and will be triggered to play the video when there is no network connection.

[0033] The video processing method according to the embodiments of this disclosure may be used by a client, specifically, the client may be deployed on a terminal such as a smartphone, tablet PC, or desktop PC.

[0034] In embodiments of this disclosure, the target page may be any one of the pages displayed during the execution of the application program. Specifically, the target page may be a video playback page, for example, a recommended video stream playback page. Alternatively, the target page may be a page that is triggered and displayed during a cold boot of the application program, for example, a page that is triggered and displayed during a cold boot may be a recommended video stream playback page.

[0035] In embodiments of this disclosure, the "no network" state is used to indicate that the current device is in a state of no network or a state of poor network conditions that prevent it from receiving a video stream transmitted from the service provider. The current device being in a "no network" state may also refer to a state in which the current device is unable to receive a video stream transmitted from the service provider due to network problems.

[0036] In embodiments of this disclosure, when a notification message is received indicating that the current device is in a network-less state, video playback notification information may be displayed on the target page, where the video playback notification information may be used to notify the user that the device is in a network-less state and will be triggered to enter offline playback mode and play a video.

[0037] Specifically, the video playback notification information may include notification information to indicate that the current device is in a network-less state. The video playback notification information may also further include a functional description of the offline playback mode to introduce its functional details, facilitating the user's understanding of the offline playback mode. Furthermore, the video playback notification information may further include a functional entry for the offline playback mode, facilitating the user's location of the functional entry through the functional entry description.

[0038] The video playback notification information may also include an offline playback trigger control, which is used to trigger the entry into offline playback mode and to play the video based on a pre-cached video.

[0039] In one application scenario, if a message indicating that the current device has lost network connectivity is detected while a video is playing on the target page, the system will trigger an offline playback mode, allowing the user to continue playing the video based on pre-cached footage. This video playback notification will then be displayed on the target page.

[0040] In another application scenario, an application program displays a target page during a cold boot. If a message indicating that the current device is out of network mode is detected during the cold boot, the target page displayed during the cold boot will trigger an offline playback mode for the out-of-network state. This will display video playback notification information to inform the user that video playback can begin based on pre-cached video.

[0041] As shown in Figure 2, this is a schematic diagram of a target page according to an embodiment of the present disclosure. The target page displays video playback notification information, specifically including notification information indicating that the current device is in a no-network state, such as "Network error, XXXXXXXX", offline playback mode function description information 201, offline playback mode function entry 202, and offline playback trigger control 203.

[0042] S102, In response to a pre-set trigger operation acting on the target page, enter the offline playback mode and play the target video on the target page based on the target video stream.

[0043] Here, the target video stream includes pre-cached video.

[0044] In the embodiments of this disclosure, the pre-cached video refers to a series of videos that have been downloaded to the cache under normal network conditions in order to play the video in offline playback mode when there is no network connection.

[0045] In embodiments of this disclosure, when a pre-configured trigger operation acting on a target page is received, the application program is controlled to enter offline playback mode, and in offline playback mode, the user may play a video using a pre-cached video. Specifically, the target page plays a target video based on a target video stream, where the pre-cached videos are used to constitute the target video stream, and the target video refers to any one of the videos in the target video stream, for example, the playback order of each video in the target video stream may be determined based on the cached time, for example, the older the cached time, the earlier the playback position of the corresponding video in the target video stream, where the target video may be the video in the target video stream with the oldest cached time (i.e., the first to be cached).

[0046] In one optional embodiment, the pre-configured trigger operation acting on the target page may be a trigger operation on an offline playback trigger control, specifically, when the offline playback trigger control is triggered, offline playback mode is entered and the target video is played on the target page based on the target video stream.

[0047] In the target page shown in Figure 2 above, the video playback notification information includes an offline playback trigger control 203. When the user triggers the offline playback trigger control 203, the application program enters offline playback mode and plays video A on the target page based on the target video stream. Video A belongs to a pre-cached video.

[0048] In another optional embodiment, the pre-configured trigger operation acting on the target page may be a pre-configured swipe operation on the target page, and specifically, a pre-configured swipe indicator may be displayed on the target page to notify the user that a pre-configured swipe operation on the target page has been triggered, and specifically, when a pre-configured swipe operation acting on the target page is received, the system enters offline playback mode.

[0049] In the target page shown in Figure 2 above, a pre-configured swipe indicator 204 is displayed on the target page. When a pre-configured swipe operation is triggered, the application program enters offline playback mode and plays a video on the target page based on the target video stream.

[0050] In practical applications, during the process of playing a pre-cached video on the target page, an offline playback termination control may be displayed on the target page to support a function that triggers the end of offline playback mode. Furthermore, offline playback mode information may be displayed within the display area of ​​the offline playback termination control to notify the user that they are currently in offline playback mode.

[0051] In one optional embodiment, when a trigger operation is received for the offline playback end control displayed on the target page, the offline playback mode is terminated, the playback of the currently playing video is paused, and the playback order information of the video in the target video stream is recorded. This ensures that the current user can continue playback based on the video when triggered to re-enter offline playback mode, guaranteeing the user's offline video playback experience. Alternatively, when a trigger operation is received for the offline playback end control displayed on the target page, the target page is switched from a video playback state to a state displaying video playback notification information, i.e., the content displayed on the target page is updated, and the currently playing video content is updated to video playback notification information.

[0052] In one optional embodiment, when a trigger operation is received for the offline playback termination control, the playback order information of the currently playing video in the target video stream is recorded, and the offline playback mode is terminated. At this time, video playback notification information is displayed on the target page. If the user triggers the system again in the above scene and enters offline playback mode again, the target page continues to play the video based on the target video stream, using the playback order information of the recently recorded video in the target video stream, thereby realizing a video playback continuation function based on the target video stream.

[0053] Furthermore, based on the above embodiment, when a trigger operation for the offline playback termination control is received, playback progress information of the video being played may be recorded, enabling a video playback continuation function based on the video playback progress information, thereby further improving the user's offline video playback experience.

[0054] As shown in Figure 3, this is a schematic diagram of a target page according to an embodiment of the present disclosure. Video A is playing on the target page, and Video A is played based on the target video stream. An offline playback end control 301 is further displayed on the target page, and within the display area of ​​the offline playback end control 301, offline playback mode information "Offline Playback" is displayed to notify the user that the user is currently in offline playback mode. When the offline playback end control 301 displayed on the target page is triggered, the application program exits offline playback mode, pauses the playback of the currently playing video, and switches from the target page in the video playback state to the target page in the state displaying video playback notification information. When triggered and offline playback mode is entered again, the program continues to play the video on the target page based on the playback progress information of the video that was being played.

[0055] In practical applications, during the process of playing a target video on a target page based on a target video stream, in order to support the user being able to trigger a target interaction operation on the video being played in offline playback mode, embodiments of this disclosure may display interaction components for the video on the target page during the process of playing a pre-cached video on the target page, so as to support the user being able to trigger a corresponding target interaction operation on the video. Here, interaction components may include a Like component, a Comment Viewing component, a Favorites component, and a Comment Input component. In the target page shown in Figure 2 above, interaction components are displayed on the target page, as shown in the Like component 205.

[0056] In one optional embodiment, when a target interaction operation is triggered on the video during playback of a pre-cached video on a target page, interaction data corresponding to the target interaction operation is recorded. This interaction data is then synchronized with the service when the current device becomes networked, thereby realizing the video's interaction functionality. As can be seen from the above, the embodiments of this disclosure support enabling users to trigger online interaction operations even in offline playback mode, further improving the user's offline video playback experience.

[0057] Here, the target interaction operation includes interaction operations such as the "like" operation, the comment viewing operation, the "favorite" operation, and the comment input operation. Here, the interaction data corresponding to the "like" operation may specifically be "like" data, or specifically, for example, the addition of "like" data. The interaction data corresponding to the comment viewing operation may specifically be comment information carried in the target video, and the comment information carried in the target video is cached in advance based on the target video. The interaction data corresponding to the "favorite" operation may specifically be "favorite" data, or specifically, for example, the addition of "favorite" data. The interaction data corresponding to the comment input operation may specifically be comment input information, or specifically, for example, comment information entered by the current user based on the comment input box. The interaction data corresponding to the target interaction operation is interaction data generated based on the trigger of the target interaction operation.

[0058] Furthermore, when pre-caching comment information carried by a target video based on the target video, the embodiments of this disclosure may set a pre-configured comment cache threshold for the number of comment information items carried by the target video to cache, specifically, for example, 20 items. For example, based on the pre-cached comment viewing component of the target video, the comment information cache corresponding to the comment viewing component is controlled to 20 comment items.

[0059] In actual applications, to support the triggering of video switching playback functionality in offline playback mode, an embodiment of this disclosure, when a pre-configured playback switching operation trigger is received for the currently playing video on the target page, performs a video switch based on a pre-configured cached video, thereby realizing video switching playback functionality in offline playback mode.

[0060] Specifically, in the process of playing a target video stream based on a target page, if a pre-configured playback switching operation trigger is received for the currently playing video, the system switches from the currently playing video to the next adjacent video based on a pre-configured cached video, and this next video is the video adjacent to the currently playing video. In other words, the embodiments of this disclosure support a function that allows the current user to switch videos based on a pre-configured cached video in offline playback mode when there is no network connection.

[0061] In practical applications, during the process of playing a video on a target page based on a target video stream, if it is detected that the currently playing video is the last video in the target video stream, a notification will be displayed on the target page to inform the user that playback of the pre-cached video has finished.

[0062] Based on the above video switching, when a message indicating that a network connection has been established is received, the service retrieves a recommended video stream. When a pre-configured playback switching operation is received for the currently playing video, the system switches from offline playback mode to online playback mode and performs video switching playback based on the recommended video stream. Specifically, performing video switching playback based on the recommended video stream may include inserting the video from the recommended video stream after the currently playing video in the target video stream, thereby realizing the video playback function based on the recommended video stream.

[0063] Here, a pre-configured playback switching operation for the currently playing video may include a pre-configured swipe operation for the currently playing video.

[0064] Furthermore, in order to notify the user that the current device is already networked, the embodiments of this disclosure may display network status information on the target page during the process of playing a video based on a recommended video stream. For example, the network status information may be notification information such as "Network connection has been restored. We recommend the latest content."

[0065] As shown in Figure 4, this is a schematic diagram of a target page according to an embodiment of the present disclosure. When a message indicating that a network connection has been established is received, the service retrieves a recommended video stream, and when a pre-configured playback switching operation is received for the currently playing video, it switches from offline playback mode to online playback mode, switches the playback of video A based on the target video stream to playback of video B based on the recommended video stream on the target page, and displays network status information on the target page, "Network connection has been restored. We recommend the latest content."

[0066] In the video processing method according to the embodiment of the present disclosure, first, in response to a message indicating that there is no network connection, video playback notification information is displayed on the target page, where the video playback notification information is used to notify the user that the system is triggered to enter offline playback mode and play the video in the state of no network connection, and then, in response to a pre-configured trigger operation acting on the target page, the system enters offline playback mode and plays the video on the target page based on the target video stream, where the target video stream includes a pre-cached video.

[0067] Embodiments of this disclosure support a function that notifies the user when entering offline playback mode to play a video when there is no network connection, and provide a way to easily enter offline playback mode to make it easier for the user to trigger playback of cached video when there is no network connection, thereby improving the user's video viewing experience when there is no network connection by reducing the cost for the user to search for cached video playback entries when there is no network connection.

[0068] Based on the above embodiment, when the embodiment of this disclosure detects a message indicating that there is no network connection, it first detects whether or not a pre-cached video exists in the local storage space of the current device, that is, whether or not the current device has cached a video in advance. If it is confirmed that a pre-configured cached video exists, it displays video playback notification information on the target page in the no-network state and notifies the user that it will enter offline playback mode and trigger the playback of the video.

[0069] In one optional embodiment, if it is determined that no pre-cached video exists in the current device's local memory, a cache-on notification is displayed on the target page in the no-network state, where the cache-on notification is used to notify the user that the automatic video caching function is being triggered. The cache-on notification may include notification information indicating that the current device is in a no-network state, and may further include a function entry for offline playback mode, making it easier for the user to locate the cache-on function entry through the function entry description information. The cache-on notification may also further include a function description information for the cache-on function to introduce the details of the cache-on function, making it easier for the user to understand the cache-on function. The automatic video caching function is used to automatically cache videos in the target network state, which may be, for example, a WIFI network connection state.

[0070] In another optional embodiment, if it is determined that no pre-cached videos exist in the current device's local storage space, the system first detects whether the current user has turned on the automatic video caching function. If it is determined that the current user has not turned on the automatic video caching function, it displays a cache-on notification on the target page in network-less mode to notify the user that it will trigger the automatic video caching function to be turned on. After the automatic video caching function is turned on, the target device can automatically cache a predetermined number of videos.

[0071] As shown in Figure 5, this is a schematic diagram of a target page according to an embodiment of the present disclosure. The target page displays cache-on notification information, "Network error, XXXXXXXX", and a function description information 501 of the cache-on function, where the cache-on notification information includes notification information to indicate that the current device is in a no-network state.

[0072] Based on the above, when displaying cache-on notification information on the target page, the embodiments of this disclosure may also support the user triggering the video auto-caching function on the target page in order to simplify the interaction path and facilitate the user to quickly turn on the video auto-caching function.

[0073] Specifically, when a cache-on operation triggered by a cache-on notification is received, the automatic video caching function is controlled to be turned on, enabling automatic video caching when a network connection is available.

[0074] Here, the automatic video caching function is used to automatically cache the video under the target network conditions. The cache-on notification information further includes a cache-on control, which is used to turn on the automatic caching function and automatically cache the video under the target network conditions. A cache-on operation triggered by the cache-on notification information may include clicking on a cache-on control displayed on the target page.

[0075] In the target page shown in Figure 5 above, the cache-on notification information displayed on the target page includes a cache-on control 502. When the cache-on control 502 is triggered, it controls the automatic video caching function to be turned on.

[0076] In practical applications, if it is confirmed that no pre-cached videos exist in the current device's local memory and that the current user has already enabled the automatic video caching function, a notification indicating that it has been enabled may be displayed on the target page. This notification is used to inform the current user that the automatic video caching function is enabled. In addition, after displaying the notification that it has been enabled, network status information may also be displayed on the target page to indicate the network status of the current device.

[0077] In the target page shown in Figure 5 above, notification information 503 indicating that it has been turned on is displayed. This notification information is used to inform the current user that the automatic video caching function is turned on. The target page also displays network status information to indicate the network status of the current device.

[0078] In actual applications, when the automatic video caching function is turned on, in order to avoid a large number of videos being cached and occupying a large amount of local memory space, the embodiments of this disclosure may pre-set a threshold for the number of cached videos, specifically, for example, 50 videos.

[0079] The video processing method according to the embodiments of this disclosure can display notification information on the target page when a network outage occurs, such as whether the video is cached on the current device and whether the current user has turned on the automatic video caching function. This allows the user to know the video playback method when there is no network outage, making it easier for the user to trigger the automatic video caching function to be turned on, and improving the user's relevant interaction experience when there is no network outage.

[0080] Based on embodiments of the above method, the present disclosure further provides a live streaming processing device, and referring to Figure 6, is a schematic diagram of the structure of a live streaming processing device according to an embodiment of the present disclosure, and the device is A first display module 601 displays video playback notification information to notify the user that the target page will enter offline playback mode and play the video in response to a message indicating that there is no network connection, and The system includes an offline playback module 602 for entering the offline playback mode in response to a pre-configured trigger operation acting on the target page, and for playing a target video on the target page based on a target video stream that includes a pre-cached video.

[0081] In one optional embodiment, the video playback notification information includes an offline playback trigger control, and the offline playback module is In response to a trigger operation on the offline playback trigger control, a first offline playback submodule for entering the offline playback mode, and / or, It includes a second offline playback submodule for entering the offline playback mode in response to a pre-configured swipe operation acting on the target page.

[0082] In one optional embodiment, the apparatus is The system further includes a video switching module for switching and playing videos based on pre-cached videos in response to a pre-configured video switching operation for the target video.

[0083] In one optional embodiment, the target page playing the target video displays an offline playback end control, and the device, The system further includes an termination module for terminating the offline playback mode and displaying the video playback notification information on the target page in response to a trigger operation on the offline playback termination control.

[0084] In one optional embodiment, the apparatus is In response to a message indicating that a network connection has been established, the system further includes an acquisition module to retrieve recommended video streams. Accordingly, the video switching module specifically, It is used to switch and play videos based on the recommended video stream in response to a pre-configured video switching operation for the target video.

[0085] In one optional embodiment, the first display module is: In response to a message indicating that there is no network connection, a confirmation submodule is used to check whether a pre-cached video exists, The system includes a first display submodule for displaying video playback notification information on the target page when it is confirmed that a pre-cached video exists.

[0086] In one optional embodiment, the apparatus is The system further includes a second display module for displaying cache-on notification information on the target page when it is determined that no pre-cached video exists, wherein the cache-on notification information is used to notify the user to turn on the automatic video caching function, and the automatic video caching function is used to automatically cache the video under the target network conditions.

[0087] In one optional embodiment, the apparatus is The system further includes a cache-on module for controlling the automatic video caching function to be turned on in response to a cache-on operation triggered by the cache-on notification information.

[0088] In one optional embodiment, the second display module is: When it is confirmed that no pre-cached videos exist, a first verification submodule is used to check whether the current user has turned on the automatic video caching function, The system includes a second display submodule for displaying cache-on notification information on the target page when it is determined that the current user has not enabled the video auto-caching function.

[0089] In one optional embodiment, the apparatus is When it is confirmed that the current user has turned on the automatic video caching function, the target page further includes a third display module for displaying notification information that it has been turned on, wherein the notification information is used to inform the current user that the automatic video caching function is turned on.

[0090] In one optional embodiment, the apparatus is The system further includes a recording module for recording interaction data corresponding to a target interaction operation triggered on the target video, wherein the interaction data is used to be synchronized with the service when the network is active.

[0091] In the video processing device according to the embodiment of the present disclosure, first, in response to a message indicating that there is no network connection, video playback notification information is displayed on the target page, where the video playback notification information is used to notify the user that the system is triggered to enter offline playback mode and play the video in the network-less state, and then, in response to a pre-configured trigger operation acting on the target page, the system enters offline playback mode and plays the video on the target page based on the target video stream, where the target video stream includes a pre-cached video.

[0092] Embodiments of this disclosure support a function that notifies the user when entering offline playback mode to play a video when there is no network connection, and provide a way to easily enter offline playback mode to make it easier for the user to trigger playback of cached video when there is no network connection, thereby improving the user's video viewing experience when there is no network connection by reducing the cost for the user to search for cached video playback entries when there is no network connection.

[0093] In addition to the above-described method and apparatus, embodiments of the present disclosure further provide a computer-readable storage medium that, when executed on a terminal device, stores instructions causing the terminal device to implement the video processing method described in embodiments of the present disclosure.

[0094] The embodiments of the present disclosure further provide a computer program product that, when executed by a processor, includes a computer program / instructions that implements the video processing method described in the embodiments of the present disclosure.

[0095] Furthermore, embodiments of this disclosure further provide a video processing device, as shown in Figure 7, the video processing device is: The video processing device may include a processor 701, a memory 702, an input device 703, and an output device 704. The number of processors 701 in the video processing device may be one or more, and in Figure 7, one processor is shown as an example. In some embodiments of this disclosure, the processor 701, memory 702, input device 703, and output device 704 may be connected by a bus or by other means, where in Figure 7, a bus connection is shown as an example.

[0096] Memory 702 may be used to store software programs and modules, and the processor 701 executes various functional applications and data processing of the video processing equipment by executing the software programs and modules stored in memory 702. Memory 702 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program necessary for at least one function, etc. Memory 702 may also include high-speed random access memory, and may further include non-volatile memory, such as at least one magnetic disk memory device, a flash memory device, or other volatile solid-state memory devices. Input device 703 may be used to receive input numerical or character information and to generate signal inputs related to user settings and function control of the video processing equipment.

[0097] Specifically in this embodiment, the processor 701 loads executable files corresponding to the processes of one or more application programs into memory 702 according to the following instructions, and the processor 701 executes the application programs stored in memory 702, thereby realizing various functions of the video processing device.

[0098] In this specification, relational terms such as “first” and “second” are merely used to distinguish one entity or operation from another, and do not necessarily require or suggest that any such actual relationship or order exists between these entities or operations. Furthermore, the terms “include,” “incorporate,” or any other variations thereof are intended to cover non-exclusive inclusion, thereby meaning that a process, method, article, or apparatus containing a set of elements includes not only those elements but also other elements not explicitly listed, or further elements specific to that process, method, article, or apparatus. Unless further limited, an element limited by the phrase “includes one…” does not preclude the existence of other identical elements in a process, method, article, or apparatus containing such element.

[0099] The above description is merely a set of specific embodiments of the Disclosure intended to enable those skilled in the art to understand or implement the Disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can also be implemented in other embodiments without departing from the spirit or scope of the Disclosure. Therefore, the Disclosure is not limited to these embodiments described herein, but rather conforms to the broadest extent to which the principles and novel features disclosed herein are consistent.

Claims

1. A video processing method, In response to a message indicating no network connection, the target page displays video playback notification information to inform the user that it will trigger offline playback mode and start playing the video in the no-network state. A video processing method comprising: entering the offline playback mode in response to a pre-configured trigger operation acting on the target page; and playing a target video on the target page based on a target video stream that includes a pre-cached video.

2. The aforementioned video playback notification information includes an offline playback trigger control. Entering the offline playback mode in response to the pre-configured trigger operation acting on the target page is: In response to a trigger operation on the offline playback trigger control, enter the offline playback mode. and / or, The method according to claim 1, further comprising entering the offline playback mode in response to a pre-configured swipe operation performed on the target page.

3. The method according to claim 1, further comprising performing video switching playback based on a pre-cached video in response to a pre-set video switching operation for the target video.

4. The target page playing the target video displays an offline playback termination control, and the method is as follows: The method according to claim 1, further comprising ending the offline playback mode and displaying the video playback notification information on the target page in response to a trigger operation for the offline playback end control.

5. After playing the target video on the target page based on the target video stream, the method then: In response to a message indicating that a network connection has been established, it further includes retrieving a recommended video stream. Accordingly, in response to the pre-configured video switching operation for the target video, switching and playing the video based on the pre-cached video is performed as follows: The method according to claim 3, further comprising switching and playing a video based on the recommended video stream in response to the preset video switching operation for the target video.

6. In response to the message indicating that the network is unavailable, displaying the video playback notification information on the target page is: In response to the message indicating that the network is unavailable, the system checks whether a pre-cached video exists, and The method according to claim 1, further comprising: if it is confirmed that the aforementioned pre-cached video exists, displaying the video playback notification information on the target page.

7. The method according to claim 6, further comprising, if it is determined that no pre-cached video exists, displaying cache-on notification information on the target page, wherein the cache-on notification information is used to notify that the automatic video caching function should be turned on, and the automatic video caching function is used to automatically cache the video under the target network conditions.

8. The method according to claim 7, further comprising controlling the automatic video caching function to be turned on in response to a cache-on operation triggered by the cache-on notification information.

9. If it is confirmed that the aforementioned pre-cached video does not exist, the cache-on notification information may be displayed on the target page. If it is confirmed that no pre-cached video exists, the system will check whether the current user has enabled the automatic video caching function. The method according to claim 7, further comprising displaying the cache-on notification information on the target page if it is confirmed that the current user has not turned on the automatic video caching function.

10. The method according to claim 9, further comprising, if it is confirmed that the current user has turned on the automatic video caching function, displaying notification information on the target page indicating that it has been turned on, wherein the notification information is used to notify the current user that the automatic video caching function is turned on.

11. After playing the target video on the target page based on the target video stream, the method then: The method according to claim 1, further comprising recording interaction data corresponding to a target interaction operation triggered on the target video, wherein the interaction data is used to be synchronized with the service when a network is available.

12. A video processing device, A first display module for displaying video playback notification information to notify the user that the target page will be triggered to enter offline playback mode and play the video in response to a message indicating that there is no network connection, A video processing device comprising: an offline playback module for entering the offline playback mode in response to a pre-configured trigger operation acting on the target page, and for playing a target video on the target page based on a target video stream containing a pre-cached video.

13. A computer-readable storage medium, which, when executed on a terminal device, stores instructions in the terminal device that enable the implementation of the method according to any one of claims 1 to 11.

14. A video processing device comprising memory, a processor, and a computer program stored in the memory and executable by the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 11 is realized.

15. A computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described in any one of claims 1 to 11.