CN108616771B - Video playing method and mobile terminal - Google Patents

Video playing method and mobile terminal Download PDF

Info

Publication number
CN108616771B
CN108616771B CN201810381457.XA CN201810381457A CN108616771B CN 108616771 B CN108616771 B CN 108616771B CN 201810381457 A CN201810381457 A CN 201810381457A CN 108616771 B CN108616771 B CN 108616771B
Authority
CN
China
Prior art keywords
video
touch operation
playing
target video
pressure value
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.)
Active
Application number
CN201810381457.XA
Other languages
Chinese (zh)
Other versions
CN108616771A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810381457.XA priority Critical patent/CN108616771B/en
Publication of CN108616771A publication Critical patent/CN108616771A/en
Application granted granted Critical
Publication of CN108616771B publication Critical patent/CN108616771B/en
Active 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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

Abstract

The invention provides a video playing method and a mobile terminal, and relates to the technical field of terminals. The video playing method comprises the following steps: displaying a video list, if a video playing instruction aiming at a target video in the video list is received, playing the target video, and if a first touch operation and a second touch operation are detected simultaneously in the playing process of the target video, playing and controlling the target video according to the first touch operation and the second touch operation. The method and the device can quickly and accurately control the playing process of the video according to the requirement of the user on browsing the video, and improve the video playing effect.

Description

Video playing method and mobile terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a video playing method and a mobile terminal.
Background
With the development of terminal technology, various mobile terminals have become more and more popular. A mobile terminal may generally provide a plurality of videos from which a user may select a target video to play.
In the prior art, a button for playing or pausing may be provided in a playing interface of a video, and when a touch operation of a user on the button is received, the video playing or pausing may be controlled. However, since the target video can be played or paused only singly according to the touch operation of the button, the playing effect is poor.
Disclosure of Invention
The embodiment of the invention provides a video playing method and a mobile terminal, aiming at solving the problem of poor playing effect.
In order to solve the technical problem, the invention is realized as follows:
according to a first aspect of the present invention, there is provided a video playing method applied to a mobile terminal, the video playing method including:
displaying a video list;
if a video playing instruction for a target video in the video list is received, playing the target video;
and if a first touch operation and a second touch operation are detected simultaneously in the target video playing process, carrying out playing control on the target video according to the first touch operation and the second touch operation.
According to a second aspect of the present invention, there is provided a mobile terminal comprising:
the display module is used for displaying the video list;
the playing module is used for playing the target video if a video playing instruction aiming at the target video in the video list is received;
and the control module is used for controlling the playing of the target video according to the first touch operation and the second touch operation if the first touch operation and the second touch operation are detected simultaneously in the playing process of the target video.
According to a third aspect of the present invention, there is provided a mobile terminal comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the video playback method of the present invention.
The embodiment of the invention can display the video list, and when a video playing instruction aiming at the target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 shows a flowchart of a video playing method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a video playing method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a video playing method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating another video playing method according to a third embodiment of the present invention;
fig. 5 is a block diagram illustrating a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 shows a block diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example one
Referring to fig. 1, a flowchart of a video playing method according to a first embodiment of the present invention is shown. The video playing method can be used for a mobile terminal, and specifically comprises the following steps:
step 101, displaying a video list.
In order to facilitate a quick and accurate selection of a desired video to a user, a list of videos may be provided in the form of a list.
At least one video may be included in the video list. For each video, the video list may display the cover page and name of the video, and of course, in practical applications, other video attributes of the video may also be displayed.
The video attribute is an attribute that a video has and may include a cover page, a name, a format, or a size. Of course, in practical applications, the video attributes may also include other video-related information.
The video attribute may be carried in the video, and of course, may also be stored in correspondence with the video.
At least one video, including a local video or an online video, may be acquired and then the acquired videos are provided to the user in the form of a list.
And 102, if a video playing instruction for a target video in the video list is received, playing the target video.
In order to show more information in the video content to the user and enable the user to perceive the video content in the video, the target video can be played when a video playing instruction for the target video in the video list is received.
The target video may include one or more than one video. The target video comprises more than one video, so that a user can play more than one video through less operation, the complicated interaction process between the user and the target video is reduced, the interaction efficiency is improved, the user can preview the video in the video list conveniently, the required video is selected quickly and accurately, and the preview effect is improved.
The mobile terminal can determine the target video in the video list according to the video selection instruction.
The video selection instruction is used for selecting at least one video in the video list as a target video. The video selection instruction may be triggered by a user by performing a first preset operation. The first preset operation may include a click operation, a press operation, or a slide operation, but in practical applications, the first preset operation may also include other operations.
The video playing instruction is used for indicating the target video to be played. The video playing instruction can be triggered by the user through executing a second preset operation.
The second preset operation may include a click operation, a press operation, or a slide operation, but in practical applications, the second preset operation may also include other operations.
In the embodiment of the present invention, optionally, in order to reduce the possibility that the first preset operation triggering the video playing instruction conflicts with the operation triggering other instructions (such as the long press operation for waking up the list menu), the first preset operation may include a multi-point long press operation (such as a two-point long press operation).
In the embodiment of the present invention, optionally, in order to improve the interaction efficiency and further improve the efficiency of providing the played video, the video selection instruction and the video playing instruction may be the same instruction.
For example, video 1, video 2, video 3, video 4, and video 5 are included in the video list. When the double-finger long-press operation is received based on the video 1, it is determined that a video play instruction for the video 1 is triggered, and thus the video 1 can be played.
The display area of the mobile terminal can be divided into sub-display areas with corresponding number according to the number of played videos, and each sub-display area displays one video.
When the number of the played videos is 1 and the multi-point long-press operation is triggered by the video playing instruction, the videos can be displayed in a window mode above the touch position to reduce the shielding of the video list, or the videos can be displayed in a full screen mode to improve the playing effect.
In addition, when the video is played, the playing progress of the video can be displayed.
Step 103, if a first touch operation and a second touch operation are detected simultaneously in the target video playing process, performing playing control on the target video according to the first touch operation and the second touch operation.
Because playing the video may need to consume a certain time, and the video may also include more video content, in order to provide a flexible control mode for the user, the playing process of the video is rapidly and accurately controlled according to the requirement of the user for browsing the video, and further the video playing effect is improved.
The first touch operation and the second touch operation are used for controlling the playing process of the video. The first touch operation and the second touch operation may include a pressing operation or a sliding operation.
If the video playing is started through the video playing instruction, and the video playing instruction is operated by long-pressing of two points, the long-pressing operation for one point (for example, the point on the right) can be used as the first touch operation, and the long-pressing operation for another point (for example, the point on the left) can be used as the second touch operation.
The control mode of the video playing process can comprise at least one of fast forward, fast backward, normal playing and ending playing. The corresponding control mode can be determined according to the operation combination of the first touch operation and the second touch operation. For example, the pressure values of the first touch operation and the second touch operation on the screen may be detected. When the pressure value of the first touch operation on the screen, namely the first pressure value, is greater than the pressure value of the second touch operation on the screen, namely the second pressure value, the target video can be controlled to fast forward; when the first pressure value is smaller than the second pressure value, the target video can be controlled to fast backward; when the first pressure value is equal to the second pressure value, the target video can be controlled to be played at a normal speed. Of course, in practical application, the video playing process may be controlled in other manners according to the first touch operation and the second touch operation.
The first pressure value is a pressure value generated by pressing the screen by the first touch operation, and the second pressure value is a pressure value generated by pressing the screen by the second touch operation.
The electric signal detected by the screen for the touch operation may be converted into a pressure value by the pressure sensor.
In addition, when video preview is provided for a user, according to the video playing method provided by the embodiment of the invention, the video preview is provided for the user, and compared with a mode of only showing a video cover, an event or a name and the like for the user, the method can enable the user to perceive richer video content in the video, thereby quickly and accurately selecting the required video and improving the video preview effect.
The embodiment of the invention can display the video list, and when a video playing instruction aiming at the target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
Example two
Referring to fig. 2, a flowchart of a video playing method according to a second embodiment of the present invention is shown. The video playing method can be used for a mobile terminal, and specifically comprises the following steps:
step 201, obtaining a local video and a corresponding video attribute, where the video attribute includes at least one of a creator, a creation geographic location, and a creation time, and generating a video list of the local video according to the video attribute.
In order to facilitate users to play local videos, the local videos can be obtained by video preview for the purpose of sharing the local videos needed by the users to other users, and the users are likely to be sensitive to videos such as the creation geographic positions or the creation time of the videos, so that the users can screen the videos or select the needed videos according to the video attributes of the local videos conveniently, the accuracy of video playing is improved, the video playing effect is further improved, and a video list can be generated according to the video attributes of the local videos.
The creator is the application to which the video belongs. The mobile terminal can create the video by recording, downloading or receiving the creation mode sent by other mobile terminals and the like through the application. When a video is created by the application, the application can be used as a creator, and an application identification of the application is obtained. By storing the creator of the video, the problem that the creator to which the video belongs is determined through the storage path can be avoided, a list of each application storage path does not need to be maintained, and maintenance cost is reduced.
The application identifier is used to identify an application and may include a package name or name of the application.
For example, through the instant messaging application a, in a chat interface, videos sent by other users are stored locally, and an application program identifier "instant messaging application a" can be acquired during storage, so that the "instant messaging application a" is used as a creator of the videos.
The creation geographic location is the geographic location at which the video was created. When a video is created through an application, the geographic position can be acquired, and the acquired address position is used as the created geographic position of the video.
In the embodiment of the present invention, optionally, if the video is created by a recording method, since the geographical position may change during the video recording process, in order to improve the accuracy of creating the geographical position, and further facilitate a subsequent user to select a video according to the video creating position, and improve the accuracy of playing the video, the current geographical position may be obtained as the starting creation geographical position when the recording is started, the current geographical position may be obtained as the ending creation geographical position when the recording is ended, and the position distance between the starting creation geographical position and the ending creation geographical position may be determined. If the position distance is smaller than the position distance threshold value, the ending creating geographic position or the starting creating geographic position is used as the creating geographic position of the video; and if the position distance is larger than or equal to the position distance threshold value, taking the starting geographic position and the ending geographic position as the creation geographic position of the video.
The position distance threshold may be determined in advance by receiving a user submission, for example, the position distance threshold may be 500 meters.
In the embodiment of the present invention, optionally, in order to enable a user to determine a change of a geographic position where the user is located in a video creation process, so as to facilitate a subsequent user to select a video according to a video creation position, and improve accuracy of video playing, in a video creation process, an instruction for obtaining a geographic position where the user is created may be received, and a current address position is obtained as an intermediate geographic position where the user is created.
The create geographic position acquisition instruction is an instruction that instructs acquisition of a geographic position as an intermediate create geographic position, and the create geographic position instruction may be triggered by a user by performing a specific operation.
The specific operation may include a click operation, a key operation, a touch operation, or the like, and of course, in an actual application, other operations may also be included.
In the embodiment of the present invention, optionally, in order to enable a user to distinguish different created geographic positions and their change orders in a video creation process, and further facilitate a subsequent user to select a video according to the video created position, so as to improve accuracy of video playing, the created geographic positions may be marked according to an acquisition order of the created geographic positions.
The direction identifier may be added between two adjacent creating geographic positions, and the direction identifier may point to the creating geographic position after the obtaining order from the creating geographic position before the obtaining order.
Wherein the pointing indicia is used to point to the order in which the geographical locations are created, the pointing indicia may comprise an arrow.
For example, a user records a video through a camera application, and when the current geographical position is determined to be "shenzhen a company building" when the recording is started, and the current geographical position is determined to be "shenzhen north station" when the recording is finished, the creation geographical position of the recorded video is determined to be "shenzhen a company building → shenzhen north station". And if the middle creation geographic position 'Meilin guan' is acquired in the recording process, determining that the creation geographic position of the recorded video is 'Shenzhen A company building → Meilin guan → Shenzhen north station'.
In the embodiment of the present invention, optionally, in order to protect the personal privacy of the user, a switch control portal for acquiring the created geographic location may be provided to the user. When the user is determined to start to acquire the created geographic position based on the switch control entrance, the created geographic position of the video can be acquired in the above mode; when it is determined that the user turns off the acquisition of the creation geographical position based on the switch control entry, the creation geographical position of the video may not be acquired.
The creation time is the time when creating the video is completed. The current system time may be obtained as the creation time of the video when it is determined that creating the video is completed.
In the embodiment of the present invention, optionally, in order to facilitate subsequent differentiated display of videos in different manners, and facilitate a user to select a target video for playing, so as to improve accuracy of video playing, the video attribute may include a creation manner.
The carried video attribute can be acquired from the local video, or the video attribute stored corresponding to the local video is acquired, the video list is divided into at least one display area according to the acquired at least one video attribute, each display area can correspond to at least one video attribute, and the video conforming to the corresponding video attribute is displayed in each display area.
In addition, in another optional embodiment of the present invention, instead of dividing the display area according to the video attribute and displaying the video with different video attributes in different display areas, the acquired video may be displayed in the same area, and the video may be marked according to the video attribute of the video.
In the embodiment of the present invention, optionally, since the user has a high possibility of selecting the video to be created most recently, the user may be provided with the first preset number of videos closest to the current time according to the creation time additionally.
The first preset number may be determined in advance by receiving a user submission, for example, the preset number may be 5.
In the embodiment of the present invention, optionally, in order to accurately position a video required by a user and further improve accuracy and efficiency of video playing, a submitted target video attribute may be received, a local video meeting the target video attribute is screened from the local video, and a video list of the local video is generated according to the local video obtained by screening. That is, according to the attribute of the target video submitted by the user, the local video is primarily screened, and the screened local video is provided for the user to play.
Local videos can be screened according to the received target video attributes, so that local videos which accord with the target video attributes are obtained, and a video list is generated according to the target video attributes.
For example, if the target video attribute includes "instant messaging application a", "last 7 days", and "shift", the local video may be screened according to the target video attribute, so as to obtain a local video whose creator is "instant messaging application a", whose creation time is within "last 7 days", and whose geographic location includes "shift", and generate a video list according to the screened local video.
Step 202, if a video playing instruction for a target video in the video list is received, playing the target video.
For determining the mode of the target video, and receiving the video playing instruction and the mode of the target playing video, reference may be made to the related description in the foregoing.
In the embodiment of the present invention, optionally, the playing may be started from the start point of the video, or the playing may be started from the position where the last playing is finished.
Step 203, if a first touch operation and a second touch operation are detected simultaneously in the process of playing the target video, performing playing control on the target video according to the first touch operation and the second touch operation.
For a manner of controlling the playing process according to the first touch operation and the second touch operation, reference may be made to the related description in the foregoing, and details are not repeated here.
In the embodiment of the present invention, optionally, in order to facilitate accurately controlling the playing process of the video according to the requirement of the user for browsing the video, so as to improve the effect of playing the video, the first touch operation and the second touch operation are pressing operations, and correspondingly, the playing process of the target video may be controlled according to a first pressure value corresponding to the first touch operation and a second pressure value corresponding to the second touch operation.
For the manner of detecting the first pressure value or the second pressure value, reference may be made to the related description in the foregoing, and details are not repeated here.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation and a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, and improve accuracy of playing the video, thereby improving an effect of playing the video, if a first pressure value corresponding to the first touch operation is greater than a second pressure value corresponding to the second touch operation, the target video is controlled to fast forward, and a fast forward speed is positively correlated with a difference value between the first pressure value and the second pressure value; or if the second pressure value is greater than the first pressure value, controlling the target video to fast backward, wherein the fast backward speed is in positive correlation with the difference value between the first pressure value and the second pressure value.
Fast forward is to play at a speed different from the normal play speed in the forward direction of the time axis, and the fast forward speed may be higher than the normal play speed. Wherein, the fast forward speed is the fast forward speed.
Fast rewind is to play in the reverse direction of the time axis. The fast-backward speed is the speed of fast backward.
The first pressure value may be compared to the second pressure value. When the first pressure value is larger than the second pressure value, determining the fast forward of the control target video; when the second pressure value is larger than the first pressure value, determining that the control target video fast retreats; when the first pressure value and the second pressure value are the same, the target video can be controlled to be played at a normal playing speed.
When the control target video is determined to be fast-forwarding or fast-rewinding, a difference between the first pressure value and the second pressure value may be further determined, and according to the difference, the fast-forwarding speed is obtained from the correspondence between the fast-forwarding speed and the pressure value, or the fast-rewinding speed is obtained from the correspondence between the fast-rewinding speed and the pressure value.
The fast forward speeds and the corresponding pressure values of the second preset number of gears can be determined in advance, and the fast forward speeds and the corresponding pressures are stored in the corresponding relation between the fast forward speeds and the pressure values.
The second preset number may be determined in advance by receiving a user submission, for example, the second preset number may be 8.
For example, the corresponding relationship between the fast forward speed and the pressure value may be as shown in table 1, where V is the fast forward speed and F is the pressure value. Taking the fast forward speed of 1.2 corresponding to 0< F ≦ 20N (N) as an example, when F is determined to be 0< F ≦ 20N, a corresponding fast forward speed V of 1.2, which indicates that the fast forward speed is 1.2 times the normal play speed, may be obtained.
TABLE 1
V F(N) V F(N)
1.2 0<F≤20 4 80<F≤100
1.3 20<F≤40 8 100<F≤120
1.5 40<F≤60 16 120<F≤140
2 60<F≤80 32 140<F
In addition, in another alternative embodiment of the present invention, in order to increase the response speed of fast forward or fast backward, when the speed at which the difference between the first pressure value and the second pressure value is increased (decreased) is faster, the speed at which the fast forward speed (fast backward speed) is increased is also greater, i.e., the acceleration of the fast forward speed (fast backward speed) is greater.
In the embodiment of the present invention, optionally, in order to facilitate accurately controlling the playing process of the video according to the requirement of the user for browsing the video, so as to improve the effect of playing the video, the first touch operation and the second touch operation are sliding operations, and correspondingly, the playing process of the target video may be controlled according to a first touch position corresponding to the first touch operation and a second touch position corresponding to the second touch operation.
The first touch position is a position touched by the first touch operation in the screen, and the second touch position is a position touched by the second touch operation in the screen.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation and a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, and improve accuracy of playing the video, thereby improving an effect of playing the video, if it is detected that a distance between a first touch position corresponding to the first touch operation and a second touch position corresponding to the second touch operation is increased, the target video is controlled to fast forward, and a fast forward speed is positively correlated to an increase amount of the distance; or if the distance between the first touch position and the second touch position is detected to be reduced, controlling the target video to fast backward, wherein the fast backward speed is positively correlated with the reduction of the distance.
The distance between the first touch position and the second touch position, that is, the distance between the first start position corresponding to the first touch operation and the second start position corresponding to the second touch operation, may be determined when the first touch operation and the second touch operation are detected, and the distance is taken as the initial distance. Then, in the process of sliding of the first touch operation or the second touch operation, detecting the distance between the first touch position and the second touch position in real time, comparing the distance detected in real time with the initial distance to determine whether the distance between the first touch position and the second touch position changes, if the distance increases, determining that the control target video fast forwards, if the distance decreases, determining that the control target video fast backwards, and of course, if the distance does not change, playing at a normal playing speed. When the control target video is determined to fast forward or fast backward, the increasing amount or the decreasing amount of the distance between the first touch position and the second touch position can be further determined, and then the corresponding fast forward speed is determined according to the increasing amount of the distance, or the corresponding fast backward speed is determined according to the decreasing amount of the distance.
Taking the example of determining the corresponding fast forward speed according to the increase amount of the distance, the corresponding fast forward speed can be acquired from the correspondence between the distance and the fast forward speed by the increase amount of the distance.
The fast forward speeds and the corresponding distance increase amounts of the second preset number of gears can be determined in advance, and the fast forward speeds and the distance increase amounts are stored in the corresponding relation between the fast forward speeds and the distances.
In addition, in another alternative embodiment of the present invention, in order to increase the response speed of fast forward or fast backward, the limitation of the sliding distance by the screen size is reduced, and when the speed at which the distance between the first touch position and the second touch position is increased (reduced) is faster, the speed at which the fast forward speed (fast backward speed) is increased is also greater, i.e., the acceleration of the fast forward speed (fast backward speed) is greater.
In addition, the manner of determining the corresponding fast-backward speed according to the decrease amount of the distance may be the same as the manner of determining the corresponding fast-forward speed according to the increase amount of the distance, and is not described in detail here.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation and a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, and improve accuracy of playing the video, thereby improving an effect of playing the video, if it is detected that the second touch operation does not slide but the first touch operation slides, the target video is controlled to fast forward, and the fast forward speed is positively correlated to the sliding distance of the first touch operation; or if the first touch operation is detected not to slide but the second touch operation is detected to slide, controlling the target video to fast backward, wherein the fast backward speed is positively correlated with the sliding distance of the second touch operation.
The sliding distance of the first touch operation is the distance between the first touch position and the first start position. The sliding distance of the second touch operation is the distance between the second touch position and the second starting position.
Taking the determination of the control target video fast forward as an example, when it is detected that the second touch operation does not slide but the first touch operation slides to any direction, the control target video fast forward may be determined; alternatively, in another optional embodiment of the present invention, the control target video may be determined to be fast-forwarded when it is detected that the second touch operation is not slid but the first touch operation is slid to the first specified direction.
The first designated direction may be determined in advance by receiving a user submission, for example, the first designated direction may be a right direction.
In addition, in another alternative embodiment of the present invention, in order to increase the response speed of fast forward or fast reverse, the limitation of the screen size on the sliding distance is reduced, and when the speed at which the distance of the first touch operation sliding increases is faster, the speed at which the fast forward speed increases is also greater, that is, the acceleration of the fast forward speed is greater.
In addition, the method for determining the fast backward of the control target video may be similar to the method for determining the fast forward of the control target video, and is not described herein any more.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind the video according to the first touch operation and the second touch operation of the user, so as to control the playing process in time according to the requirement of the user for browsing the video, and improve the accuracy of playing the video, thereby improving the effect of playing the video, if it is detected that the first touch position is the same as the first start position, and the second touch position is the same as the second start position, the target video is controlled to be played at a third preset speed.
The third preset speed may be determined in advance, for example, the third preset speed may be a normal play speed.
In order to determine whether the touch operation returns to the start position, the start position may be highlighted, for example, highlighted, or an area where the start position is located may be transparently displayed.
In this embodiment of the application, optionally, in order to facilitate the user to confirm the current control state of the video playing, so as to adjust the control mode, further improve the accuracy of controlling the video playing process, improve the playing effect, and display at least one of the current playing speed, the volume, the acceleration of the fast forward speed, and the acceleration of the fast backward speed.
The playing speed may include the aforementioned normal playing speed, third preset speed, fast forward speed and fast backward speed.
In the embodiment of the present invention, optionally, in order to conveniently and quickly return to the video list and improve the interaction efficiency and the video playing effect, if the first touch operation and the second touch operation are not detected simultaneously in the target video playing process, the target video is stopped to be played and the video list is returned.
First, the embodiment of the present invention can display a video list, and when a video play instruction for a target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
Secondly, the embodiment of the invention can screen the local video according to the video attribute, thereby accurately positioning the video required by the user, improving the accuracy of providing the video and improving the video playing effect.
In addition, according to the embodiment of the invention, the video can be controlled to be fast-forwarded or fast-backed, and the acceleration of the fast-forwarding speed or the fast-backing speed can be controlled according to the first pressure value corresponding to the first touch operation and the second pressure value corresponding to the second touch operation, or according to the first touch position of the first touch operation and the touch position of the second touch operation, so that the playing process can be controlled in time according to the requirement of a user on browsing the video, the accuracy of playing the video is improved, and the video playing effect is further improved.
In addition, in the process of playing the target video, if the first touch operation and the second touch operation are not detected, the playing of the target video can be stopped and the video list can be returned, so that the video list can be conveniently and quickly returned, and the interaction efficiency and the video playing effect are improved.
EXAMPLE III
Referring to fig. 3, a flowchart of a video playing method according to a third embodiment of the present invention is shown. The video playing method can be used for a mobile terminal, and specifically comprises the following steps:
step 301, displaying a video list.
For the manner of displaying the video list, reference may be made to the related description in the foregoing, and details are not repeated here.
Step 302, if a video playing instruction for a target video in the video list is received, playing the target video.
For the manner of determining the target video, receiving the video playing instruction, and playing the target video, reference may be made to the related description in the foregoing, and details are not repeated here.
Step 303, if a first touch operation and a second touch operation are detected simultaneously in the process of playing the target video, performing play control on the target video according to the first touch operation and the second touch operation.
For a way of performing play control on the target video according to the first touch operation and the second touch operation, reference may be made to the related description in the foregoing, and details are not repeated here.
In the embodiment of the present invention, optionally, in order to facilitate accurately controlling the playing process of the video according to the requirement of the user for browsing the video, so as to improve the effect of playing the video, if the first touch operation or the second touch operation is detected in the target video playing process, the playing process is controlled according to the first touch operation or the second touch operation.
In the embodiment of the present invention, optionally, in order to facilitate accurately controlling a playing process of a video according to a user's requirement for browsing the video, so as to improve an effect of playing the video, the first touch operation and the second touch operation are pressing operations, and correspondingly, the playing process may be controlled according to a first pressure value corresponding to the first touch operation or a second pressure value corresponding to the second touch operation.
For the manner of detecting the first pressure value or the second pressure value, reference may be made to the related description in the foregoing, and details are not repeated here.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation or a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, so as to improve accuracy of playing the video, and further improve an effect of playing the video, if the second touch operation is not detected but the first touch operation is detected, the target video is controlled to fast forward according to the first pressure value, and a fast forward speed is positively correlated with the first pressure value; or if the first touch operation is not detected but the second touch operation is detected, controlling the target video to fast backward according to the second pressure value, wherein the fast backward speed is positively correlated with the second pressure value.
The corresponding fast forward speed can be obtained from the corresponding relation between the fast forward speed and the pressure value according to the first pressure value; or acquiring the corresponding fast-moving speed from the corresponding relation between the fast-moving speed and the pressure value according to the second pressure value.
In addition, in another alternative embodiment of the present invention, in order to increase the response speed of fast forward or fast backward, the speed of increasing the fast forward speed (i.e. the acceleration of the fast forward speed) is greater when the first pressure value is increased faster, and correspondingly, the speed of increasing the fast backward speed (i.e. the acceleration of the fast backward speed) is greater when the second pressure value is increased faster.
In the embodiment of the present invention, optionally, in order to facilitate accurately controlling a playing process of a video according to a user's requirement for browsing the video, so as to improve an effect of playing the video, if the first touch operation and the second touch operation are sliding operations in the target video playing process, correspondingly, the playing process may be controlled according to a first touch position corresponding to the first touch operation or a second touch position corresponding to the second touch operation.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation or a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, and improve accuracy of playing the video, thereby improving an effect of playing the video, if the second touch operation is not detected, but the first touch operation is detected, the target video is controlled to fast forward, and the fast forward speed is positively correlated to a sliding distance of the first touch operation; or if the first touch operation is not detected but the second touch operation is detected, controlling the target video to fast backward, wherein the fast backward speed is positively correlated with the sliding distance of the second touch operation.
In addition, in another optional embodiment of the present invention, it may be determined that the control target video is fast-forwarded when the first touch operation is detected to slide in the first specified direction, and the fast-forwarding speed is positively correlated with the distance over which the first touch operation slides; or when the first touch operation is detected to slide towards the second specified direction, the control target video is determined to fast backward, and the fast backward speed is positively correlated with the sliding distance of the first touch operation. That is, the target video playback is controlled only according to the first touch operation.
The first designated direction may be a right direction, and the second designated direction may be a left direction.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind a video according to a first touch operation or a second touch operation of a user, so as to control a playing process in time according to a requirement of the user for browsing the video, improve accuracy of playing the video, and further improve an effect of playing the video, if the second touch operation is not detected, but the first touch position is detected to be the same as the first start position, the target video is controlled to be played at a first preset speed; or if the first touch operation is not detected, but the second touch position is detected to be the same as the second initial position, controlling the target video to be played at a second preset speed.
The first predetermined speed or the second predetermined speed may be determined in advance, for example, the first predetermined speed may be a minimum fast forward speed, and the second predetermined speed may be a minimum fast backward speed.
In the embodiment of the present invention, optionally, in order to fast forward or fast rewind the video according to the first touch operation or the second touch operation of the user, so as to control the playing process in time according to the requirement of the user on browsing the video, improve the accuracy of playing the video, and further improve the video playing effect, if the first touch operation and the second touch operation are detected at the same time, the target video is controlled to be played at a third preset speed.
In this embodiment of the application, optionally, in order to facilitate the user to confirm the current control state of the video playing, so as to adjust the control mode, further improve the accuracy of controlling the video playing process, improve the playing effect, and display at least one of the current playing speed, the volume, the acceleration of the fast forward speed, and the acceleration of the fast backward speed.
The playing speed may include the aforementioned normal playing speed, first preset speed, second preset speed, third preset speed, fast forward speed, and fast backward speed.
In the embodiment of the present invention, optionally, in order to conveniently and quickly return to the video list, so that the user can select a desired video or perform other operations, and improve the interaction efficiency and the video playing effect, if the first touch operation and the second touch operation are not detected at the same time, the target video is stopped to be played, and the video list is returned.
For example, a video playing method may be as shown in fig. 4.
Step 401, displaying the local video file according to video attributes such as creator, creation address location, creation time, and the like.
The video files can be classified according to video attributes, so that the video files with different video attributes are respectively displayed to users.
Step 402, providing fuzzy matching search, screening the video files according to the screening conditions provided by the user, and generating a video list according to the screening result.
Wherein the filtering condition may include at least one target video attribute.
And step 403, the user presses the videos in the video list with two fingers and starts video preview playing on the current interface.
Whether the double-finger-length pressing operation is received or not can be detected, and if yes, the video corresponding to the double-finger-length pressing operation is determined and played.
Of course, if it is determined that the long press operation of the two fingers does not correspond to the video file, the video preview playing may not be started, or a menu corresponding to the long press operation in the video list may be displayed.
In step 404, the user respectively controls fast forward, fast backward and normal play speed play of the video by adjusting the touch and pressure values of the left and right screen pressure points.
The method can detect the touch and pressure values of the left screen pressure point and the right screen pressure point of a user through adjustment, determine a control mode for video playing according to the pressure value or touch sliding distance of the user to the screen, and control the preview playing process according to the control mode.
The right screen pressure point can be a pressure point corresponding to the first touch operation, and the left screen pressure point can be a pressure point corresponding to the second touch operation. Correspondingly, the video playing process can be controlled according to the pressure values of the pressure points of the left screen and the right screen or the touch sliding distance in the mode of controlling the playing process according to the first touch operation and the second touch operation.
Step 405, playing is performed in a mute mode, and in the playing process, if a third pressure point is detected and the third pressure point slides up and down, the volume of the playing is adjusted and displayed.
Whether a third pressure point exists can be detected, if so, the volume is adjusted, and the volume is displayed.
The percentage of the volume size may be displayed, and the duration of displaying the percentage of the volume size may be a preset duration.
The preset time period may be determined in advance, and for example, the preset time period may be 2S (seconds).
Of course, the sound output may be stopped during fast forward or fast reverse play.
First, the embodiment of the present invention can display a video list, and when a video play instruction for a target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
Secondly, according to the embodiment of the invention, the video can be controlled to be fast-forwarded or fast-backed and the acceleration of the fast-forwarding speed or the fast-backing speed can be controlled according to the first pressure value corresponding to the first touch operation and/or the second pressure value corresponding to the second touch operation, or according to the first touch position of the first touch operation and/or the second touch position of the second touch operation, so that the playing process can be controlled in time according to the requirement of a user on browsing the video, the accuracy of playing the video is improved, and the video playing effect is further improved.
Example four
Referring to fig. 5, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown, which may specifically include:
a display module 501, configured to display a video list;
a playing module 502, configured to play a target video in the video list if a video playing instruction for the target video is received;
a control module 503, configured to perform play control on the target video according to the first touch operation and the second touch operation if the first touch operation and the second touch operation are detected simultaneously in the target video playing process.
Optionally, the first touch operation and the second touch operation are press operations, and the control module includes:
the first fast forwarding sub-module is used for controlling the target video to fast forward if a first pressure value corresponding to the first touch operation is larger than a second pressure value corresponding to the second touch operation, and the fast forwarding speed is in positive correlation with a difference value between the first pressure value and the second pressure value; or the like, or, alternatively,
and the first fast moving submodule is used for controlling the target video to fast move if the second pressure value is greater than the first pressure value, and the fast moving speed is in positive correlation with the difference value between the first pressure value and the second pressure value.
Optionally, the first touch operation and the second touch operation are sliding operations, and the control module includes:
a second fast forwarding sub-module, configured to control fast forwarding of the target video if it is detected that a distance between a first touch position corresponding to the first touch operation and a second touch position corresponding to the second touch operation increases, where a fast forwarding speed is positively correlated to an increase amount of the distance; or the like, or, alternatively,
and the second fast moving sub-module is used for controlling the target video to fast move if the distance between the first touch position and the second touch position is detected to be reduced, and the fast moving speed is positively correlated with the reduction of the distance.
Optionally, the first touch operation and the second touch operation are sliding operations, and the control module includes:
a third fast forward sub-module, configured to control the target video to fast forward if it is detected that the second touch operation does not slide but the first touch operation slides, where a fast forward speed is positively correlated to a distance of the first touch operation sliding; or the like, or, alternatively,
and the third fast moving back submodule is used for controlling the target video to fast move back if the first touch operation is detected not to slide but the second touch operation is detected to slide, and the fast moving back speed is positively correlated with the sliding distance of the second touch operation.
Optionally, the mobile terminal further includes:
and the returning module is used for stopping playing the target video and returning to the video list if the first touch operation and the second touch operation are not detected simultaneously in the target video playing process.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in any method embodiment in fig. 1 to fig. 4, and is not described herein again to avoid repetition.
The embodiment of the invention can display the video list, and when a video playing instruction aiming at the target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
EXAMPLE five
Figure 6 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 610 is configured to:
displaying a video list;
if a video playing instruction for a target video in the video list is received, playing the target video;
and if a first touch operation and a second touch operation are detected simultaneously in the target video playing process, carrying out playing control on the target video according to the first touch operation and the second touch operation.
Optionally, the first touch operation and the second touch operation are press operations, and the performing, according to the first touch operation and the second touch operation, play control on the target video includes:
if the first pressure value corresponding to the first touch operation is larger than the second pressure value corresponding to the second touch operation, controlling the target video to fast forward, wherein the fast forward speed is in positive correlation with the difference value between the first pressure value and the second pressure value; or the like, or, alternatively,
and if the second pressure value is greater than the first pressure value, controlling the target video to fast backward, wherein the fast backward speed is in positive correlation with the difference value between the first pressure value and the second pressure value.
Optionally, the first touch operation and the second touch operation are sliding operations, and the performing, according to the first touch operation and the second touch operation, play control on the target video includes:
if the distance between a first touch position corresponding to the first touch operation and a second touch position corresponding to the second touch operation is detected to be increased, the target video is controlled to fast forward, and the fast forward speed is positively correlated with the increase of the distance; or the like, or, alternatively,
and if the distance between the first touch position and the second touch position is reduced, controlling the target video to fast backward, wherein the fast backward speed is positively correlated with the reduction of the distance.
Optionally, the first touch operation and the second touch operation are sliding operations, and the performing, according to the first touch operation and the second touch operation, play control on the target video includes:
if the second touch operation is detected not to slide but the first touch operation is detected to slide, controlling the target video to fast forward, wherein the fast forward speed is in positive correlation with the distance of the first touch operation sliding; or the like, or, alternatively,
if the first touch operation is detected not to slide but the second touch operation is detected to slide, the target video is controlled to fast backward, and the fast backward speed is positively correlated with the sliding distance of the second touch operation.
Optionally, the video playing method further includes:
and if the first touch operation and the second touch operation are not detected simultaneously in the target video playing process, stopping playing the target video and returning to the video list.
The embodiment of the invention can display the video list, and when a video playing instruction aiming at the target video in the video list is received, the target video is played. In the process of playing the target video, if the first touch operation and the second touch operation are detected at the same time, the playing process of the target video can be controlled according to the first touch operation and the second touch operation, so that the playing process of the video can be quickly and accurately controlled according to the requirement of a user on browsing the video, and the video playing effect is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
EXAMPLE six
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
EXAMPLE seven
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (3)

1. A video playing method is applied to a mobile terminal, and is characterized in that the video playing method comprises the following steps:
displaying a video list;
if a video playing instruction for a target video in the video list is received, playing the target video;
if a first touch operation and a second touch operation are detected simultaneously in the target video playing process, performing playing control on the target video according to the first touch operation and the second touch operation;
if the first touch operation and the second touch operation are not detected simultaneously in the target video playing process, stopping playing the target video and returning to the video list;
the first touch operation and the second touch operation are press operations, and the playing control of the target video according to the first touch operation and the second touch operation comprises:
if the first pressure value corresponding to the first touch operation is larger than the second pressure value corresponding to the second touch operation, controlling the target video to fast forward, wherein the fast forward speed is in positive correlation with the difference value between the first pressure value and the second pressure value; or the like, or, alternatively,
and if the second pressure value corresponding to the second touch operation is greater than the first pressure value corresponding to the first touch operation, controlling the target video to fast backward, wherein the fast backward speed is in positive correlation with the difference value between the first pressure value and the second pressure value.
2. A mobile terminal, characterized in that the mobile terminal comprises:
the display module is used for displaying the video list;
the playing module is used for playing the target video if a video playing instruction aiming at the target video in the video list is received;
the control module is used for carrying out playing control on the target video according to the first touch operation and the second touch operation if the first touch operation and the second touch operation are detected simultaneously in the playing process of the target video;
a returning module, configured to stop playing the target video and return to the video list if the first touch operation and the second touch operation are not detected simultaneously in the target video playing process;
wherein the first touch operation and the second touch operation are press operations, the control module includes:
the first fast forwarding sub-module is used for controlling the target video to fast forward if a first pressure value corresponding to the first touch operation is larger than a second pressure value corresponding to the second touch operation, and the fast forwarding speed is in positive correlation with a difference value between the first pressure value and the second pressure value; or the like, or, alternatively,
and the first fast moving sub-module is used for controlling the target video to fast move if a second pressure value corresponding to the second touch operation is greater than a first pressure value corresponding to the first touch operation, and the fast moving speed is in positive correlation with a difference value between the first pressure value and the second pressure value.
3. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the video playback method according to claim 1.
CN201810381457.XA 2018-04-25 2018-04-25 Video playing method and mobile terminal Active CN108616771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810381457.XA CN108616771B (en) 2018-04-25 2018-04-25 Video playing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810381457.XA CN108616771B (en) 2018-04-25 2018-04-25 Video playing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108616771A CN108616771A (en) 2018-10-02
CN108616771B true CN108616771B (en) 2021-01-15

Family

ID=63661238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810381457.XA Active CN108616771B (en) 2018-04-25 2018-04-25 Video playing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108616771B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267091B (en) * 2019-05-07 2021-04-16 北京奇艺世纪科技有限公司 Play instance processing method and device and computer readable storage medium
CN110221765B (en) * 2019-06-10 2021-07-06 惠州Tcl移动通信有限公司 Video file playing method and device, storage medium and terminal
CN110225391B (en) * 2019-07-18 2022-02-18 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN111736749A (en) * 2020-06-15 2020-10-02 Oppo广东移动通信有限公司 Multimedia data play control method and device, mobile terminal and storage medium
CN111901644B (en) * 2020-06-29 2021-02-12 江苏柏勋科技发展有限公司 LED display screen playing system
CN113691869B (en) * 2021-07-30 2023-11-03 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181467Y (en) * 2007-01-05 2009-01-14 苹果公司 Hand-hold mobile communicating device
CN103116467A (en) * 2013-03-07 2013-05-22 东蓝数码股份有限公司 Video progress and volume control method based on multi-point touch control
CN105892884A (en) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 Screen direction determining method and device, and mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181467Y (en) * 2007-01-05 2009-01-14 苹果公司 Hand-hold mobile communicating device
CN103116467A (en) * 2013-03-07 2013-05-22 东蓝数码股份有限公司 Video progress and volume control method based on multi-point touch control
CN105892884A (en) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 Screen direction determining method and device, and mobile device

Also Published As

Publication number Publication date
CN108616771A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN108616771B (en) Video playing method and mobile terminal
CN108762954B (en) Object sharing method and mobile terminal
CN110087117B (en) Video playing method and terminal
CN110248251B (en) Multimedia playing method and terminal equipment
CN108737904B (en) Video data processing method and mobile terminal
CN111314784B (en) Video playing method and electronic equipment
CN108279948B (en) Application program starting method and mobile terminal
CN110784771B (en) Video sharing method and electronic equipment
CN108174103B (en) Shooting prompting method and mobile terminal
CN106375179B (en) Method and device for displaying instant communication message
CN108334272B (en) Control method and mobile terminal
CN110602565A (en) Image processing method and electronic equipment
CN110865745A (en) Screen capturing method and terminal equipment
CN110062273B (en) Screenshot method and mobile terminal
CN111124207B (en) Multimedia file playing method and electronic equipment
CN110442279B (en) Message sending method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN109271262B (en) Display method and terminal
CN110719527A (en) Video processing method, electronic equipment and mobile terminal
CN110673770A (en) Message display method and terminal equipment
CN111770374B (en) Video playing method and device
CN108052258B (en) Terminal task processing method, task processing device and mobile terminal
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN111061446A (en) Display method and electronic equipment
CN110769303A (en) Playing control 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