Playback control method, device, electronic device and storage medium

By identifying the sliding operation and/or multi-finger touch operation within the video playback page, the rapid switching of the audio playback mode is achieved, the cumbersome operation problems in the prior art are solved, and the user experience is improved.

CN115190368BActive Publication Date: 2025-02-11BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210804127.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-07
Publication Date
2025-02-11
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

In the prior art, switching to the audio playback mode is complicated and it is difficult to meet the user's needs for quick switching.

Method used

By identifying a sliding operation and/or multi-finger touch operation within the video playback page, the target triggering operation is in response to these target triggering operations to stop displaying the video screen and play only audio data.

Benefits of technology

Simplifies the operation process of switching to the audio playback mode, reduces user operation costs and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190368B_ABST
    Figure CN115190368B_ABST
Patent Text Reader

Abstract

The disclosed embodiments provide a playback control method, device, electronic device, and storage medium. The method includes: playing a first video in a video playback page; in response to a target trigger operation in the video playback page, stopping displaying the video image of the first video and playing the audio data of the first video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation. The disclosed embodiments can simplify the operations required to switch into the audio playback mode by adopting the above technical solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a playback control method, device, electronic device, and storage medium. Background Art

[0002] Currently, in some application software, a user can switch to an audio playback mode to listen to only the audio of a video that the user is currently watching without watching the video image.

[0003] However, in the prior art, the operations required for switching into the audio playback mode are relatively complicated, which is not conducive to the user to quickly switch into the audio playback mode. Summary of the invention

[0004] Embodiments of the present disclosure provide a playback control method, device, electronic device, and storage medium to simplify the operations required for switching into an audio playback mode.

[0005] In a first aspect, an embodiment of the present disclosure provides a playback control method, including:

[0006] Play the first video in the video playback page;

[0007] In response to a target trigger operation performed within the video playback page, the video image of the first video is stopped from being displayed, and the audio data of the first video is played, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0008] In a second aspect, the present disclosure also provides a playback control device, including:

[0009] A video playback module, used to play the first video in the video playback page;

[0010] An audio playback module is used to stop displaying the video image of the first video and play the audio data of the first video in response to a target trigger operation acting on the video playback page, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0011] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0012] one or more processors;

[0013] a memory for storing one or more programs,

[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the playback control method as described in the embodiment of the present disclosure.

[0015] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the playback control method as described in the embodiment of the present disclosure is implemented.

[0016] The playback control method, device, electronic device, and storage medium provided in the embodiments of the present disclosure play a first video in a video playback page; in response to a target trigger operation acting on the video playback page, stop displaying the video screen of the first video, and play the audio data of the first video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation. By adopting the above technical solution, the embodiments of the present disclosure switch into the audio playback mode based on the sliding operation and / or the multi-finger touch operation directly acting on the video playback page, which can simplify the operations required to switch into the audio playback mode and reduce the user's operating costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0018] Figure 1 A flowchart of a playback control method provided by an embodiment of the present disclosure;

[0019] Figure 2 A schematic diagram of displaying a video playback page provided by an embodiment of the present disclosure;

[0020] Figure 3 A schematic diagram of displaying an audio playback page provided by an embodiment of the present disclosure;

[0021] Figure 4 A flowchart of another playback control method provided by an embodiment of the present disclosure;

[0022] Figure 5 A structural block diagram of a playback control device provided by an embodiment of the present disclosure;

[0023] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] Figure 1 The flowchart of a playback control method provided by the embodiment of the present disclosure is shown in FIG. The method can be executed by a playback control device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically a mobile phone or a tablet computer. The playback control method provided by the embodiment of the present disclosure is applicable to the scenario of listening to the audio data of a video. Figure 1 As shown, the playback control method provided in this embodiment may include:

[0031] S101. Play a first video in a video playback page.

[0032] The first video can be understood as the video currently being played in the video playback page, that is, the currently playing video. When the video playback page is a video playback page corresponding to a certain video, that is, when the video playback page is a video playback page used only to play a certain video (such as a detail page of a certain video), the first video can be the video used to play the video playback page; when the video playback is a video playback page corresponding to multiple videos, that is, when the video playback page has a corresponding video stream, the first video can be the video in the video stream that is currently being played in the video playback page.

[0033] Specifically, Figure 2 As shown, a video can be played in a video playing page, and the currently played video is used as the first video. Here, playing a video can be understood as simultaneously displaying the video screen of the video and playing the audio data of the video.

[0034] S102. In response to a target trigger operation performed within the video playback page, stop displaying the video image of the first video and play the audio data of the first video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0035] Among them, the target trigger operation can be understood as a trigger operation for instructing the electronic device to only play the audio data of the video. The target trigger operation can be a sliding operation and / or a multi-finger touch operation. The sliding operation can, for example, include an operation of sliding along a preset direction and / or a preset trajectory. The multi-finger touch operation can, for example, be a multi-finger click operation or a multi-finger sliding operation. Preferably, the target sliding operation can be a multi-finger sliding operation. For example, the target trigger operation can be a multi-finger pinch operation. The multi-finger pinch operation can, for example, be a two-finger pinch operation or a three-finger pinch operation, and so on. The target trigger operation can act directly on the video playback page, such as directly acting on the video playback area where the first video is located or acting on the video screen of the first video displayed on the video playback page, without having to act on the panel or window displayed on the video playback page.

[0036] Specifically, when the user wants to listen to only the audio data of the first video without watching the video image of the first video, the user can perform a target trigger operation, such as performing a multi-finger pinch operation in the video playback page. Accordingly, when the electronic device detects that the user has performed a target trigger operation, it can respond to the target trigger operation by stopping displaying the video image of the first video and only playing the audio data of the first video, such as directly canceling the display of the video image of the first video in the video playback page and playing the audio data of the first video, while the current page is still the video playback page; or switching the current page from the video playback page to the audio playback page and playing the audio data of the first video in the audio playback page, such as Figure 3As shown, the current page is the audio playback page.

[0037] In this embodiment, the user can directly perform a target trigger operation in the video playback page to control the electronic device to stop displaying the video screen of the first video, that is, the user can switch from the video playback mode to the audio playback mode through a trigger operation, without having to first instruct the electronic device to display the panel / window through a corresponding trigger operation and further trigger the audio playback mode control in the panel / window to switch to the audio playback mode. This can simplify the operations required to switch to the audio playback mode and reduce the user's operating costs.

[0038] It can be understood that when the first video is played in the video playback page, the first video can have a play state and a pause state, that is, no matter whether the first video is in a play state or a pause state, it can be considered that the first video is played in the video playback page. Correspondingly, when the audio data of the first video is played, the audio data can also have a play state and a pause state, so that no matter whether the audio data is in a play state or a pause state, it can be considered that the audio data of the first video is played. Thus, when the first video is in a play state in the video playback page, the audio data can be adjusted to a play state when the audio data of the first video is played in response to a target trigger operation; when the first video is in a pause state in the video playback page, the audio data can be adjusted to a play state or a pause state when the audio data of the first video is played in response to a target trigger operation, and the specific setting can be performed as needed.

[0039] It should be noted that when the audio data of the first video is played in response to the target trigger operation, the audio data is adjusted to a pause state, which is different from simply pausing the first video. When the audio data of the first video is played in response to the target trigger operation, after the audio data is adjusted to a pause state, the user only needs to click the play control to continue listening to the audio data, and the electronic device will not display the video screen of the first video at this time. When the first video is paused, regardless of whether the video screen of the first video is displayed in the video playback page after the first video is paused, the electronic device will redisplay the video screen of the first video and play the audio data of the first video at the same time after the user clicks the play control.

[0040] In addition, after switching to the audio playback mode, the currently played audio data can also be switched based on the user's switching operation, such as switching the currently played audio data according to the arrangement order of the video streams corresponding to each video (such as each target video) on the video playback page. When the user switches back to the video playback mode from the audio playback mode, the video corresponding to the currently played audio data can be played on the video playback page.

[0041] The playback control method provided in this embodiment plays a first video in a video playback page; in response to a target trigger operation acting on the video playback page, stops displaying the video screen of the first video and plays the audio data of the first video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation. By adopting the above technical solution, this embodiment switches to an audio playback mode based on a sliding operation and / or a multi-finger touch operation directly acting on the video playback page, which can simplify the operations required to switch to an audio playback mode and reduce the user's operating costs.

[0042] Figure 4 A flowchart of another playback control method provided for an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, stopping displaying the video screen of the first video includes: switching the current video screen displayed in the video playback page to the video logo of the first video, wherein the current video screen is the video screen of the first video, and the video logo has a first display size.

[0043] Optionally, after switching the current video screen of the first video displayed in the video playback page to display the video identifier of the first video, the method further includes: controlling the video identifier to be scaled from a first display size to a second display size.

[0044] Optionally, playing the audio data of the first video includes: switching the current page from the video playback page to the audio playback page, and playing the audio data of the first video in the audio playback page.

[0045] Optionally, stopping displaying the video picture of the first video and playing the audio data of the first video includes: if the first video is the target video, stopping displaying the video picture of the first video and playing the audio data of the first video.

[0046] Optionally, the playback control method provided in this embodiment also includes: if the first video is not the target video, keeping playing the first video in the video playback page and displaying a second prompt message, wherein the second prompt message is used to prompt that the audio data of the first video cannot be listened to; or, if the first video is not the target video, stopping playing the first video and playing the audio data of the second video, wherein the second video is the target video.

[0047] Correspondingly, such as Figure 4 As shown, the playback control method provided in this embodiment may include:

[0048] S201. Play a first video in a video playback page.

[0049] S202, receiving a target trigger operation in the video playback page, and executing S203, S205 or S206, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0050] S203: If the first video is the target video, the current video screen displayed in the video playback page is switched to be displayed as a video identifier of the first video, wherein the current video screen is the video screen of the first video, and the video identifier has a first display size.

[0051] The target video can be understood as a video that meets the preset conditions. The preset conditions can be set as needed, for example, the preset conditions can be set to a specific type of video that has been authorized by the publisher and consists of continuous video frames (rather than independent pictures). The specific type of video can include, for example, a non-interactive video, a non-advertising video, and / or a non-live preview video whose video duration reaches a preset duration, etc.

[0052] The current video screen may be the video screen of the first video displayed in the video playback page when the video identifier of the first video is switched. The video identifier of the first video may include, for example, the video name of the first video, the video cover and / or a certain video frame in the first video, etc. The first display size may be understood as the display size of the video identifier of the first video when the current video screen is initially switched to the video identifier of the first video. Optionally, the first display size is consistent with the display size of the current video screen, the size of the video playback area where the current video screen is located, or the size of the video playback page. That is, the current video screen may be switched to display a video identifier having the same size as the display size of the current video screen, the size of the video playback area, or the size of the video playback page. At this time, it is preferred that the video identifier be displayed according to the position of the current video screen before switching, the position of the video playback area, or the video playback page.

[0053] In this embodiment, the display of the video picture of the first video can be stopped by switching the current video picture of the first video to display the video identifier of the first video.

[0054] Taking the video identifier as the video cover and the first display size as the display size of the current video screen as an example, when a target trigger operation is received, it can be determined whether the first video is the target video, such as determining whether the first video meets the preset conditions. If the first video is determined to be the target video, the current video screen displayed in the video playback page can be stopped from being displayed, and the video cover of the first video can be displayed according to the display size and display position of the current video screen.

[0055] In this embodiment, after receiving the target trigger operation, such as when the first video is determined to be the target video, the current video screen may not be controlled to be scaled, and the current video screen may be directly switched to be displayed as the video logo of the first video. The current video screen may also be controlled to be scaled first, such as gradually scaling the current video screen to a third display size, and when the current video screen is scaled to the third display size, the current video screen is switched to be displayed as the video logo of the first video. At this time, optionally, before the current video screen displayed in the video playback page is switched to be displayed as the video logo of the first video, it also includes: controlling the current video screen displayed in the video playback page to be scaled to the third display size; the current video screen displayed in the video playback page is switched to be displayed as the video logo of the first video, including: when the display size of the current video screen is scaled to the third display size, the current video screen is switched to be displayed as the video logo of the first video.

[0056] The third display size may be a preset size or a size corresponding to the target trigger operation, which may be larger or smaller than the initial display size of the video screen of the first video in the video playback page before the target trigger operation is received. Optionally, when the target trigger operation is a multi-finger pinch operation, the third display size may be smaller than the initial display size of the video screen of the first video, so that the change in the display size of the video screen matches the change in the user's gesture. The third display size may be the same or different from the first display size.

[0057] Exemplarily, after receiving the target trigger operation, for example, when the first video is determined to be the target video, the current video screen of the first video can be first controlled to be scaled from the initial display size to the third display size, and when it is scaled to the third display size, the current video screen of the first video is switched to be displayed as the video logo of the current video. Here, in the process of controlling the current video screen to be scaled to the third display size, the first video can be played or paused, and accordingly, the screen content of the current video screen can be changed or kept unchanged during the scaling process, and this embodiment does not limit this.

[0058] S204: Control the video identifier to be scaled from the first display size to the second display size, switch the current page from the video playback page to the audio playback page, and play the audio data of the first video in the audio playback page.

[0059] The second display size may be different from the first display size, such as the second display size may be greater than or equal to the first display size. Optionally, when the target trigger operation is a multi-finger pinch operation, the second display size may be smaller than the first display size, so that the change in the display size of the video logo matches the change in the user's gesture. The current page may be understood as the page currently displayed.

[0060] In this embodiment, after the current video screen is switched to the video identifier of the first video, the video identifier of the first video can be scaled from the first display size to the second display size. For example, when the second display size is larger than the first display size, the video identifier of the first video is controlled to be enlarged from the first display size to the second display size. When the second display size is smaller than the first display size, the video identifier of the first video is controlled to be reduced from the first display size to the second display size. In the process of controlling the video identifier of the first video to be scaled, the current page can be switched from the video playback page to the audio playback page, the audio data of the first video can be played in the audio playback page, and the video identifier of the first video can be displayed in the audio playback page. Figure 3 As shown (the figure takes the video logo as the video cover as an example).

[0061] It is understandable that, in this embodiment, the current page can also be switched from the video playback page to the audio playback page before or after the video identifier of the first video is controlled to be zoomed, and the specific setting can be made as needed.

[0062] S205. If the first video is not the target video, keep playing the first video in the video playback page and display a second prompt message, wherein the second prompt message is used to prompt that the audio data of the first video cannot be listened to.

[0063] In this embodiment, when the first video played in the video playback page is not the target video when the target trigger operation is received, the user may not be allowed to switch to the audio playback mode.

[0064] Exemplarily, when the first video is not the target video, the first video can continue to be played in the video playback page, and a second prompt message can be displayed, through which the user is prompted that the first video does not support listening to its audio data alone.

[0065] S206. If the first video is not the target video, stop playing the first video and play the audio data of the second video, wherein the second video is the target video.

[0066] The second video may be a target video. Exemplarily, the second video may be a target video associated with the first video; or may be a target video in a video stream corresponding to the video playback page, such as a target video that is closest to the first video and located after the first video in the video stream corresponding to the video playback page.

[0067] In this embodiment, when the first video played in the video playback page is not the target video when a target trigger operation is received, the user can also be allowed to switch to the audio playback mode. At this time, after entering the audio playback mode, the audio data of the target video (i.e., the second video) may be played instead of the audio data of the first video.

[0068] Exemplarily, if the first video is not the target video, a target video associated with the first video or a target video in the video stream corresponding to the video playback page can be obtained as the second video, and the first video is stopped from being played, that is, the video picture of the first video is stopped from being displayed and the audio data of the first video is stopped from being played, and the audio data of the second video is played (without displaying the video picture of the second video).

[0069] In one embodiment, the playback control method provided in this embodiment may also include: when a preset prompt condition is met, displaying a first prompt information, the first prompt information being used to prompt the use of the target trigger operation to listen to the audio data; wherein the preset prompt condition includes at least one of the following: exiting the audio playback page after switching to the audio playback page in response to other trigger operations other than the target trigger operation, the number of playbacks of the first video reaches a preset number threshold, the current time is within a preset time period, and the playback progress of the first video reaches a preset playback progress threshold.

[0070] In the above implementation, when the preset prompt condition is met, the first prompt information may also be displayed to prompt the user to switch to the audio playback mode by adopting the target trigger operation through the first prompt information.

[0071] Among them, the preset prompt conditions may include: exiting the audio playback page after switching to the audio playback page in response to other trigger operations other than the target trigger operation, the number of times the first video is played reaches a preset number threshold, the current time is within a preset time period, the playback progress of the first video reaches a preset playback progress threshold, and / or, the number of times the first prompt information is displayed is less than a set display number threshold, etc. The number of times the first video is played can be the total number of times the first video is played or the number of consecutive times the first video is played, and the preset number threshold can be, for example, 3 times or 5 times. The preset time period can be, for example, a preset time period corresponding to nighttime, such as 22:00-6:00. The preset playback progress threshold can be, for example, 50% or 80%. The set display number threshold can be, for example, 1 time or 2 times.

[0072] Exemplarily, the preset prompt conditions may include: after switching into the audio playback page in response to other trigger operations other than the target trigger operation, the audio playback page is exited, the number of times the first video is played reaches a preset number threshold, or the current moment is within a preset time period and the playback progress of the first video reaches a preset playback progress threshold; and the number of times the first prompt information is displayed is less than the set display number threshold. At this time, if the number of times the first prompt information is displayed has not reached the set display number threshold, the first prompt information can be displayed after the user switches into the audio playback page through other trigger operations (such as clicking the audio playback mode control in the panel / window) and exits the audio playback page, the number of times the first video is played reaches the preset number threshold, or the current moment is within a preset time period and the playback progress of the first video reaches the preset playback progress threshold.

[0073] In addition, after the first prompt information is displayed, the first prompt information can be automatically stopped when the display time of the first prompt information reaches a preset time (such as 3s); the first prompt information can also be stopped when a target trigger operation, an operation to switch the currently playing video, or an operation to close the first prompt information (such as triggering a close control of the first prompt information, etc.) is received. This embodiment does not limit this.

[0074] The playback control method provided in this embodiment can simplify the operations required to switch into the audio playback mode while enriching the response method of the target trigger operation and the continuity of the screen changes when responding to the target trigger operation, avoiding the situation where the screen changes are too abrupt, and improving the user experience.

[0075] Figure 5 This is a structural block diagram of a playback control device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a mobile phone or a tablet computer, and can play the audio data of a video separately through a pointing playback control method. Figure 5As shown, the playback control device provided in this embodiment may include: a video playback module 501 and an audio playback module 502, wherein:

[0076] The video playing module 501 is used to play the first video in the video playing page;

[0077] The audio playback module 502 is used to stop displaying the video image of the first video and play the audio data of the first video in response to a target trigger operation acting on the video playback page, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0078] The playback control device provided in this embodiment plays the first video in the video playback page through the video playback module; stops displaying the video screen of the first video and plays the audio data of the first video in response to the target trigger operation acting on the video playback page through the audio playback module, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation. By adopting the above technical solution, this embodiment switches to the audio playback mode based on the sliding operation and / or multi-finger touch operation directly acting on the video playback page, which can simplify the operations required to switch to the audio playback mode and reduce the user's operating cost.

[0079] In the above scheme, the audio playback module 502 can be used to: switch the current video screen displayed in the video playback page to the video logo of the first video, wherein the current video screen is the video screen of the first video, and the video logo has a first display size.

[0080] In the above scheme, the audio playback module 502 can be used to: after switching the current video screen of the first video displayed in the video playback page to the video logo of the first video, control the video logo to be scaled from the first display size to the second display size.

[0081] In the above solution, the first display size may be consistent with the display size of the current video screen, the size of the video playback area where the current video screen is located, or the size of the video playback page.

[0082] In the above scheme, the audio playback module 502 can be used to: before switching the current video screen displayed in the video playback page to display the video logo of the first video, control the current video screen displayed in the video playback page to be scaled to a third display size; when the display size of the current video screen is scaled to the third display size, switch the current video screen to display the video logo of the first video.

[0083] In the above solution, the audio playback module 502 can be used to: switch the current page from the video playback page to the audio playback page, and play the audio data of the first video in the audio playback page.

[0084] Furthermore, the playback control device provided in this embodiment may also include: a prompt module, used to display a first prompt information when a preset prompt condition is met, and the first prompt information is used to prompt the use of the target trigger operation to listen to the audio data; wherein, the preset prompt condition includes at least one of the following: exiting the audio playback page after switching to the audio playback page in response to other trigger operations other than the target trigger operation, the number of playbacks of the first video reaches a preset number threshold, the current time is within a preset time period, and the playback progress of the first video reaches a preset playback progress threshold.

[0085] In the above solution, the audio playing module 502 can be used to: if the first video is the target video, stop displaying the video screen of the first video and play the audio data of the first video.

[0086] In the above scheme, the audio playback module 502 can also be used for: if the first video is not the target video, then keep playing the first video in the video playback page and display a second prompt message, wherein the second prompt message is used to prompt that the audio data of the first video cannot be listened to; or, if the first video is not the target video, stop playing the first video and play the audio data of the second video, wherein the second video is the target video.

[0087] In the above solution, the target triggering operation may be a multi-finger pinching operation.

[0088] The playback control device provided in the embodiment of the present disclosure can execute the playback control method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the playback control method. For technical details not described in detail in this embodiment, please refer to the playback control method provided in any embodiment of the present disclosure.

[0089] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0090] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0091] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0092] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0093] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0094] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0095] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0096] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: plays a first video in a video playback page; in response to a target trigger operation acting on the video playback page, stops displaying the video picture of the first video, and plays the audio data of the first video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0097] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.

[0100] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0101] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] According to one or more embodiments of the present disclosure, Example 1 provides a playback control method, including:

[0103] Play the first video in the video playback page;

[0104] In response to a target trigger operation performed within the video playback page, the video image of the first video is stopped from being displayed, and the audio data of the first video is played, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0105] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, wherein the step of stopping displaying the video screen of the first video includes:

[0106] The current video screen displayed in the video playback page is switched to be displayed as a video identifier of the first video, wherein the current video screen is the video screen of the first video, and the video identifier has a first display size.

[0107] According to one or more embodiments of the present disclosure, Example 3 is a method according to Example 2, and after switching the current video screen of the first video displayed in the video playback page to display the video identifier of the first video, further comprising:

[0108] The video logo is controlled to be scaled from a first display size to a second display size.

[0109] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 2, wherein the first display size matches the display size of the current video screen, the size of the video playback area where the current video screen is located, or the size of the video playback page.

[0110] According to one or more embodiments of the present disclosure, Example 5 is the method according to Example 2, and before switching the current video image displayed in the video playback page to display the video identifier of the first video, further comprising:

[0111] Controlling the current video image displayed in the video playback page to be scaled to a third display size;

[0112] The step of switching the current video image displayed on the video playback page to display the video identifier of the first video includes:

[0113] When the display size of the current video picture is scaled to a third display size, the current video picture is switched to be displayed as a video identifier of the first video.

[0114] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 1, wherein playing the audio data of the first video includes:

[0115] The current page is switched from the video playback page to the audio playback page, and the audio data of the first video is played in the audio playback page.

[0116] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, further comprising:

[0117] When a preset prompt condition is met, displaying first prompt information, wherein the first prompt information is used to prompt the user to use the target trigger operation to listen to the audio data;

[0118] Among them, the preset prompt conditions include at least one of the following: exiting the audio playback page after switching to the audio playback page in response to other trigger operations other than the target trigger operation, the number of playbacks of the first video reaches a preset number threshold, the current time is within a preset time period, and the playback progress of the first video reaches a preset playback progress threshold.

[0119] According to one or more embodiments of the present disclosure, Example 8 is a method according to any one of Examples 1 to 7, wherein the step of stopping displaying the video image of the first video and playing the audio data of the first video includes:

[0120] If the first video is the target video, the video screen of the first video is stopped from being displayed, and the audio data of the first video is played.

[0121] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 8, further comprising:

[0122] If the first video is not the target video, the first video is kept playing in the video playing page, and a second prompt message is displayed, wherein the second prompt message is used to prompt that the audio data of the first video cannot be listened to; or

[0123] If the first video is not the target video, the first video is stopped from being played, and the audio data of the second video is played, wherein the second video is the target video.

[0124] According to one or more embodiments of the present disclosure, Example 10 is a method according to any one of Examples 1-7, wherein the target trigger operation is a multi-finger pinch operation.

[0125] According to one or more embodiments of the present disclosure, Example 11 provides a playback control device, including:

[0126] A video playback module, used to play the first video in the video playback page;

[0127] An audio playback module is used to stop displaying the video image of the first video and play the audio data of the first video in response to a target trigger operation acting on the video playback page, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation.

[0128] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, including:

[0129] one or more processors;

[0130] a memory for storing one or more programs,

[0131] When the one or more programs are executed by the one or more processors, the one or more processors implement the playback control method as described in any one of Examples 1-10.

[0132] According to one or more embodiments of the present disclosure, Example 13 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the playback control method as described in any one of Examples 1-10.

[0133] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0134] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0135] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A playback control method, characterized in that: include: Playing a first video in a video playback page, wherein the video playback page is used to play videos in a preset video set; In response to a target trigger operation performed within the video playback page, if the first video is the target video, the video screen of the first video is stopped from being displayed, and the audio data of the first video is played; and, if the first video is not the target video, the first video is stopped from being played, and the audio data of the second video is played, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation, and the target trigger operation is performed on the video playback area where the first video is located, or is performed on the video screen of the first video displayed on the video playback page, and the target video is a video of a preset type in the preset video set, and the second video is a target video associated with the first video.

2. The method according to claim 1, characterized in that The stopping of displaying the video screen of the first video includes: The current video screen displayed in the video playback page is switched to be displayed as a video identifier of the first video, wherein the current video screen is the video screen of the first video, and the video identifier has a first display size.

3. The method according to claim 2, characterized in that After switching the current video screen of the first video displayed on the video playback page to display the video identifier of the first video, the method further includes: The video logo is controlled to be scaled from a first display size to a second display size.

4. The method according to claim 2, characterized in that: The first display size matches the display size of the current video screen, the size of the video playback area where the current video screen is located, or the size of the video playback page.

5. The method according to claim 2, characterized in that: Before switching the current video image displayed on the video playback page to display the video identifier of the first video, the method further includes: Controlling the current video image displayed in the video playback page to be scaled to a third display size; The step of switching the current video image displayed on the video playback page to display the video identifier of the first video includes: When the display size of the current video picture is scaled to a third display size, the current video picture is switched to be displayed as a video identifier of the first video.

6. The method according to claim 1, characterized in that The playing of the audio data of the first video includes: The current page is switched from the video playback page to the audio playback page, and the audio data of the first video is played in the audio playback page.

7. The method according to claim 6, characterized in that Also includes: When a preset prompt condition is met, displaying first prompt information, wherein the first prompt information is used to prompt the user to use the target trigger operation to listen to the audio data; Among them, the preset prompt conditions include at least one of the following: exiting the audio playback page after switching to the audio playback page in response to other trigger operations other than the target trigger operation, the number of playbacks of the first video reaches a preset number threshold, the current time is within a preset time period, and the playback progress of the first video reaches a preset playback progress threshold.

8. The method according to any one of claims 1 to 7, characterized in that: The target triggering operation is a multi-finger pinching operation.

9. A playback control device, characterized in that: include: A video playing module, used to play the first video in a video playing page, wherein the video playing page is used to play videos in a preset video set; An audio playback module is used to respond to a target trigger operation acting on the video playback page, and in the case where the first video is a target video, stop displaying the video screen of the first video and play the audio data of the first video; and in the case where the first video is not a target video, stop playing the first video and play the audio data of the second video, wherein the target trigger operation is a sliding operation and / or a multi-finger touch operation, and the target trigger operation acts on the video playback area where the first video is located, or acts on the video screen of the first video displayed on the video playback page, the target video is a video of a preset type in the preset video set, and the second video is a target video associated with the first video.

10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the playback control method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the playback control method according to any one of claims 1 to 8 when executed.

Citation Information

Patent Citations

  • Method, device and terminal for switching play modes

    CN104581320A

  • Switching method and device for screen modes

    CN105843531A

  • Audio playing method and device, electronic equipment and storage medium

    CN112347273A