WO2018006802A1 - 一种视频播放方法、装置及电子设备 - Google Patents

一种视频播放方法、装置及电子设备 Download PDF

Info

Publication number
WO2018006802A1
WO2018006802A1 PCT/CN2017/091718 CN2017091718W WO2018006802A1 WO 2018006802 A1 WO2018006802 A1 WO 2018006802A1 CN 2017091718 W CN2017091718 W CN 2017091718W WO 2018006802 A1 WO2018006802 A1 WO 2018006802A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
video
mobile terminal
interface
program
Prior art date
Application number
PCT/CN2017/091718
Other languages
English (en)
French (fr)
Inventor
潘琦
Original Assignee
北京金山安全软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2018006802A1 publication Critical patent/WO2018006802A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Definitions

  • the present invention relates to the field of video playback technologies on mobile terminals, and in particular, to a video playback method, apparatus, and electronic device.
  • the online video browsing or offline video browsing application function provided by the electronic device can enable the user to browse the required video through the network anytime and anywhere, thereby greatly satisfying the user's video browsing experience.
  • the embodiment of the present application provides a video playing method, device, and electronic device, which can simultaneously browse or view information provided by other applications during video playback.
  • an embodiment of the present application provides a video playing method, which is applied to a mobile terminal, where the method includes:
  • the interface of the video player is placed in a partial area of the screen of the mobile terminal such that the remaining area of the screen of the mobile terminal is capable of displaying the interface of another application.
  • the detecting, by the current mobile terminal, whether a video player is playing a video includes:
  • the interface of the video player in the landscape mode is reduced
  • the interface of the reduced video playback program is placed in a partial area of the screen of the mobile terminal.
  • the detecting, by the current mobile terminal, whether a video player is playing a video includes:
  • the placing the interface of the video playing program on a local area of the screen of the mobile terminal includes:
  • the interface of the video player of the landscape mode is reduced; the interface of the video player after the reduction is placed in a partial area of the screen of the mobile terminal.
  • the reducing the interface of the video playback program in the landscape mode includes:
  • the interface of the video player of the landscape mode is reduced in accordance with a fixed aspect ratio so that the length of the interface of the reduced video player is adapted to the width of the screen of the mobile terminal.
  • the interface of the video playback program after the reduction processing is placed on a part of the screen of the mobile terminal Areas, including:
  • the interface of the reduced video playback program is placed in an upper area or a lower area of the mobile terminal screen; wherein the mobile terminal screen is in a portrait state.
  • the detecting, by the current mobile terminal, whether a video playing program is playing a video includes:
  • the user is prompted to enter the split screen task mode, including: if it is detected that a video playing program is playing an advertisement in the current mobile terminal screen, the user is prompted to enter the minute Screen task mode.
  • the method further includes:
  • An interface of another application is displayed in the remaining area of the screen of the mobile terminal.
  • Displaying an interface of another application in a remaining area of the screen of the mobile terminal including:
  • the method after receiving the selected instruction for the split screen task mode, placing the interface of the video play program after a local area of the screen of the mobile terminal, the method also includes:
  • the embodiment of the present application provides a video playing device, which is applied to a mobile terminal, where the device includes:
  • a detecting module configured to detect whether a video playing program is playing a video in a screen of the current mobile terminal
  • the split screen prompting module is configured to prompt to enter the split screen task mode if it is detected that a video playing program is playing a video in the current mobile terminal screen;
  • An instruction receiving module configured to receive a selected instruction for a split screen task mode
  • a split screen execution module configured to place an interface of the video play program in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display an interface of another application.
  • the detecting module is configured to: when a screen of the mobile terminal is in a vertical state, detecting whether a video playing program is playing a video in the current mobile terminal screen ;
  • the split screen execution module is specifically configured to set a play mode of the video play program to a landscape mode; reduce an interface of a video play program in a landscape mode; and reduce the processed video play program.
  • the interface is placed in a partial area of the screen of the mobile terminal.
  • the detecting module is configured to: when a screen of the mobile terminal is in a horizontal screen state, detecting whether a video playing program is playing a video in the current mobile terminal screen ;
  • the split screen execution module is specifically configured to perform a reduction process on the interface of the video play program in the landscape mode; and place the interface of the video play program in the reduction process on a local area of the screen of the mobile terminal.
  • the split screen execution module includes: a reduction processing submodule, configured to play video in a landscape mode
  • the interface of the program is reduced in accordance with a fixed aspect ratio so that the length of the interface of the reduced video player is adapted to the width of the screen of the mobile terminal.
  • the split screen execution module includes: a location setting submodule, configured to reduce the processed The interface of the video player is placed in an upper area or a lower area of the screen of the mobile terminal; wherein the screen of the mobile terminal is in a portrait state.
  • the detecting module is specifically configured to detect whether there is a video playing program in the current mobile terminal screen. Playing an advertisement
  • the split screen prompting module is specifically configured to prompt to enter the split screen task mode if it is detected that a video playing program is playing an advertisement in the current mobile terminal screen.
  • the video playback device further includes:
  • An interface display module is configured to display an interface of another application in a remaining area of the screen of the mobile terminal.
  • the interface display module includes:
  • a guiding submodule for displaying an entry of another application in a remaining area of the screen of the mobile terminal
  • the video playback device further includes:
  • the split screen end module is configured to end the split screen task mode according to a set policy.
  • an embodiment of the present application provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering each circuit or device of the electronic device; a memory for storing executable program code; and the processor operating by reading executable program code stored in the memory A program corresponding to the program code for executing the video playing method of any of the foregoing.
  • a video playing method, device, and electronic device provided by an embodiment of the present invention have a video playing program playing a video in a screen of a current mobile terminal, and actively prompting the user to enter a split screen task mode, and the user selects the entry point.
  • the interface of the video player is placed in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display the interface of another application, so that the user can be made during video playback Ability to simultaneously browse content provided by other applications to meet the needs of users to view multiple content at the same time.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, when When the instructions in the storage medium are executed by the processor on the server side, the server can enable the video playback method provided by the embodiment of the present application.
  • the embodiment of the present application provides a computer program product, and when the instruction processor in the computer program product is executed, the video playing method provided by the embodiment of the present application is executed.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a video playing method according to the present application;
  • Embodiment 2 is a flowchart of Embodiment 2 of a video playing method of the present application
  • FIG. 3 is a schematic diagram of a video play program interface when a play mode of a video play program is in a portrait mode according to an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a video play program interface when the play mode of the video play program is in the horizontal screen mode according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a process of setting a play mode of a video play program to a landscape mode and performing a reduction process according to an embodiment of the present application;
  • FIG. 6 is a schematic diagram of placing an interface of a reduced video playback program on a partial area of a screen of the mobile terminal according to an embodiment of the present application
  • FIG. 7 shows another application in the remaining area of the screen of the mobile terminal according to an embodiment of the present application; a schematic diagram of the interface of the program;
  • FIG. 8 is a flowchart of Embodiment 3 of a video playing method according to the present application.
  • FIG. 9 is a flowchart of Embodiment 4 of a video playing method according to the present application.
  • FIG. 10 is a schematic structural diagram of Embodiment 1 of a video playback apparatus according to the present application.
  • Embodiment 11 is a schematic structural diagram of Embodiment 2 of a video playback apparatus according to the present application.
  • FIG. 12 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
  • FIG. 1 is a schematic flowchart of a first embodiment of a video playing method according to the present application.
  • the embodiment of the present application can be applied to a mobile terminal, such as a mobile phone, a handheld video player, a handheld game machine with a video playing function, etc., as shown in FIG.
  • the method of this embodiment may include:
  • Step 101 Detect whether a video player is playing a video in the current mobile terminal screen.
  • the played video may be a video saved locally by the mobile terminal, or may be a video on the network.
  • the current video playing program when it is detected that the current video playing program is in the foreground running state, its video window is displayed in the current screen, and it can be considered that the video playing program is playing the video in the current mobile terminal screen.
  • step 102 is performed.
  • Step 102 Prompt to enter the split screen task mode.
  • the prompting manner may be a manner in which various operating systems may be used to remind the user to interact, for example, using a shortcut of the notification bar to prompt the user, or, for example, a small floating button that pops up on the video player prompts the user, or Is a notification bar message containing interactive buttons, and so on.
  • Step 103 Receive a selected instruction for the split screen task mode.
  • the user can enter the split screen task mode according to the prompt or the guide.
  • Step 104 Place an interface of the video playing program on a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display an interface of another application.
  • the screen of the mobile terminal may be set in advance, for example, the screen of the screen of the mobile terminal is set as the first area and the second area.
  • the interface of the video player is placed in the first area to leave the second area for displaying the contents of other applications. It should be understood that the interface of the video player described herein refers to the entire window interface of the video player.
  • a video playing program plays a video in the current mobile terminal screen, and actively invites the user to enter the split screen task mode, and after the user selects to enter the split screen task mode, the interface of the video playing program is used. Placed in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display the interface of another application, so that when the video is played, the user can browse other content at the same time, so that the user can browse multiple types at the same time. The need for content.
  • Embodiment 2 is a flowchart of Embodiment 2 of a video playing method of the present application. As shown in FIG. 2, the method in this embodiment may include:
  • Step 201 When the screen of the mobile terminal is in the vertical state, it is detected whether a video playing program is playing the video in the current mobile terminal screen.
  • the screen of the mobile terminal is in a portrait state, which means that the screen of the mobile terminal is vertically placed, for example, vertically held by the user's hand. In this state, the user can normally view or browse the screen of the mobile terminal through the vertical screen. Content.
  • step 202 is performed.
  • Step 202 Prompt to enter the split screen task mode.
  • the process of prompting to enter the split screen task mode is similar to the step 102 of the foregoing method embodiment, and details are not described herein again.
  • Step 203 Receive a selected instruction for the split screen task mode.
  • the user can enter the split screen task mode according to the prompt or the guide.
  • the split screen task mode step 204 sets the play mode of the video play program to the landscape mode.
  • FIG. 3 is a schematic diagram of a video play program interface when a play mode of a video play program is in a portrait mode according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a video play program interface when the play mode of the video play program is in the horizontal screen mode according to an embodiment of the present application.
  • the interface of the video player includes a video portion and other portions, the video content is played in the video portion, and other related content of the video player is displayed in other portions.
  • the playback mode of a video player is In the portrait mode, the video portion and other portions of the video player's interface display the contents of the same video player.
  • the interface of the video play program includes only the video portion, and the video portion is displayed in full screen.
  • setting the play mode of the video play program to the landscape mode means that the play mode of the video play program is set from the vertical mode to the horizontal mode while keeping the screen of the mobile terminal in the vertical state. Screen mode.
  • Step 205 Perform a reduction process on the interface of the video player in the landscape mode.
  • the interface of the video player of the landscape mode can be reduced in accordance with a fixed aspect ratio so that the length of the interface of the reduced video player is adapted to the width of the screen of the mobile terminal.
  • the upper left corner or the upper right corner of the interface of the video playback program in the landscape mode may be a fixed point, and the reduction processing is performed according to a fixed aspect ratio, and the length of the interface of the processed video playback program is reduced to the screen of the mobile terminal.
  • the width is adapted.
  • FIG. 5 is a schematic diagram of a process of setting a play mode of a video play program to a landscape mode and performing a reduction process according to an embodiment of the present application.
  • the mark a is the length of the video player interface after the reduction processing.
  • Step 206 Place an interface of the reduced video playback program on a local area of the mobile terminal screen.
  • FIG. 6 is a schematic diagram of placing an interface of a reduced video playback program on a partial area of a screen of the mobile terminal according to an embodiment of the present application.
  • the screen of the mobile terminal is in a portrait state
  • the mark b is the width of the screen of the mobile terminal.
  • the screen of the mobile terminal may be set in advance, such as dividing the screen of the mobile terminal.
  • the screen is set to two areas, an upper area and a lower area.
  • the interface of the reduced video playback program is placed in the upper area of the screen of the mobile terminal, so as to lower the lower area of the screen of the mobile terminal. Leave it out to display the contents of other applications.
  • the interface of the reduced video playback program can also be placed in the lower area of the screen of the mobile terminal to leave the upper area of the screen of the mobile terminal for displaying the content of other applications.
  • the interface of the reduced video player may be moved from an area of the screen of the mobile terminal by dragging. To another area, the interface of the reduced video playback program can even be placed anywhere on the screen of the mobile terminal.
  • interface of the reduced video player program refers to the entire interface of the video player.
  • Step 207 Display an interface of another application in a remaining area of the screen of the mobile terminal.
  • FIG. 7 is a schematic diagram showing an interface of another application in a remaining area of the screen of the mobile terminal according to an embodiment of the present application.
  • the user may be allowed to display an interface for viewing or browsing another application in the remaining area of the screen of the mobile terminal, such as browsing news, searching for hot words, browsing video related movie reviews, reading messages from friends, and the like.
  • the content of other applications displayed in the remaining area of the screen of the mobile terminal may be content pushed by other applications, or may be an entry for displaying another application in the remaining area of the screen of the mobile terminal, receiving the user pair A click operation of an entry of the other application, thereby displaying an interface of the another application in the remaining area of the mobile terminal.
  • the user may replace another application in the remaining area of the mobile terminal screen, such as closing the current application interface, and then remaining in the remaining area of the mobile terminal screen. Open another application interface in addition.
  • the embodiment of the present application may further include the step of ending the split screen mode.
  • Step 208 End the split screen task mode according to a set policy.
  • the strategy for ending the split screen task mode includes: prompting to end the split screen task mode, and ending the split screen task mode when receiving the instruction to end the split screen task mode.
  • the interaction of ending the split-screen task mode may be provided, for example, by providing The button user can go directly to the video full screen mode of the video playback application, or choose to turn off either of the two application tasks to enter the full screen interface of one of the applications.
  • the horizontal screen multitasking state when the horizontal screen multitasking state is ended, it may also be in the horizontal screen multitasking state. If it is detected that the current mobile terminal is placed on the horizontal screen, the screen is triggered to exit the vertical screen. Task mode, the default state can directly enter the video full screen state, or prompt the user to let the user choose which of the multi-tasking application interface.
  • the user when the screen of the mobile terminal is in the vertical state and the video playing program plays the video, the user can be prompted to enter the split screen task mode, and after the user selects to enter the split screen task mode, the user The interface of the video player is placed in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display the interface of another application, so that when the video is played, the user can browse other content at the same time to satisfy the user.
  • the present embodiment can provide a multi-tasking display framework system for the user by utilizing the display characteristics of the video playback program itself in two different playback modes, the portrait mode and the landscape mode.
  • FIG. 8 is a flowchart of Embodiment 3 of a video playing method of the present application. As shown in FIG. 8 , the method in this embodiment may include:
  • Step 301 When the screen of the mobile terminal is in a landscape state, detecting whether a video player is playing a video in the current mobile terminal screen.
  • the screen of the mobile terminal is in a portrait state, which means that the screen of the mobile terminal is vertically placed, for example, vertically held by the user's hand. In this state, the user can normally view or browse the screen of the mobile terminal through the vertical screen. Content.
  • step 302 is performed.
  • Step 302 Prompt to enter the split screen task mode.
  • the process of prompting to enter the split screen task mode is similar to the step 102 of the foregoing method embodiment, and details are not described herein again.
  • Step 303 Receive a selected instruction for the split screen task mode.
  • the user can enter the split screen task mode according to the prompt or the guide.
  • Step 304 Perform a reduction process on the interface of the video playback program in the landscape mode.
  • the process of reducing the interface of the video playback program in the horizontal screen mode is similar to the step 205 of the foregoing method embodiment, and details are not described herein again.
  • Step 305 Place an interface of the reduced video playback program on a local area of the mobile terminal screen.
  • the interface of the video playback program after the reduction processing is placed on the mobile terminal
  • the process of the local area of the screen is similar to the step 206 of the above method embodiment, and details are not described herein again.
  • Step 306 Display an interface of another application in a remaining area of the screen of the mobile terminal.
  • the process of displaying the interface of another application in the remaining area of the screen of the mobile terminal is similar to the step 207 of the foregoing method embodiment, and details are not described herein again.
  • the embodiment of the present application may further include ending the split screen task mode according to a setting policy.
  • the process of ending the split screen mode is similar to the above method embodiment, and details are not described herein again.
  • the user when the screen of the mobile terminal is in the horizontal screen state and the video playing program plays the video, the user can be prompted to enter the split screen task mode by actively prompting, and after the user selects to enter the split screen task mode, the user
  • the interface of the video player is placed in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display the interface of another application, so that when the video is played, the user can browse other content at the same time to satisfy the user.
  • the present embodiment can provide a multi-tasking display framework system for the user by utilizing the display characteristics of the video playback program itself in two different playback modes, the portrait mode and the landscape mode.
  • FIG. 9 is a flowchart of Embodiment 4 of a video playing method of the present application. As shown in FIG. 9, the method in this embodiment may include:
  • Step 401 Detect whether a video playing program is playing an advertisement in a screen of the current mobile terminal.
  • detecting whether a video player in the current mobile terminal screen plays the advertisement may include: extracting one or more frames of video frames in the video that is started to be played, and pre-set video advertisements. The frame set is matched; if it matches, it is determined that a video player is playing the advertisement.
  • detecting whether there is a video player in the current mobile terminal screen can also play the advertisement through other means, including but not limited to: detecting whether there is a countdown setting in the upper right corner of the played video, or whether the played video contains Advertising logo, or, to get a website to play the video Or the application, querying the pre-set website library or the application library, so as to obtain whether the website or the application that plays the video has an advertisement, or whether the user who browses the video is a member or the like, which is not limited in this embodiment.
  • step 402 is performed.
  • Step 402 Prompt to enter the split screen task mode.
  • the process of prompting to enter the split screen task mode is similar to the step 102 of the foregoing method embodiment, and details are not described herein again.
  • Step 403 Receive a selected instruction for the split screen task mode.
  • the user can enter the split screen task mode according to the prompt or the guide.
  • Step 404 Detect whether the current play mode of the video play program is a portrait mode or a landscape mode.
  • step 405 is performed; if the current play mode of the video play program is the landscape mode, step 406 is performed.
  • Step 405 Set a play mode of the video play program to a landscape mode.
  • setting the play mode of the video play program to the landscape mode means that the play mode of the video play program is set from the vertical mode to the horizontal mode while keeping the screen of the mobile terminal in the vertical state. Screen mode.
  • Step 406 Perform a reduction process on the interface of the video player in the landscape mode.
  • the process of reducing the interface of the video playback program in the horizontal screen mode is similar to the step 205 of the foregoing method embodiment, and details are not described herein again.
  • Step 407 Place an interface of the reduced video playback program on the mobile terminal screen Part of the curtain.
  • the process of placing the interface of the reduced video playback program on the local area of the screen of the mobile terminal is similar to the step 206 of the foregoing method embodiment, and details are not described herein again.
  • Step 408 Display an interface of another application in a remaining area of the screen of the mobile terminal.
  • the user may be displayed on the remaining area of the screen of the mobile terminal to view or browse an interface of another application, such as browsing news, searching for hot words, browsing video related movie reviews, reading messages from friends, and the like.
  • another application such as browsing news, searching for hot words, browsing video related movie reviews, reading messages from friends, and the like.
  • the content of other applications displayed in the remaining area of the screen of the mobile terminal may be content pushed by other applications, or may be an entry for displaying another application in the remaining area of the screen of the mobile terminal, receiving the user pair A click operation of an entry of the other application, thereby displaying an interface of the another application in the remaining area of the mobile terminal.
  • the method for ending the split screen task mode according to the setting policy and ending the split screen task mode is similar to the foregoing method, and details are not described herein again.
  • the user when the video playing program plays the advertisement in the screen of the mobile terminal, the user can enter the split screen task mode by actively prompting the user, and after the user selects to enter the split screen task mode, the interface of the video playing program is displayed. Placed in a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display the interface of another application, so that the user can browse other content at the same time when the advertisement plays (does not affect the advertiser's interest). Meet the needs of users to view multiple content at the same time.
  • the present embodiment can provide a multi-tasking display framework system for the user by utilizing the display characteristics of the video playback program itself in two different playback modes, the portrait mode and the landscape mode.
  • the present application is not limited thereto, and the application is also applicable to the screen of the mobile terminal being in the horizontal screen state.
  • the user can browse other content at the same time, and meet the requirement that the user can browse multiple content at the same time.
  • FIG. 10 is a schematic structural diagram of Embodiment 1 of a video playing device of the present application.
  • the device in this embodiment may include: a detecting module 11, a split screen prompting module 12, an instruction receiving module 13, and a split screen executing module 14, among them,
  • the detecting module 11 is configured to detect whether a video playing program is playing a video in the current mobile terminal screen
  • the split screen prompting module 12 is configured to prompt to enter the split screen task mode if it is detected that a video playing program is playing a video in the current mobile terminal screen;
  • the instruction receiving module 13 is configured to receive a selected instruction for the split screen task mode
  • the split screen execution module 14 is configured to place an interface of the video play program on a partial area of the screen of the mobile terminal, so that the remaining area of the screen of the mobile terminal can display an interface of another application.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 , and the implementation principle and technical effects are similar, and details are not described herein again.
  • the detecting module is specifically configured to detect whether there is a video playing program in the current mobile terminal screen when the screen of the mobile terminal is in a portrait state. Playing a video;
  • the split screen execution module 14 is specifically configured to set a play mode of the video play program to a landscape mode; reduce an interface of a video play program in a landscape mode; and reduce the processed video player The interface is placed in a local area of the screen of the mobile terminal.
  • the split screen execution module 14 may include: a reduction processing sub-module, configured to reduce the interface of the video play program in the landscape mode according to a fixed aspect ratio, so as to reduce the processed video play program.
  • the length of the interface is adapted to the width of the screen of the mobile terminal.
  • the split screen execution module 14 may further include: a location setting submodule, configured to place an interface of the reduced video playback program on an upper area or a lower area of the screen of the mobile terminal; The screen of the mobile terminal is in a portrait state.
  • the detecting module 11 is specifically configured to detect whether there is video playback in the current mobile terminal screen when the screen of the mobile terminal is in a landscape state.
  • the program is playing a video
  • the split screen execution module 14 is specifically configured to perform a reduction process on the interface of the video play program in the landscape mode; and place the interface of the video play program in the reduction process on a local area of the screen of the mobile terminal.
  • the split screen execution module 14 may include: a reduction processing sub-module, configured to reduce the interface of the video play program in the landscape mode according to a fixed aspect ratio, so as to reduce the processed video play program.
  • the length of the interface is adapted to the width of the screen of the mobile terminal.
  • the split screen execution module 14 may further include: a location setting submodule, configured to place an interface of the reduced video playback program on an upper area or a lower area of the screen of the mobile terminal; The screen of the mobile terminal is in a portrait state.
  • FIG. 11 is a schematic structural diagram of Embodiment 2 of the video playback apparatus of the present application. As shown in FIG. 11, the apparatus of this embodiment is further configured to include: an information display module 15 and a sub a screen end prompting module 16, a split screen end instruction receiving module 17, and a split screen end executing module 18;
  • the information display module 15 is configured to display an interface of another application in a remaining area of the screen of the mobile terminal.
  • the information display module 15 includes a boot submodule, an instruction receiving submodule, and a loading submodule, wherein the guiding submodule is used in a remaining area of the screen of the mobile terminal
  • the domain displays an entry of another application;
  • the instruction receiving submodule is configured to receive a click operation on an entry of the another application;
  • the load submodule is configured to interface the another application on the mobile terminal The remaining area is displayed.
  • the split screen end prompting module 16 is configured to prompt to end the split screen task mode
  • the split screen end instruction receiving module 17 is configured to receive an instruction to end the split screen task mode
  • the split screen end execution module 18 is used to end the split screen task mode.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the detecting module 11 is specifically configured to detect whether the current mobile terminal screen is There is a video playing program playing an advertisement; the split screen prompting module 12 is specifically configured to prompt to enter the split screen task mode if it is detected that a video playing program is playing an advertisement in the current mobile terminal screen.
  • the device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 , FIG. 2 , FIG. 8 or FIG. 9 , and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 12 is a schematic structural diagram of an embodiment of an electronic device according to the present application. The process of the embodiment shown in FIG. 1, FIG. 2, FIG. 8 or FIG. 9 can be implemented.
  • the electronic device may include: a housing. 41.
  • the processor 42, the memory 43, the circuit board 44, and the power supply circuit 45 wherein the circuit board 44 is disposed inside the space enclosed by the casing 41, and the processor 42 and the memory 43 are disposed on the circuit board 44; the power supply circuit 45, For supplying power to respective circuits or devices of the above electronic device; the memory 43 is for storing executable program code; the processor 42 is configured to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 43
  • the video playing method described in any of the foregoing embodiments is executed.
  • the electronic device exists in a variety of forms including, but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video playback modules (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the present application further provides a non-transitory computer readable storage medium for storing executable program code, where the executable program code is used to perform video playback as described in any of the above embodiments. method.
  • the present application further provides a computer program product for performing the video playing method according to any of the above embodiments.
  • the technical solution of the embodiments of the present application may be embodied in the form of a computer software product, which is essentially or partially contributed to the prior art, and the computer software product is stored in a storage medium.
  • a ROM/RAM a magnetic disk or an optical disk
  • a number of instructions are included for controlling the terminal to perform some or all of the steps of the fan switch control method described in the embodiments of the present application, FIGS. 1 to 2 and 10.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a machine readable medium for use in an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device), or These instructions are used by the execution system, device or device.
  • a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.

Abstract

本申请实施例公开了一种视频播放方法、装置及电子设备,能够在视频播放时,方便用户同时浏览或观看其它应用程序提供的信息,涉及视频播放技术领域。所述视频播放方法,包括:检测当前移动终端屏幕中是否有视频播放程序在播放视频;若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;接收对分屏任务模式的选定指令;将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。所述装置及电子设备中设有实现上述方法的模块。本申请适用于视频播放的同时浏览其它信息。

Description

一种视频播放方法、装置及电子设备
相关申请的交叉引用
本申请要求北京金安安全软件有限公司于2016年07月04日提交的、发明名称为“一种视频播放方法、装置及电子设备”的、中国专利申请号“201610518407.2”的优先权。
技术领域
本申请涉及移动终端上的视频播放技术领域,尤其涉及一种视频播放方法、装置及电子设备。
背景技术
随着计算机通信以及互联网技术的不断发展,电子设备,例如,智能移动电话、个人数字助理、掌上电脑、笔记本电脑等应用越来越广泛,电子设备提供的应用功能也越来越丰富,极大地满足了不同用户的个性化需求。例如,电子设备提供的在线视频浏览或离线视频浏览应用功能,可以使得用户随时随地通过网络浏览所需的视频,从而极大地满足了用户的视频浏览体验。
在实现本申请的过程中,发明人发现现有的视频播放方式中,在视频播放时,用户只能观看视频播放程序本身所播放的视频或提供的其它信息,而无法在视频播放的同时,浏览或观看其它应用程序提供的信息。
发明内容
有鉴于此,本申请实施例提供一种视频播放方法、装置及电子设备,能够在视频播放时,用户能够同时浏览或观看其它应用程序提供的信息。
第一方面,本申请实施例提供一种视频播放方法,应用于移动终端,所述方法包括:
检测当前移动终端屏幕中是否有视频播放程序在播放视频;
若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;
接收对分屏任务模式的选定指令;
将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
结合第一方面,在第一方面的第一种实施方式中,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述将所述视频播放程序的界面置于移动终端屏幕的局部区域,包括,
将所述视频播放程序的播放模式设置为横屏模式;
将横屏模式的视频播放程序的界面进行缩小处理;
将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
结合第一方面,在第一方面的第二种实施方式中,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述将所述视频播放程序的界面置于移动终端屏幕的局部区域,包括:
将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
结合第一方面的第一种或第二种实施方式,在第一方面的第三种实施方式中,所述将横屏模式的视频播放程序的界面进行缩小处理,包括:
将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
结合第一方面的第一种或第二种实施方式,在第一方面的第四种实施方式中,所述将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域,包括:
将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
结合第一方面或第一方面的第一种或第二种实施方式,在第一方面的第五种实施方式中,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
检测当前移动终端屏幕中是否有视频播放程序在播放广告;
其中,所述若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式,包括:若检测到当前移动终端屏幕中有视频播放程序在播放广告,则提示进入分屏任务模式。
结合第一方面,在第一方面的第六种实施方式中,在将所述视频播放程序的界面置于移动终端屏幕的局部区域之后,所述方法还包括:
在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
结合第一方面的第六种实施方式,在第一方面的第七种实施方式中,所述 在所述移动终端屏幕的剩余区域显示另一应用程序的界面,包括:
在所述移动终端屏幕的剩余区域显示另一应用程序的入口;
接收对所述另一应用程序的入口的点击操作;
在所述移动终端的所述剩余区域加载所述另一应用程序的界面。
结合第一方面,在第一方面的第八种实施方式中,在接收对分屏任务模式的选定指令,将所述视频播放程序的界面置于移动终端屏幕的局部区域之后,所述方法还包括:
按照设定策略结束所述分屏任务模式。
第二方面,本申请实施例提供一种视频播放装置,应用于移动终端,所述装置包括:
检测模块,用于检测当前移动终端屏幕中是否有视频播放程序在播放视频;
分屏提示模块,用于若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;
指令接收模块,用于接收对分屏任务模式的选定指令;
分屏执行模块,用于将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
结合第二方面,在第二方面的第一种实施方式中,所述检测模块,具体用于在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述分屏执行模块,具体用于将所述视频播放程序的播放模式设置为横屏模式;将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
结合第二方面,在第二方面的第二种实施方式中,所述检测模块,具体用于在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述分屏执行模块,具体用于将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
结合第二方面的第一种或第二种实施方式,在第二方面的第三种实施方式中,所述分屏执行模块,包括:缩小处理子模块,用于将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
结合第二方面的第一种或第二种实施方式,在第二方面的第四种实施方式中,所述分屏执行模块,包括:位置布置子模块,用于将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
结合第二方面或第二方面的第一种或第二种实施方式,在第二方面的第五种实施方式中,所述检测模块,具体用于检测当前移动终端屏幕中是否有视频播放程序在播放广告;
其中,所述分屏提示模块,具体用于若检测到当前移动终端屏幕中有视频播放程序在播放广告,则提示进入分屏任务模式。
结合第二方面,在第二方面的第六种实施方式中,所述的视频播放装置,还包括:
界面显示模块,用于在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
结合第二方面的第六种实施方式,在第二方面的第七种实施方式中,所述界面显示模块,包括:
引导子模块,用于在所述移动终端屏幕的剩余区域显示另一应用程序的入口;
指令接收子模块,用于接收对所述另一应用程序的入口的点击操作;
加载子模块,用于在所述移动终端的所述剩余区域加载所述另一应用程序的界面。
结合第二方面,在第二方面的第八种实施方式中,所述的视频播放装置,还包括:
分屏结束模块,用于按照设定策略结束所述分屏任务模式。
第三方面,本申请实施例提供一种电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一所述的视频播放方法。
本申请实施例提供的一种视频播放方法、装置及电子设备,在当前移动终端屏幕中有视频播放程序在播放视频,通过主动地向用户提示可进入分屏任务模式,并在用户选择进入分屏任务模式后,将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面,这样能够在视频播放时,使得用户能够同时浏览其它应用程序提供的内容,满足用户能够同时浏览多种内容的需求。
另外,本申请实施例还提供了一种非临时性计算机可读存储介质,当所述 存储介质中的指令由服务器端的处理器被执行时,使得服务器端能够执行本申请实施例提供的所述视频播放方法。
再者,本申请实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行本申请实施例提供的所述视频播放方法。
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本申请视频播放方法实施例一的流程示意图;
图2为本申请视频播放方法实施例二的流程图;
图3为本申请一实施例中视频播放程序的播放模式是竖屏模式时的视频播放程序界面示意图;
图4本申请一实施例中视频播放程序的播放模式是横屏模式时的视频播放程序界面示意图;
图5为本申请一实施例中将视频播放程序的播放模式设置为横屏模式并进行缩小处理的过程示意图;
图6为本申请一实施例中将缩小处理后的视频播放程序的界面置于所述移动终端屏幕的局部区域的示意图;
图7为本申请一实施例中在所述移动终端屏幕的剩余区域显示另一应用 程序的界面的示意图;
图8为本申请视频播放方法实施例三的流程图;
图9为本申请视频播放方法实施例四的流程图;
图10为本申请视频播放装置实施例一的结构示意图;
图11为本申请视频播放装置实施例二的结构示意图;
图12为本申请电子设备一个实施例的结构示意图。
具体实施方式
下面结合附图对本申请实施例进行详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
图1为本申请视频播放方法实施例一的流程示意图,本申请实施例可应用于移动终端如手机、手持式影音播放器、具有视频播放功能的手持式游戏机等,如图1所示,本实施例的方法可以包括:
步骤101、检测当前移动终端屏幕中是否有视频播放程序在播放视频。
本实施例中,播放的视频可以是移动终端本地保存的视频,也可以是网络上的视频。
作为一可选的方式,当检测到当前有视频播放程序处于前台运行状态时,其视频窗口展示在当前屏幕中,可以认为当前移动终端屏幕中有视频播放程序在播放视频。
若检测到当前移动终端屏幕中有视频播放程序在播放视频,则执行步骤102。
步骤102、提示进入分屏任务模式。
本实施例中,在检测到当前移动终端屏幕中有视频播放程序在播放视频时,提示用户可以选择进入分屏任务模式。提示的方式可以是各种操作系统可用于提醒用户的交互方式,例如,利用通知栏的某一快捷方式入口提示用户,或者,例如视频播放程序上浮出的一悬浮小按钮提示用户,也可以是包含交互按钮的通知栏消息等。
步骤103、接收对分屏任务模式的选定指令。
根据上述提示,用户如果愿意进入分屏任务模式,则可根据提示或引导选择进入分屏任务模式。
步骤104、将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
本实施例中,可预先对移动终端屏幕进行分屏设置,如将移动终端屏幕分屏设置为第一区域和第二区域。当用户选择进入分屏任务模式后,将所述视频播放程序的界面置于第一区域,以便将第二区域留出来用来显示其它应用程序的内容。应当理解的是,这里所述的视频播放程序的界面是指视频播放程序的整个窗口界面。
本实施例,在当前移动终端屏幕中有视频播放程序在播放视频,通过主动地向用户提示可进入分屏任务模式,并在用户选择进入分屏任务模式后,将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面,这样能够在视频播放时,使得用户能够同时浏览其它内容,满足用户能够同时浏览多种内容的需求。
图2为本申请视频播放方法实施例二的流程图,如图2所示,本实施例的方法可以包括:
步骤201、在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频。
移动终端的屏幕处于竖屏状态是指移动终端的屏幕为竖向放置比如被用户的手所竖向握持,在这种状态下,用户能够通过竖屏的方式正常观看或浏览移动终端屏幕中的内容。
其中,检测当前移动终端屏幕中是否有视频播放程序在播放视频的过程和上述方法实施例的步骤101类似,此处不再赘述。
若检测到当前移动终端屏幕中有视频播放程序在播放视频,则执行步骤202。
步骤202、提示进入分屏任务模式。
本实施例中,提示进入分屏任务模式的过程和上述方法实施例的步骤102类似,此处不再赘述。
步骤203、接收对分屏任务模式的选定指令。
根据上述提示,用户如果愿意进入分屏任务模式,则可根据提示或引导选择进入分屏任务模式。
分屏任务模式步骤204、将所述视频播放程序的播放模式设置为横屏模式。
图3为本申请一实施例中视频播放程序的播放模式是竖屏模式时的视频播放程序界面示意图。图4本申请一实施例中视频播放程序的播放模式是横屏模式时的视频播放程序界面示意图。
参看图3,当一视频播放程序的播放模式是竖屏模式时,该视频播放程序的界面包括视频部分和其它部分,在视频部分播放视频内容,在其它部分显示该视频播放程序的其它相关内容。也就是说,在一视频播放程序的播放模式是 竖屏模式时,该视频播放程序的界面中的视频部分和其它部分显示的都是该同一视频播放程序的内容。
参看图4,当一视频播放程序的播放模式是横屏模式时,该视频播放程序的界面仅包括视频部分,视频部分为全屏显示。
本实施例中,将所述视频播放程序的播放模式设置为横屏模式,是指在保持移动终端的屏幕处于竖屏状态的情况下,将视频播放程序的播放模式由竖屏模式设置为横屏模式。
步骤205、将横屏模式的视频播放程序的界面进行缩小处理。
可将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
比如,可以横屏模式的视频播放程序的界面的左上角或右上角为不动点,按照固定的长宽比进行缩小处理,缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
图5为本申请一实施例中将视频播放程序的播放模式设置为横屏模式并进行缩小处理的过程示意图。图5中,标记a为缩小处理后的视频播放程序界面的长度。
步骤206、将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
图6为本申请一实施例中将缩小处理后的视频播放程序的界面置于所述移动终端屏幕的局部区域的示意图。图6中,移动终端的屏幕为竖屏状态,标记b为移动终端屏幕的宽度。
本实施例中,可预先对移动终端屏幕进行分屏设置,如将移动终端屏幕分 屏设置为上部区域和下部区域两个区域。在移动终端屏幕为竖屏状态下,当用户选择进入分屏任务模式后,将将缩小处理后的所述视频播放程序的界面置于移动终端屏幕的上部区域,以便将移动终端屏幕的下部区域留出来用来显示其它应用程序的内容。当然,也可以将缩小处理后的所述视频播放程序的界面置于移动终端屏幕的下部区域,以便将移动终端屏幕的上部区域留出来用来显示其它应用程序的内容。将缩小处理后的所述视频播放程序的界面置于移动终端屏幕的一个区域后,也可通过拖动的方式,将缩小处理后的所述视频播放程序的界面从移动终端屏幕的一个区域移动到另一个区域,甚至可以将缩小处理后的所述视频播放程序的界面置于移动终端屏幕的任意位置。
应当理解的是,这里缩小处理后的视频播放程序的界面是指视频播放程序的整个界面。
步骤207、在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
图7为本申请一实施例中在所述移动终端屏幕的剩余区域显示另一应用程序的界面的示意图。
本实施例中,可使用户在所述移动终端屏幕的剩余区域显示查看或浏览另一应用程序的界面,比如浏览新闻、搜索热词、浏览视频相关的影评、阅读来自朋友的讯息等。
在所述移动终端屏幕的剩余区域显示的其它应用程序的内容,可为其它应用程序所推送的内容,也可为在所述移动终端屏幕的剩余区域显示另一应用程序的入口,接收用户对所述另一应用程序的入口的点击操作,从而将所述另一应用程序的界面在所述移动终端的所述剩余区域显示。
作为一可选方式,用户可以在所述移动终端屏幕的剩余区域更换另一应用程序,比如可以关闭当前的应用程序界面,再在所述移动终端屏幕的剩余区域 中另外打开别的应用程序界面。
作为一可选实施例,本申请实施例还可以包括结束分屏模式的步骤。
步骤208、按照设定策略结束所述分屏任务模式。
作为一可选方式,结束分屏任务模式的策略包括:提示结束分屏任务模式,收到结束分屏任务模式的指令时,结束分屏任务模式。
本实施例中,在已经是多任务状态下,即在移动终端屏幕的局部区域播放视频,剩余区域显示其它应用程序的界面的状态下,可以提供结束分屏任务模式的交互,比如通过提供的按钮用户可以直接进入视频播放应用的视频全屏模式,或者选择关掉两个应用程序任务中的任一个,进入其中一个应用程序的全屏界面。
本实施例不限于此,作为一可选方式,结束横屏多任务状态时,也可以是在横屏多任务状态下,如果检测到当前移动终端被横屏放置时,就触发退出竖屏多任务模式,此时默认状态可以直接进入视频全屏状态,或者提示用户让用户选择进入多任务中的哪一个应用程序界面中。
本实施例,在移动终端屏幕处于竖屏状态且其中有视频播放程序在播放视频时,通过主动地向用户提示可进入分屏任务模式,并在用户选择进入分屏任务模式后,将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面,这样能够在视频播放时,使得用户能够同时浏览其它内容,满足用户能够同时浏览多种内容的需求。特别地,本实施例能够利用视频播放程序本身在竖屏模式和横屏模式两种不同的播放模式时的显示特性,为用户提供一个多任务的显示框架系统。
图8为本申请视频播放方法实施例三的流程图,如图8所示,本实施例的方法可以包括:
步骤301、在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频。
移动终端的屏幕处于竖屏状态是指移动终端的屏幕为竖向放置比如被用户的手所竖向握持,在这种状态下,用户能够通过竖屏的方式正常观看或浏览移动终端屏幕中的内容。
其中,检测当前移动终端屏幕中是否有视频播放程序在播放视频的过程和上述方法实施例的步骤101类似,此处不再赘述。
若检测到当前移动终端屏幕中有视频播放程序在播放视频,则执行步骤302。
步骤302、提示进入分屏任务模式。
本实施例中,提示进入分屏任务模式的过程和上述方法实施例的步骤102类似,此处不再赘述。
步骤303、接收对分屏任务模式的选定指令。
根据上述提示,用户如果愿意进入分屏任务模式,则可根据提示或引导选择进入分屏任务模式。
步骤304、将横屏模式的视频播放程序的界面进行缩小处理。
本实施例中关于横屏模式和竖屏播放模式的解释可参看前述方法实施例中的相关部分,在此不再赘述。
本实施例中,将横屏模式的视频播放程序的界面进行缩小处理的过程和上述方法实施例的步骤205类似,此处不再赘述。
步骤305、将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
本实施例中,将缩小处理后的所述视频播放程序的界面置于所述移动终端 屏幕的局部区域的过程和上述方法实施例的步骤206类似,此处不再赘述。
步骤306、在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
本实施例中,在所述移动终端屏幕的剩余区域显示另一应用程序的界面的过程和上述方法实施例的步骤207类似,此处不再赘述。
作为一可选实施例,本申请实施例还可以包括按照设定策略结束所述分屏任务模式。结束分屏模式的过程和上述方法实施例类似,此处不再赘述。
本实施例,在移动终端屏幕处于横屏状态且其中有视频播放程序在播放视频时,通过主动地向用户提示可进入分屏任务模式,并在用户选择进入分屏任务模式后,将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面,这样能够在视频播放时,使得用户能够同时浏览其它内容,满足用户能够同时浏览多种内容的需求。特别地,本实施例能够利用视频播放程序本身在竖屏模式和横屏模式两种不同的播放模式时的显示特性,为用户提供一个多任务的显示框架系统。
图9为本申请视频播放方法实施例四的流程图,如图9所示,本实施例的方法可以包括:
步骤401、检测当前移动终端屏幕中是否有视频播放程序在播放广告。
本实施例中,作为一可选实施例,检测当前移动终端屏幕中是否有视频播放程序在播放广告可以包括:提取开始播放的视频中的一帧或多帧视频帧,与预先设置的视频广告帧集进行匹配;如果相匹配,确定有视频播放程序在播放广告。
当然,实际应用中,检测当前移动终端屏幕中是否有视频播放程序在播放广告还可以通过其他方式,包括但不限于:检测播放的视频右上角是否有倒计时设置,或者,播放的视频是否包含有广告标志,或者,获取播放视频的网站 或应用程序,查询预先设置的网站库或者应用程序库,从而获取播放视频的网站或应用程序是否有广告,或者,检测浏览所述视频的用户是否是会员等,本实施例对此不作限定。
若检测到当前移动终端屏幕中有视频播放程序在播放广告,则执行步骤402。
步骤402、提示进入分屏任务模式。
本实施例中,提示进入分屏任务模式的过程和上述方法实施例的步骤102类似,此处不再赘述。
步骤403、接收对分屏任务模式的选定指令。
根据上述提示,用户如果愿意进入分屏任务模式,则可根据提示或引导选择进入分屏任务模式。
步骤404、检测所述视频播放程序当前的播放模式是竖屏模式或是横屏模式。
若所述视频播放程序当前的播放模式是竖屏模式,则执行步骤405;若所述视频播放程序当前的播放模式是横屏模式,则执行步骤406。
步骤405、将所述视频播放程序的播放模式设置为横屏模式。
本实施例中,将所述视频播放程序的播放模式设置为横屏模式,是指在保持移动终端的屏幕处于竖屏状态的情况下,将视频播放程序的播放模式由竖屏模式设置为横屏模式。
步骤406、将横屏模式的视频播放程序的界面进行缩小处理。
本实施例中,将横屏模式的视频播放程序的界面进行缩小处理的过程和上述方法实施例的步骤205类似,此处不再赘述。
步骤407、将缩小处理后的所述视频播放程序的界面置于所述移动终端屏 幕的局部区域。
本实施例中,将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域的过程和上述方法实施例的步骤206类似,此处不再赘述。
步骤408、在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
本实施例中,可使用户在所述移动终端屏幕的剩余区域显示查看或浏览另一应用程序的界面,比如浏览新闻、搜索热词、浏览视频相关的影评、阅读来自朋友的讯息等,
在所述移动终端屏幕的剩余区域显示的其它应用程序的内容,可为其它应用程序所推送的内容,也可为在所述移动终端屏幕的剩余区域显示另一应用程序的入口,接收用户对所述另一应用程序的入口的点击操作,从而将所述另一应用程序的界面在所述移动终端的所述剩余区域显示。
作为一可选实施例,在本申请实施例中,还可以包括按照设定策略结束分屏任务模式,结束分屏任务模式的方法与前述方法类似,本实施例在此不再赘述。
本实施例,在移动终端屏幕中有视频播放程序在播放广告时,通过主动地向用户提示可进入分屏任务模式,并在用户选择进入分屏任务模式后,将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面,这样能够在广告播放(不影响广告主利益)时,使得用户能够同时浏览其它内容,满足用户能够同时浏览多种内容的需求。特别地,本实施例能够利用视频播放程序本身在竖屏模式和横屏模式两种不同的播放模式时的显示特性,为用户提供一个多任务的显示框架系统。
应该理解的是,虽然本实施例是以移动终端的屏幕处于竖屏状态时为例进行说明的,但本申请不限于此,本申请也适用于移动终端的屏幕处于横屏状态 下,在视频播放时,使得用户能够同时浏览其它内容,满足用户能够同时浏览多种内容的需求。
图10为本申请视频播放装置实施例一的结构示意图,如图10所示,本实施例的装置可以包括:检测模块11、分屏提示模块12、指令接收模块13和分屏执行模块14,其中,
检测模块11,用于检测当前移动终端屏幕中是否有视频播放程序在播放视频;
分屏提示模块12,用于若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;
指令接收模块13,用于接收对分屏任务模式的选定指令;
分屏执行模块14,用于将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在前述本申请视频播放装置实施例的基础上,在另一实施例中,所述检测模块,具体用于在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述分屏执行模块14,具体用于将所述视频播放程序的播放模式设置为横屏模式;将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
其中,所述分屏执行模块14,可以包括:缩小处理子模块,用于将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
所述分屏执行模块14,还可以包括:位置布置子模块,用于将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
在前述本申请视频播放装置实施例的基础上,在另一实施例中,所述检测模块11,具体用于在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
所述分屏执行模块14,具体用于将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
其中,所述分屏执行模块14,可以包括:缩小处理子模块,用于将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
所述分屏执行模块14,还可以包括:位置布置子模块,用于将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
图11为本申请视频播放装置实施例二的结构示意图,如图11所示,本实施例的装置在图10所示装置结构的基础上,进一步地,还可包括:信息显示模块15、分屏结束提示模块16、分屏结束指令接收模块17、分屏结束执行模块18;其中,
信息显示模15,用于在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
作为一可选实施例,所述信息显示模块15,包括引导子模块、指令接收子模块和加载子模块,其中,引导子模块,用于在所述移动终端屏幕的剩余区 域显示另一应用程序的入口;指令接收子模块,用于接收对所述另一应用程序的入口的点击操作;加载子模块,用于将所述另一应用程序的界面在所述移动终端的所述剩余区域显示。
分屏结束提示模块16,用于提示结束分屏任务模式;
分屏结束指令接收模块17,用于接收结束分屏任务模式的指令;
分屏结束执行模块18,用于结束分屏任务模式。
本实施例的装置,可以用于执行图1或图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本实施例的装置在图10或图11所示装置结构的基础上,在本申请视频播放装置另一实施例中,进一步地,所述检测模块11,具体用于检测当前移动终端屏幕中是否有视频播放程序在播放广告;所述分屏提示模块12,具体用于若检测到当前移动终端屏幕中有视频播放程序在播放广告,则提示进入分屏任务模式。
本实施例的装置,可以用于执行图1、图2、图8或图9所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图12为本申请电子设备一个实施例的结构示意图,可以实现本申请图1、图2、图8或图9所示实施例的流程,如图12所示,上述电子设备可以包括:壳体41、处理器42、存储器43、电路板44和电源电路45,其中,电路板44安置在壳体41围成的空间内部,处理器42和存储器43设置在电路板44上;电源电路45,用于为上述电子设备的各个电路或器件供电;存储器43用于存储可执行程序代码;处理器42通过读取存储器43中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一实施例所述的视频播放方法。
处理器42对上述步骤的具体执行过程以及处理器42通过运行可执行程序代码来进一步执行的步骤,可以参见本申请图1、图2、图8或图9所示实施例的描述,在此不再赘述。
该电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放模块(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)其他具有数据交互功能的电子设备。
基于上述各实施例,本申请再一方面提出一种非临时性计算机可读存储介质,用于存储可执行程序代码,所述可执行程序代码用于执行如上任一实施例所述的视频播放方法。
进一步的,本申请再一方面提出一种计算机程序产品,用于执行如上述任一实施例所述的视频播放方法。
本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以通过计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质 (如ROM/RAM、磁碟或光盘)中,包括若干指令用以控制终端执行本申请实施例图1-图2和图10所描述的风扇开关机控制方法中的部分或全部的步骤。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算 机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组 合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (21)

  1. 一种视频播放方法,应用于移动终端,其特征在于,所述方法包括:
    检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;
    接收对分屏任务模式的选定指令;
    将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
  2. 根据权利要求1所述的视频播放方法,其特征在于,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
    在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    所述将所述视频播放程序的界面置于移动终端屏幕的局部区域,包括,
    将所述视频播放程序的播放模式设置为横屏模式;
    将横屏模式的视频播放程序的界面进行缩小处理;
    将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
  3. 根据权利要求1所述的视频播放方法,其特征在于,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
    在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    所述将所述视频播放程序的界面置于移动终端屏幕的局部区域,包括:
    将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
  4. 根据权利要求2或3所述的视频播放方法,其特征在于,所述将横屏模式的视频播放程序的界面进行缩小处理,包括:
    将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
  5. 根据权利要求2或3所述的视频播放方法,其特征在于,所述将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域,包括:
    将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
  6. 根据权利要求1、2或3所述的视频播放方法,其特征在于,所述检测当前移动终端屏幕中是否有视频播放程序在播放视频,包括:
    检测当前移动终端屏幕中是否有视频播放程序在播放广告;
    其中,所述若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式,包括:若检测到当前移动终端屏幕中有视频播放程序在播放广告,则提示进入分屏任务模式。
  7. 根据权利要求1所述的视频播放方法,其特征在于,在将所述视频播放程序的界面置于移动终端屏幕的局部区域之后,所述方法还包括:
    在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
  8. 根据权利要求7所述的视频播放方法,其特征在于,所述在所述移动终端屏幕的剩余区域显示另一应用程序的界面,包括:
    在所述移动终端屏幕的剩余区域显示另一应用程序的入口;
    接收对所述另一应用程序的入口的点击操作;
    在所述移动终端的所述剩余区域加载所述另一应用程序的界面。
  9. 根据权利要求1所述的视频播放方法,其特征在于,在接收对分屏任务模式的选定指令,将所述视频播放程序的界面置于移动终端屏幕的局部区域之后,所述方法还包括:
    按照设定策略结束所述分屏任务模式。
  10. 一种视频播放装置,应用于移动终端,其特征在于,所述装置包括:
    检测模块,用于检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    分屏提示模块,用于若检测到当前移动终端屏幕中有视频播放程序在播放视频,则提示进入分屏任务模式;
    指令接收模块,用于接收对分屏任务模式的选定指令;
    分屏执行模块,用于将所述视频播放程序的界面置于移动终端屏幕的局部区域,以使所述移动终端屏幕的剩余区域能够显示另一应用程序的界面。
  11. 根据权利要求10所述的视频播放装置,其特征在于,所述检测模块,具体用于在移动终端的屏幕处于竖屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    所述分屏执行模块,具体用于将所述视频播放程序的播放模式设置为横屏模式;将横屏模式的视频播放程序的界面进行缩小处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
  12. 根据权利要求10所述的视频播放装置,其特征在于,所述检测模块,具体用于在移动终端的屏幕处于横屏状态时,检测当前移动终端屏幕中是否有视频播放程序在播放视频;
    所述分屏执行模块,具体用于将横屏模式的视频播放程序的界面进行缩小 处理;将缩小处理后的所述视频播放程序的界面置于所述移动终端屏幕的局部区域。
  13. 根据权利要求11或12所述的视频播放装置,其特征在于,所述分屏执行模块,包括:
    缩小处理子模块,用于将横屏模式的视频播放程序的界面按照固定的长宽比进行缩小处理,以使缩小处理后的视频播放程序的界面的长度与所述移动终端屏幕的宽度相适应。
  14. 根据权利要求11或12所述的视频播放装置,其特征在于,所述分屏执行模块,包括:
    位置布置子模块,用于将缩小处理后的所述视频播放程序的界面,置于所述移动终端屏幕的上部区域或下部区域;其中,所述移动终端屏幕为竖屏状态。
  15. 根据权利要求10、11或12所述的视频播放装置,其特征在于,所述检测模块,具体用于检测当前移动终端屏幕中是否有视频播放程序在播放广告;
    其中,所述分屏提示模块,具体用于若检测到当前移动终端屏幕中有视频播放程序在播放广告,则提示进入分屏任务模式。
  16. 根据权利要求10所述的视频播放装置,其特征在于,还包括:
    界面显示模块,用于在所述移动终端屏幕的剩余区域显示另一应用程序的界面。
  17. 根据权利要求16所述的视频播放装置,其特征在于,所述界面显示模块,包括:
    引导子模块,用于在所述移动终端屏幕的剩余区域显示另一应用程序的入口;
    指令接收子模块,用于接收对所述另一应用程序的入口的点击操作;
    加载子模块,用于在所述移动终端的所述剩余区域加载所述另一应用程序的界面。
  18. 根据权利要求10所述的视频播放装置,其特征在于,还包括:
    分屏结束模块,用于按照设定策略结束所述分屏任务模式。
  19. 一种电子设备,其特征在于,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行权利要求1-9任一项所述的视频播放方法。
  20. 一种非临时性计算机可读存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码用于执行权利要求1-9任一项所述的视频播放方法。
  21. 一种计算机程序产品,其特征在于,用于执行权利要求1-9任一项所述的视频播放方法。
PCT/CN2017/091718 2016-07-04 2017-07-04 一种视频播放方法、装置及电子设备 WO2018006802A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610518407.2A CN106028124B (zh) 2016-07-04 2016-07-04 一种视频播放方法、装置及电子设备
CN201610518407.2 2016-07-04

Publications (1)

Publication Number Publication Date
WO2018006802A1 true WO2018006802A1 (zh) 2018-01-11

Family

ID=57106975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091718 WO2018006802A1 (zh) 2016-07-04 2017-07-04 一种视频播放方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN106028124B (zh)
WO (1) WO2018006802A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377260A (zh) * 2019-08-29 2019-10-25 湖北亿咖通科技有限公司 一种多屏显示系统及方法
CN111522523A (zh) * 2020-04-30 2020-08-11 北京小米移动软件有限公司 显示处理方法及装置、计算机存储介质

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028124B (zh) * 2016-07-04 2019-10-15 北京金山安全软件有限公司 一种视频播放方法、装置及电子设备
CN106507173B (zh) * 2016-10-31 2020-02-18 上海每时每刻文化传播有限公司 移动终端和分屏显示控制方法
CN106658115A (zh) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 一种视频播放方法及移动终端
CN108668159A (zh) * 2017-03-28 2018-10-16 宇龙计算机通信科技(深圳)有限公司 一种分屏播放视频和广告的方法及终端
CN107193665A (zh) * 2017-04-12 2017-09-22 北京安云世纪科技有限公司 一种任务的提醒方法、装置及移动终端
CN106921883B (zh) * 2017-04-25 2020-06-05 珠海市魅族科技有限公司 一种视频播放处理的方法及装置
CN107613342A (zh) * 2017-10-09 2018-01-19 深圳市沃特沃德股份有限公司 视频自适应调整方法和装置
CN107613362A (zh) * 2017-10-20 2018-01-19 维沃移动通信有限公司 一种视频显示控制方法及移动终端
CN107943400B (zh) * 2017-11-30 2021-05-21 努比亚技术有限公司 双面屏切换方法、移动终端及可读存储介质
CN108200278A (zh) * 2017-12-28 2018-06-22 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN110324691A (zh) * 2018-03-29 2019-10-11 中兴通讯股份有限公司 一种分屏显示的方法、设备及计算机可读存储介质
CN108600807B (zh) * 2018-04-08 2021-04-13 Oppo广东移动通信有限公司 视频播放控制方法、装置、终端和计算机可读介质
CN108710458B (zh) * 2018-05-09 2020-10-30 维沃移动通信有限公司 一种分屏控制方法和终端设备
CN108683938A (zh) * 2018-05-11 2018-10-19 Oppo(重庆)智能科技有限公司 视频播放显示方法、装置、存储介质及终端设备
CN110324695A (zh) * 2019-07-05 2019-10-11 江苏铁锚玻璃股份有限公司 基于乘客信息显示系统广播及视频播放的界面
CN110442418A (zh) * 2019-08-13 2019-11-12 江苏铁锚玻璃股份有限公司 乘客信息显示系统广播与应用程序相结合的操作界面
CN112188221B (zh) * 2020-09-24 2023-04-07 广州虎牙科技有限公司 播放控制方法、装置、计算机设备及存储介质
CN113676764B (zh) * 2021-08-04 2023-12-05 深圳康佳电子科技有限公司 一种屏幕分屏显示方法、装置及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049866A (zh) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 一种移动终端及其分屏的实现方法和装置
CN104572001A (zh) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 开启分屏的方法和移动终端
CN104898952A (zh) * 2015-06-16 2015-09-09 魅族科技(中国)有限公司 一种终端分屏实现方法及终端
KR20150111167A (ko) * 2014-03-25 2015-10-05 엘지전자 주식회사 이동 단말기
CN106028124A (zh) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 一种视频播放方法、装置及电子设备
CN106507173A (zh) * 2016-10-31 2017-03-15 努比亚技术有限公司 移动终端和分屏显示控制方法
CN106658115A (zh) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 一种视频播放方法及移动终端
CN106681584A (zh) * 2016-12-09 2017-05-17 深圳市金立通信设备有限公司 一种优化应用显示的方法及终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905181B (zh) * 2012-10-12 2015-10-21 北京奇艺世纪科技有限公司 一种实现移动终端在线播放视频的方法、装置和系统
CN103019609B (zh) * 2012-12-28 2016-02-03 广东欧珀移动通信有限公司 屏幕分区域显示的方法、装置及触屏终端
CN104461242B (zh) * 2014-12-08 2017-12-01 深圳市嘉乐派科技有限公司 一种基于Android操作系统的多窗口界面实现方法
CN104834437B (zh) * 2015-05-28 2018-09-14 魅族科技(中国)有限公司 一种分屏操作方法及终端
CN105446693A (zh) * 2015-12-29 2016-03-30 硕诺科技(深圳)有限公司 移动终端和其进入双屏操作模式的控制方法
CN106534914A (zh) * 2016-10-31 2017-03-22 努比亚技术有限公司 分屏显示装置、移动终端及方法
CN106803978A (zh) * 2017-03-16 2017-06-06 上海青橙实业有限公司 移动终端以及基于悬浮窗口播放视频的方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150111167A (ko) * 2014-03-25 2015-10-05 엘지전자 주식회사 이동 단말기
CN104049866A (zh) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 一种移动终端及其分屏的实现方法和装置
CN104572001A (zh) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 开启分屏的方法和移动终端
CN104898952A (zh) * 2015-06-16 2015-09-09 魅族科技(中国)有限公司 一种终端分屏实现方法及终端
CN106028124A (zh) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 一种视频播放方法、装置及电子设备
CN106507173A (zh) * 2016-10-31 2017-03-15 努比亚技术有限公司 移动终端和分屏显示控制方法
CN106681584A (zh) * 2016-12-09 2017-05-17 深圳市金立通信设备有限公司 一种优化应用显示的方法及终端
CN106658115A (zh) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 一种视频播放方法及移动终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377260A (zh) * 2019-08-29 2019-10-25 湖北亿咖通科技有限公司 一种多屏显示系统及方法
CN110377260B (zh) * 2019-08-29 2024-01-05 亿咖通(湖北)技术有限公司 一种多屏显示系统及方法
CN111522523A (zh) * 2020-04-30 2020-08-11 北京小米移动软件有限公司 显示处理方法及装置、计算机存储介质

Also Published As

Publication number Publication date
CN106028124A (zh) 2016-10-12
CN106028124B (zh) 2019-10-15

Similar Documents

Publication Publication Date Title
WO2018006802A1 (zh) 一种视频播放方法、装置及电子设备
US20230137850A1 (en) Method, apparatus, device and medium for posting a video or image
KR101260770B1 (ko) 휴대 전자 기기 및 휴대 전자기기에서 컨텐츠 재생을 제어하는 방법
US9183658B2 (en) Animation creation and management in presentation application programs
WO2017193638A1 (zh) 一种展示信息的方法、装置及电子设备
CN107544810B (zh) 控制应用程序的方法和装置
US11775152B2 (en) Presenting content items and performing actions with respect to content items
CN109729414A (zh) 一种评论消息的发送、显示方法、装置、服务器及终端
TW201919406A (zh) 彈幕展示方法及裝置
KR20150043334A (ko) 첨부 노트를 갖는 상호작용 슬라이드 표현을 위한 읽기 모드
EP2863394A1 (en) Apparatus and method for editing synchronous media
WO2022063090A1 (zh) 用于用户引导的方法、装置、设备和存储介质
WO2018112928A1 (zh) 一种信息展示方法、装置及终端设备
US11233895B2 (en) Automatic wallpaper setting method, terminal device, and graphical user interface
TW201545042A (zh) 暫態使用者介面元素
KR20150068509A (ko) 메신저 프로그램에서의 이미지를 이용한 커뮤니케이션 방법, 이를 위한 장치 및 시스템
KR20120052584A (ko) 이동 단말기 및 이것의 메타데이터 활용 방법
US20170195710A1 (en) Method and electronic device for preview play
CN105681648A (zh) 一种图片查看方法、装置和电子设备
WO2018112924A1 (zh) 一种信息展示方法、装置及终端设备
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
KR102208361B1 (ko) 키워드 검색 방법 및 장치
WO2022068721A1 (zh) 截屏方法、装置及电子设备
CN113380279B (zh) 音频播放方法、装置、存储介质及终端
KR102136793B1 (ko) 메신저 프로그램에서의 이미지를 이용한 커뮤니케이션 방법, 이를 위한 장치 및 시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17823614

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.04.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17823614

Country of ref document: EP

Kind code of ref document: A1