[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108600807B - Video playing control method, device, terminal and computer readable medium - Google Patents

Video playing control method, device, terminal and computer readable medium Download PDF

Info

Publication number
CN108600807B
CN108600807B CN201810307157.7A CN201810307157A CN108600807B CN 108600807 B CN108600807 B CN 108600807B CN 201810307157 A CN201810307157 A CN 201810307157A CN 108600807 B CN108600807 B CN 108600807B
Authority
CN
China
Prior art keywords
video
played
playing
interface
screen
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201810307157.7A
Other languages
Chinese (zh)
Other versions
CN108600807A (en
Inventor
曾鸿坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810307157.7A priority Critical patent/CN108600807B/en
Publication of CN108600807A publication Critical patent/CN108600807A/en
Application granted granted Critical
Publication of CN108600807B publication Critical patent/CN108600807B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/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/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a video playing control method, a video playing control device, a terminal and a computer readable medium, and belongs to the technical field of video playing. The method comprises the following steps: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content; if the advertisement content is being played, switching to a preset interface, wherein the preset interface comprises a first area for playing a video and a second area for displaying preset content; and continuously playing the video to be played in the first area of the preset interface. For the video playing the advertisement, the video is kept to be played continuously in the first area of the preset interface, and the user can browse the preset content in the second area, so that the user is prevented from being too boring when waiting for the advertisement to be played, and the user experience is improved.

Description

Video playing control method, device, terminal and computer readable medium
Technical Field
The present application relates to the field of video playing technologies, and in particular, to a video playing control method, apparatus, terminal, and computer readable medium.
Background
Currently, when a user watches a video by using a client, the client plays an advertisement before the start of the video or at a certain time point of the video playing, and the advertisement generally takes from 70 to 120 seconds, and the time is long. If the user watches the video in the full-screen mode, the user can only wait until the advertisement is played in the end time period, and the user experience is not high.
Disclosure of Invention
The application provides a video playing control method, a video playing control device, a terminal and a computer readable medium.
In a first aspect, an embodiment of the present application provides a video playing control method, which is used for controlling playing of a video to be played, where the video to be played includes a target video and advertisement content. The method comprises the following steps: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content; if the advertisement content is being played, switching to a preset interface, wherein the preset interface comprises a first area for playing a video and a second area for displaying preset content; and continuously playing the video to be played in the first area of the preset interface.
In a second aspect, an embodiment of the present application further provides a video playing control device, configured to control playing of a video to be played, where the video to be played includes a target video and advertisement content, and the device includes: the device comprises a judging unit, a switching unit and a playing unit. And the judging unit is used for judging whether the full-screen playing interface is playing the advertisement content when detecting that the client plays the video to be played through the full-screen playing interface. And the switching unit is used for switching to a preset interface if the advertisement content is being played, wherein the preset interface comprises a first area for playing a video and a second area for displaying the preset content. And the playing unit is used for continuously playing the video to be played in the first area of the preset interface.
In a third aspect, an embodiment of the present application further provides a terminal, configured to control playing of a video to be played, where the video to be played includes a target video and advertisement content. The terminal comprises a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content; if the advertisement content is being played, switching to a preset interface, wherein the preset interface comprises a first area for playing a video and a second area for displaying preset content; and continuously playing the video to be played in the first area of the preset interface.
In a fourth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
The embodiment of the application provides a video playing control method, a video playing control device, a video playing control terminal and a computer readable medium. The preset interface comprises a first area used for playing the video and a second area used for displaying the preset content, and the video to be played is continuously played in the first area. Therefore, for the video playing the advertisement, the video is kept to be played continuously in the first area of the preset interface, and the user can browse the preset content in the second area, so that the user is prevented from being too boring when waiting for the advertisement to be played, and the user experience is improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a video list interface of a client according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a full screen playing interface of a client according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method of controlling video playing according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a time node of video content of a video to be played according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a preset interface of a client according to an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating a full screen display interface of a client according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a method of controlling video playback according to another embodiment of the present application;
FIG. 8 is a schematic diagram illustrating gestures provided by embodiments of the present application;
FIG. 9 illustrates a schematic diagram of gestures provided by another embodiment of the present application;
FIG. 10 illustrates a schematic diagram of gestures provided by yet another embodiment of the present application;
fig. 11 is a flowchart illustrating a method of controlling video playback according to another embodiment of the present application;
FIG. 12 is a schematic diagram illustrating a hint provided by an embodiment of the present application;
fig. 13 shows a block diagram of a video playback control apparatus provided in an embodiment of the present application;
fig. 14 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application;
fig. 15 shows a block diagram of a mobile terminal according to an embodiment of the present application for executing the method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 illustrates a video list interface of a client according to an embodiment of the present application. Specifically, the client is an application installed in the terminal and has a video playing function. The client is provided with an icon on a system desktop, a user clicks the icon of the client to open the client, for example, the client can be confirmed by a package name of an application clicked by the user, the package name of the video application can be acquired from a code by a system background, and the format of the package name is as follows: com.
Specifically, when the video is played, a full-screen playing interface is provided, such as the interface shown in fig. 2, a playing window is filled with a screen, and the full-screen playing interface belongs to an immersive interface.
As shown in fig. 1, the display contents corresponding to the multiple videos include a thumbnail corresponding to each video, and the thumbnail can be used as a touch key, and when a user clicks the thumbnail, the client can detect the thumbnail selected by the user, and can determine the target video to be played.
After determining the target video, the client can generate a video to be played according to the target video, specifically, the client determines an account number of a currently logged client, if the account number is not logged in, determines advertisement content according to a preset rule, and generates the video to be played according to the advertisement content and the target video. Specifically, the advertisement content is inserted before a certain video frame of the target video, the advertisement content may be inserted before the first frame of the target video, or the advertisement content may be inserted between certain two frames in the middle of the target video. If the client logs in the account currently, it is determined whether the account meets a preset criterion, for example, whether the account is a member, if the preset criterion is met, the advertisement content is not inserted into the target video, the video to be played at this time is the target video, and if the account does not meet the preset criterion, the advertisement content is inserted into the target video, specifically, the manner of inserting the advertisement content may refer to the foregoing embodiment.
The client responds to the video selected by the user in the video list, enters a video playing interface, clicks a playing button of the playing interface, can detect what type of video the user clicks currently through monitoring the touch operation of the user, specifically, the playing button is provided with a preset attribute, and can determine the video to be played selected by the user by detecting the attribute of the playing button corresponding to the acquired touch operation. When the user clicks the full screen button of the video playing interface, the full screen playing interface is entered, such as the interface shown in fig. 2.
However, when the user watches the video in the full-screen playing interface, the user watches the advertisement content in the full-screen playing mode, and then the user can only wait until the advertisement playing is finished, and the user experience is not high.
Therefore, in order to solve the above-mentioned drawback, please refer to fig. 3, an embodiment of the present application provides a video playing control method for improving user experience when a user watches a video, and specifically, the method includes: s301 to S303.
S301: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content.
Specifically, when a full-screen playing button in a video playing interface corresponding to a video to be played at the client is pressed, it is determined that the client is switched to the full-screen playing interface, and whether the advertisement content is currently played can be determined according to the playing time of the video to be played. For example, as shown in fig. 4, the video to be played includes 4 portions, p1, p2, p3 and p4, where p1 and p2 are inserted advertisement content, p2 and p4 are two portions of the target video, p1 is between t1 and t2, p2 is between t2 and t3, p3 is between t3 and t4, and p4 is between t4 and t 5. In the video to be played shown in fig. 4, two advertisement contents are inserted, but of course, one advertisement content may be inserted.
Whether the advertisement content is being played can be determined according to the currently played time point, specifically, the time point of the currently played video is detected, and if the time point is within the playing time point corresponding to the advertisement content, it can be determined that the client is playing the advertisement content through the full-screen playing interface.
S302: and switching to a preset interface, wherein the preset interface comprises a first area for playing the video and a second area for displaying preset content.
And if the advertisement content is judged to be played on the full-screen playing interface, switching the current full-screen playing interface to a preset interface. The preset interface includes a first area and a second area, the first area and the second area are two independent areas, the first area is used for playing a video, and the second area is used for displaying preset content. The preset content is preset display content, and specifically may be a comment list corresponding to the target video, or a video play list of the client.
As an embodiment, the first area and the second area are two different display areas of the screen, that is, the preset interface is a split-screen display interface, where the first area and the second area are two different display areas. The user can independently operate the first area and the second area, wherein the first area is used for playing the video to be played, and the played content is the content played by the full-screen playing interface before the time point of switching the preset interface. The content displayed in the first area may be customized by a user, and may be a certain interface or preset content in the client, or may be an interface for opening a new application, which is not limited herein.
As another implementation, the second area may display a floating window through which the video is played, specifically, as described in the following examples.
S303: and continuously playing the video to be played in the first area of the preset interface.
The video to be played continues to be played in the first area, and when the user clicks the content or the button in the first area, the playing of the video to be played in the first area is not interrupted. As an implementation manner, a specific implementation manner of continuing to play the video to be played in the first area of the preset interface is as follows: displaying a floating window in the first area of the preset interface; and continuously playing the video to be played in the floating window, wherein the floating window can be replaced by a pop-up window.
Specifically, the first area is located on one side of the preset interface, and may be, for example, a lower right side or an upper left side. And the floating window does not shield the clicking operation outside the floating window, specifically, a property of LayoutParams (android. view. window manager. LayoutParams ()) can be set for the floating window at the time of creating the floating window, all clicking events outside the floating window area are shielded by default, that is, other areas of the screen are not clickable at the time of displaying the floating window, including a menu and a return key. When the appropriate flag is set for layout params, the other regions may respond to the click.
As shown in fig. 5, the first area is a lower right corner of the preset interface, that is, the floating window is located at the lower right corner of the preset interface, and a video playing interface is displayed in the floating window, and the video playing interface is similar to the video playing interface shown in fig. 2. In the preset interface, the area outside the floating window is a second area, as shown in fig. 5, a comment list is displayed in the second area, the comment list may be comment content corresponding to the target video, and the user does not interrupt the video playing in the floating window due to the operation on the content displayed in the second area. For example, if the user selects the reply button of the comment content corresponding to the user name 1 in the comment list displayed in the second area, the second area displays the reply input box, but the video in the floating window is not caused to pause. The floating window is always displayed at the front end, and the user can constantly focus on the video being played in the floating window when operating the second area.
In addition, after the video to be played is continuously played in the first area of the preset interface, the full-screen playing interface of the video to be played can be switched back. As an implementation manner, after the video to be played continues to be played in the first area of the preset interface, it is detected whether the advertisement content is played completely. Specifically, similar to the foregoing embodiment of determining whether the full-screen playing interface is playing the advertisement content, the playing time point of the video currently being played is obtained, so as to determine whether the playing content corresponding to the playing time point is the advertisement content, and when it is detected that the playing content is switched from the advertisement content to the target video, it is determined that the playing of the advertisement content is completed. Of course, it may also be that after the advertisement content is played, a playing completion instruction is returned to the client, and when the client acquires the instruction, it is determined that the advertisement content is played completely.
And when the advertisement content is detected to be played completely, switching the current preset interface back to the full-screen playing interface of the video to be played, and continuing to play the video to be played. As shown in fig. 6, the full-screen playing interface of the video to be played is switched back, and the played video is the target video, that is, when the full-screen playing interface is switched back, the advertisement content is already played, and the target video is continuously played.
As another embodiment, after the video to be played continues to be played in the first area of the preset interface, it is detected whether a return instruction input by the user based on the video playing interface of the second area is received, specifically, a full-screen playing button is provided on the video playing interface in the floating window, for example, buttons of two arrows shown in fig. 5 are clicked by the user, and when the client detects that the full-screen playing button in the floating window is triggered, the full-screen playing interface is switched back to continue to play the video to be played.
Referring to fig. 7, an embodiment of the present application provides a video playing control method for improving user experience when a user watches a video, and specifically, the method includes: s701 to S705.
S701: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content.
In the embodiment of the present application, the advertisement content is content added to the target video by the client, and may be at the beginning of the target video or at some intermediate time point. And judging whether the full-screen playing interface is playing the advertisement content, if so, executing S702, and if not, ending. In addition, considering that the advertisement content is too short, it is unnecessary to switch the interface, and after it is determined that the advertisement content is being played on the full-screen playing interface, it is determined whether the time length of the advertisement content is greater than a preset value, if so, S702 is executed, otherwise, the process is ended. The preset value is a preset empirical value, and may be any value within 60 seconds to 120 seconds, for example.
S702: and judging whether a gesture input by a user based on the full-screen playing interface is received.
The client acquires gestures input by a user based on a full-screen playing interface by monitoring the operations of clicking the screen and sliding on the screen, wherein the gestures comprise sliding, clicking, continuous clicking and the like.
S703: and judging whether the received gesture belongs to a preset switching gesture.
The preset switching gesture is a gesture set according to an actual application scenario, and may be, for example, a double-tap gesture or a sliding gesture that slides along a certain trajectory. As an embodiment, if the preset switching gesture is a gesture sliding from one side of the screen to the other side, the specific implementation of determining whether the received gesture belongs to the preset switching gesture is as follows: and judging whether the received gesture is sliding from the first side to the second side of the screen. Wherein the first side and the second side are opposite sides, for example, the first side is a left side of the screen and the second side is a right side of the screen.
As shown in fig. 8, the gesture input by the user is a sliding from the left side to the right side of the screen, in the figure, the solid line gesture represents the current position of the hand of the user, and the dotted line gesture represents the position to which the hand of the user is about to reach, when the hand of the user slides from the position of the solid line hand to the position of the dotted line hand along the direction of the dotted line arrow in the figure, the user inputs a gesture based on the full screen playing interface, the client determines that the current gesture is a sliding gesture from the left side to the right side of the screen, and then S704 is executed, otherwise, the operation is ended.
In addition, considering that when the user inputs a gesture on the full-screen playing interface and the full-screen playing interface is playing the advertisement content, when the user clicks the advertisement content, the user may trigger a link of the advertisement content to enter an interface corresponding to the advertisement connection, for example, a detailed interface of the advertisement content. Therefore, a user may input a gesture on the video detail interface, as shown in fig. 9, the interface is a video detail interface, an area where the user plays a video and other content are provided in the video detail interface, the user clicks a button of the full-screen play interface shown in fig. 2 to quit full-screen play, the video detail interface shown in fig. 9 is entered, a gesture sliding from the left side to the right side of the screen is input on the interface, the client acquires the gesture, determines that the gesture is a gesture sliding from the left side to the right side of the screen, and then S704 is executed.
S704: and switching to a preset interface, wherein the preset interface comprises a first area for playing the video and a second area for displaying preset content.
Specifically, if the screen slides from the first side to the second side of the screen, the screen is switched to a preset interface, and the first area of the preset interface is located in an area adjacent to the second side of the preset interface. Therefore, the user can obtain the effect that the video playing window in the full-screen playing interface moves to the end point of the movement of the hand of the user along with the gesture of the user, and the user experience degree is improved. Specifically, if the hand of the user slides from the left side to the right side of the screen, the first area is located at the right side of the preset interface within the preset interface, specifically, the first area is located at the lower right side of the preset interface, as shown in fig. 5, a floating window is displayed at the lower right side of the preset interface, which is equivalent to displaying a video playing window in the full-screen playing interface at the lower right side of the first area after being minimized.
S705: and continuously playing the video to be played in the first area of the preset interface.
In addition, when the advertisement content is detected to be played completely, the current preset interface is switched back to the full-screen playing interface of the video to be played, and the video to be played is continuously played. Besides the implementation in the above embodiment, the full-screen playing interface may be switched back by a gesture. Specifically, whether a gesture input by a user based on the preset interface is received or not is judged; if a gesture input by a user is received, judging whether the received gesture slides from the second side to the first side of the screen; if the received gesture slides from the second side to the first side of the screen, switching back to a full-screen playing interface of the video to be played, and continuing to play the video to be played.
Specifically, taking the first side as the left side of the screen and the second side as the right side of the screen as an example, as shown in fig. 10, the user inputs a gesture sliding from the right side of the screen to the left side of the screen on a preset interface, and the client switches back to the full-screen playing interface of the video to be played in response to the gesture, and continues to play the video to be played.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein.
Referring to fig. 11, an embodiment of the present application provides a video playing control method for improving user experience when a user watches a video, and specifically, the method includes:
s1101: when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content.
S1102: and displaying prompt information, wherein the prompt information is used for confirming whether the user needs to switch to a preset interface.
The prompt information may be displayed in a full-screen playing interface, for example, a popup window, and the operation outside the popup window is shielded, that is, when the popup window is displayed, the played video may be paused, and the user may click on the area outside the popup window without being responded by the client.
Specifically, as shown in fig. 12, a popup is displayed on the full-screen playing interface, and content of the prompt message is displayed in the popup, where the content of the prompt message may be "what is the mobile phone system detects that your mobile phone is in a full-screen advertisement playing state, and whether to slide the screen right, so that the advertisement window is reduced to the lower right corner, so that you can view comments and other contents of the clicked video, and wait until the advertisement is finished and then the video is viewed in the full-screen mode by sliding left? ".
S1103: and acquiring a confirmation instruction input by the user based on the prompt information.
Specifically, the prompt information can be clicked by the user, for example, a close button and a confirm button are displayed in the popup, the confirm button is clicked by the user, and the popup is closed if the close button is clicked by the user.
S1104: and switching to a preset interface based on the confirmation instruction.
And after detecting that a confirmation instruction input by a user is received, executing the operation of switching to a preset interface.
In addition, after the confirmation instruction is obtained, an operation of determining whether a gesture input by the user based on the full-screen playing interface is received may be performed, that is, steps S702 to S704 in the above embodiment are performed.
S1105: and continuously playing the video to be played in the first area of the preset interface.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein.
Referring to fig. 13, an embodiment of the present application provides a video playback control apparatus 1300 for improving user experience when a user watches a video, specifically, the apparatus includes: a judging unit 1301, a switching unit 1302, and a playing unit 1303.
The determining unit 1301 is configured to determine whether the full-screen playing interface is playing the advertisement content when it is detected that the client is playing the video to be played through the full-screen playing interface.
The switching unit 1302 is configured to switch to a preset interface if the advertisement content is being played, where the preset interface includes a first area for playing a video and a second area for displaying a preset content.
And the playing unit 1303 is configured to continue to play the video to be played in the first area of the preset interface.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 14, based on the method and apparatus, the embodiment of the present application further provides a mobile terminal 100, which includes an electronic body 10, where the electronic body 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 15, in an actual application scenario, the mobile terminal 100 may be used as a smart phone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 15 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 15, or have a different configuration than shown in FIG. 14.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-Max, and other short message Communication protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The audio circuitry 110, earpiece 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the main display 120. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the earpiece 101. The earpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the main display 120, examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, acceleration sensors 114F, proximity sensors 114J, and other sensors.
In particular, the light sensor may comprise a light sensor, a pressure sensor. Among them, the pressure sensor may detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor may be used to determine whether contact or pressing has occurred between the user and the mobile terminal 100, and the magnitude of the pressure.
Referring to fig. 14 again, in the embodiment shown in fig. 14, the light sensor and the pressure sensor are disposed adjacent to the display panel 111. The light sensor may turn off the display output by the processor 102 when an object is near the main display 120, for example, when the electronic body portion 10 is moved to the ear.
As one of the motion sensors, the acceleration sensor 114F can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the main display 120, and the touch screen 109 may collect touch operations of the user (for example, operations of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
The main display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic body portion 10 or the primary display 120.
The mobile terminal 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal 100. In this embodiment, the locator 119 implements the positioning of the mobile terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
To sum up, the embodiments of the present application provide a video playing control method, device, terminal, and computer readable medium, where when it is detected that a client is playing a video to be played through a full-screen playing interface, it is determined whether the full-screen playing interface is playing the advertisement content, and if the advertisement is playing, the full-screen playing interface is switched to a preset interface. The preset interface comprises a first area used for playing the video and a second area used for displaying the preset content, and the video to be played is continuously played in the first area. Therefore, for the video playing the advertisement, the video is kept to be played continuously in the first area of the preset interface, and the user can browse the preset content in the second area, so that the user is prevented from being too boring when waiting for the advertisement to be played, and the user experience is improved.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (6)

1. A video playing control method is used for controlling playing of a video to be played, wherein the video to be played comprises a target video and advertisement content, and the method comprises the following steps:
when detecting that the client plays the video to be played through a full-screen playing interface, judging whether the full-screen playing interface plays the advertisement content;
if the advertisement content is being played, judging whether the click operation of the user on a button of the full-screen playing interface for quitting the full-screen playing is detected;
if the video list interface is detected, quitting full-screen playing of the video to be played and displaying a video detail interface of the video to be played, wherein the video detail interface comprises a playing area of the video to be played and a display area of the video list interface;
judging whether a first gesture input by a user based on the video detail interface is received;
if a first gesture input by a user is received, judging whether the received first gesture slides from a first side to a second side of a screen, wherein the first side and the second side are opposite sides;
if the received first gesture slides from the first side to the second side of the screen, switching to a preset interface, wherein the first area of the preset interface is located in an area adjacent to the second side of the preset interface, the preset interface comprises a first area for playing a video and a second area for displaying preset content, and the preset content comprises comment content corresponding to the video to be played;
continuously playing the video to be played in the first area of the preset interface, and displaying the comment content in the second area;
judging whether a second gesture input by the user based on the preset interface is received;
if a second gesture input by the user is received, judging whether the received second gesture slides from the second side to the first side of the screen;
and if the received second gesture slides from the second side to the first side of the screen, switching back to a full-screen playing interface of the video to be played, and continuing to play the video to be played.
2. The method according to claim 1, wherein the continuing to play the video to be played in the first area of the preset interface comprises:
displaying a floating window in the first area of the preset interface;
and continuously playing the video to be played in the floating window.
3. The method according to claim 1, further comprising, after the video to be played continues to be played in the first area of the preset interface:
detecting whether the advertisement content is played completely;
and if the playing is finished, switching back to a full-screen playing interface of the video to be played, and continuing to play the video to be played.
4. A video playing control device is used for controlling playing of a video to be played, wherein the video to be played comprises a target video and advertisement content, and the device comprises:
the judging unit is used for judging whether the full-screen playing interface is playing the advertisement content when detecting that the client plays the video to be played through the full-screen playing interface;
the switching unit is used for judging whether the clicking operation of the button which is used for quitting the full-screen playing of the full-screen playing interface by the user is detected or not if the advertisement content is being played; if the video list interface is detected, quitting full-screen playing of the video to be played and displaying a video detail interface of the video to be played, wherein the video detail interface comprises a playing area of the video to be played and a display area of the video list interface; judging whether a first gesture input by a user based on the video detail interface is received; if a first gesture input by a user is received, judging whether the received first gesture slides from a first side to a second side of a screen, wherein the first side and the second side are opposite sides; if the received first gesture slides from the first side to the second side of the screen, switching to a preset interface, wherein the first area of the preset interface is located in an area adjacent to the second side of the preset interface, the preset interface comprises a first area for playing a video and a second area for displaying preset content, and the preset content comprises comment content corresponding to the video to be played;
the playing unit is used for continuously playing the video to be played in the first area of the preset interface, and the preset content comprises comment content corresponding to the video to be played; judging whether a second gesture input by the user based on the preset interface is received; if a second gesture input by the user is received, judging whether the received second gesture slides from the second side to the first side of the screen; and if the received second gesture slides from the second side to the first side of the screen, switching back to a full-screen playing interface of the video to be played, and continuing to play the video to be played.
5. A terminal is used for controlling playing of a video to be played, wherein the video to be played comprises a target video and advertisement content, the terminal comprises a memory and a processor, and the memory is coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-3.
6. A computer-readable medium having program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1-3.
CN201810307157.7A 2018-04-08 2018-04-08 Video playing control method, device, terminal and computer readable medium Expired - Fee Related CN108600807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810307157.7A CN108600807B (en) 2018-04-08 2018-04-08 Video playing control method, device, terminal and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810307157.7A CN108600807B (en) 2018-04-08 2018-04-08 Video playing control method, device, terminal and computer readable medium

Publications (2)

Publication Number Publication Date
CN108600807A CN108600807A (en) 2018-09-28
CN108600807B true CN108600807B (en) 2021-04-13

Family

ID=63621240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810307157.7A Expired - Fee Related CN108600807B (en) 2018-04-08 2018-04-08 Video playing control method, device, terminal and computer readable medium

Country Status (1)

Country Link
CN (1) CN108600807B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361939B (en) * 2018-11-15 2021-01-08 维沃移动通信有限公司 Video playing method and terminal equipment
CN112261459B (en) * 2020-10-23 2023-03-24 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113050871B (en) * 2021-04-16 2022-10-14 上海东方报业有限公司 Data processing method and mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554550A (en) * 2015-12-08 2016-05-04 腾讯科技(北京)有限公司 Video playing method and device
CN105867762A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and apparatus for displaying video being played
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106658115A (en) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 Video playing method and mobile terminal
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107577484A (en) * 2017-09-07 2018-01-12 深圳市金立通信设备有限公司 A kind of advertisement broadcast method, terminal and computer-readable recording medium
CN107613362A (en) * 2017-10-20 2018-01-19 维沃移动通信有限公司 A kind of video display control method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2722744A1 (en) * 2012-10-16 2014-04-23 Advanced Digital Broadcast S.A. Method for generating a graphical user interface.

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554550A (en) * 2015-12-08 2016-05-04 腾讯科技(北京)有限公司 Video playing method and device
CN105867762A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and apparatus for displaying video being played
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106658115A (en) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 Video playing method and mobile terminal
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107577484A (en) * 2017-09-07 2018-01-12 深圳市金立通信设备有限公司 A kind of advertisement broadcast method, terminal and computer-readable recording medium
CN107613362A (en) * 2017-10-20 2018-01-19 维沃移动通信有限公司 A kind of video display control method and mobile terminal

Also Published As

Publication number Publication date
CN108600807A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
CN108701001B (en) Method for displaying graphical user interface and electronic equipment
CN107479784B (en) Expression display method and device and computer readable storage medium
US11237703B2 (en) Method for user-operation mode selection and terminals
CN109905754B (en) Virtual gift receiving method and device and storage equipment
CN111149086B (en) Method for editing main screen, graphical user interface and electronic equipment
CN108710456B (en) Application icon processing method and device and mobile terminal
US20110087983A1 (en) Mobile communication terminal having touch interface and touch interface method
JP6655275B2 (en) Mobile device and control method thereof
CN108804005B (en) Terminal control method and device and mobile terminal
CN106375179B (en) Method and device for displaying instant communication message
CN109491738B (en) Terminal device control method and terminal device
CN108769299B (en) Screen control method and device and mobile terminal
CN110798397A (en) File sending method and device and electronic equipment
CN108536509B (en) Application body-splitting method and mobile terminal
KR20140143556A (en) Portable terminal and method for user interface in the portable terminal
CN108932102B (en) Data processing method and device and mobile terminal
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN108536504A (en) page display method, device, mobile terminal and storage medium
KR20140112911A (en) Mobile apparatus executing action in display unchecking mode and control method thereof
CN108536415B (en) Application volume control method and device, mobile terminal and computer readable medium
CN110971970B (en) Video processing method and electronic equipment
CN108600807B (en) Video playing control method, device, terminal and computer readable medium
CN109074124B (en) Data processing method and mobile equipment
CN109032465B (en) Data processing method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210413

CF01 Termination of patent right due to non-payment of annual fee