WO2021185017A1 - 视频流播放控制方法、设备及存储介质 - Google Patents

视频流播放控制方法、设备及存储介质 Download PDF

Info

Publication number
WO2021185017A1
WO2021185017A1 PCT/CN2021/076703 CN2021076703W WO2021185017A1 WO 2021185017 A1 WO2021185017 A1 WO 2021185017A1 CN 2021076703 W CN2021076703 W CN 2021076703W WO 2021185017 A1 WO2021185017 A1 WO 2021185017A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
playback
menu bar
video stream
screen
Prior art date
Application number
PCT/CN2021/076703
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 WO2021185017A1 publication Critical patent/WO2021185017A1/zh
Priority to US17/886,848 priority Critical patent/US11871083B2/en
Priority to US18/540,706 priority patent/US20240187698A1/en

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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • 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 embodiments of the present application relate to the technical field of video stream playback, and in particular, to a video stream playback control method, device, and storage medium.
  • mobile terminals represented by smart phones have entered the era of large screens and full screens.
  • mobile terminal applications support video streaming functions, such as social applications that realize social interaction in the form of short videos and live broadcasts, and shopping applications that display goods in the form of videos and live broadcasts, etc. Wait.
  • Video stream playback control mode supported by traditional mobile terminal applications is touch.
  • the user can control the applications loaded on the mobile terminal through screen touch, including opening and closing applications, and calling applications Function in.
  • the screen touch-based video stream playback control method is difficult to meet the use requirements of the non-handheld mode in emerging use scenarios.
  • the non-handheld mode it will be more difficult for the user to perform screen touch, which increases the video stream.
  • the difficulty of playback control Taking video content in video stream formats such as short video and live video as an example, after the current video content is played, it often requires manual operation by the user to switch to the next video content.
  • a "switch to next" play button is displayed below the display area of the video content, and the next video content is switched by clicking the play button; in another existing implementation , Switch to the next video content by making a specific sliding gesture in the display area (for example, sliding up).
  • frequent manual switching of video content brings inconvenience to users and increases the difficulty of video stream playback control.
  • the embodiments of the present application provide a video stream playback control method, device, and storage medium, so as to reduce the difficulty of video stream playback control in a non-handheld use scenario.
  • an embodiment of the present application provides a video stream playback control method.
  • the method includes: acquiring the playback mode switch by detecting the trigger event of the playback mode configuration control Instruction, the display entry of the play mode configuration control is in the fixed menu bar area of the mobile display screen, the play mode switching instruction instructs to switch the play mode of the video stream to the target play mode, and the target play mode includes at least: automatic jump The automatic playback mode of video content, the video stream includes multiple video contents; the playback mode of the video stream is set to the target playback mode indicated by the playback mode switching instruction; when the playback mode of the video stream is set to the automatic playback mode, If it is detected that the playback of the current video content is completed, the next video content of the current video content is played.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the method provided by the embodiments of the present application supports switching to automatic playback.
  • the automatic playback mode when the current video content is detected to be played, the next video content will be automatically played, without the need for the user to manually switch, which improves the user’s operational efficiency. Convenience, reducing the difficulty of operation of video stream playback control.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • the fixed menu bar area includes the left fixed menu bar area and/or the right fixed menu bar area, the left fixed menu bar area is located on the left side of the display area of the mobile display, and the right fixed menu bar area is located on the mobile display The right side of the display area of the screen.
  • the fixed menu bar is usually set under the display screen.
  • the area below the display screen is often inconvenient for the user to operate.
  • the two sides of the display screen are more convenient for the user to operate.
  • the fixed menu bar area is set on the left and/or right side of the display area of the mobile display screen to facilitate user operations.
  • At least one designated control is displayed in the fixed menu bar area.
  • the method provided in the embodiment of the present application may further include: obtaining a menu bar display mode switching instruction, and displaying the at least one designated control according to the instruction of the menu bar display mode switching instruction Fixed menu bar area on the left or fixed menu bar area on the right.
  • the method provided in the embodiments of this application fully takes into account the complexity and variability of actual application scenarios.
  • the left side of the display screen is an area that is more convenient for users to operate, but in other application scenarios, the right side of the display screen It is an area that is more convenient for users to operate.
  • the method provided by the embodiment of the present application may further include: obtaining a target playback instruction, which is not in the foregoing playback area
  • the detected touch command indicates the execution of the target playback operation; the target playback operation is executed on the video stream.
  • the video stream playback control method can obtain a target playback instruction, which is not a touch instruction detected in the playback area of the mobile display screen.
  • the target playback operation is executed according to the instruction of the target playback instruction to achieve the purpose of video stream playback control, and realize the non-touch mode of video stream playback control. This method is applied in non-handheld usage scenarios, and can overcome the problem of high difficulty in controlling video stream playback caused by screen touch.
  • the method for obtaining the target playback instruction may include: obtaining the target playback instruction through a trigger event of the target playback instruction detected by a sensor on the electronic device where the mobile display screen is located.
  • the method provided by the embodiment of the present application makes full use of the sensor on the electronic device where the mobile display screen is located, and detects the target playback instruction trigger event through the sensor, enriching the video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the method for obtaining the target playback instruction may include: obtaining the target playback instruction through the trigger event of the target playback instruction detected by the sensor of the electronic device connected in the local area network where the mobile display screen is located.
  • the method provided by the embodiments of the present application makes full use of the sensors on the electronic equipment connected in the local area network where the mobile display screen is located, and detects the target playback instruction trigger event through the sensor, which enriches the video stream touch mode to meet the requirements of non-handheld usage scenarios. need.
  • the method for obtaining the target playback instruction may include: obtaining information received by an electronic device connected in the local area network where the mobile display screen is located; determining the current scene mode according to the information, and determining the current scene mode as the target scene Mode to obtain the target playback instruction corresponding to the target scene mode.
  • the method provided in the embodiments of the present application provides a rich video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the current scene mode can be identified during the video stream playback process, and the playback of the video stream can be automatically controlled according to the current scene mode. Meet the needs of the current scene.
  • the foregoing video stream includes multiple video contents
  • the method may further include: determining whether the screen display mode of the video content of the video stream matches the screen type of the mobile display screen, and filtering out the screen display Video content whose mode does not match the screen type.
  • the screen types include horizontal screen and vertical screen, the screen display mode matching the horizontal screen is the horizontal screen display mode, and the screen display mode matching the vertical screen is the vertical screen display mode.
  • the method provided by the embodiments of the present application can filter out video content that does not match the screen type according to the screen type of the mobile display screen, so that the screen display mode of the played video content matches the screen type, thereby improving user experience and security .
  • an embodiment of the present application provides an electronic device that includes a playback instruction acquisition module, a playback operation execution module, and a playback mode execution module; in the process of playing a video stream in the playback area of the mobile display screen of the electronic device: playback instruction
  • the acquisition module is used to acquire the play mode switching instruction by detecting the trigger event of the play mode configuration control.
  • the display entry of the play mode configuration control is in the fixed menu bar area of the mobile display screen.
  • the play mode switching instruction instructs the above video stream
  • the play mode is switched to the target play mode, the target play mode includes at least: an automatic play mode that automatically jumps to the video content, the above-mentioned video stream includes a plurality of video contents; the play operation execution module is used to set the play mode of the video stream Is the target play mode indicated by the play mode switching instruction; the play mode execution module is used to play the current video content under the condition that the play mode of the video stream is set to the automatic play mode.
  • a video content is used to set to the play mode of the video stream Is the target play mode indicated by the play mode switching instruction.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the electronic device provided in the embodiment of the application supports switching to automatic playback.
  • the automatic playback mode when the current video content is detected to be played, it will automatically play the next video content without the need for manual switching by the user, which improves user operations. The convenience of this reduces the difficulty of controlling the video stream playback.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • the fixed menu bar area includes the left fixed menu bar area and/or the right fixed menu bar area, the left fixed menu bar area is located on the left side of the display area of the mobile display, and the right fixed menu bar area is located on the mobile display The right side of the display area of the screen.
  • the fixed menu bar is usually set under the display screen.
  • the lower area of the display screen is often inconvenient for users to operate.
  • the two sides of the display screen are more convenient for users to operate.
  • the fixed menu bar area is set on the left and/or right side of the display area of the mobile display screen to facilitate user operations.
  • At least one designated control is displayed in the fixed menu bar area
  • the electronic device provided in the embodiment of the present application may further include a menu bar display mode switching module for obtaining a menu bar display mode switching instruction, and according to the menu bar display mode switching instruction
  • the electronic equipment provided by the embodiments of the present application fully takes into account the complexity and variability of actual application scenarios.
  • the left side of the display screen is an area that is more convenient for users to operate, but in other application scenarios, the right side of the display screen The side is an area that is more convenient for users to operate.
  • the playback instruction acquiring module is also used to acquire a target playback instruction that is not detected in the playback area.
  • the touch command instructs to execute the target playback operation; the playback operation execution module is also used to execute the target playback operation on the video stream.
  • the electronic device When the playback mode of the video stream is set to auto-play mode, the user may also need to perform other playback control operations on the video stream, such as stopping the video content, continuing to play the video content, and in the case where the current video content has not been played completely Switch video content and more.
  • the electronic device provided in the embodiments of the present application can obtain a target playback instruction, which is not a touch command detected in the playback area of the mobile display screen, and is based on the The instruction of the target playback instruction executes the target playback operation, achieves the purpose of video stream playback control, and realizes the non-touch mode of video stream playback control.
  • the electronic device is used in non-hand-held usage scenarios, and can overcome the problem of high difficulty in controlling the video stream playback caused by the screen touch mode.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring the target playback instruction by triggering an event of the target playback instruction detected by a sensor on the electronic device where the mobile display screen is located.
  • the electronic device provided by the embodiment of the present application makes full use of the sensor on the electronic device where the mobile display screen is located, detects the target playback instruction trigger event through the sensor, and enriches the video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring the target playback instruction through a trigger event of the target playback instruction detected by a sensor of an electronic device connected in the local area network where the mobile display screen is located.
  • the electronic device provided by the embodiment of the application makes full use of the sensors on the electronic device connected in the local area network where the mobile display screen is located, detects the target playback instruction trigger event through the sensor, and enriches the video stream touch mode to meet the non-handheld usage scenarios Demand.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring information received by an electronic device connected in the local area network where the mobile display screen is located; determining the current scene mode based on the information, and determining the current scene The mode is the target scene mode, and the target playback instruction corresponding to the target scene mode is obtained.
  • the electronic device provided in the embodiments of the present application provides a rich video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the current scene mode can be identified during the video stream playback process, and the playback of the video stream can be automatically controlled according to the current scene mode. Meet the needs of the current scene.
  • the electronic device may also include a video content filtering module for determining whether the screen display mode of the video content of the video stream matches the screen type of the mobile display screen, and filtering the screen display mode Video content that does not match the screen type.
  • the screen types include horizontal screen and vertical screen, the screen display mode matching the horizontal screen is the horizontal screen display mode, and the screen display mode matching the vertical screen is the vertical screen display mode.
  • the electronic device provided in the embodiments of the present application can filter out video content that does not match the screen type according to the screen type of the mobile display screen, so that the screen display mode of the played video content matches the screen type, thereby improving user experience and safety sex.
  • an embodiment of the present application also provides an electronic device, including a processor and a memory; the memory is used to store programs for executing the methods described in the method embodiments of the first aspect; the processor is configured to execute the programs stored in the memory .
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the electronic device provided in the embodiment of the application supports switching to automatic playback.
  • the automatic playback mode when the current video content is detected to be played, it will automatically play the next video content without the need for manual switching by the user, which improves user operations. The convenience of this reduces the difficulty of controlling the video stream playback.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • an embodiment of the present application also provides a computer-readable storage medium that stores a program for executing the method described in each embodiment of the first aspect.
  • the existing implementation often requires manual operation by the user to switch to the next video content.
  • frequent manual switching of video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the program stored in the computer-readable storage medium provided by the embodiment of the application supports switching to automatic playback. In the automatic playback mode, it detects that the current video content has been played, and the next video content is automatically played without the user. Manual switching improves the convenience of user operations and reduces the operational difficulty of video stream playback control.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • FIG. 1 is a flowchart of a video stream playback control method provided by an embodiment of the application
  • Fig. 2A is a schematic diagram showing the display of a play mode configuration control provided by an embodiment of the application
  • FIG. 2B is a schematic diagram of displaying a play mode configuration control provided by another embodiment of the application.
  • 3A is a schematic diagram of a fixed menu bar area and a display area provided by an embodiment of this application;
  • 3B is a schematic diagram of a fixed menu bar area and a display area provided by another embodiment of this application.
  • 4A is a schematic diagram showing the display of the controls in the fixed menu bar area on the left provided by an embodiment of the application;
  • 4B is a schematic diagram showing the display of controls in the fixed menu bar area on the right provided by an embodiment of the application;
  • 4C is a schematic diagram showing the display of the controls in the fixed menu bar area on the left provided by another embodiment of the application;
  • 4D is a schematic diagram showing the display of the controls in the fixed menu bar area on the right provided by another embodiment of the application;
  • FIG. 5A is a schematic diagram of displaying video content in a portrait mode on a horizontal screen
  • FIG. 5B is another schematic diagram of displaying video content in a portrait mode on a horizontal screen
  • FIG. 6 is a block diagram of an electronic device provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the embodiment of the present application provides a method for controlling the playback of a video stream.
  • the method may be implemented by an application program that plays the video stream, or may be implemented by the application program and a system program of an electronic device that installs the application program.
  • the method includes:
  • Step 101 Obtain a play mode switching instruction by detecting a trigger event of the play mode configuration control, and the display entry of the play mode configuration control is in the fixed menu bar area of the above-mentioned mobile display screen.
  • the play mode switching instruction instructs to switch the play mode of the aforementioned video stream to the target play mode.
  • the target play mode includes at least: an automatic play mode that automatically jumps to video content.
  • the mobile display screen may include the display screen of the mobile terminal, and may also include a movable display screen connected to the terminal device for displaying according to the control of the terminal device.
  • the play area of the mobile display screen refers to the screen area used to display the video content of the video stream.
  • the video stream includes multiple video contents, and playing the video stream specifically includes playing the video content of the video stream.
  • the embodiments of this application do not limit the division of video content.
  • the division of video content is defined according to product requirements. Take short video as an example, a complete short video is a video content; take a live video as an example, a complete live video (video from the start of the live broadcast to the end of the live broadcast) is a video content, or the live video is as scheduled
  • the rules of is divided into multiple video content. For example, a live video involves multiple product recommendations, and each product recommendation is a video content.
  • Step 102 Set the play mode of the aforementioned video stream to the target play mode indicated by the play mode switching instruction.
  • Step 103 When the playing mode of the video stream is set to the automatic playing mode, if it is detected that the playing of the current video content is completed, the next video content of the current video content is played.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the method provided by the embodiments of the present application supports switching to automatic playback.
  • the automatic playback mode when the current video content is detected to be played, the next video content will be automatically played, without the need for the user to manually switch, which improves the user’s operational efficiency. Convenience, reducing the difficulty of operation of video stream playback control.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • the play mode configuration control may include the switch control shown in FIG. 2A. Assuming that the current play mode is non-auto play mode, the circular slider in the switch control is located at the right end of the elliptical slide box, and the user clicks the switch control, Then the video stream playback application detects the trigger event of the switch control, sets the playback mode of the video stream to automatic playback mode, and slides the circular slider in the switch control to the left of the elliptical slide box (not shown in the figure) Out), the user clicks the switch control again, and the video stream playback application detects the trigger event of the switch control, sets the playback mode of the video stream to non-automatic playback mode, and slides the circular slider in the switch control to The right side of the elliptical frame.
  • the play mode configuration control may include the selection control shown in FIG. 2B. Assuming that the current play mode is non-auto play mode, the selection control corresponding to the automatic play mode "off" is in the selected state, and the user clicks the automatic play mode" If the corresponding selection control is turned on, the video stream playback application detects the triggering event of the selection control, sets the playback mode of the video stream to automatic playback mode, and changes the state of the selection control corresponding to the automatic playback mode "on” to In the selected state, the state of the selection control corresponding to the auto play mode "off” is changed to an unselected state (not shown in the figure).
  • the method provided in the embodiments of the present application supports the user to switch the play mode of the video stream from the automatic play mode to the non-auto play mode through other control methods, for example, when the current play mode of the video stream is the automatic play mode
  • the video stream playback mode is set to non-automatic playback mode, and the switch shown in Figure 2A is displayed
  • the control circular slider is located at the right end of the elliptical sliding box, or when the selection control shown in Figure 2B is displayed, the state of the selection control corresponding to the control auto play "on” is unselected, and the auto play "off” corresponds to The state of the select control is selected.
  • the fixed menu bar area includes the left fixed menu bar area and/or the right fixed menu bar area, the left fixed menu bar area is located on the left side of the display area of the mobile display, and the right fixed menu bar area is located on the mobile display The right side of the display area of the screen.
  • the method provided in the embodiment of the present application also supports user-defined configuration of a fixed menu bar.
  • the fixed menu bar refers to the menu bar that is always displayed at the front end of the mobile display screen during the running process of the video stream playback application, or at least during the video stream playback process.
  • the embodiment of the present application does not limit the relative position of the fixed menu bar area and the display area, and the area area ratio.
  • the left fixed menu bar area 301 is adjacent to the display area 302; in another embodiment, as shown in FIG. 3B, the left side fixed The menu bar area 301 is in the display area 302, located at the left end of the display area 302, and displayed on the upper layer of the display area 302.
  • the transparency of the menu bar area 301 on the left is fixed Not lower than the set transparency threshold.
  • the fixed menu bar is usually set under the display screen.
  • the area below the display screen is often inconvenient for the user to operate.
  • the two sides of the display screen are more convenient for the user to operate.
  • the fixed menu bar area is set on the left and/or right side of the display area of the mobile display screen to facilitate user operations.
  • the embodiments of this application do not limit the controls displayed in the fixed menu bar.
  • the controls displayed in the fixed menu bar are determined according to product requirements.
  • the method provided by the embodiment of the present application also supports the user to configure the controls displayed in the fixed menu bar.
  • At least one designated control is displayed in the fixed menu bar area, and the designated control refers to a control that can flexibly switch the display position using the method provided in the embodiment of the present application.
  • the method provided by the embodiment of the present application may further include: acquiring a menu bar display mode switching instruction, and displaying the at least one designated control in the fixed menu bar area on the left or fixed on the right according to the instruction of the menu bar display mode switching instruction. Menu bar area.
  • the embodiment of the present application does not limit the content, form, and acquisition timing of the menu bar display mode switching instruction.
  • the menu bar display mode switching command may include touch commands, voice commands, and so on.
  • the menu bar display mode switching instruction can be obtained by detecting the trigger event of the menu bar display mode selection control on the mobile display screen, or it can receive the menu bar display mode switching instruction sent by other programs of the electronic device, or Receive menu bar display mode switching instructions sent by other electronic devices.
  • the video stream playback application is installed on the car’s computer.
  • the menu bar display mode selection page is loaded and displayed, and the menu bar mode selection control is displayed on the page.
  • the user selects the display mode of the fixed menu bar area on the right through the control, and the video streaming application detects The trigger event will display the designated control in the fixed menu bar display area on the right; during the video stream playback, the user will make a voice that is semantically expressed as "switching the fixed menu bar area display mode", which is collected by the microphone of the smart phone or on-board computer
  • the voice is sent to the video streaming application program, and the video streaming application program obtains the menu bar display mode switching instruction through semantic analysis, and displays the designated control in the fixed menu bar display area on the left.
  • the sensor installed on the vehicle seat can be used to detect whether there is a passenger on the co-pilot. If the sensor detects that there is a passenger on the co-pilot, the detection result can be used as an indication to specify The control is displayed in the menu bar area of the fixed menu bar area on the right. The mode switching instruction is displayed. If the sensor detects that there is no passenger on the co-pilot, the detection result can be used as an instruction to display the specified control in the menu bar area of the fixed menu bar area on the left. Mode switching instruction.
  • the method provided in the embodiments of this application fully takes into account the complexity and variability of actual application scenarios.
  • the left side of the display screen is an area that is more convenient for users to operate, but in other application scenarios, the right side of the display screen It is an area that is more convenient for users to operate.
  • the above-mentioned at least one designated control includes a play mode configuration control; in another implementation manner, the above-mentioned at least one designated control includes a display entry control of the play mode configuration control.
  • the play mode configuration control or its display entry control is used as the designated control, and the designated control is switched to the left fixed menu bar area or the right fixed menu which is more convenient for the user to operate according to the menu bar display mode switching instruction
  • the bar area is convenient for the user to switch the playback mode.
  • the controls displayed on the fixed menu bar include: the play mode configuration controls shown in FIG. 2A, the "home page” control, the "same city” control, the “search” control, and the “my” control.
  • the video stream will be played according to the first predetermined strategy; if the "Same City” control is triggered, the video stream will be played according to the second predetermined strategy, which is determined at least according to the current position of the mobile display screen; "Search” control calls the search function; triggers the "My” control, then loads and displays the personal homepage. All the controls shown in Fig. 4A are designated controls. In the default mode, as shown in Fig.
  • these controls are displayed in the fixed menu bar area on the left.
  • the menu bar display mode switching instruction is received, and the instruction instructs to switch to the fixed menu bar area on the right, as shown in FIG. 4B, the above controls are switched to the fixed menu bar area 303 on the right for display, correspondingly, the display area 302 Move to the left, that is, it appears when the fixed menu bar area on the left is different from the fixed menu bar area on the right.
  • the controls displayed on the fixed menu bar include: the controls displayed on the fixed menu bar include: “home” control, “same city” control, “search” control, "my” control, and system settings control ( The gear icon in Figure 4C and Figure 4D).
  • the video stream will be played according to the first predetermined strategy; if the "Same City” control is triggered, the video stream will be played according to the second predetermined strategy, which is determined at least according to the current position of the mobile display screen; "Search” control, the search function is called; when the "My" control is triggered, the personal homepage is loaded and displayed; when the system setting control is triggered, the system setting page is loaded and displayed, and the playback mode is displayed on the system setting page or a lower-level page Configuration control, the system setting control is the display entry control of the play mode configuration control. All the controls shown in Fig. 4C are designated controls. In the default mode, as shown in Fig.
  • the display entry of the play mode configuration control is set in the fixed menu bar area, including the following situations: the play mode configuration control is directly displayed in the fixed menu bar area; the display entry control of the play mode configuration control is displayed in the fixed menu bar , By triggering the display entry control, the play mode configuration control can be directly or indirectly displayed, such as the above-mentioned system setting control.
  • the method provided by the embodiment of the present application may further include: obtaining a target playback instruction, which is not in the foregoing playback area
  • the detected touch command indicates the execution of the target playback operation; the target playback operation is executed on the video stream.
  • the target playback operation is an operation performed for the playback of a video stream, and may include but is not limited to at least one of the following: switching the playback mode, stopping the playback, playing, marking the video content, and so on. Wherein, stopping playing may further include: pausing playing and exiting playing. Exiting playback refers to exiting the video stream playback function. In actual applications, the playback operation to be controlled by the method provided in the embodiments of the present application can be determined according to product requirements.
  • the video stream playback control method can obtain a target playback instruction, which is not a touch instruction detected in the playback area of the mobile display screen.
  • the target playback operation is executed according to the instruction of the target playback instruction to achieve the purpose of video stream playback control, and realize the non-touch mode of video stream playback control.
  • the method is applied in a non-hand-held usage scenario, and can overcome the problem of high difficulty in controlling the video stream playback caused by the screen touch mode.
  • the method for obtaining the target playback instruction may include: obtaining the target playback instruction by detecting the trigger event of the target playback instruction.
  • the detected play instruction trigger event can be used as the target play instruction.
  • the method of obtaining the target playback instruction may include: obtaining information received by an electronic device connected in the local area network where the mobile display screen is located; determining the current scene mode according to the information, and determining the current scene mode as the target scene Mode to obtain the target playback instruction corresponding to the target scene mode.
  • the method for obtaining the target playback instruction may include: receiving the target playback instruction sent by the electronic device where the mobile display screen is located, the target playback instruction being sent by the electronic device based on detecting the target playback instruction trigger event. For example, when the operating system of the vehicle-mounted computer detects the triggering event of the target playback instruction, it generates the target playback instruction and sends the target playback instruction to the video stream playback application installed on the vehicle-mounted computer.
  • the method for obtaining the target play instruction may include: receiving the target play instruction sent by the central control electronic device connected in the local area network where the mobile display screen is located, where the target play instruction is the central control electronic device determining the current scene The mode is sent after the target scene mode, where the central control electronic device determines the current scene mode according to the information received by at least one electronic device connected to the local area network, and then determines whether the current scene mode is the target scene mode.
  • the central control electronic device is used to control other electronic devices in the local area network, and the central control electronic device may be the electronic device where the mobile display screen is located, or other electronic devices.
  • a smart speaker with a display screen determines the current scene mode according to the information received by at least one electronic device connected to the local area network, and after determining that the current scene mode is the target scene mode, plays the application to the video stream installed in the smart speaker Send the target playback instruction corresponding to the target scene mode.
  • the embodiments of this application do not limit the implementation of determining the current scene mode based on information.
  • Conditional matching methods such as regular expressions can be used to determine the scene mode that matches the acquired information as the current scene mode, or the scene mode recognition can be pre-trained Model, input the acquired information into the scene mode recognition model to obtain the current scene mode.
  • the embodiments of the present application do not limit the specific content of the information used to determine the scene mode.
  • the information used to determine the scene mode is configured according to product requirements. For example, it includes the session request information of the smart phone connected to the local area network, the ringing information of the smart doorbell connected to the local area network, and so on.
  • the embodiment of the application does not limit the definition of scene mode and the corresponding relationship between the scene mode and the target playback instruction.
  • the scene mode is defined according to the product needs, and the corresponding relationship between the scene mode and the target playback instruction is determined according to the product needs. It can support user-defined scene modes and target playback instructions corresponding to the custom scene modes.
  • scene modes include: incoming call scenes, visiting scenes, and other scenes. Among them, incoming call scenes and visiting scenes are target scene modes, the target playback command corresponding to the incoming call scene is pause playback, and the playback command corresponding to the visiting scene is exit playback.
  • the current scene mode can be recognized during the video stream playback process, and the playback of the video stream can be automatically controlled according to the current scene mode to meet the current Scenario requirements.
  • the method provided in the embodiments of the present application provides a rich video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the above-mentioned method for acquiring the target playback instruction by detecting the target playback instruction trigger event may include: acquiring the target playback instruction through the target playback instruction trigger event detected by the sensor on the electronic device where the mobile display screen is located.
  • the method provided by the embodiment of the present application makes full use of the sensor on the electronic device where the mobile display screen is located, and detects the target playback instruction trigger event through the sensor, enriching the video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the foregoing method for obtaining the target playback instruction trigger event by detecting the target playback instruction may include: acquiring the target playback instruction trigger event through the target playback instruction trigger event detected by the sensor of the electronic device connected in the local area network where the mobile display screen is located. instruction.
  • the method provided by the embodiments of the present application makes full use of the sensors on the electronic equipment connected in the local area network where the mobile display screen is located, and detects the target playback instruction trigger event through the sensor, which enriches the video stream touch mode to meet the requirements of non-handheld usage scenarios. need.
  • the embodiments of this application do not limit the sensors participating in the playback control.
  • the sensors participating in the playback control can be determined according to product requirements, software and hardware usage rights, and software and hardware support capabilities.
  • the sensor may be a voice detection sensor (such as a microphone), an image acquisition sensor, a laser radar, a touch sensor, a target button, a speed sensor, and so on.
  • the target play instruction trigger event detected by the sensor may include, but is not limited to, at least one of the following:
  • the target voice command detected by the voice detection sensor is the target voice command detected by the voice detection sensor
  • the first target gesture feature detected by the image acquisition sensor is the first target gesture feature detected by the image acquisition sensor
  • the second target gesture feature detected by the touch sensor is the second target gesture feature detected by the touch sensor
  • the target trigger event of the target physical button detected by the target button which is not a touch button on the mobile display;
  • the target speed characteristic detected by the speed sensor on the electronic device where the mobile display screen is located is located.
  • the target facial features may include expression features, and/or eye expression features.
  • the target button may include a physical button and/or a touch button.
  • the target playback instruction may be Including: a playback instruction to pause the playback of the video stream, or a playback instruction to stop playing the video stream, or a playback instruction to quit playing the video stream; if the target speed is detected by the speed sensor on the electronic device where the mobile display screen is located Feature, acquiring a target playback instruction, and the speed indicated by the target speed feature reaches or is lower than the set second speed threshold, the target playback instruction includes: a playback instruction instructing to play a video stream.
  • the second speed threshold is less than the first speed threshold.
  • the video stream playback is controlled by the moving speed of the electronic device where the mobile display screen is located, so as to improve the safety during travel.
  • the foregoing video stream includes multiple video contents
  • the method may further include: determining whether the screen display mode of the video content of the video stream matches the screen type of the mobile display screen, and filtering out the screen display Video content whose mode does not match the screen type.
  • the screen types include horizontal screen and vertical screen, the screen display mode matching the horizontal screen is the horizontal screen display mode, and the screen display mode matching the vertical screen is the vertical screen display mode.
  • FIG. 5A Taking the horizontal screen as an example, if the video content in the vertical display mode is played on the horizontal screen, one way is shown in Figure 5A.
  • the video content In order to adapt to the horizontal screen viewing habits, the video content is displayed in a reduced size, which will result in the display of the video content The screen is too small, which affects the user experience, and will affect safety in the driving environment.
  • FIG. 5B Another way, as shown in FIG. 5B, does not adapt to the horizontal screen viewing habits, and still displays the video content in the original scale, which also affects the user experience and affects safety in a driving environment.
  • the method provided by the embodiment of the present application is adopted, the video content in the vertical screen display mode will be filtered out, and only the video content in the horizontal screen display mode will be displayed, avoiding the situation of FIG. 5A and FIG. 5B, and improving user experience and security.
  • an embodiment of the present application provides an electronic device, which may include an electronic device installed with the above-mentioned mobile display screen, or may include an electronic device that plays a video stream through the above-mentioned mobile display screen.
  • the electronic device provided by the embodiment of the present application includes a playback instruction acquisition module 601, a playback operation execution module 602, and a playback mode execution module 603; during the process of playing a video stream in the playback area of the mobile display screen of the electronic device :
  • the play instruction acquisition module 601 is used to acquire the play mode switching instruction by detecting the trigger event of the play mode configuration control.
  • the display entry of the play mode configuration control is in the fixed menu bar area of the mobile display screen.
  • the play mode switching instruction instructs The playback mode of the video stream is switched to a target playback mode, and the target playback mode at least includes: an automatic playback mode for automatically jumping video content, and the video stream includes a plurality of video contents;
  • the play operation execution module 602 is configured to set the play mode of the video stream to the target play mode indicated by the play mode switching instruction;
  • the play mode execution module 603 is configured to play the next video content of the current video content if it is detected that the play of the current video content is completed when the play mode of the video stream is set to the automatic play mode.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the electronic device provided in the embodiment of the application supports switching to automatic playback.
  • the automatic playback mode when the current video content is detected to be played, it will automatically play the next video content without the need for manual switching by the user, which improves user operations. The convenience of this reduces the difficulty of controlling the video stream playback.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • the fixed menu bar area includes the left fixed menu bar area and/or the right fixed menu bar area, the left fixed menu bar area is located on the left side of the display area of the mobile display, and the right fixed menu bar area is located on the mobile display The right side of the display area of the screen.
  • the fixed menu bar is usually set under the display screen.
  • the area below the display screen is often inconvenient for the user to operate.
  • the two sides of the display screen are more convenient for the user to operate.
  • the fixed menu bar area is set on the left and/or right side of the display area of the mobile display screen to facilitate user operations.
  • At least one designated control is displayed in the fixed menu bar area
  • the electronic device provided in the embodiment of the present application may further include a menu bar display mode switching module for obtaining a menu bar display mode switching instruction, and according to the menu bar display mode switching instruction
  • the electronic equipment provided by the embodiments of the present application fully takes into account the complexity and variability of actual application scenarios.
  • the left side of the display screen is an area that is more convenient for users to operate, but in other application scenarios, the right side of the display screen The side is an area that is more convenient for users to operate.
  • the playback instruction acquiring module is also used to acquire a target playback instruction that is not detected in the playback area.
  • the touch command instructs to execute the target playback operation; the playback operation execution module is also used to execute the target playback operation on the video stream.
  • the electronic device When the playback mode of the video stream is set to auto-play mode, the user may also need to perform other playback control operations on the video stream, such as stopping the video content, continuing to play the video content, and in the case where the current video content has not been played completely Switch video content and more.
  • the electronic device provided by the embodiments of the present application can obtain a target playback instruction, which is not a touch command detected in the playback area of the mobile display screen, and is based on the The instruction of the target playback instruction executes the target playback operation, achieves the purpose of video stream playback control, and realizes the non-touch mode of video stream playback control.
  • the electronic device is used in non-hand-held usage scenarios, and can overcome the problem of high difficulty in controlling the video stream playback caused by the screen touch mode.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring the target playback instruction by triggering an event of the target playback instruction detected by a sensor on the electronic device where the mobile display screen is located.
  • the electronic device provided by the embodiment of the present application makes full use of the sensor on the electronic device where the mobile display screen is located, detects the target playback instruction trigger event through the sensor, and enriches the video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring the target playback instruction through a trigger event of the target playback instruction detected by a sensor of an electronic device connected in the local area network where the mobile display screen is located.
  • the electronic device provided by the embodiment of the application makes full use of the sensors on the electronic device connected in the local area network where the mobile display screen is located, detects the target playback instruction trigger event through the sensor, and enriches the video stream touch mode to meet the non-handheld usage scenarios Demand.
  • the target play instruction trigger event detected by the sensor may include, but is not limited to, at least one of the following:
  • the target voice command detected by the voice detection sensor is the target voice command detected by the voice detection sensor
  • the first target gesture feature detected by the image acquisition sensor is the first target gesture feature detected by the image acquisition sensor
  • the second target gesture feature detected by the touch sensor is the second target gesture feature detected by the touch sensor
  • the target trigger event of the target physical button detected by the target button which is not a touch button on the mobile display;
  • the target speed characteristic detected by the speed sensor on the electronic device where the mobile display screen is located is located.
  • the target play instruction may include: a play instruction to pause the playing of the video stream, or a play instruction to stop playing the video stream, or a play instruction to quit playing the video stream; if the play instruction acquisition module is on the electronic device where the mobile display screen is located The target speed feature detected by the speed sensor is obtained, and the target playback instruction is obtained, and the speed indicated by the target speed feature reaches or is lower than the set second speed threshold, the target playback instruction includes: a playback instruction instructing to play the video stream.
  • the second speed threshold is less than the first speed threshold.
  • the electronic device provided by the embodiment of the present application controls the playback of the video stream by the moving speed of the electronic device where the mobile display screen is located, so as to improve the safety during the travel.
  • the method for acquiring the target playback instruction by the playback instruction acquiring module may include: acquiring information received by an electronic device connected in the local area network where the mobile display screen is located; determining the current scene mode based on the information, and determining the current scene The mode is the target scene mode, and the target playback instruction corresponding to the target scene mode is obtained.
  • the electronic device provided in the embodiments of the present application provides a rich video stream touch mode to meet the requirements of non-handheld usage scenarios.
  • the current scene mode can be identified during the video stream playback process, and the playback of the video stream can be automatically controlled according to the current scene mode. Meet the needs of the current scene.
  • the foregoing video stream includes multiple video contents.
  • the electronic device may also include a video content filtering module for determining the screen display mode of the video content of the video stream and the screen type of the mobile display screen. Whether it matches, and filter out the video content whose screen display mode does not match the screen type.
  • the screen types include horizontal screen and vertical screen, the screen display mode matching the horizontal screen is the horizontal screen display mode, and the screen display mode matching the vertical screen is the vertical screen display mode.
  • the electronic device provided in the embodiments of the present application can filter out video content that does not match the screen type according to the screen type of the mobile display screen, so that the screen display mode of the played video content matches the screen type, thereby improving user experience and safety sex.
  • modules may be implemented as software components executed on one or more general-purpose processors, and may also be implemented as hardware, such as a programmable logic device and/or an application specific integrated circuit, that performs certain functions or a combination thereof.
  • these modules may be embodied in the form of software products, and the software products may be stored in non-volatile storage media.
  • These non-volatile storage media include computer equipment (such as personal computers, servers, network Devices, mobile terminals, etc.) implement the methods described in the embodiments of the present invention.
  • the aforementioned modules may also be implemented on a single device or distributed on multiple devices. The functions of these modules can be combined with each other, or can be further split into multiple sub-modules.
  • the electronic equipment in each of the foregoing embodiments may include a vehicle-mounted computer installed with the above-mentioned mobile display screen or playing video streams through the mobile display screen, smart speakers, smart phones, and palmtops equipped with the above-mentioned mobile display screen or playing video streams through the mobile display screen.
  • a vehicle-mounted computer installed with the above-mentioned mobile display screen or playing video streams through the mobile display screen
  • smart speakers, smart phones, and palmtops equipped with the above-mentioned mobile display screen or playing video streams through the mobile display screen.
  • an embodiment of the present application further provides an electronic device including a processor and a memory;
  • the memory is used to store programs for executing the methods described in the foregoing method embodiments; the processor is configured to execute the programs stored in the memory.
  • the processor may include a central processing unit (CPU) or another form of processing unit with data processing capability and/or instruction execution capability, and may control other components in the electronic device to perform desired functions.
  • the memory may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and/or nonvolatile memory.
  • the volatile memory may include random access memory (RAM) and/or cache memory (cache), for example.
  • the non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, and the like.
  • One or more computer program instructions may be stored on the computer-readable storage medium, and the processor may run the program instructions to implement the functions of the embodiments of the present disclosure described above and/or other desired functions.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the electronic device provided in the embodiment of the application supports switching to automatic playback. In the automatic playback mode, it detects that the current video content is played and it will automatically play the next video content without manual switching by the user, which improves user operations. The convenience of this reduces the difficulty of controlling the video stream playback.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • the electronic equipment provided by the embodiments of the present application may include a vehicle-mounted computer installed with the above-mentioned mobile display screen or playing a video stream through the mobile display screen, a smart speaker, a smart phone, and a palmtop equipped with the above-mentioned mobile display screen or playing a video stream through the mobile display screen.
  • the memory, input device, output device, communication module, and power module are connected to the processor through a serial port, a bus, or a USB interface.
  • the memory of the mobile terminal can include but is not limited to: Flash (flash memory) memory, RAM (random access memory), ROM (read only memory), and so on.
  • RAM is mainly used to store programs and data when the mobile terminal is running. Programs that need to be executed or data that need to be processed must be loaded into RAM first.
  • ROM is mainly used to check the configuration of the mobile terminal operating system and provide the most basic input and output (I/O) programs.
  • Flash memory is a long-life non-volatile (the stored data information can still be maintained in the case of power failure) memory. Data deletion is not based on a single byte, but a fixed block. Since the Flash memory can still save data when the power is off, it is usually used to save setting information, such as the user's setting information on the mobile phone.
  • an embodiment of the present application also provides a computer-readable storage medium storing a program for executing the method described in each of the foregoing embodiments.
  • the existing implementations often require the user to manually operate to switch to the next video content.
  • frequent manual switching of the video content brings users Inconvenience, it increases the difficulty of controlling the playback of the video stream, and even brings danger to the user in certain scenarios (such as a driving environment).
  • the program stored in the computer-readable storage medium provided by the embodiment of the application supports switching to automatic playback. In the automatic playback mode, it detects that the current video content has been played, and the next video content is automatically played without the user. Manual switching improves the convenience of user operations and reduces the operational difficulty of video stream playback control.
  • a display entry of the play mode configuration control is set in the fixed menu bar area, so that the user can quickly trigger the play mode configuration control through the display entry set in the fixed menu bar area, thereby quickly realizing the play mode Switch.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供了一种视频流播放控制方法、设备及存储介质。在移动显示屏的播放区域播放视频流的过程中,该方法包括:通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,播放模式配置控件的显示入口在移动显示屏的固定菜单栏区域,播放模式切换指令指示将视频流的播放模式切换为目标播放模式,目标播放模式至少包括:自动跳转视频内容的自动播放模式,视频流包括多个视频内容;将视频流的播放模式设置为播放模式切换指令指示的目标播放模式;视频流的播放模式被设置为自动播放模式的情况下,若检测到当前视频内容播放完成,播放当前视频内容的下一个视频内容。本申请实施例提供的方法降低了视频流播放控制的操作难度。

Description

视频流播放控制方法、设备及存储介质
相关申请的交叉引用
本申请要求于2020年3月20日提交的,申请号为202010203442.1、发明名称为“视频流播放控制方法、设备及存储介质”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本申请实施例涉及视频流播放技术领域,尤其涉及一种视频流播放控制方法、设备及存储介质。
背景技术
随着移动终端软硬件技术的发展,以智能手机为代表的移动终端已经进入大屏、全屏时代。伴随着通信技术的发展,越来越多的移动终端应用程序支持视频流播放功能,例如以短视频、直播等形式实现社交的社交应用程序,以视频、直播等形式展示商品的购物应用程序等等。
传统移动终端使以手持方式为主,例如智能手机。相应的,传统的移动终端应用程序支持的视频流播放控制方式为触控,用户通过屏幕触控可以实现对装载在移动终端上的应用程序的控制,包括打开、关闭应用程序,以及调用应用程序中的功能。
屏幕触控的视频流播放控制方式难以满足非手持方式的新兴使用场景下的使用需求,在非手持方式的使用场景下,用户进行屏幕触控的难度会增大,也就增大了视频流播放控制的难度。以播放短视频、视频直播等视频流格式的视频内容为例,当前视频内容播放完成后,往往需要用户手动操作来切换到下一个视频内容。一种现有的实现方式中,在视频内容的显示区域的下方显示有“切换到下一个”的播放按钮,通过点击该播放按钮切换到下一个视频内容;另一种现有的实 现方式中,通过在显示区域做出特定的滑动手势(例如向上滑动)切换到下一个视频内容。但在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度。
发明内容
本申请实施例提供一种视频流播放控制方法、设备及存储介质,以达到在非手持使用场景下降低视频流播放控制难度的目的。
第一方面,本申请实施例提供一种视频流播放控制方法,在移动显示屏的播放区域播放视频流的过程中,该方法包括:通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,该播放模式配置控件的显示入口在上述移动显示屏的固定菜单栏区域,该播放模式切换指令指示将上述视频流的播放模式切换为目标播放模式,该目标播放模式至少包括:自动跳转视频内容的自动播放模式,上述视频流包括多个视频内容;将上述视频流的播放模式设置为播放模式切换指令指示的目标播放模式;视频流的播放模式被设置为自动播放模式的情况下,若检测到当前视频内容播放完成,播放当前视频内容的下一个视频内容。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的方法支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
进一步地,固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固定菜单栏区域,左侧固定菜单栏区域位于移动显示屏的显示区域的左 侧,右侧固定菜单栏区域位于移动显示屏的显示区域的右侧。
申请人在实现本申请的过程中发现,用户手持移动终端的情况下,显示屏下方区域较之其他区域更便于用户操作,因此,固定菜单栏通常设置在显示屏的下方。但在非手持方式的使用场景中,显示屏的下方区域往往是不便于用户操作的区域,反之,显示屏的两侧更便于用户操作。为此,本申请实施例提供的方法中,固定菜单栏区域设置在移动显示屏的显示区域的左侧和/或右侧,便于用户操作。
进一步地,固定菜单栏区域显示有至少一个指定控件,本申请实施例提供的方法还可以包括:获取菜单栏显示模式切换指令,根据该菜单栏显示模式切换指令的指示将上述至少一个指定控件显示在左侧固定菜单栏区域或右侧固定菜单栏区域。
本申请实施例提供的方法,充分考虑到实际应用场景的复杂多变性,在某些应用场景中,显示屏左侧是用户更便于操作的区域,但在另一些应用场景中,显示屏右侧是用户更便于操作的区域,为了满足实际场景使用需求,可以通过菜单栏显示模式切换指令,将固定菜单栏区域中的指定控件切换至更便于用户操作的左侧固定菜单栏区域或右侧固定菜单栏区域。
在上述任意方法实施例的基础上,视频流的播放模式被设置为自动播放模式的情况下,本申请实施例提供的方法还可以包括:获取目标播放指令,该目标播放指令非在上述播放区域检测到的触控指令,其指示执行目标播放操作;对视频流执行目标播放操作。
在视频流的播放模式被设置为自动播放模式的情况下,用户还可能需要对视频流进行其他播放控制操作,例如停止播放视频内容,继续播放视频内容,在当前视频内容未播放完的情况下切换视频内容等等。为进一步提高播放控制的便捷性,降低播放控制操作难度,本申请实施例提供的视频流播放控制方法能够获取目标播放指令,该播放指令不是在移动显示屏的播放区域检测到的触控指令,并根据该目标播放指令的指示执行目标播放操作,达到视频流播放控制的目的,实现了非触控方式的视频流播放控制。该方法应用在非手持方式的使用场景中,可以克服因屏幕触控方式造成的视频流播放控制难度较高的 问题。
一个实施例中,获取目标播放指令的实现方式可以包括:通过移动显示屏所在电子设备上的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的方法充分利用移动显示屏所在电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
另一个实施例中,获取目标播放指令的实现方式可以包括:通过移动显示屏所在局域网内接入的电子设备的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的方法充分利用移动显示屏所在局域网内接入的电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
又一个实施例中,获取目标播放指令的实现方式可以包括:获取移动显示屏所在局域网内接入的电子设备接收到的信息;根据这些信息确定当前场景模式,并通过确定当前场景模式为目标场景模式,获取目标场景模式对应的目标播放指令。
本申请实施例提供的方法提供了丰富的视频流触控方式,以满足非手持方式的使用场景的需求。
其中,若预先定义不同信息所对应的场景模式,以及目标场景模式对应的目标播放指令,在视频流播放过程中,可以识别当前场景模式,并可以根据当前场景模式自动控制视频流的播放,以满足当前场景需求。
在上述任意方法实施例的基础上,上述视频流包括多个视频内容,该方法还可以包括:判断视频流的视频内容的屏幕显示模式与移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与屏幕类型不匹配的视频内容。其中,屏幕类型包括横屏和竖屏,与横屏匹配的屏幕显示模式为横屏显示模式,与竖屏匹配的屏幕显示模式为竖屏显示模式。
本申请实施例提供的方法可以根据移动显示屏的屏幕类型,过滤掉与屏幕类型不匹配的视频内容,从而使得播放的视频内容的屏幕显 示模式均与屏幕类型匹配,从而提高用户体验以及安全性。
第二方面,本申请实施例提供一种电子设备,包括播放指令获取模块、播放操作执行模块和播放模式执行模块;在本电子设备的移动显示屏的播放区域播放视频流的过程中:播放指令获取模块用于通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,该播放模式配置控件的显示入口在上述移动显示屏的固定菜单栏区域,该播放模式切换指令指示将上述视频流的播放模式切换为目标播放模式,该目标播放模式至少包括:自动跳转视频内容的自动播放模式,上述视频流包括多个视频内容;播放操作执行模块用于将所述视频流的播放模式设置为所述播放模式切换指令指示的目标播放模式;播放模式执行模块用于在视频流的播放模式被设置为自动播放模式的情况下,若检测到当前视频内容播放完成,播放当前视频内容的下一个视频内容。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的电子设备支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
进一步地,固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固定菜单栏区域,左侧固定菜单栏区域位于移动显示屏的显示区域的左侧,右侧固定菜单栏区域位于移动显示屏的显示区域的右侧。
申请人在实现本申请的过程中发现,用户手持移动终端的情况下,显示屏下方区域较之其他区域更便于用户操作,因此,固定菜单栏通常设置在显示屏的下方。但在非手持方式的使用场景中,显示屏的下 方区域往往是不便于用户操作的区域,反之,显示屏的两侧更便于用户操作。为此,本申请实施例提供的电子设备中,固定菜单栏区域设置在移动显示屏的显示区域的左侧和/或右侧,便于用户操作。
进一步地,固定菜单栏区域显示有至少一个指定控件,本申请实施例提供的电子设备还可以包括菜单栏显示模式切换模块,用于获取菜单栏显示模式切换指令,根据该菜单栏显示模式切换指令的指示将上述至少一个指定控件显示在左侧固定菜单栏区域或右侧固定菜单栏区域。
本申请实施例提供的电子设备,充分考虑到实际应用场景的复杂多变性,在某些应用场景中,显示屏左侧是用户更便于操作的区域,但在另一些应用场景中,显示屏右侧是用户更便于操作的区域,为了满足实际场景使用需求,可以通过菜单栏显示模式切换指令,将固定菜单栏区域中的指定控件切换至更便于用户操作的左侧固定菜单栏区域或右侧固定菜单栏区域。
在上述任意电子设备实施例的基础上,视频流的播放模式被设置为自动播放模式的情况下,播放指令获取模块还用于获取目标播放指令,该目标播放指令非在上述播放区域检测到的触控指令,其指示执行目标播放操作;播放操作执行模块还用于对视频流执行目标播放操作。
在视频流的播放模式被设置为自动播放模式的情况下,用户还可能需要对视频流进行其他播放控制操作,例如停止播放视频内容,继续播放视频内容,在当前视频内容未播放完的情况下切换视频内容等等。为进一步提高播放控制的便捷性,降低播放控制操作难度,本申请实施例提供的电子设备能够获取目标播放指令,该播放指令不是在移动显示屏的播放区域检测到的触控指令,并根据该目标播放指令的指示执行目标播放操作,达到视频流播放控制的目的,实现了非触控方式的视频流播放控制。该电子设备应用在非手持方式的使用场景中,可以克服因屏幕触控方式造成的视频流播放控制难度较高的问题。
一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:通过移动显示屏所在电子设备上的传感器检测到的目标播 放指令触发事件,获取目标播放指令。
本申请实施例提供的电子设备充分利用移动显示屏所在电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
另一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:通过移动显示屏所在局域网内接入的电子设备的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的电子设备充分利用移动显示屏所在局域网内接入的电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
又一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:获取移动显示屏所在局域网内接入的电子设备接收到的信息;根据这些信息确定当前场景模式,并通过确定当前场景模式为目标场景模式,获取目标场景模式对应的目标播放指令。
本申请实施例提供的电子设备提供了丰富的视频流触控方式,以满足非手持方式的使用场景的需求。
其中,若预先定义不同信息所对应的场景模式,以及目标场景模式对应的目标播放指令,在视频流播放过程中,可以识别当前场景模式,并可以根据当前场景模式自动控制视频流的播放,以满足当前场景需求。
在上述任意电子设备实施例的基础上,该电子设备还可以包括视频内容过滤模块,用于判断视频流的视频内容的屏幕显示模式与移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与屏幕类型不匹配的视频内容。其中,屏幕类型包括横屏和竖屏,与横屏匹配的屏幕显示模式为横屏显示模式,与竖屏匹配的屏幕显示模式为竖屏显示模式。
本申请实施例提供的电子设备可以根据移动显示屏的屏幕类型,过滤掉与屏幕类型不匹配的视频内容,从而使得播放的视频内容的屏幕显示模式均与屏幕类型匹配,从而提高用户体验以及安全性。
第三方面,本申请实施例还提供一种电子设备,包括处理器和存 储器;存储器用于存储执行第一方面各个方法实施例所述方法的程序;处理器被配置为执行存储器中存储的程序。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的电子设备支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
第四方面,本申请实施例还提供一种计算机可读存储介质,存储有执行第一方面各个实施例所述方法的程序。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的计算机可读存储介质中保存的程序支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
附图说明
图1为本申请一个实施例提供的视频流播放控制方法流程图;
图2A为本申请一个实施例提供的播放模式配置控件的显示示意 图;
图2B为本申请另一个实施例提供的播放模式配置控件的显示示意图;
图3A为本申请一个实施例提供的固定菜单栏区域与显示区域示意图;
图3B为本申请另一个实施例提供的固定菜单栏区域与显示区域示意图;
图4A为本申请一个实施例提供的左侧固定菜单栏区域内的控件显示示意图;
图4B为本申请一个实施例提供的右侧固定菜单栏区域内的控件显示示意图;
图4C为本申请另一个实施例提供的左侧固定菜单栏区域内的控件显示示意图;
图4D为本申请另一个实施例提供的右侧固定菜单栏区域内的控件显示示意图;
图5A为在横屏上显示竖屏显示模式的视频内容的一个示意图;
图5B为在横屏上显示竖屏显示模式的视频内容的另一个示意图;
图6为本申请一个实施例提供的电子设备的框图;
图7为本申请一个实施例提供的电子设备结构示意图。
具体实施方式
为了更好的理解上述技术方案,下面通过附图以及具体实施例对本申请实施例的技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请实施例技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。
本申请实施例提供一种视频流播放控制方法,该方法可以由播放视频流的应用程序实现,也可以由该应用程序以及安装该应用程序的电子设备的系统程序配合实现。在移动显示屏的播放区域播放视频流的过程中,如图1所示,该方法包括:
步骤101、通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,该播放模式配置控件的显示入口在上述移动显示屏的固定菜单栏区域。
其中,播放模式切换指令指示将上述视频流的播放模式切换为目标播放模式。
其中,该目标播放模式至少包括:自动跳转视频内容的自动播放模式。
其中,移动显示屏可以包括移动终端的显示屏,也可以包括与终端设备连接,用于根据该终端设备的控制进行显示的可移动显示屏。
其中,移动显示屏的播放区域是指用于显示视频流的视频内容的屏幕区域。
本申请实施例中,视频流包括多个视频内容,播放视频流具体包括播放视频流的视频内容。
本申请实施例不对视频内容的划分进行限定,实际应用中,根据产品需要定义视频内容的划分方式。以短视频为例,一个完整的短视频即为一个视频内容;以直播视频为例,一个完整的直播视频(从直播开始到直播结束的视频)即为一个视频内容,或者,直播视频按照预定的规则被划分为多个视频内容,例如,直播视频中涉及到多个产品推荐内容,每个产品推荐内容为一个视频内容。
步骤102、将上述视频流的播放模式设置为播放模式切换指令指示的目标播放模式。
步骤103、视频流的播放模式被设置为自动播放模式的情况下,若检测到当前视频内容播放完成,播放当前视频内容的下一个视频内容。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的方法支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视 频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
本申请实施例不对播放模式配置控件的控件类型进行限定。一个实施例中,播放模式配置控件可以包括图2A所示的开关控件,假设当前播放模式为非自动播放模式,开关控件中的圆形滑块位于椭圆滑框的右端,用户点击该开关控件,则视频流播放应用程序检测到该开关控件的触发事件,将视频流的播放模式设置为自动播放模式,并将开关控件中的圆形滑块滑向椭圆滑框的左侧(图中未示出),用户再次点击该开关控件,则视频流播放应用程序检测到该开关控件的触发事件,将视频流的播放模式设置为非自动播放模式,并将开关控件中的圆形滑块滑向椭圆滑框的右侧。另一个实施例中,播放模式配置控件可以包括图2B所示的选择控件,假设当前播放模式为非自动播放模式,自动播放模式“关闭”对应的选择控件处于选中状态,用户点击自动播放模式“开启”对应的选择控件,则视频流播放应用程序检测到该选择控件的触发事件,将视频流的播放模式设置为自动播放模式,并将自动播放模式“开启”对应的选择控件的状态修改为选中状态,将自动播放模式“关闭”对应的选择控件的状态修改为未选中状态(图中未示出)。应当指出的是,本申请实施例提供的方法支持用户通过其他控制方式将视频流的播放模式从自动播放模式切换到非自动播放模式,例如,视频流的当前播放模式为自动播放模式的情况下,当在上述显示区域检测到触控事件,往往意味着用户此时方便通过触屏控制视频流播放,因此将视频流的播放模式设置为非自动播放模式,并在显示图2A所示的开关控件时,控制圆形滑块位于椭圆滑框的右端,或者在显示图2B所示的选择控件时,控制自动播放“开启”对应的选择控件的状态为未选中状态,自动播放“关闭”对应的选择控件的状态为选中状态。
进一步地,固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固 定菜单栏区域,左侧固定菜单栏区域位于移动显示屏的显示区域的左侧,右侧固定菜单栏区域位于移动显示屏的显示区域的右侧。
实际应用中,可以根据产品需要仅配置左侧固定菜单栏区域或右侧固定菜单栏区域,或者配置左侧固定菜单栏区域和右侧固定菜单栏区域。若配置了左侧固定菜单栏区域和右侧固定菜单栏区域,可以进一步配置是否同时显示左侧固定菜单栏区域和右侧固定菜单栏区域。本申请实施例提供的方法也支持用户自定义配置固定菜单栏。
本申请实施例中,固定菜单栏是指在视频流播放应用程序运行过程中,或者至少在视频流播放过程中,始终显示在移动显示屏的前端的菜单栏。本申请实施例不对固定菜单栏区域与显示区域的相对位置、区域面积比例进行限定。以左侧固定菜单栏区域为例,一个实施例中,如图3A所示,左侧固定菜单栏区域301与显示区域302相邻;另一个实施例中,如图3B所示,左侧固定菜单栏区域301在显示区域302内,位于该显示区域302的左端,且显示在显示区域302的上层,相应的,为了不覆盖显示区域内显示的视频内容,左侧固定菜单栏区域301的透明度不低于设定的透明度阈值。
申请人在实现本申请的过程中发现,用户手持移动终端的情况下,显示屏下方区域较之其他区域更便于用户操作,因此,固定菜单栏通常设置在显示屏的下方。但在非手持方式的使用场景中,显示屏的下方区域往往是不便于用户操作的区域,反之,显示屏的两侧更便于用户操作。为此,本申请实施例提供的方法中,固定菜单栏区域设置在移动显示屏的显示区域的左侧和/或右侧,便于用户操作。
本申请实施例不对显示在固定菜单栏中的控件进行限定,实际应用中,根据产品需要确定显示在固定菜单栏中的控件。本申请实施例提供的方法也支持用户配置固定菜单栏中显示的控件。
进一步地,固定菜单栏区域显示有至少一个指定控件,指定控件是指可采用本申请实施例提供的方法灵活切换显示位置的控件。相应的,本申请实施例提供的方法还可以包括:获取菜单栏显示模式切换指令,根据该菜单栏显示模式切换指令的指示将上述至少一个指定控件显示在左侧固定菜单栏区域或右侧固定菜单栏区域。
本申请实施例不对菜单栏显示模式切换指令的内容、形式以及获取时机进行限定。作为举例而非限定,菜单栏显示模式切换指令可以包括触控指令,语音指令等等。具体的,可以通过检测到移动显示屏上的菜单栏显示模式选择控件的触发事件,获取菜单栏显示模式切换指令,也可以接收本电子设备的其他程序发送的菜单栏显示模式切换指令,还可以接收其他电子设备发送的菜单栏显示模式切换指令。
以在车载屏幕上显示视频流为例,视频流播放应用程序安装在车载电脑上,
或者安装在通过车载电脑控制车载屏幕的移动终端(例如智能手机)上。视频流播放应用程序启动后,加载并显示菜单栏显示模式选择页面,该页面上显示有菜单栏模式选择控件,用户通过该控件选择右侧固定菜单栏区域显示方式,视频流播放应用程序检测到该触发事件,则将指定控件显示在右侧固定菜单栏显示区域;视频流播放过程中,用户发出语义表达为“切换固定菜单栏区域显示方式”的语音,智能手机或车载电脑的传声器采集到该语音并发送给视频流播放应用程序,视频流播放应用程序通过语义分析获取菜单栏显示模式切换指令,将指定控件显示在左侧固定菜单栏显示区域。可替换的实现方式中,视频流播放应用程序启动后,可以通过车辆座椅上安装的传感器检测副驾驶上是否有乘客,如果传感器检测到副驾驶上有乘客,该检测结果可作为指示将指定控件显示在右侧固定菜单栏区域的菜单栏区域显示模式切换指令,如果传感器检测到副驾驶上没有乘客,该检测结果可作为指示将指定控件显示在左侧固定菜单栏区域的菜单栏区域显示模式切换指令。
本申请实施例提供的方法,充分考虑到实际应用场景的复杂多变性,在某些应用场景中,显示屏左侧是用户更便于操作的区域,但在另一些应用场景中,显示屏右侧是用户更便于操作的区域,为了满足实际场景使用需求,可以通过菜单栏显示模式切换指令,将固定菜单栏区域中的指定控件切换至更便于用户操作的左侧固定菜单栏区域或右侧固定菜单栏区域。
一种实现方式中,上述至少一个指定控件包括播放模式配置控件; 另一种实现方式中,上述至少一个指定控件包括播放模式配置控件的显示入口控件。
本申请实施例提供的方法,播放模式配置控件或其显示入口控件作为指定控件,根据菜单栏显示模式切换指令将该指定控件切换至更便于用户操作的左侧固定菜单栏区域或右侧固定菜单栏区域,便于用户进行播放模式的切换。
一个实施例中,固定菜单栏上显示的控件包括:图2A所示的播放模式配置控件,“首页”控件,“同城”控件,“搜索”控件,“我的”控件。其中,触发“首页”控件,则按照第一预定策略播放视频流;触发“同城”控件,则按照第二预定策略播放视频流,该第二预定策略至少根据移动显示屏当前位置确定;触发“搜索”控件,则调用搜索功能;触发“我的”控件,则加载并显示个人主页。图4A显示的所有控件均为指定控件,默认模式下,如图4A所示,这些控件显示在左侧固定菜单栏区域。当接收到菜单栏显示模式切换指令,且该指令指示切换到右侧固定菜单栏区域,如图4B所示,将上述控件切换至右侧固定菜单栏区域303进行显示,相应的,显示区域302左移,即左侧固定菜单栏区域与右侧固定菜单栏区域不同时出现。
另一个实施例中,固定菜单栏上显示的控件包括:固定菜单栏上显示的控件包括:“首页”控件,“同城”控件,“搜索”控件,“我的”控件,和系统设置控件(图4C和图4D中的齿轮图标)。其中,触发“首页”控件,则按照第一预定策略播放视频流;触发“同城”控件,则按照第二预定策略播放视频流,该第二预定策略至少根据移动显示屏当前位置确定;触发“搜索”控件,则调用搜索功能;触发“我的”控件,则加载并显示个人主页;触发系统设置控件,则加载并显示系统设置页面,在该系统设置页面或者更下级页面上显示有播放模式配置控件,该系统设置控件即播放模式配置控件的显示入口控件。图4C显示的所有控件均为指定控件,默认模式下,如图4C所示,这些控件显示在左侧固定菜单栏区域。当接收到菜单栏显示模式切换指令,且该指令指示切换到右侧固定菜单栏区域,如图4D所示,将上述控件切换至右侧固定菜单栏区域303进行显示,相应的,显示区域302 左移,即左侧固定菜单栏区域与右侧固定菜单栏区域不同时出现。
如上所述,在固定菜单栏区域设置有播放模式配置控件的显示入口,包括如下情形:直接在固定菜单栏区域显示有播放模式配置控件;在固定菜单栏显示有播放模式配置控件的显示入口控件,通过触发该显示入口控件可直接或间接显示播放模式配置控件,例如上述的系统设置控件。
在上述任意方法实施例的基础上,视频流的播放模式被设置为自动播放模式的情况下,本申请实施例提供的方法还可以包括:获取目标播放指令,该目标播放指令非在上述播放区域检测到的触控指令,其指示执行目标播放操作;对视频流执行目标播放操作。
本申请实施例中,目标播放操作是针对视频流播放进行的操作,可以但不仅限于包括以下至少一种:切换播放模式,停止播放,播放,标记视频内容等等。其中,停止播放进一步可以包括:暂停播放、退出播放。退出播放是指退出视频流播放功能。实际应用中,可以根据产品需要确定采用本申请实施例提供的方法进行控制的播放操作。
在视频流的播放模式被设置为自动播放模式的情况下,用户还可能需要对视频流进行其他播放控制操作,例如停止播放视频内容,继续播放视频内容,在当前视频内容未播放完的情况下切换视频内容等等。为进一步提高播放控制的便捷性,降低播放控制操作难度,本申请实施例提供的视频流播放控制方法能够获取目标播放指令,该播放指令不是在移动显示屏的播放区域检测到的触控指令,并根据该目标播放指令的指示执行目标播放操作,达到视频流播放控制的目的,实现了非触控方式的视频流播放控制。该方法应用在非手持方式的使用场景中,可以克服因屏幕触控方式造成的视频流播放控制难度较高的问题。
一个实施例中,获取目标播放指令的实现方式可以包括:通过检测到目标播放指令触发事件,获取目标播放指令。
这种情况下,可以将检测到的播放指令触发事件作为目标播放指令。
另一个实施例中,获取目标播放指令的实现方式可以包括:获取 移动显示屏所在局域网内接入的电子设备接收到的信息;根据这些信息确定当前场景模式,并通过确定当前场景模式为目标场景模式,获取目标场景模式对应的目标播放指令。
又一个实施例中,获取目标播放指令的实现方式可以包括:接收移动显示屏所在电子设备发送的目标播放指令,该目标播放指令是该电子设备根据检测到目标播放指令触发事件而发送的。例如,车载电脑的操作系统检测到目标播放指令触发事件,则生成目标播放指令,并将目标播放指令发送给安装在车载电脑上的视频流播放应用程序。
再一个实施例中,获取目标播放指令的实现方式可以包括:接收移动显示屏所在局域网内接入的中控电子设备发送的目标播放指令,该目标播放指令是该中控电子设备在确定当前场景模式为目标场景模式后发送的,其中,中控电子设备根据该局域网内接入的至少一个电子设备接收到的信息确定的当前场景模式,进而判断当前场景模式是否为目标场景模式。其中,中控电子设备用于对该局域网内的其他电子设备进行控制,该中控电子设备可以是移动显示屏所在电子设备,也可以是其他电子设备。例如,带显示屏的智能音箱根据局域网内接入的至少一个电子设备接收到的信息确定当前场景模式,在确定当前场景模式为目标场景模式后,向该智能音箱中安装的视频流播放应用程序发送该目标场景模式对应的目标播放指令。
本申请实施例不对根据信息确定当前场景模式的实现方式进行限定,可以利用诸如正则表达式等条件匹配的方式确定与获取到的信息匹配的场景模式作为当前场景模式,也可以预先训练场景模式识别模型,将获取到的信息输入该场景模式识别模型从而得到当前场景模式。
本申请实施例不对用于确定场景模式的信息的具体内容进行限定,实际应用中,根据产品需要配置用于确定场景模式的信息。例如,包括接入到该局域网中的智能手机的会话请求信息,接入到该局域网中的智能门铃的振铃信息等等。
本申请实施例也不对场景模式的定义以及场景模式与目标播放指令的对应关系进行限定,实际应用中,根据产品需要定义场景模式,并根据产品需要确定场景模式与目标播放指令的对应关系,还可以支 持用户自定义场景模式,自定义场景模式对应的目标播放指令。例如,场景模式包括:来电场景、来访场景、其他场景,其中,来电场景和来访场景为目标场景模式,来电场景对应的目标播放指令为暂停播放,来访场景对应的播放指令为退出播放。
若预先定义不同信息所对应的场景模式,以及目标场景模式对应的目标播放指令,在视频流播放过程中,可以识别当前场景模式,并可以根据当前场景模式自动控制视频流的播放,以满足当前场景需求。
本申请实施例提供的方法提供了丰富的视频流触控方式,以满足非手持方式的使用场景的需求。
可选的,上述通过检测到目标播放指令触发事件,获取目标播放指令的实现方式可以包括:通过移动显示屏所在电子设备上的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的方法充分利用移动显示屏所在电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
可选的,上述通过检测到目标播放指令触发事件,获取目标播放指令的实现方式可以包括:通过移动显示屏所在局域网内接入的电子设备的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的方法充分利用移动显示屏所在局域网内接入的电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
本申请实施例不对参与播放控制的传感器进行限定,实际应用中,可以根据产品需求、软硬件使用权限以及软硬件支持能力等确定参与播放控制的传感器。作为举例而非限定,该传感器可以是语音检测传感器(例如传声器),图像采集传感器,激光雷达,触摸传感器,目标按钮,速度传感器等等。
其中,通过传感器检测到的目标播放指令触发事件可以但不仅限于包括以下至少一项:
通过语音检测传感器检测到的目标语音指令;
通过图像采集传感器检测到的目标面部特征;
通过图像采集传感器检测到的第一目标手势特征;
通过触摸传感器检测到的第二目标手势特征;
通过目标按钮检测到的目标物理按钮的目标触发事件,该目标按钮非移动显示屏上的触控按钮;
通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征。
其中,目标面部特征可以包括表情特征,和/或眼神特征。
其中,目标按钮可以包括物理按钮,和/或触摸按钮。
其中,若通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征,获取目标播放指令,且目标速度特征表示的速度达到或高于设定的第一速度阈值,则目标播放指令可以包括:指示暂停播放视频流的播放指令,或者,指示停止播放视频流的播放指令,或者,指示退出播放视频流的播放指令;若通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征,获取目标播放指令,且目标速度特征表示的速度达到或低于设定的第二速度阈值,则目标播放指令包括:指示播放视频流的播放指令。
其中,第二速度阈值小于第一速度阈值。
本申请实施例提供的方法,通过移动显示屏所在电子设备的移动速度控制视频流播放,以提高行进过程中的安全性。
在上述任意方法实施例的基础上,上述视频流包括多个视频内容,该方法还可以包括:判断视频流的视频内容的屏幕显示模式与移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与屏幕类型不匹配的视频内容。其中,屏幕类型包括横屏和竖屏,与横屏匹配的屏幕显示模式为横屏显示模式,与竖屏匹配的屏幕显示模式为竖屏显示模式。
以横屏为例,若在横屏上播放竖屏显示模式的视频内容,一种方式如图5A所示,为了适配横屏观看习惯,将视频内容缩小显示,这将导致视频内容的显示画面过小,影响用户体验,且在行车环境下会影响安全性。另一种方式如图5B所示,不适配横屏观看习惯,仍然按照原比例显示视频内容,这同样影响用户体验,且在行车环境下会影响安全性。若采用本申请实施例提供的方法,则会过滤掉竖屏显示模 式的视频内容,仅显示横屏显示模式的视频内容,避免出现图5A和图5B的情况,提高用户体验及安全性。
基于与方法同样的发明构思,本申请实施例提供一种电子设备,可以包括安装有上述移动显示屏的电子设备,也可以包括通过上述移动显示屏播放视频流的电子设备。如图6所示,本申请实施例提供的电子设备包括播放指令获取模块601、播放操作执行模块602和播放模式执行模块603;在本电子设备的移动显示屏的播放区域播放视频流的过程中:
播放指令获取模块601用于通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,该播放模式配置控件的显示入口在上述移动显示屏的固定菜单栏区域,该播放模式切换指令指示将上述视频流的播放模式切换为目标播放模式,该目标播放模式至少包括:自动跳转视频内容的自动播放模式,上述视频流包括多个视频内容;
播放操作执行模块602用于将所述视频流的播放模式设置为所述播放模式切换指令指示的目标播放模式;
播放模式执行模块603用于在视频流的播放模式被设置为自动播放模式的情况下,若检测到当前视频内容播放完成,播放当前视频内容的下一个视频内容。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的电子设备支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
进一步地,固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固 定菜单栏区域,左侧固定菜单栏区域位于移动显示屏的显示区域的左侧,右侧固定菜单栏区域位于移动显示屏的显示区域的右侧。
申请人在实现本申请的过程中发现,用户手持移动终端的情况下,显示屏下方区域较之其他区域更便于用户操作,因此,固定菜单栏通常设置在显示屏的下方。但在非手持方式的使用场景中,显示屏的下方区域往往是不便于用户操作的区域,反之,显示屏的两侧更便于用户操作。为此,本申请实施例提供的电子设备中,固定菜单栏区域设置在移动显示屏的显示区域的左侧和/或右侧,便于用户操作。
进一步地,固定菜单栏区域显示有至少一个指定控件,本申请实施例提供的电子设备还可以包括菜单栏显示模式切换模块,用于获取菜单栏显示模式切换指令,根据该菜单栏显示模式切换指令的指示将上述至少一个指定控件显示在左侧固定菜单栏区域或右侧固定菜单栏区域。
本申请实施例提供的电子设备,充分考虑到实际应用场景的复杂多变性,在某些应用场景中,显示屏左侧是用户更便于操作的区域,但在另一些应用场景中,显示屏右侧是用户更便于操作的区域,为了满足实际场景使用需求,可以通过菜单栏显示模式切换指令,将固定菜单栏区域中的指定控件切换至更便于用户操作的左侧固定菜单栏区域或右侧固定菜单栏区域。
在上述任意电子设备实施例的基础上,视频流的播放模式被设置为自动播放模式的情况下,播放指令获取模块还用于获取目标播放指令,该目标播放指令非在上述播放区域检测到的触控指令,其指示执行目标播放操作;播放操作执行模块还用于对视频流执行目标播放操作。
在视频流的播放模式被设置为自动播放模式的情况下,用户还可能需要对视频流进行其他播放控制操作,例如停止播放视频内容,继续播放视频内容,在当前视频内容未播放完的情况下切换视频内容等等。为进一步提高播放控制的便捷性,降低播放控制操作难度,本申请实施例提供的电子设备能够获取目标播放指令,该播放指令不是在移动显示屏的播放区域检测到的触控指令,并根据该目标播放指令的 指示执行目标播放操作,达到视频流播放控制的目的,实现了非触控方式的视频流播放控制。该电子设备应用在非手持方式的使用场景中,可以克服因屏幕触控方式造成的视频流播放控制难度较高的问题。
一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:通过移动显示屏所在电子设备上的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的电子设备充分利用移动显示屏所在电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
另一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:通过移动显示屏所在局域网内接入的电子设备的传感器检测到的目标播放指令触发事件,获取目标播放指令。
本申请实施例提供的电子设备充分利用移动显示屏所在局域网内接入的电子设备上的传感器,通过传感器检测目标播放指令触发事件,丰富了视频流触控方式,以满足非手持方式的使用场景的需求。
其中,通过传感器检测到的目标播放指令触发事件可以但不仅限于包括以下至少一项:
通过语音检测传感器检测到的目标语音指令;
通过图像采集传感器检测到的目标面部特征;
通过图像采集传感器检测到的第一目标手势特征;
通过触摸传感器检测到的第二目标手势特征;
通过目标按钮检测到的目标物理按钮的目标触发事件,该目标按钮非移动显示屏上的触控按钮;
通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征。
其中,若播放指令获取模块通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征,获取目标播放指令,且目标速度特征表示的速度达到或高于设定的第一速度阈值,则目标播放指令可以包括:指示暂停播放视频流的播放指令,或者,指示停止播放视频流的播放指令,或者,指示退出播放视频流的播放指令;若播放指令获 取模块通过移动显示屏所在电子设备上的速度传感器检测到的目标速度特征,获取目标播放指令,且目标速度特征表示的速度达到或低于设定的第二速度阈值,则目标播放指令包括:指示播放视频流的播放指令。
其中,第二速度阈值小于第一速度阈值。
本申请实施例提供的电子设备,通过移动显示屏所在电子设备的移动速度控制视频流播放,以提高行进过程中的安全性。
又一个实施例中,播放指令获取模块获取目标播放指令的实现方式可以包括:获取移动显示屏所在局域网内接入的电子设备接收到的信息;根据这些信息确定当前场景模式,并通过确定当前场景模式为目标场景模式,获取目标场景模式对应的目标播放指令。
本申请实施例提供的电子设备提供了丰富的视频流触控方式,以满足非手持方式的使用场景的需求。
其中,若预先定义不同信息所对应的场景模式,以及目标场景模式对应的目标播放指令,在视频流播放过程中,可以识别当前场景模式,并可以根据当前场景模式自动控制视频流的播放,以满足当前场景需求。
在上述任意电子设备实施例的基础上,上述视频流包括多个视频内容,该电子设备还可以包括视频内容过滤模块,用于判断视频流的视频内容的屏幕显示模式与移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与屏幕类型不匹配的视频内容。其中,屏幕类型包括横屏和竖屏,与横屏匹配的屏幕显示模式为横屏显示模式,与竖屏匹配的屏幕显示模式为竖屏显示模式。
本申请实施例提供的电子设备可以根据移动显示屏的屏幕类型,过滤掉与屏幕类型不匹配的视频内容,从而使得播放的视频内容的屏幕显示模式均与屏幕类型匹配,从而提高用户体验以及安全性。
上述模块可以被实现为在一个或多个通用处理器上执行的软件组件,也可以被实现为诸如执行某些功能或其组合的硬件,诸如可编程逻辑设备和/或专用集成电路。在一些实施例中,这些模块可以体现为软件产品的形式,该软件产品可以存储在非易失性存储介质中,这些 非易失性存储介质中包括使得计算机设备(例如个人计算机、服务器、网络设备、移动终端等)实现本发明实施例中描述的方法。在一个实施例中,上述模块还可以在单个设备上实现,也可以分布在多个设备上。这些模块的功能可以相互合并,也可以进一步拆分为多个子模块。
上述各实施例中的电子设备可以包括安装有上述移动显示屏或通过移动显示屏播放视频流的车载电脑、安装有上述移动显示屏或通过移动显示屏播放视频流的智能音箱、智能手机、掌上电脑、平板电脑、带上述移动显示屏的可穿戴设备等等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备的模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
基于与方法同样的发明构思,本申请实施例还提供一种电子设备,包括处理器和存储器;
存储器用于存储执行上述各个方法实施例所述方法的程序;处理器被配置为执行存储器中存储的程序。处理器可以是包括中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其它形式的处理单元,并且可以控制电子设备中的其它组件以执行期望的功能。存储器可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器可以运行所述程序指令,以实现上文所述的本公开的实施例的功能以及/或者其它期望的功能。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的电子设备支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一 个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
本申请实施例提供的电子设备可以包括安装有上述移动显示屏或通过移动显示屏播放视频流的车载电脑、安装有上述移动显示屏或通过移动显示屏播放视频流的智能音箱、智能手机、掌上电脑、平板电脑、带上述移动显示屏的可穿戴设备等等,如图7所示,该电子设备不仅包括处理器和存储器,还包括输入设备(例如触摸屏、摄像头、传声器等)、输出设备(例如显示屏(即上述移动显示屏)、扬声器等)、通信模块、电源模块。
其中,存储器、输入设备、输出设备、通信模块、电源模块通过串口、总线或USB接口与处理器连接。
其中,移动终端的存储器可以但不仅限于包括:Flash(闪存)存储器、RAM(随机存取存储器)、ROM(只读存储器)等。RAM主要用于存储移动终端运行时的程序和数据,需要执行的程序或者需要处理的数据都必须先装入RAM内。ROM主要用于检查移动终端操作系统的配置情况,并提供最基本的输入输出(I/O)程序。Flash存储器是一种长寿命的非易失性(在断电情况下仍能保持所存储的数据信息)存储器,数据删除不是以单个的字节为单位,而是以固定的区块为单位。由于Flash存储器断电时仍能保存数据,它通常被用来保存设置信息,如用户对手机的设置信息等。
应当指出的是,针对不同的电子设备,其可能包括比图7所示的移动终端更多或更少的硬件结构,但只要包括存储器和处理器,且能够实现上述方法实施例的功能,均在本公开的保护范围内。
基于与方法同样的发明构思,本申请实施例还提供一种计算机可读存储介质,存储有执行上述各个实施例所述方法的程序。
如上所述,视频流的当前视频内容播放完成后,现有实现方式往往需要用户手动操作来切换到下一个视频内容,在非手持方式的使用 场景中,频繁手动切换视频内容给用户使用带来不便,增加视频流播放控制的难度,甚至在某些场景(例如行车环境)下会给用户带来危险。为此,本申请实施例提供的计算机可读存储介质中保存的程序支持切换到自动播放播放,在自动播放模式下,检测到当前视频内容播放完成,会自动播放下一个视频内容,不需要用户手动切换,提高了用户操作的便捷性,降低了视频流播放控制的操作难度。进一步地,为了方便播放模式的切换,在固定菜单栏区域设置有播放模式配置控件的显示入口,使得用户可以通过固定菜单栏区域设置的该显示入口快速触发播放模式配置控件,从而快速实现播放模式的切换。
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本说明书的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本说明书范 围的所有变更和修改。
显然,本领域的技术人员可以对本说明书进行各种改动和变型而不脱离本说明书的精神和范围。这样,倘若本说明书的这些修改和变型属于本说明书权利要求及其等同技术的范围之内,则本说明书也意图包含这些改动和变型在内。

Claims (10)

  1. 一种视频流播放控制方法,其特征在于,在移动显示屏的播放区域播放视频流的过程中,所述方法包括:
    通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,所述播放模式配置控件的显示入口在所述移动显示屏的固定菜单栏区域,所述播放模式切换指令指示将所述视频流的播放模式切换为目标播放模式,所述目标播放模式至少包括:自动跳转视频内容的自动播放模式,所述视频流包括多个视频内容;
    将所述视频流的播放模式设置为所述播放模式切换指令指示的目标播放模式;
    所述视频流的播放模式被设置为所述自动播放模式的情况下,若检测到当前视频内容播放完成,播放所述当前视频内容的下一个视频内容。
  2. 根据权利要求1所述的方法,其特征在于,所述固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固定菜单栏区域,所述左侧固定菜单栏区域位于所述移动显示屏的显示区域的左侧,所述右侧固定菜单栏区域位于所述移动显示屏的显示区域的右侧,所述固定菜单栏区域显示有至少一个指定控件,所述方法还包括:
    获取菜单栏显示模式切换指令,根据所述菜单栏显示模式切换指令的指示将所述至少一个指定控件显示在所述左侧固定菜单栏区域或所述右侧固定菜单栏区域。
  3. 根据权利要求1所述的方法,其特征在于,所述视频流的播放模式被设置为所述自动播放模式的情况下,所述方法还包括:
    获取目标播放指令,所述目标播放指令非在上述播放区域检测到的触控指令,所述目标播放指令指示执行目标播放操作;
    对所述视频流执行所述目标播放操作。
  4. 根据权利要求3所述的方法,其特征在于,所述获取目标播放指令,包括:
    通过所述移动显示屏所在电子设备上的传感器检测到的目标播放指令触发事件,获取目标播放指令;或者,
    通过所述移动显示屏所在局域网内接入的电子设备的传感器检测到的目标播放指令触发事件,获取目标播放指令;或者,
    获取所述移动显示屏所在局域网内接入的电子设备接收到的信息;根据所述信息确定当前场景模式,并通过确定当前场景模式为目标场景模式,获取所述目标场景模式对应的目标播放指令。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:
    判断所述视频流的视频内容的屏幕显示模式与所述移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与所述屏幕类型不匹配的视频内容,所述屏幕类型包括横屏和竖屏,与所述横屏匹配的屏幕显示模式为横屏显示模式,与所述竖屏匹配的屏幕显示模式为竖屏显示模式。
  6. 一种电子设备,其特征在于,包括播放指令获取模块、播放操作执行模块和播放模式执行模块;在本电子设备的移动显示屏的播放区域播放视频流的过程中:
    所述播放指令获取模块用于通过检测到播放模式配置控件的触发事件,获取播放模式切换指令,所述播放模式配置控件的显示入口在所述移动显示屏的固定菜单栏区域,所述播放模式切换指令指示将所述视频流的播放模式切换为目标播放模式,所述目标播放模式至少包括:自动跳转视频内容的自动播放模式,所述视频流包括多个视频内容;
    所述播放操作执行模块用于将所述视频流的播放模式设置为所述播放模式切换指令指示的目标播放模式;
    所述播放模式执行模块用于在所述视频流的播放模式被设置为所述自动播放模式的情况下,若检测到当前视频内容播放完成,播放所述当前视频内容的下一个视频内容。
  7. 根据权利要求6所述的电子设备,其特征在于,所述固定菜单栏区域包括左侧固定菜单栏区域和/或右侧固定菜单栏区域,所述左侧固定菜单栏区域位于所述移动显示屏的显示区域的左侧,所述右侧固定菜单栏区域位于所述移动显示屏的显示区域的右侧,所述固定菜单 栏区域显示有至少一个指定控件,所述电子设备还包括菜单栏显示模式切换模块,用于:
    获取菜单栏显示模式切换指令,根据所述菜单栏显示模式切换指令的指示将所述至少一个指定控件显示在所述左侧固定菜单栏区域或所述右侧固定菜单栏区域。
  8. 根据权利要求6或7所述的电子设备,其特征在于,所述电子设备还包括视频内容过滤模块,用于:
    判断所述视频流的视频内容的屏幕显示模式与所述移动显示屏的屏幕类型是否匹配,并过滤掉屏幕显示模式与所述屏幕类型不匹配的视频内容,所述屏幕类型包括横屏和竖屏,与所述横屏匹配的屏幕显示模式为横屏显示模式,与所述竖屏匹配的屏幕显示模式为竖屏显示模式。
  9. 一种电子设备,其特征在于,包括处理器和存储器;
    所述存储器用于存储执行权利要求1至5任一项所述方法的程序;
    所述处理器被配置为执行所述存储器中存储的程序。
  10. 一种计算机可读存储介质,其特征在于,存储有执行权利要求1至5任一项所述方法的程序。
PCT/CN2021/076703 2020-03-20 2021-02-18 视频流播放控制方法、设备及存储介质 WO2021185017A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/886,848 US11871083B2 (en) 2020-03-20 2022-08-12 Video stream playback control method, device, and storage medium
US18/540,706 US20240187698A1 (en) 2020-03-20 2023-12-14 Video stream playback control method, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010203442.1 2020-03-20
CN202010203442.1A CN111405346A (zh) 2020-03-20 2020-03-20 视频流播放控制方法、设备及存储介质

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US17/886,848 Continuation US11871083B2 (en) 2020-03-20 2022-08-12 Video stream playback control method, device, and storage medium
US18/540,706 Continuation US20240187698A1 (en) 2020-03-20 2023-12-14 Video stream playback control method, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021185017A1 true WO2021185017A1 (zh) 2021-09-23

Family

ID=71413962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076703 WO2021185017A1 (zh) 2020-03-20 2021-02-18 视频流播放控制方法、设备及存储介质

Country Status (3)

Country Link
US (2) US11871083B2 (zh)
CN (1) CN111405346A (zh)
WO (1) WO2021185017A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973232A (zh) * 2021-09-27 2022-01-25 金钱猫科技股份有限公司 一种视频流切换方法和存储设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405346A (zh) 2020-03-20 2020-07-10 北京字节跳动网络技术有限公司 视频流播放控制方法、设备及存储介质
CN112399238B (zh) * 2020-10-28 2023-01-31 维沃移动通信有限公司 视频播放方法、装置及电子设备
CN112437352B (zh) * 2020-11-11 2023-02-17 连尚(新昌)网络科技有限公司 视频合并播放方法和设备
CN112543365B (zh) * 2020-11-27 2024-04-19 腾讯科技(深圳)有限公司 媒体信息的播放方法、装置、设备及计算机可读存储介质
CN114237433A (zh) * 2021-12-16 2022-03-25 北京达佳互联信息技术有限公司 资源自动播放方法、装置、电子设备及存储介质
CN114329295A (zh) * 2021-12-29 2022-04-12 杭州趣链科技有限公司 视频播放方法、装置、终端设备及计算机可读存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686277A (zh) * 2013-12-04 2014-03-26 乐视致新电子科技(天津)有限公司 一种遥控器、显示装置以及智能电视
CN103838536A (zh) * 2012-11-27 2014-06-04 联想(北京)有限公司 显示模式的切换方法、控制电子设备的方法及电子设备
US20140359446A1 (en) * 2009-12-02 2014-12-04 Redux, Inc. Prioritization in a continuous video playback experience
CN105409228A (zh) * 2013-07-09 2016-03-16 萨罗尼科斯贸易与服务一人有限公司 用于远程控制用于接收电视信号、连接到互联网并且充当多媒体中心的设备的遥控装置及其相关系统
CN109547835A (zh) * 2018-11-26 2019-03-29 北京字节跳动网络技术有限公司 视频播放方法及装置
CN109788333A (zh) * 2019-01-24 2019-05-21 百度在线网络技术(北京)有限公司 用于全屏显示视频的方法及装置
CN109889303A (zh) * 2018-12-28 2019-06-14 努比亚技术有限公司 视频播放模式切换方法、装置和计算机可读存储介质
CN110688571A (zh) * 2019-09-20 2020-01-14 北京字节跳动网络技术有限公司 一种列表流的实现方法、装置、电子设备及存储介质
CN111405346A (zh) * 2020-03-20 2020-07-10 北京字节跳动网络技术有限公司 视频流播放控制方法、设备及存储介质

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050183017A1 (en) * 2001-01-31 2005-08-18 Microsoft Corporation Seekbar in taskbar player visualization mode
US7974615B2 (en) * 2006-08-04 2011-07-05 GM Global Technology Operations LLC Method and system for communicating between a communications source and a mobile platform
US9710553B2 (en) * 2007-05-25 2017-07-18 Google Inc. Graphical user interface for management of remotely stored videos, and captions or subtitles thereof
US8766926B2 (en) * 2009-10-14 2014-07-01 Blackberry Limited Touch-sensitive display and method of controlling same
DE102011001409B4 (de) * 2010-03-19 2022-12-01 Htc Corporation Verfahren zum Steuern eines in der Umgebung betriebenen Geräts sowie Kommunikationseinrichtung und computerlesbares Medium, welches selbiges einsetzt
KR20120011254A (ko) * 2010-07-28 2012-02-07 엘지전자 주식회사 영상표시장치의 동작 방법
US8842057B2 (en) * 2011-09-27 2014-09-23 Z124 Detail on triggers: transitional states
US10235454B1 (en) * 2014-04-01 2019-03-19 Google Llc Generating playlist inclusive canonical network addresses
CN103995646A (zh) * 2014-05-27 2014-08-20 东莞常禾电子有限公司 横屏显示控制方法及系统
CN104159146A (zh) * 2014-07-07 2014-11-19 乐视网信息技术(北京)股份有限公司 一种控制视频播放的方法和装置
US10009662B2 (en) * 2015-04-02 2018-06-26 Vungle, Inc. Systems and methods for providing advertising services to devices with dynamic ad creative localization
WO2016168893A1 (en) * 2015-04-20 2016-10-27 Tiltsta Pty Ltd Interactive media system and method
US10397631B2 (en) * 2015-10-23 2019-08-27 At&T Intellectual Property I, L.P. Method and apparatus for flexible consumption of media content
CN108924625B (zh) * 2018-08-07 2022-01-18 网易传媒科技(北京)有限公司 视频播放控制方法和装置
CN109104631B (zh) * 2018-09-06 2021-09-28 网易传媒科技(北京)有限公司 视频显示方法和装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140359446A1 (en) * 2009-12-02 2014-12-04 Redux, Inc. Prioritization in a continuous video playback experience
CN103838536A (zh) * 2012-11-27 2014-06-04 联想(北京)有限公司 显示模式的切换方法、控制电子设备的方法及电子设备
CN105409228A (zh) * 2013-07-09 2016-03-16 萨罗尼科斯贸易与服务一人有限公司 用于远程控制用于接收电视信号、连接到互联网并且充当多媒体中心的设备的遥控装置及其相关系统
CN103686277A (zh) * 2013-12-04 2014-03-26 乐视致新电子科技(天津)有限公司 一种遥控器、显示装置以及智能电视
CN109547835A (zh) * 2018-11-26 2019-03-29 北京字节跳动网络技术有限公司 视频播放方法及装置
CN109889303A (zh) * 2018-12-28 2019-06-14 努比亚技术有限公司 视频播放模式切换方法、装置和计算机可读存储介质
CN109788333A (zh) * 2019-01-24 2019-05-21 百度在线网络技术(北京)有限公司 用于全屏显示视频的方法及装置
CN110688571A (zh) * 2019-09-20 2020-01-14 北京字节跳动网络技术有限公司 一种列表流的实现方法、装置、电子设备及存储介质
CN111405346A (zh) * 2020-03-20 2020-07-10 北京字节跳动网络技术有限公司 视频流播放控制方法、设备及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973232A (zh) * 2021-09-27 2022-01-25 金钱猫科技股份有限公司 一种视频流切换方法和存储设备
CN113973232B (zh) * 2021-09-27 2023-12-29 金钱猫科技股份有限公司 一种视频流切换方法和存储设备

Also Published As

Publication number Publication date
CN111405346A (zh) 2020-07-10
US20240187698A1 (en) 2024-06-06
US11871083B2 (en) 2024-01-09
US20220385981A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
WO2021185017A1 (zh) 视频流播放控制方法、设备及存储介质
US10990278B2 (en) Method and device for controlling information flow display panel, terminal apparatus, and storage medium
CN107037949B (zh) 一种分屏显示方法及装置
WO2020057327A1 (zh) 信息列表显示方法、装置及存储介质
JP6553719B2 (ja) 画面分割表示方法および装置
US20190073101A1 (en) Method and device for switching pages of applications in a terminal device
US20210383837A1 (en) Method, device, and storage medium for prompting in editing video
JP6321301B2 (ja) ビデオ特効処理方法、装置、端末機器、プログラム、及び記録媒体
JP2020530631A (ja) インタラクション位置決定方法、システム、記憶媒体、およびスマートデバイス
WO2016045579A1 (zh) 一种应用程序交互控制方法、装置及终端
US10237622B2 (en) Page turning method, page turning apparatus and terminal as well as computer readable medium
WO2017185797A1 (zh) 传屏演示内容的操控方法、装置及系统
WO2016029642A1 (zh) 后台应用程序的控制方法、装置及终端设备
JP2018518752A (ja) 分割スクリーン表示方法及び装置
US11249630B2 (en) Method, apparatus, terminal device, and storage medium for switching global special effects
US20170322689A1 (en) Method and device for multi-task management, and computer-readable medium
WO2021208607A1 (zh) 视频流播放控制方法、设备及存储介质
JP2017527928A (ja) テキスト入力方法、装置、プログラム及び記録媒体
JP6239783B2 (ja) 情報選択方法及び装置
CN107302724A (zh) 一种视频播放控制方法、装置及电子设备
WO2021169792A1 (zh) 消息查看方法及装置
RU2626089C2 (ru) Способ и устройство для загрузки приложения темы
US11954311B2 (en) Information processing method, electronic device and storage medium for enhanced object management in a multi-tasking environment
CN112887479B (zh) 视频播放方法、装置、电子设备和存储介质

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: 21770956

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 30/01/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21770956

Country of ref document: EP

Kind code of ref document: A1