Movatterモバイル変換


[0]ホーム

URL:


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

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

Info

Publication number
CN108600807B
CN108600807BCN201810307157.7ACN201810307157ACN108600807BCN 108600807 BCN108600807 BCN 108600807BCN 201810307157 ACN201810307157 ACN 201810307157ACN 108600807 BCN108600807 BCN 108600807B
Authority
CN
China
Prior art keywords
video
played
interface
screen
area
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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810307157.7ApriorityCriticalpatent/CN108600807B/en
Publication of CN108600807ApublicationCriticalpatent/CN108600807A/en
Application grantedgrantedCritical
Publication of CN108600807BpublicationCriticalpatent/CN108600807B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

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 videoplayback control apparatus 1300 for improving user experience when a user watches a video, specifically, the apparatus includes: a judgingunit 1301, aswitching unit 1302, and aplaying unit 1303.
The determiningunit 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.
Theswitching 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 theplaying 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 amobile terminal 100, which includes anelectronic body 10, where theelectronic body 10 includes ahousing 12 and amain display 120 disposed on thehousing 12. Thehousing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, themain 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 atouch screen 109.
Referring to fig. 15, in an actual application scenario, themobile terminal 100 may be used as a smart phone terminal, in which case theelectronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), amemory 104, an RF (Radio Frequency)module 106, anaudio circuit 110, asensor 114, aninput module 118, and apower 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 theelectronic body 10. For example, theelectronics 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 theprocessor 102, and theprocessor 102 is coupled to the peripheral devices through a plurality ofperipheral interfaces 124. Theperipheral 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, theperipheral interface 124 may comprise only a bus; in other examples, theperipheral 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 theperipheral interface 124 and integrated within theprocessor 102 or a corresponding peripheral.
Thememory 104 may be used to store software programs and modules, and theprocessor 102 executes various functional applications and data processing by executing the software programs and modules stored in thememory 104. Thememory 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, thememory 104 may further include memory located remotely from theprocessor 102, which may be connected to theelectronic body portion 10 or theprimary 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.
TheRF 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. TheRF 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. TheRF 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.
Theaudio circuitry 110,earpiece 101,sound jack 103,microphone 105 collectively provide an audio interface between a user and theelectronic body portion 10 or themain display 120. Specifically, theaudio circuit 110 receives sound data from theprocessor 102, converts the sound data into an electrical signal, and transmits the electrical signal to theearpiece 101. Theearpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. Theaudio circuitry 110 also receives electrical signals from themicrophone 105, converts the electrical signals to sound data, and transmits the sound data to theprocessor 102 for further processing. Audio data may be retrieved from thememory 104 or through theRF module 106. In addition, audio data may also be stored in thememory 104 or transmitted through theRF module 106.
Thesensor 114 is disposed in theelectronic body portion 10 or themain display 120, examples of thesensor 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 themobile 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 themobile 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 theprocessor 102 when an object is near themain display 120, for example, when theelectronic body portion 10 is moved to the ear.
As one of the motion sensors, theacceleration 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 themobile terminal 100. In addition, theelectronic 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, theinput module 118 may include thetouch screen 109 disposed on themain display 120, and thetouch screen 109 may collect touch operations of the user (for example, operations of the user on or near thetouch 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, thetouch 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 theprocessor 102, and can receive and execute commands sent by theprocessor 102. In addition, the touch detection function of thetouch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave.
Themain display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of theelectronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, thetouch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
Thepower module 122 is used to provide power supply to theprocessor 102 and other components. Specifically, thepower 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 theelectronic body portion 10 or theprimary display 120.
Themobile terminal 100 further comprises alocator 119, thelocator 119 being configured to determine an actual location of themobile terminal 100. In this embodiment, thelocator 119 implements the positioning of themobile 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 themobile 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)

Translated fromChinese
1.一种视频播放控制方法,其特征在于,用于对待播放视频进行播放控制,所述待播放视频包括目标视频和广告内容,所述方法包括:1. a video playback control method, is characterized in that, is used for to-be-played video to carry out playback control, and described to-be-played video comprises target video and advertisement content, and described method comprises:当检测到客户端正在通过全屏播放界面播放所述待播放视频时,判断所述全屏播放界面是否正在播放所述广告内容;When detecting that the client is playing the video to be played through the full-screen playback interface, determine whether the full-screen playback interface is playing the advertisement content;若正在播放所述广告内容,判断是否检测到用户针对所述全屏播放界面的退出全屏播放的按钮的点击操作;If the advertisement content is being played, determine whether the user's click operation on the button for exiting full-screen playback on the full-screen playback interface is detected;若检测到,则退出所述待播放视频的全屏播放并显示所述待播放视频的视频详情界面,所述视频详情界面内包括待播放视频的播放区域和视频列表界面的显示区域;If detected, exit the full-screen playback of the to-be-played video and display the video details interface of the to-be-played video, where the video details interface includes the play area of the to-be-played video and the display area of the video list interface;判断是否接收用户基于所述视频详情界面输入的第一手势;judging whether to receive the first gesture input by the user based on the video details interface;若接收到用户输入的第一手势,判断所接收的第一手势是否为从屏幕第一侧向第二侧滑动,其中,所述第一侧和所述第二侧为相对侧;If the first gesture input by the user is received, determine whether the received first gesture is sliding from the first side of the screen to the second side, wherein the first side and the second side are opposite sides;若所接收的第一手势是从屏幕第一侧向第二侧滑动,切换至预设界面,所述预设界面的第一区域位于所述预设界面的第二侧相邻的区域,所述预设界面包括用于播放视频的第一区域以及用于显示预设内容的第二区域,所述预设内容包括所述待播放视频对应的评论内容;If the received first gesture is to slide from the first side to the second side of the screen to switch to the preset interface, the first area of the preset interface is located in the area adjacent to the second side of the preset interface, so The preset interface includes a first area for playing video and a second area for displaying preset content, where the preset content includes comment content corresponding to the video to be played;在所述预设界面的所述第一区域内继续播放所述待播放视频,在所述第二区域内显示所述评论内容;continue to play the to-be-played video in the first area of the preset interface, and display 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, determine whether the received second gesture is sliding from the second side of the screen to the first side;若所接收的第二手势是从屏幕的所述第二侧向所述第一侧滑动,切换回所述待播放视频的全屏播放界面,继续播放所述待播放视频。If the received second gesture is to slide from the second side of the screen to the first side, switch back to the full-screen playback interface of the to-be-played video, and continue to play the to-be-played video.2.根据权利要求1所述的方法,其特征在于,所述在所述预设界面的所述第一区域内继续播放所述待播放视频,包括:2. The method according to claim 1, wherein the continuing to play the to-be-played video in the first area of the preset interface comprises:在所述预设界面的所述第一区域内显示悬浮窗;displaying a floating window in the first area of the preset interface;在所述悬浮窗内继续播放所述待播放视频。The to-be-played video continues to be played in the floating window.3.根据权利要求1所述的方法,其特征在于,所述在所述预设界面的所述第一区域内继续播放所述待播放视频之后,还包括:3 . The method according to claim 1 , wherein after continuing to play the video to be played in the first area of the preset interface, the method further comprises: 3 .检测所述广告内容是否播放完毕;Detecting whether the advertisement content has finished playing;若播放完毕,切换回所述待播放视频的全屏播放界面,继续播放所述待播放视频。If the playback is completed, switch back to the full-screen playback interface of the to-be-played video, and continue to play the to-be-played video.4.一种视频播放控制装置,其特征在于,用于对待播放视频进行播放控制,所述待播放视频包括目标视频和广告内容,所述装置包括:4. A video playback control device, characterized in that, for performing playback control of a video to be played, the video to be played includes a target video and advertisement content, and the device comprises:判断单元,用于当检测到客户端正在通过全屏播放界面播放所述待播放视频时,判断所述全屏播放界面是否正在播放所述广告内容;a judgment unit, configured to judge whether the full-screen playback interface is playing the advertisement content when it is detected that the client is playing the video to be played through the full-screen playback interface;切换单元,用于若正在播放所述广告内容,判断是否检测到用户针对所述全屏播放界面的退出全屏播放的按钮的点击操作;若检测到,则退出所述待播放视频的全屏播放并显示所述待播放视频的视频详情界面,所述视频详情界面内包括待播放视频的播放区域和视频列表界面的显示区域;判断是否接收用户基于所述视频详情界面输入的第一手势;若接收到用户输入的第一手势,判断所接收的第一手势是否为从屏幕第一侧向第二侧滑动,其中,所述第一侧和所述第二侧为相对侧;若所接收的第一手势是从屏幕第一侧向第二侧滑动,切换至预设界面,所述预设界面的第一区域位于所述预设界面的第二侧相邻的区域,所述预设界面包括用于播放视频的第一区域以及用于显示预设内容的第二区域,所述预设内容包括所述待播放视频对应的评论内容;A switching unit, configured to determine whether the user's click operation on the button to exit the full-screen playback on the full-screen playback interface is detected if the advertisement content is being played; if detected, quit the full-screen playback of the video to be played and display it The video details interface of the video to be played, the video details interface includes the play area of the video to be played and the display area of the video list interface; determine whether to receive the first gesture input by the user based on the video details interface; if received For the first gesture input by the user, determine whether the received first gesture is to slide from the first side of the screen to the second side, wherein the first side and the second side are opposite sides; The gesture is to slide from the first side of the screen to the second side to switch to the preset interface, the first area of the preset interface is located in the area adjacent to the second side of the preset interface, and the preset interface includes the user interface. in a first area for playing videos and a second area for displaying preset content, where the preset content includes comment content corresponding to the to-be-played video;播放单元,用于在所述预设界面的所述第一区域内继续播放所述待播放视频,所述预设内容包括所述待播放视频对应的评论内容;判断是否接收到用户基于所述预设界面输入的第二手势;若接收到用户输入的第二手势,判断所接收的第二手势是否为从屏幕的所述第二侧向所述第一侧滑动;若所接收的第二手势是从屏幕的所述第二侧向所述第一侧滑动,切换回所述待播放视频的全屏播放界面,继续播放所述待播放视频。a playing unit, configured to continue playing the video to be played in the first area of the preset interface, where the preset content includes comment content corresponding to the video to be played; determine whether to receive a user based on the The second gesture input by the preset interface; if the second gesture input by the user is received, determine whether the received second gesture is sliding from the second side of the screen to the first side; if the received second gesture is to slide from the second side of the screen to the first side The second gesture is to slide from the second side of the screen to the first side, switch back to the full-screen playback interface of the to-be-played video, and continue to play the to-be-played video.5.一种终端,其特征在于,用于对待播放视频进行播放控制,所述待播放视频包括目标视频和广告内容,所述终端包括存储器和处理器,所述存储器与所述处理器耦合;所述存储器存储指令,当所述指令由所述处理器执行时以使所述处理器执行所述权利要求1-3任一项所述方法。5. A terminal, characterized in that, for performing playback control of a to-be-played video, the to-be-played video includes a target video and advertisement content, the terminal comprises a memory and a processor, and the memory is coupled to 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.一种具有处理器可执行的程序代码的计算机可读介质,其特征在于,所述程序代码使所述处理器执行所述权利要求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 one of claims 1-3.
CN201810307157.7A2018-04-082018-04-08 Video playback control method, device, terminal and computer readable mediumExpired - Fee RelatedCN108600807B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810307157.7ACN108600807B (en)2018-04-082018-04-08 Video playback control method, device, terminal and computer readable medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810307157.7ACN108600807B (en)2018-04-082018-04-08 Video playback control method, device, terminal and computer readable medium

Publications (2)

Publication NumberPublication Date
CN108600807A CN108600807A (en)2018-09-28
CN108600807Btrue CN108600807B (en)2021-04-13

Family

ID=63621240

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810307157.7AExpired - Fee RelatedCN108600807B (en)2018-04-082018-04-08 Video playback control method, device, terminal and computer readable medium

Country Status (1)

CountryLink
CN (1)CN108600807B (en)

Families Citing this family (3)

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

Citations (7)

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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2722744A1 (en)*2012-10-162014-04-23Advanced Digital Broadcast S.A.Method for generating a graphical user interface.

Patent Citations (7)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
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
JP6655275B2 (en) Mobile device and control method thereof
US20110087983A1 (en)Mobile communication terminal having touch interface and touch interface method
CN106375179B (en)Method and device for displaying instant communication message
CN108804005B (en) Terminal control method, device and mobile terminal
CN108769299B (en) Screen control method, device and mobile terminal
CN108710456A (en)Application icon processing method and device and mobile terminal
CN111414105A (en) Information reminder method and electronic device
CN108717343A (en)Application icon processing method and device and mobile terminal
CN108536504A (en)Page display method and device, mobile terminal and storage medium
CN108646959A (en)Screen control method, device and mobile terminal
KR20140112911A (en)Mobile apparatus executing action in display unchecking mode and control method thereof
CN108600807B (en) Video playback control method, device, terminal and computer readable medium
CN109074124B (en)Data processing method and mobile equipment
CN108664205A (en) Information display method, device, mobile terminal and storage medium
CN113050863A (en)Page switching method and device, storage medium and electronic equipment
CN108052258B (en)Terminal task processing method, task processing device and mobile terminal
CN108958578B (en)File control method and device and electronic device
CN108646967A (en)display switching method, device, mobile terminal and storage medium
CN107918517B (en) Response method, device, mobile terminal and storage medium for screen rotation
CN108803961A (en) Data processing method, device and mobile terminal
CN108762645A (en) Content switching method, device, mobile terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210413


[8]ページ先頭

©2009-2025 Movatter.jp