Method and device for circularly playing video

By splicing multiple video files into one screensaver video file and playing their video clips looped according to the playback strategy, the pause problem during screensaver video switching is solved, and the user experience and playback fun is improved.

CN119629420APending Publication Date: 2025-03-14HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311175632.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, there is a significant pause in the switching of screen saver videos, resulting in poor user experience.

Method used

By obtaining multiple video files, splicing them into a screensaver video file, and playing video clips in the video file loop according to the preset playback strategy.

Benefits of technology

It achieves avoiding pauses when playing video clips, improves user experience, and increases the fun of screensaver video file playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629420A_ABST
    Figure CN119629420A_ABST
Patent Text Reader

Abstract

The invention provides a method and equipment for circularly playing a video, and the method comprises the steps: splicing a plurality of video files into a screensaver video file, and circularly playing segments in the screensaver video file in a corresponding scene according to a playing strategy of the screensaver video file selected by a user. In this way, the video clips can be selectively played in a loop mode, meanwhile, the jamming problem caused by switching of multiple videos can be avoided, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a method and device for looping video playback. Background Art

[0002] To prevent the screen from being damaged when the device is idle for a long time while powered on, you can set a screen saver so that the device automatically starts playing pictures or videos when it is idle for a long time, thereby protecting the screen.

[0003] Assume that the device is a TV, and the screen saver set by the user on the TV is multiple videos. When the TV is in the startup state, but the user does not operate the TV for a long time, the TV can automatically play the screen saver video files set by the user in sequence. Currently, when the previous video ends, the next video can be switched to continue playing, but there is an obvious pause when the two adjacent videos are switched, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a method and device for looping video playback, so as to solve the problem of video playback freeze on a screen saver.

[0005] In a first aspect, the present application provides a method for looping video playback, which is applied to a device. Specifically, the method includes: obtaining multiple video files, and splicing the multiple video files into a screen saver video file; then, looping all or part of the video clips in the screen saver video file according to a first playback strategy, wherein the first playback strategy and the screen saver video file are pre-set.

[0006] Through the above technical solution, multiple video files can be spliced ​​into a screen saver video file, and all or part of the video clips in the screen saver video file can be played in a loop according to the playback strategy. Since the video clips all belong to the same screen saver video file, there will be no obvious pauses when playing the video clips, which can improve the user experience.

[0007] In a possible design, all or part of the video clips in the screen saver video file are played in a loop according to the first play strategy, including:

[0008] Determine parameters related to the first playback strategy according to the first playback strategy; then, determine the video segment to be played in the screen saver video file based on the parameters, wherein the video segment to be played is all or part of the video segment in the screen saver video file; finally, loop play all or part of the video segment to be played.

[0009] Through the above technical solution, the corresponding video segment can be determined according to the parameters related to the playback strategy, and then the corresponding video segment can be played, so that different video segments can be played under different parameters, which increases the fun of playing the screen saver video file.

[0010] In a possible design, determining a video segment to be played in the screen saver video file based on a parameter includes:

[0011] A first parameter corresponding to the current time is determined based on the parameter; and a video segment to be played corresponding to the first parameter is determined according to the first parameter.

[0012] Through the above technical solution, it is possible to determine different video segments according to time changes and then play different video segments.

[0013] In a possible design, the multiple video files are uploaded to the device by a user; or the multiple video files are pre-configured in the device; or the multiple video files are pushed to the device by a server.

[0014] In a possible design, the parameters related to the first playback strategy include at least any one of the following parameters: time, weather, and season.

[0015] Through the above technical solution, different video clips in the same screen saver video file can be played at different times, or different video clips can be played under different weather conditions, or different video clips can be played in different seasons.

[0016] In one possible design, the method further includes:

[0017] A first interface is displayed, wherein the first interface includes multiple screen saver video files, and the screen saver type of the multiple screen saver video files belongs to a first screen saver type; in response to a first operation of a user on the screen saver video file, a second interface is displayed, wherein the second interface includes multiple playback strategies; in response to a second operation of the user on the first playback strategy, it is determined to apply the first playback strategy.

[0018] Through the above technical solution, users can select the playback strategy of screen saver video files according to their own preferences, thereby increasing interaction with users and improving user experience.

[0019] In one possible design, the method further includes:

[0020] In response to a third operation of the user on the screen saver video file, the first screen saver video file is previewed.

[0021] Through the above technical solution, the user can preview the screen saver video file and determine whether to select the screen saver video file, which can improve the user experience.

[0022] In a second aspect, the present application provides a device, comprising a display screen; a processor; a memory; and one or more programs; wherein the one or more programs are stored in the memory, and when the one or more programs are called and executed by the processor, the device executes the above-mentioned first aspect and any possible design method of the first aspect.

[0023] In a third aspect, the present application also provides a device, which includes modules / units for executing the first aspect or any possible design method of the first aspect; these modules / units can be implemented by hardware, or corresponding software can be implemented by hardware.

[0024] In a fourth aspect, the present application also provides a readable storage medium, in which one or more programs are stored. When the one or more programs are run on a device, the device executes the first aspect and any possible design method of the first aspect.

[0025] In a fifth aspect, the present application also provides a program product, which, when executed on a device, enables the device to execute the method of the first aspect of the embodiment of the present application and any possible design of the first aspect thereof.

[0026] For each aspect from the second to the fifth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by various possible solutions in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the structure of a device provided in an embodiment of the present application;

[0028] Figure 2 A flow chart of a method for generating a screen saver video file provided in an embodiment of the present application;

[0029] Figure 3 A schematic diagram of a user interface provided in an embodiment of the present application;

[0030] Figure 4 A flow chart of a method for looping video playback provided in an embodiment of the present application;

[0031] Figure 5 A flowchart of another method for looping video playback provided in an embodiment of the present application;

[0032] Figure 6A flowchart of another method for looping video playback provided in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of the structure of another device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the following embodiments of the present application.

[0035] In addition, at least one of the following embodiments includes one or more, wherein more means greater than or equal to two. In addition, it should be understood that in the description of this application, the words "first", "second" and the like are only used for the purpose of distinguishing the description.

[0036] Below, some terms in the embodiments of the present application are first explained to facilitate understanding by those skilled in the art.

[0037] 1. Screensaver

[0038] Refers to a program or animation that automatically starts when a device (e.g., smart screen, portable computer) is idle for a long time, which can prevent the screen from being damaged by displaying the same image for a long time. A screen saver can be a static picture, a dynamic animation or a video, which can be selected and set according to personal preferences. Screen savers mainly play the role of screen protection and energy saving, allowing the device to automatically enter screen saver mode when idle, reducing power consumption and extending the life of the hardware.

[0039] 2. Application

[0040] Applications are software programs that can achieve one or more specific functions. Usually, multiple applications can be installed in a device. For example, video applications, music applications, etc. The applications mentioned below can be applications installed when the device leaves the factory, or applications downloaded from the Internet or obtained from other devices when the user is using the device.

[0041] It should be understood that the video loop playback method provided in the embodiment of the present application can be applied to any device with a display screen, such as a television (such as a smart screen), a portable computer, an ultra-mobile personal computer (UMPC), a mobile phone, a tablet computer, a wearable device (for example, a watch, a bracelet, a smart helmet, smart glasses, etc.), a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a netbook, a personal digital assistant (PDA), etc., and the embodiment of the present application is not limited thereto. In addition, exemplary embodiments of the device include but are not limited to a device equipped with Or devices with other operating systems.

[0042] Taking the smart screen as an example, the structure of the device is introduced below.

[0043] like Figure 1 As shown, the smart screen 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a communication module 140, an audio module 150, a speaker 150A, a microphone 150B, a button 160, a display screen 170, etc.

[0044] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the smart screen 100. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory can also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory can save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.

[0045] The internal memory 121 can be used to store executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the smart screen 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and software code of at least one application (such as a video application, etc.). The data storage area can store data (such as videos, etc.) generated during the use of the smart screen 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a general flash memory, etc.

[0046] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the smart screen 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.

[0047] The USB interface 130 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to transmit data between the smart screen 100 and peripheral devices.

[0048] The communication module 140 includes at least one wireless communication solution of wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), nearfield communication technology (NFC), infrared technology (IR), etc.

[0049] The smart screen 100 can implement audio functions such as video playback through the audio module 150, the speaker 150A, the microphone 150C, and the application processor.

[0050] The button 160 includes a power button, etc. The button 180 can be a mechanical button or a touch button. The smart screen 100 can receive a button input and generate a key signal input related to the user settings and function control of the smart screen 100.

[0051] The display screen 170 is used to display the display interface of the application, etc. The display screen 170 includes a display panel. In the embodiment of the present application, the display screen 182 can be used to display video files, pictures, etc.

[0052] Understandably, Figure 1 The components shown do not constitute a specific limitation on the smart screen. The smart screen may also include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. Figure 1 The smart screen 100 shown is used as an example for introduction.

[0053] The following is a detailed description of the video loop playback method involved in the embodiment of the present application. It should be understood that the video loop playback scenario in the embodiment of the present application can be a video loop playback scenario on a screen saver. In other words, the video in the embodiment of the present application refers to a screen saver video file set by the user.

[0054] In the embodiment of the present application, the screen saver video file can be obtained in the following possible ways:

[0055] First: Pre-configuration

[0056] In some embodiments, multiple video files may be pre-configured as screen saver materials in the smart screen 100. For example, video files of some scenes in different time periods may be pre-configured.

[0057] The second method: The cloud server pushes the screen saver video file to the Smart Screen 100

[0058] In some embodiments, the cloud server may push (or send) updated video files to the smart screen 100. It should be understood that the cloud server may push updated video files to the smart screen 100 at fixed time intervals, or may push updated video files to the smart screen 100 when an updated video is detected, or may push updated video files to the smart screen 100 by user triggering, etc., and this application does not limit this.

[0059] The third method: The user uploads multiple video files, and the Smart Screen 100 generates a screen saver video file based on the multiple videos

[0060] In some embodiments, the user can upload multiple video files to the smart screen 100, such as video files of different time periods in a certain scene, and then the smart screen 100 can generate a screen saver video file for the user to select based on the multiple video files uploaded by the user.

[0061] As a possible implementation method, users can upload multiple video files to the smart screen 100 through "Huawei Share" on other devices. It should be understood that the user can also upload video files in other ways, such as Bluetooth, Wi-Fi, etc., or upload multiple video files from other devices to the smart screen 100 through a wired connection, etc., and this application does not specifically limit this.

[0062] For example, Figure 2 FIG. 1 is a flow chart of a method for generating a screen saver video file provided in an embodiment of the present application. Figure 2 As shown, the method may include the following steps:

[0063] Step 201: The smart screen 100 obtains multiple video files.

[0064] In some embodiments, the screen saver application in the smart screen 100 can obtain multiple video files from other devices. The multiple video files may be video files shot by the user in different time periods, or may be video files shot by the user in different weather conditions, or may be video files shot by the user in different seasons, etc. This application is not limited to this.

[0065] Step 202: The smart screen 100 processes multiple video files to obtain a screen saver video file.

[0066] After the smart screen 100 receives multiple video files, it can call a video editing application, such as the petal editing application, to splice multiple video files to obtain a screen saver video file. It should be understood that the multiple video files to be spliced ​​are corresponding videos under the same parameters. For example, the time periods of multiple video files are different (the parameter is the time period), and the petal editing application can splice multiple video files of different time periods into one screen saver video file. For another example, if the multiple video files belong to different seasons (the parameter is the season), the petal editing application can splice multiple video files of different seasons into one screen saver video file.

[0067] In some embodiments, when multiple video files are spliced ​​into a screen saver video file, the corresponding parameters can be marked in the screen saver video file. For example, different time periods can be marked in the screen saver video file, or it can also be understood as adding corresponding time period labels in the screen saver video file; for example, the weather conditions of the video files can be marked in the screen saver video file.

[0068] Step 203: The smart screen 100 saves the screen saver video file and displays it in the corresponding window of the screen saver type.

[0069] In some embodiments, after the video editing application of the smart screen 100, such as the flower petal editing application, completes the video splicing, the spliced ​​screen saver video file can be saved and displayed in a window corresponding to the screen saver application page. Figure 3 As shown in FIG. 1 , a user interface diagram provided in an embodiment of the present application is shown. Assuming that the screen saver type interface of the smart screen 100 can be referred to Figure 3 The interface 300 shown in (a) in FIG. 3 may include multiple different screen saver types, such as a "landscape window" 301. It should be understood that the interface 300 may also include "artistic screen saver", "dynamic screen saver", "time screen saver" and "personal album" screen saver types.

[0070] After the petal editing application of Smart Screen 100 completes the video splicing, the spliced ​​screen saver video file can be displayed on Figure 3 In the interface 300 shown in FIG. 300 , the specific type of the “scenery window” 301 can be displayed. The user can slide left and right to select the video file he wants to use from the screen saver video files included in the “scenery window” 301 in the interface 300. For example, the user can select the screen saver video file 1 through the remote control, and the smart screen 100 can respond to the user's click operation and display Figure 3 The interface 310 shown in (b) may be a screen saver setting interface. For example, the user may select the setting strategy of "Change over time" 311, and then click the "Confirm Use" button 312. In this way, the screen saver of the smart screen 100 may play the screen saver video file 1 selected by the user according to the change of time.

[0071] It should be understood that in actual product implementation, Figure 3 The "screen saver video" on the interface shown in (b) may be a frame of image in the screen saver video 1, or may be the entire video or a partial segment of the screen saver video 1. For example, the screen saver video displayed at the play strategy 311 may be the entire video of the screen saver video 1, the screen saver video in the early morning may be a partial segment a of the screen saver video 1, the screen saver video at noon may be a partial segment b of the screen saver video 1, and the screen saver video in the afternoon may be a partial segment c of the screen saver video 1.

[0072] like Figure 4 As shown, it is a flow chart of a method for looping video playback provided by an embodiment of the present application, see Figure 4 As shown, the method may include the following steps:

[0073] Step 401: The smart screen 100 obtains the screen saver video file and the playback strategy of the screen saver video file.

[0074] In some embodiments, each screen saver video file has a pre-configured playback strategy, and the smart screen 100 can obtain the screen saver video file and the playback strategy corresponding to the screen saver video file. Among them, the screen saver video file can be selected by the user from multiple screen saver video files listed in the "landscape window" of the screen saver type. Alternatively, the screen saver video file can also be pre-set, without the need for the user to select, etc., and this application does not make specific limitations on this.

[0075] In other embodiments, the screen saver video file may be configured with multiple play strategies, and then the user may select a play strategy from the multiple play strategies.

[0076] Step 402: The smart screen 100 determines parameters related to the playback strategy based on the playback strategy of the screen saver video file.

[0077] Exemplarily, assuming that the playback strategy of the screen saver video file is: play in chronological order, then the parameter related to the playback strategy is the time parameter; assuming that the playback strategy of the screen saver video file is: play according to weather conditions, then the parameter related to the playback strategy is the weather parameter.

[0078] Step 403: The smart screen 100 determines the first parameter based on parameters related to the playback strategy.

[0079] In some embodiments, the smart screen 100 may determine the first parameter based on the parameters related to the playback strategy. For example, if the parameter related to the playback strategy is a time parameter, then the first parameter is the current time; for another example, if the parameter related to the playback strategy is a weather parameter, then the first parameter is the current weather conditions.

[0080] As a possible implementation, if the parameter related to the playback strategy is a weather parameter or a season parameter or other parameter, then the first parameter can be determined based on the current time. For example, when determining the current weather condition, the weather condition corresponding to the current time can be found based on the current time (specific time information, such as 9:00 am); for another example, when determining the current season, the season to which the current time belongs can be found based on the current time (for example, September 4, 2023).

[0081] Step 404: The smart screen 100 determines a first video file corresponding to the first parameter in the screen saver video file.

[0082] In some embodiments, after the first parameter is determined, the corresponding first video file can be determined in the screen saver video file based on the first parameter. It should be understood that in the embodiment of the present application, there is a mapping relationship between the video file and the parameter, and the parameter can be a specific value or a range. Exemplarily, it is assumed that the mapping relationship between the video file and the time parameter is: 6:00-10:59 corresponds to video file a, 11:00-16:59 corresponds to video file b, and 17:00-20:59 corresponds to video file c. In this example, the parameter is a range. It is assumed that the first parameter is 9:00 am. Since 9:00 am belongs to the range of 6:00-10:59, the first video file corresponding to the first parameter is video file a. It should be understood that video file a, video file b, and video file c belong to different segments in the same screen saver video.

[0083] It should be understood that the video file corresponds to a video between a certain starting position and a certain ending position in the screen saver video file, and the video may be all or part of the video clips in the screen saver video file.

[0084] Step 405: The smart screen 100 plays the first video file.

[0085] After the smart screen 100 determines the first video file, the first video file can be played in a loop within the playback time corresponding to the first video file. It should be understood that if the current time changes, the corresponding first parameter may also change, and the corresponding video file played in a loop will also change accordingly. For example, taking the mapping relationship in step 404 as an example, when the time changes from 9:00 am to 16:00 pm, video file b can be played in a loop. For another example, the weather condition at 10:00 am is cloudy, and the corresponding video file played is video file a. The weather condition at 2:00 pm is sunny, so the corresponding video file played can be video file b.

[0086] For another example, assuming that the playback strategy is to play the screen saver video file according to the seasonal changes, in the screen saver video file, the 0th to 20th seconds are spring videos, and the corresponding months of spring are February to April, the 21st to 40th seconds are summer videos, and the corresponding months of summer are May to August, the 41st to 60th seconds are autumn videos, and the corresponding months of autumn are September to October, and the 61st to 80th seconds are winter videos, and the corresponding months of winter are November to January. If the current month is August and the season is summer, then the 21st to 40th seconds of the screen saver video file can be played cyclically according to the current season.

[0087] Through the above embodiment, the smart screen 100 can loop play some video files in the screen saver video file, thereby realizing selective loop play of video clips, which can improve the user experience. In addition, the smart screen 100 can splice multiple video clips into one video for playback, which can solve the problem of freezing when switching between different videos.

[0088] The following takes the time scenario as an example to further introduce the video loop playback method in the embodiment of the present application. Figure 5 As shown, it is a flow chart of a video loop playback method provided by an embodiment of the present application, see Figure 5 As shown, the method may include the following steps:

[0089] Step 501: The smart screen 100 obtains the screen saver video file and the playback strategy of the screen saver video file.

[0090] Step 502: The smart screen 100 determines that the parameters related to the playback strategy are time parameters based on the playback strategy of the screen saver video file.

[0091] It should be understood that Figure 5 In the illustrated embodiment, the time scenario is taken as an example. Then, the play strategy of the screen saver video file selected by the user is a strategy of playing in time sequence, and the corresponding parameter related to the play strategy is the time parameter.

[0092] Step 503: The smart screen 100 obtains the current time, and determines the first video file corresponding to the current time in the screen saver video file according to the current time.

[0093] In some embodiments, the smart screen 100 can call the MediaPlayer.getDuration() method to obtain the total duration of the screen saver video file, and then determine the video segment interval that needs to be played in a loop according to the current time and the configuration file corresponding to the screen saver video file. Among them, the configuration file may include the correspondence between time and video segments, for example, the correspondence may be: early morning (06:00-08:59) corresponds to playing the video segments of the 0th to 29th seconds in the screen saver video file, noon (09:00-16:59) corresponds to playing the video segments of the 30th to 59th seconds in the screen saver video file, sunset (17:00-18:59) corresponds to playing the video segments of the 60th to 89th seconds in the screen saver video file, and night (19:00-05:59) corresponds to playing the video segments of the 90th to 119th seconds in the screen saver video file.

[0094] Since the play strategy selected by the user is to play according to the time strategy, the current time needs to be obtained when playing the video, so as to know which video in the screen saver video file corresponds to the current time. Assuming that the total length of the screen saver video file selected by the user is 120 seconds, if the current time is in the early morning (06:00-08:59), the 0th to 29th seconds of the screen saver video file will be played; if the current time is in the noon (09:00-16:59), the 30th to 59th seconds of the screen saver video file will be played; if the current time is in the sunset (17:00-18:59), the 60th to 89th seconds of the screen saver video file will be played; if the current time is in the night (19:00-05:59), the 90th to 119th seconds of the screen saver video file will be played.

[0095] Step 504: The smart screen 100 plays the first video file.

[0096] In some embodiments, after determining the first video file corresponding to the current time, the smart screen 100 can loop the first video file within the playback time range corresponding to the first video file by calling the seekTo() method of the media player (MediaPlayer). When the time changes, the video files in the screen saver video file can be looped in chronological order. Specifically, when starting to play, you can use Handler.sendEmptyMessageDelayed() to send a delayed message, which may include the length of the video interval, and then wait for the video clip to play to the end of the interval. When the handler message is received, call the seekTo() method to return to the video frame at the beginning of the interval, thereby realizing loop playback of the video clip.

[0097] It should be understood that Figure 5 The specific implementation of step 501 and step 502 in the embodiment shown can be referred to in Figure 4 The detailed description in the illustrated embodiment will not be repeated here.

[0098] like Figure 6 As shown, it is a flow chart of a method for looping video playback provided by an embodiment of the present application, see Figure 6 As shown, the method may include the following steps:

[0099] Step 601: The smart screen 100 obtains multiple video files.

[0100] Among them, multiple video files can be uploaded to the smart screen 100 by the user; or multiple video files can also be pre-configured in the smart screen 100; or multiple video files can also be pushed to the smart screen 100 by the server.

[0101] Step 602: The smart screen 100 splices multiple video files into a screen saver video file.

[0102] In some embodiments, after the smart screen 100 obtains multiple video files, it can use a video editing application, such as a petal editing application, to splice the multiple video files into a screen saver video file.

[0103] Step 603: The smart screen 100 loops all or part of the video clips in the screen saver video file according to the first playback strategy.

[0104] The first play strategy and the screen saver video file are pre-set. It should be understood that the pre-set includes user settings and / or default settings.

[0105] Specifically, the smart screen 100 can determine parameters related to the first playback strategy according to the first playback strategy, and then determine the video clip to be played in the screen saver video file based on the parameters, and finally, loop play all or part of the video clip to be played. The video clip to be played is all or part of the video clip in the screen saver video file.

[0106] In an embodiment of the present application, the parameters and the video clips may have a corresponding relationship, for example, different time periods may correspond to different video clips. Exemplarily, assuming that the parameter related to the first playback strategy is time, the smart screen 100 may determine that the first parameter is the current specific time (for example, 9:00 a.m.), and then determine the video clip corresponding to the time of 9:00 a.m. in the screen saver video file. For example, the video clip to be played may be the video clip from the 10th to the 30th second in the screen saver video file. Finally, the smart screen loops and plays the video clip from the 10th to the 30th second in the screen saver video file. Of course, the video clip may also be all the clips of the screen saver video file, and this application does not specifically limit this.

[0107] It should be understood that the specific implementation of step 601 and step 602 can be found in Figure 2 The detailed description of step 201 and step 202 in the embodiment shown and the specific implementation of step 603 can be found in Figure 4 The detailed description of steps 402 to 405 in will not be repeated here.

[0108] It should be noted that all or part of the above embodiments provided in this application can be freely and arbitrarily combined with each other, and the combined technical solutions are also within the protection scope of this application.

[0109] In the embodiments provided by the present application, the method provided by the embodiments of the present application is introduced from the perspective of the device as the execution subject. In order to implement the functions in the methods provided by the embodiments of the present application, the device may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a function of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0110] like Figure 7 As shown, some other embodiments of the present application disclose a device, which may be a device with a display screen. Figure 7 As shown, the device 700 includes: a display screen 701; one or more processors 702; one or more memories 703; multiple applications 704 (not shown in the figure); and one or more programs 705 (not shown in the figure), and the above-mentioned components can be connected via one or more communication buses 706.

[0111] The display screen 701 is used to display the screen saver video, play strategy, etc. in the device. The memory 703 stores one or more programs, and when the instructions are called and executed by the one or more processors 702, the device 700 executes the method steps in the above embodiment.

[0112] Exemplarily, when the instruction is called and executed by the one or more processors 702, the device 700 executes the following steps: obtaining multiple video files and splicing the multiple video files into a screen saver video file; looping all or part of the screen saver video file according to a first playback strategy, wherein the first playback strategy and the screen saver video file are pre-set.

[0113] In the embodiment of the present application, the processor 702 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor. The software module may be located in the memory 703, and the processor 702 reads the program instructions in the memory 703, and completes the steps of the above method in combination with its hardware.

[0114] In the embodiment of the present application, the memory 703 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as RAM. The memory may also be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing instructions and / or data.

[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0116] Based on the above embodiments, the present application further provides a storage medium, in which a program is stored. When the program is executed by an electronic device, the device executes the method provided in the above embodiments.

[0117] A program product is also provided in an embodiment of the present application. When the program product is run on a device, the device executes the method provided in the above embodiment.

[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for looping video playback, characterized in that: Applied to a device, the method comprises: Acquire multiple video files, and splice the multiple video files into a screen saver video file; All or part of the video clips in the screen saver video file are played in a loop according to a first play strategy, wherein the first play strategy and the screen saver video file are preset.

2. The method according to claim 1, characterized in that The looping of all or part of the video clips in the screen saver video file according to the first playback strategy includes: Determining parameters related to the first playback strategy according to the first playback strategy; Determine a video segment to be played in the screen saver video file based on the parameter, wherein the video segment to be played is all or part of the video segments in the screen saver video file; The whole or part of the video clip to be played is played in a loop.

3. The method according to claim 2, characterized in that Determining the video segment to be played in the screen saver video file based on the parameter includes: determining a first parameter corresponding to the current time based on the parameter; A video segment to be played corresponding to the first parameter is determined according to the first parameter.

4. The method according to any one of claims 1 to 3, characterized in that: The multiple video files are uploaded to the device by a user; or the multiple video files are pre-configured in the device; or the multiple video files are pushed to the device by a server.

5. The method according to claim 2 or 3, characterized in that: The parameters related to the first playback strategy include at least one of the following parameters: Time, weather, season.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Displaying a first interface, wherein the first interface includes a plurality of screen saver video files, and the screen saver type of the plurality of screen saver video files belongs to a first screen saver type; In response to a first operation of the user on the screen saver video file, displaying a second interface, wherein the second interface includes a plurality of play strategies; In response to a second operation of the user on the first playback strategy, it is determined to apply the first playback strategy.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a third operation of the user on the screen saver video file, the first screen saver video file is previewed.

8. A device, characterized in that The device includes a display screen; a processor; a memory; and one or more programs; The one or more programs are stored in the memory, and when the one or more programs are called and executed by the processor, the device executes the method according to any one of claims 1 to 7.

9. A readable storage medium, wherein one or more programs are stored in the readable storage medium, characterized in that: When the one or more programs are executed on a device, the device is caused to perform the method according to any one of claims 1 to 7.

10. A program product, characterized in that When the program product is run on a device, the device is caused to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control method and device of mobile terminal and mobile terminal

    CN107239211A

  • Media file loop playback method and mobile terminal

    CN107438204A

  • Video playing method and device and computer equipment

    CN110784750A

  • Video processing method and device, electronic equipment and readable storage medium

    CN111711861A

  • Wallpaper video playing method and device, electronic equipment and storage medium

    CN115695946A