WO2017088406A1 - 视频播放的方法及装置 - Google Patents
视频播放的方法及装置 Download PDFInfo
- Publication number
- WO2017088406A1 WO2017088406A1 PCT/CN2016/083547 CN2016083547W WO2017088406A1 WO 2017088406 A1 WO2017088406 A1 WO 2017088406A1 CN 2016083547 W CN2016083547 W CN 2016083547W WO 2017088406 A1 WO2017088406 A1 WO 2017088406A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- touch
- preview
- video
- pressure
- touch area
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/4728—End-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 selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/74—Browsing; Visualisation therefor
- G06F16/743—Browsing; Visualisation therefor a collection of video files or sequences
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47217—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/4722—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/4722—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
- H04N21/4725—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content using interactive regions of the image, e.g. hot spots
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8549—Creating video summaries, e.g. movie trailer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42224—Touch pad or touch panel provided on the remote control
Definitions
- the present invention relates to the field of electronic device control technologies, and in particular, to a video playback method and apparatus.
- a preview interface composed of video screenshots is usually generated, so that the user can understand the approximate content of the video according to the video screenshot.
- the thumbnails of the video screenshots are usually displayed in the preview interface, and the user can click on the thumbnail of the video screenshot to view a large picture of the video screenshot, and after determining the interest, exit the large image page, and then Instead, click on the play button of the video corresponding to the large image of interest and enter the player for video preview and playback. It can be seen that when the user finds the video of interest, he must close the big picture of the video screenshot and then click the play button to watch the video. This kind of video preview and playback operation, the operation process is cumbersome and inefficient.
- the purpose of the embodiments of the present invention is to provide a video playback method and device, which can simplify the operation process of the user's video playback and improve the user experience fluency.
- the first touch event is a first preset gesture operation, displaying a preview preview picture of the video corresponding to the preview screen;
- the video corresponding to the preview screen is played.
- the first preset gesture operation is a tap
- the second preset gesture operation is a re-press
- the method of distinguishing the magnitude of the pressure between the tap and the re-press includes:
- the first touch area threshold is set. If the touch area is less than or equal to the first touch area threshold, the touch is determined to be a tap, and the touch area is greater than the touch area during the second touch event. When the first touch area threshold is used, it is determined to be re-pressed;
- the method further includes:
- the detail preview screen is closed and a video preview interface is displayed.
- the method further includes:
- the detail preview screen is closed, and the corresponding touched preview screen in the video preview interface is deleted;
- the detail preview picture is: a large picture corresponding to the preview picture, the preview picture corresponds to an enlarged video preview gif of the video, or is extracted according to a video playing order corresponding to the preview picture.
- the method further includes:
- the first touch event is a tap
- the method of distinguishing between tapping and tapping includes:
- the second touch area is set. If the touch area is greater than the second touch area and less than or equal to the first touch area threshold, the touch is determined to be a light touch, and the touch area is less than or equal to the second touch area. , it is judged to be light;
- the threshold is less than or equal to the first pressure threshold, and/or, when the touch area is greater than the second touch area threshold and less than or equal to the first touch area, it is determined to be a tap.
- an identifier for guiding the user to click there is disposed on one of the four corners of each preview screen in the video preview interface.
- Another aspect of the embodiments of the present invention further provides an apparatus for video playback, including:
- a preview interface obtaining module configured to obtain a video preview interface according to the preview instruction
- a touch event sensing module configured to sense occurrence of a first touch event and a second touch event on a certain preview image in the video preview interface
- a touch event determining module configured to determine whether the first touch event is a first preset gesture operation, and if the first preset gesture operation is to send a detail preview screen display instruction to the display module, and to determine whether the second touch event is In order to operate for the second preset gesture, if the second preset gesture operation is performed, the play video command is sent to the display module;
- a display module for displaying a video preview interface, a detailed preview screen, or a video.
- the first preset gesture operation is a tap
- the second preset gesture operation is a re-press
- the touch event determination module is further configured to distinguish between the pressure of the tap and the re-press, including:
- the first touch area threshold is set. If the touch area is less than or equal to the first touch area threshold, the touch is determined to be a tap, and the touch area is greater than the first touch event. A touch area threshold is determined to be a re-press;
- the touch event determining module is further configured to determine whether the second touch event is a release, and if the release is, send a close detail preview screen instruction to the display module;
- the display module is further configured to close the detail preview screen and display a video preview interface according to the close detail preview screen instruction.
- the touch event determining module is further configured to determine whether the second touch event is sliding to the left, and if sliding to the left, sending a delete preview screen command to the display module;
- the display module is further configured to: according to the delete preview screen instruction, extract a preview image of the new video from other video resources not displayed in the video preview interface and fill the position where the deleted preview image is located; and Display a new video preview interface.
- the detail preview picture is: a large picture corresponding to the preview picture, the preview picture corresponds to an enlarged video preview gif of the video, or is extracted according to a video playing order corresponding to the preview picture.
- the touch event determining module is further configured to determine whether the first touch event is a light point, and if it is a light point, send a large image preview instruction or an array preview instruction to the display module;
- the display module is further configured to display a large image of the preview image or an array of multiple preview images of a key frame according to a video playing sequence corresponding to the preview image according to a large image preview instruction or an array preview instruction; and After the first time interval, the large image of the preview screen or the array of multiple preview images of the key frames extracted in the video playing order corresponding to the preview screen is closed, and the video preview interface is continuously displayed.
- the touch event determination module is further configured to distinguish between a tap and a tap, including:
- the second touch area is set. If the touch area is greater than the second touch area and less than or equal to the first touch area threshold, the touch is determined to be a light touch, and the touch area is less than or equal to the second touch area. , it is judged to be light;
- the threshold is less than or equal to the first pressure threshold, and/or, when the touch area is greater than the second touch area threshold and less than or equal to the first touch area, it is determined to be a tap.
- the preview interface acquisition module is further configured to set an identifier for guiding a user to click on a corner of each of the four corners of each preview screen in the video preview interface.
- an apparatus including:
- a touch screen for receiving a touch signal and for displaying a picture
- One or more processors are One or more processors;
- a memory for storing operational instructions
- the one or more processors are configured to retrieve an operational instruction from the memory and execute:
- the first touch event is a first preset gesture operation, displaying a preview preview picture of the video corresponding to the preview screen;
- the video corresponding to the preview screen is played.
- the first preset gesture operation is a tap
- the second preset gesture operation is a re-press
- the processor is further configured to:
- the processor is further configured to:
- the detail preview screen is closed and a video preview interface is displayed.
- the processor is further configured to:
- the detail preview screen is closed, and the corresponding touched preview screen in the video preview interface is deleted;
- the detail preview picture is: a large picture corresponding to the preview picture, the preview picture corresponds to an enlarged video preview gif of the video, or a key frame extracted according to a video playing order corresponding to the preview picture An array of multiple preview images.
- the processor is further configured to:
- the first touch event is a tap
- the processor is further configured to:
- the second touch area is set. If the touch area is greater than the second touch area and less than or equal to the first touch area threshold, the touch is determined to be a light touch, and the touch area is less than or equal to the second touch area. , it is judged to be light;
- the touch pressure is less than or equal to the second
- the pressure threshold and/or, when the touch area is less than or equal to the second touch area threshold, is determined to be a light point; when the touch pressure is greater than the second pressure threshold and less than or equal to the first pressure threshold, and/or, the touch area is greater than the second touch
- the area threshold is less than or equal to the first touch area, it is determined to be a light tap.
- an identifier for guiding the user to click there is disposed on one of the four corners of each preview screen in the video preview interface.
- the video playback method and apparatus can view the detail preview screen by applying a first preset gesture operation on the preview screen to obtain more information about the video, thereby determining Whether the video is of interest and switches the first preset gesture operation applied to the second preset gesture operation to directly start the corresponding video playback when determining the interest, thereby satisfying the user to obtain more video information to determine
- the need to be interested in the video can simplify the way the user plays the video after determining the interest in the video, thereby greatly improving the fluency of the user selecting and playing the video.
- FIG. 1 is a schematic flowchart diagram of an embodiment of a video playing method according to the present invention
- FIG. 2 is a schematic flow chart of another embodiment of a method for video playback provided by the present invention.
- FIG. 3 is a schematic structural diagram of an apparatus for video playback provided by the present invention.
- FIG. 4 is a schematic diagram of a page change before and after tapping a preview screen in a video playback method and apparatus according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of a method for changing a page in a video playback method and apparatus according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of a page change after before and after switching to release before, in a method and apparatus for video playback according to the present invention.
- FIG. 1 is a schematic flowchart diagram of an embodiment of a method for playing video provided by the present invention.
- the method for playing the video includes:
- Step 101 Acquire and display a video preview interface 400 (refer to FIG. 4); optionally, as shown in FIG. 4, the video preview interface 400 is composed of thumbnails of multiple preview images, and multiple preview images are reduced.
- the thumbnail sizes can vary;
- Step 102 Perceive that a first touch event occurs on a preview image 401 (ie, a certain thumbnail in the video preview interface) in the video preview interface 400;
- Step 103 When the first touch event is determined to be the first preset gesture operation, the preview screen 401 is displayed corresponding to the video preview preview screen 402 (refer to FIG. 4); optionally, as shown in FIG.
- the detail preview screen 402 may be such that both side edges are flush with both side edges of the display area and may be set to float in a new layer above the video preview interface 400; in addition, when the device is placed horizontally, the same, video
- the preview interface 400 and the detail preview screen 402 can also be horizontally arranged, and the preview screens in the video preview interface 400 are arranged in the same order and are horizontally disposed, and the two sides of the detail preview screen 402 and the display area can be similarly
- the side edges (actually the upper and lower edges of the device at this time) are flush, or according to the size of the preview screen, the upper and lower edges thereof are flush with the upper and lower edges of the display area (the actual left and right side edges of the device at this time);
- Step 104 Perceive that the first preset gesture operation is switched to the second touch event; that is, the current touch event is subsequently converted from the first preset gesture operation to a second touch event different from the first preset gesture operation;
- Step 105 When the second touch event is determined to be the second preset gesture operation, the video corresponding to the preview screen is played (refer to FIG. 5).
- the detail preview screen means that the information contained therein is more than the display content of the preview screen.
- the optional implementation manner of the detail preview screen may be: a large image corresponding to the preview screen, the preview screen corresponding to the enlarged video preview gif of the video, or extracted according to the video playing order corresponding to the preview screen.
- the detail preview screen 402 displayed in FIG. 4 (and FIG. 5 and FIG. 6 ) is more suitable for the enlarged view of the corresponding preview screen or the enlarged video preview gif of the corresponding video of the preview screen.
- the array of multiple preview images of the key frames extracted in the video playback order corresponding to the preview screen is more biased to occupy more interface area.
- the large picture refers to the picture whose image size is larger than the preview picture and the resolution is higher.
- the two sides of the large image are flush with the edge of the display screen;
- the video preview gif image may be one of the highlights of the video corresponding to the preview image, consecutive stitching of multiple highlights, or preview of multiple key frames.
- the continuous splicing of the picture is constructed for the purpose of displaying the main content of the video most intuitively to the user, and when zooming in, it is necessary to enlarge each frame of the picture to the size of the large picture and then splicing;
- the array of multiple preview pictures may be Four, six, and nine preview screens are arranged in an array, that is, four maps are arranged in an upper left, a lower left, an upper right, and a lower right, and the six drawings are upper left.
- the left middle, lower left, upper right, right middle, and lower right are arranged one by one, and the nine plans are arranged in the upper left, the middle left, the lower left, the middle upper, the middle middle, the lower middle, the upper right, the middle right, and the lower right respectively.
- the arrangement of one sheet, other array arrangements can be arranged in this way.
- the plurality of preview screens arranged by the array, the left edge of the leftmost preview screen and the right edge of the rightmost preview screen are flush with the two sides of the display screen respectively; in order to display more content
- the arrays may be arranged in such a manner that the edges are sequentially overlapped.
- the arrays may be arranged by merging the edges.
- the video playback method provided by the embodiment of the present invention, by applying a first preset gesture operation on the preview screen, views the detail preview screen to obtain more information about the video, thereby determining whether The video is of interest and switches the first preset gesture operation applied to the second preset gesture operation to determine the direct start of the corresponding video playback when determining the interest, thereby satisfying the user by obtaining more video information to determine whether The interest in the video can simplify the way the user plays the video after determining the interest in the video, thereby greatly improving the smoothness of the user's selection and playback of the video.
- the detail preview screen can be selected in a variety of ways, wherein the large image display conforms to common usage habits, and the gif image can provide more video content to the user, thereby providing more video information than the large image, so as to facilitate the customer.
- the array of multiple preview images can also provide more video information than the larger image, and relative to gif The figure takes up less space and the reaction speed is faster. Under the same effect, it is more conducive to the user's use; all three have advantages, and can be selected according to needs.
- the first preset gesture operation is a tap
- the second preset gesture operation is a heavy (zh ⁇ ng) press.
- tapping and re-pressing means that the finger touches the screen, applies a certain pressure and maintains for a period of time (to be distinguished from the subsequent first time interval, which may be referred to as a second time interval, which is preset time data), If the pressure is small, it is lightly pressed, and if the pressure is large, it is heavy pressing.
- the user can realize video playback through a coherent tap and re-press operation, thereby greatly simplifying the operation of the user playing the video. Steps to improve the user experience.
- an alternative implementation that distinguishes between the pressure of the tap and the re-press can be:
- a touch screen having a pressure sensing function to measure whether the touch event is lightly pressed or re-pressed by measuring the touch pressure and comparing it with a preset first pressure threshold, that is, a re-pressing that is greater than the first pressure threshold , the light pressure is less than or equal to the first pressure threshold;
- the touch area can be monitored by using a touch screen capable of measuring the touch area (where the touch area is monitored only for the finger), and when the touch area of the finger and the touch screen is less than or equal to the first touch area threshold during the first touch event, it is determined as Pressing, when the touch area of the finger and the touch screen is greater than the first touch area threshold during the second touch event, it is determined to be re-pressed;
- tapping and re-pressing can also be done directly through the terminal with 3D-touch technology, such as IOS9.0 and above, the device is iPhone 6S, iPhone 6S plus, iPad pro and later smart electronics. device.
- the specific implementation manner of the step 101 of acquiring and displaying the video preview interface may be:
- the step 102 after the first touch event occurs on a certain preview picture is sensed.
- the following steps can be included:
- the first touch event is a tap
- the light point refers to a finger touching the screen, applying a certain pressure and maintaining only one instantaneous time (far less than the second time interval) and the finger leaves the screen after the instantaneous time.
- an alternative embodiment of distinguishing between tapping and tapping may also be:
- the second touch area is set.
- the finger is determined to be a tap, the touch of the finger and the touch screen.
- the area is less than or equal to the second touch area, it is determined to be light;
- the value of the first time interval may be obtained according to a large image of the preview screen or a plurality of preview images of a key frame extracted according to a video playing sequence corresponding to the preview screen.
- the maximum time required is set to ensure that the user can absorb as much as possible the information provided by the large image of all the preview pictures or the array of multiple preview pictures of the key frames extracted in the video playing order corresponding to the preview picture.
- the user can also obtain a certain video information acquisition in the case of tapping, and when tapping, it can also obtain more information in a lighter case, and the tapping process can Given a certain amount of data acquisition time, it is more reasonable to design a gif map.
- the sensing that the first preset gesture operation is switched to The step 104 of the second touch event may further include the following steps:
- the detail preview screen is closed, and the corresponding touched preview screen in the video preview interface is deleted;
- the release refers to detecting that the touch event disappears (ie, the touched finger moves away from the screen, and the touch screen does not detect the touch information); the sliding to the left means that the position where the touched point occurs has a leftward displacement.
- the tapped finger can be released to exit the detail preview screen and continue to search for other content from the video preview interface.
- the video is swiped to the left, enabling users to cull videos that they are not interested in and add new content to the video preview interface according to their needs, thereby enabling more video information to be obtained and improving the user's video selection.
- the left-sliding gesture designed here is mainly because it is more in line with the user's operating habits of deleting content, so there is no need to limit the scope of protection to this, and the sliding direction or mode can be modified as needed.
- the specific implementation manner of the step 105 of playing the video corresponding to the preview screen may be:
- an identifier for guiding the user to click there is disposed on one corner of each of the four corners of each preview screen in the video preview interface.
- the logo can be designed by using geometric patterns such as a circle, a square, a triangle, etc., and the words such as "point me”, “click”, “click here” can be indicated to guide the user by clicking on the corner of the preview screen.
- the identifier may be designed according to a position of a video preview interface where the preview image is located, for example, a preview image on the left or the upper left.
- FIG. 2 is a schematic flowchart diagram of another embodiment of a method for video playback provided by the present invention.
- the method for playing the video includes:
- Step 201 Obtain a video preview interface.
- Step 202 setting an identifier on one of four corners of each preview screen in the video preview interface
- Step 203 Display a video preview interface.
- Step 204 Perceive that a first touch event occurs on a certain preview picture in the video preview interface.
- Step 205 Determine a type of the first touch event
- step 206 display a large image of the preview screen or an array of multiple preview images of key frames extracted according to the video playing order corresponding to the preview screen;
- Step 207 After the first time interval, close the large picture of the preview picture or the array of multiple preview pictures of the key frame extracted according to the video playback order corresponding to the preview picture, and return to step 203;
- step 208 display a detail preview screen of the video corresponding to the preview screen
- Step 209 Perceive a tap to switch to a second touch event
- Step 210 Determine a type of the second touch event
- step 211 play the video corresponding to the preview screen
- step 212 close the detail preview screen, and return to step 203;
- step 213 close the detail preview screen, and delete the corresponding touched preview screen in the video preview interface;
- Step 214 Extract a preview image of the new video from other video resources not displayed in the video preview interface and fill it into the location where the deleted preview image is located;
- Step 215 Display a new video preview interface and continue to monitor the occurrence of the first touch event.
- the video playback method provided by the embodiment of the present invention, by applying a first preset gesture operation on the preview screen, views the detail preview screen to obtain more information about the video, thereby determining whether The video is of interest and will be applied when determining the first preset hand
- the potential operation is switched to the second preset gesture operation to directly start the corresponding video playback, thereby satisfying the requirement of the user to obtain more video information to determine whether to be interested in the video, and simplifying the determination of the video after the video is determined to be interested in the video.
- the way the user plays the video which greatly improves the smoothness of the user's selection and playback of the video.
- by designing a logo on any corner of the preview screen to guide the user's touch operation in the area where the logo is located, it is possible to prevent the user's hand from blocking the display area, so that it can better view the detail preview screen.
- FIG. 3 a schematic structural diagram of an apparatus for video playback provided by the present invention is shown.
- the device for playing video includes:
- the preview interface obtaining module 301 is configured to obtain a video preview interface according to the preview instruction
- the touch event sensing module 302 is configured to sense the occurrence of the first touch event and the second touch event on a certain preview screen in the video preview interface;
- the touch event determining module 303 is configured to determine whether the first touch event is a first preset gesture operation, if the first preset gesture operation is to send a detail preview screen display instruction to the display module, and to determine the second touch event Whether it is a second preset gesture operation, if it is a second preset gesture operation, sending a play video instruction to the display module;
- the display module 304 is configured to display a video preview interface, a detail preview screen, or a video.
- the first preset gesture operation is a tap
- the second preset gesture operation is a re-press
- tapping and re-pressing means that the finger touches the screen, applies a certain pressure and maintains for a period of time (to be distinguished from the subsequent first time interval, which may be referred to as a second time interval, which is preset time data), If the pressure is small, it is lightly pressed, and if the pressure is large, it is heavy pressing.
- the touch event determination module 303 is further configured to distinguish between the pressure of the tap and the re-press, including:
- a touch screen having a pressure sensing function to measure whether the touch event is lightly pressed or re-pressed by measuring the touch pressure and comparing it with a preset first pressure threshold, that is, a re-pressing that is greater than the first pressure threshold , the light pressure is less than or equal to the first pressure threshold;
- the touch area can be monitored by using a touch screen capable of measuring the touch area (where the touch area is monitored only for the finger), and when the touch area of the finger and the touch screen is less than or equal to the first touch area threshold during the first touch event, it is determined as Pressing, when the touch area of the finger and the touch screen is greater than the first touch area threshold during the second touch event, it is determined to be re-pressed;
- tapping and re-pressing can also be done directly through the terminal with 3D-touch technology, such as IOS9.0 and above, the device is iPhone 6S, iPhone 6S plus, iPad pro and later devices.
- the detail preview screen refers to a preview screen in which the information contained therein is richer than the display content of the preview screen and the information provided is more comprehensive.
- the optional implementation manner of the detail preview screen may be: a large image corresponding to the preview screen, the preview screen corresponding to the enlarged video preview gif of the video, or extracted according to the video playing order corresponding to the preview screen.
- the large image refers to a picture whose image size is larger than the preview picture and has a higher resolution.
- the two sides of the large picture are flush with the edge of the display screen;
- the video preview gif image may be the video corresponding to the preview picture.
- the image is enlarged to a large image size and then stitched;
- the array of multiple preview images may be composed of 4, 6 or 9 preview images, and arranged in an array, that is, 4 images are upper left and lower left.
- the upper right and lower right are arranged one by one, and the six plans are arranged in the upper left, the middle left, the lower left, the upper right, the middle right, and the lower right, and the nine pictures are upper left, middle left, and lower left.
- the upper, middle, middle, middle, upper right, middle right, and lower right are arranged one by one, and other array arrangements can be arranged in this way.
- the plurality of preview screens arranged by the array, the left edge of the leftmost preview screen and the right edge of the rightmost preview screen are flush with the two sides of the display screen respectively; in order to display more content
- the arrays may be arranged in such a manner that the edges are sequentially overlapped.
- the arrays may be arranged by merging the edges.
- the device for video playback provided by the embodiment of the present invention passes Applying a first preset gesture operation on the viewing screen to view the detail preview screen to obtain more information about the video, thereby determining whether to be interested in the video, and switching the first preset gesture operation to be applied when determining the interest Operating for the second preset gesture to directly start the corresponding video playback, thereby satisfying the user's need to obtain more video information to determine whether to be interested in the video, and simplifying the user's right after determining the interest in the video.
- the way the video is played which greatly improves the fluency of the user's selection and playback of the video.
- the detail preview screen can be selected in a variety of ways, wherein the large image display conforms to common usage habits, and the gif image can provide more video content to the user, thereby providing more video information than the large image, so as to facilitate the customer.
- the array of multiple preview images can also provide more video information than the larger image, and the space is smaller relative to the gif, and the response speed is faster, reaching substantially the same Under the effect, it is more conducive to the user; all three have advantages, and you can choose one according to your needs.
- the preview interface obtaining module 301 is further configured to:
- the touch event determining module 303 is further configured to determine the first touch event. Whether it is a tap, if it is a tap, send a large image preview command or array preview command to the display module 304;
- the display module 304 is further configured to display a large image of the preview image or an array of multiple preview images of a key frame according to a video playing sequence corresponding to the preview image according to a large image preview instruction or an array preview instruction; After the first time interval, close the large image of the preview picture or the array of multiple preview pictures of the key frame extracted according to the video playing order corresponding to the preview picture, and continue to display the video preview interface.
- the light point refers to a finger touching the screen, applying a certain pressure and maintaining only one instantaneous time (far less than the second time interval) and the finger leaves the screen after the instantaneous time.
- the touch event determination module 303 is further configured to distinguish between tapping and light, in addition to detecting the touch and release before and after the instantaneous time, in addition to detecting the touch and release before and after the instantaneous time. Points, including:
- the touch pressure of the finger and the touch screen is greater than the second pressure threshold and less than or equal to the first pressure threshold is a light tap, and the touch pressure of the finger and the touch screen is less than or equal to the second pressure threshold;
- the second touch area is set.
- the finger is determined to be a tap, the touch of the finger and the touch screen.
- the area is less than or equal to the second touch area, it is determined to be light;
- the value of the first time interval may be obtained according to a large image of the preview screen or a plurality of preview images of a key frame extracted according to a video playing sequence corresponding to the preview screen.
- the maximum time required is set to ensure that the user can absorb as much as possible the information provided by the large image of all the preview pictures or the array of multiple preview pictures of the key frames extracted in the video playing order corresponding to the preview picture.
- the user can also obtain a certain video information acquisition in the case of tapping, and when tapping, it can also obtain more information in a lighter case, and the tapping process can Given a certain amount of data acquisition time, it is more reasonable to design a gif map.
- the touch event determining module 303 is further configured to determine whether the second touch event is a release, and if it is released, send a close detail preview screen command to the display module 304;
- the display module 304 is further configured to close the detail preview screen and display a video preview interface according to the close detail preview screen instruction.
- the touch event determining module 303 is further configured to determine whether the second touch event is sliding to the left, and if the sliding is to the left, sending a delete preview screen command to the display module.
- the display module 304 is further configured to: according to the delete preview screen instruction, extract a preview image of the new video from other video resources not displayed in the video preview interface and fill the position where the deleted preview image is located; And, display a new video preview interface.
- the release refers to detecting that the touch event disappears (ie, the touched finger moves away from the screen, and the touch screen does not detect the touch information); the sliding to the left means that the position where the touched point occurs has a leftward displacement.
- the tapped finger can be released to exit the detail preview screen and continue to search for other content from the video preview interface.
- the video is swiped to the left, enabling users to cull videos that they are not interested in and add new content to the video preview interface according to their needs, thereby enabling more video information to be obtained and improving the user's video selection.
- the left-sliding gesture designed here is mainly because it is more in line with the user's operating habits of deleting content, so there is no need to limit the scope of protection to this, and the sliding direction or mode can be modified as needed.
- the specific implementation manner that the display module 304 plays the video corresponding to the preview screen may be:
- the preview interface obtaining module 301 is further configured to guide a user to click on a corner of each of the four corners of each preview image in the video preview interface.
- logo can be designed by using geometric patterns such as a circle, a square, a triangle, etc., and the words such as "point me”, “click”, “click here” can be indicated to guide the user by clicking on the corner of the preview screen. To view the preview of the details, try to avoid the user's fingers blocking the screen.
- the identifier may be designed according to the position of the video preview interface where the preview image is located, for example, a preview image on the left or the upper left, the logo is set in the upper left corner, the preview screen on the right or the upper right, and the logo setting is set. In the upper right corner, the preview screens on the lower left or the lower right are set in the lower left or lower right corners, etc. Similarly, a larger number of video preview interfaces can be set in this way, so that it is better. Avoid the user's fingers blocking the screen.
- FIG. 2 is a schematic flowchart diagram of another embodiment of a method for video playback provided by the present invention.
- the method for playing the video includes:
- Step 201 The preview interface obtaining module 301 acquires a video preview interface.
- Step 202 The preview interface obtaining module 301 sets an identifier on one of the four corners of each preview screen in the video preview interface.
- Step 203 The display module 304 displays a video preview interface.
- Step 204 The touch event sensing module 302 senses that a first touch event occurs on a certain preview image in the video preview interface.
- Step 205 The touch event determination module 303 determines the type of the first touch event.
- step 206 the display module 304 displays a large image of the preview screen or an array of multiple preview images of key frames extracted according to the video playing order corresponding to the preview screen;
- Step 207 After the first time interval, the display module 304 closes the large image of the preview picture or the array of multiple preview pictures of the key frame extracted according to the video playback order corresponding to the preview picture, and returns to step 203;
- step 208 the display module 304 displays a detail preview screen of the video corresponding to the preview screen;
- Step 209 The touch event sensing module 302 senses that the tap is switched to the second touch event.
- Step 210 The touch event determination module 303 determines the type of the second touch event.
- step 211 the display module 304 plays the video corresponding to the preview screen
- step 212 the display module 304 closes the detail preview screen, and returns to step 203;
- step 213 the display module 304 closes the detail preview screen, and deletes the corresponding touched preview screen in the video preview interface;
- Step 214 The display module 304 extracts a preview image of the new video from other video resources displayed in the video preview interface and fills the location where the deleted preview image is located;
- Step 215 The display module 304 displays a new video preview interface, and the touch event sensing module 302 continues to monitor the occurrence of the first touch event.
- the steps of processing data in each module in the above device embodiments may be completed and distributed through the processing of the completed data, or modules, in addition to the embodiments in which the respective processes are respectively processed by the respective modules.
- the respective microprocessors are respectively included and streamed by the central processing unit; in addition, the preview interface acquisition module 301 may also be integrated on the display module 304 to form a touch screen device having a processing function, or the touch event sensing module 302 is also integrated in the The touch event device performs touch event sensing on the touch screen device, and the touch event determination module 303 can be integrated in the central processor to perform the step of determining the touch event.
- these are merely exemplary embodiments of the module design that provide some devices. The scope of the present invention is not limited thereto, and other embodiments may be implemented based on the embodiments.
- an apparatus is also provided, an embodiment of the apparatus comprising:
- a touch screen for receiving a touch signal and for displaying a picture
- One or more processors are One or more processors;
- a memory for storing operational instructions
- the one or more processors are configured to obtain an operation instruction from the memory and execute: acquiring and displaying a video preview interface;
- the first touch event is a first preset gesture operation, displaying a preview preview picture of the video corresponding to the preview screen;
- the video corresponding to the preview screen is played.
- the first preset gesture operation is a tap
- the second preset gesture operation is a re-press
- the processor is further configured to:
- the first touch area threshold is set. If the touch area is less than or equal to the first touch area threshold, the touch is determined to be a tap, and the touch area is greater than the first touch event. A touch area threshold is determined to be a re-press;
- the processor is further configured to:
- the detail preview screen is closed and a video preview interface is displayed.
- the processor is further configured to:
- the detail preview picture is: a large picture corresponding to the preview picture, the preview picture corresponds to an enlarged video preview gif of the video, or a video corresponding to the preview picture An array of multiple preview images of keyframes that are sequentially extracted.
- the processor is further configured to:
- the first touch event is a tap
- the processor is further configured to:
- the second touch area is set. If the touch area is greater than the second touch area and less than or equal to the first touch area threshold, the touch is determined to be a light touch, and the touch area is less than or equal to the second touch area. , it is judged to be light;
- the threshold is less than or equal to the first pressure threshold, and/or, when the touch area is greater than the second touch area threshold and less than or equal to the first touch area, it is determined to be a tap.
- an identifier for guiding the user to click there is disposed.
- the device described in the present disclosure may be various electronic terminal devices, such as a mobile phone, a personal digital assistant (PDA), a tablet computer (PAD), a smart TV, etc., and thus the scope of protection of the present disclosure should not be limited to a certain A specific type of device.
- PDA personal digital assistant
- PAD tablet computer
- smart TV smart TV
- the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer readable storage medium.
- the above-described functions defined in the method of the present disclosure are performed when the computer program is executed by the CPU.
- the method steps and system units described above may also be implemented with a controller and a computer readable storage medium for storing a computer program that causes the controller to implement the steps or unit functions described above.
- non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash.
- ROM read only memory
- PROM programmable ROM
- EPROM electrically programmable ROM
- EEPROM electrically erasable programmable ROM
- flash flash.
- Volatile memory can include random access memory (RAM), which can act as external cache memory.
- RAM can be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM) and direct Rambus RAM (DRRAM).
- DRAM synchronous RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM Synchronous Link DRAM
- DRRAM direct Rambus RAM
- Storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
- DSPs digital signal processors
- ASIC dedicated An integrated circuit
- FPGA field programmable gate array
- a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, Controller, microcontroller or state machine.
- the processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
- a software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
- An exemplary storage medium is coupled to the processor, such that the processor can read information from or write information to the storage medium.
- the storage medium can be integrated with a processor.
- the processor and the storage medium can reside in an ASIC.
- the ASIC can reside in the user terminal.
- the processor and the storage medium may reside as discrete components in the user terminal.
- the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer readable medium.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
- the computer readable medium may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage device, disk storage device or other magnetic storage device, or may be used to carry or store a form of instructions Or the required program code of the data structure and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium.
- a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technology such as infrared, radio, and microwave is used to transmit software from a website, server, or other remote source
- the coaxial line Cables, fiber optic cables, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are all included in the definition of the medium.
- a magnetic disk and an optical disk include a compact disk (CD), a laser disk, an optical disk, a digital versatile disk (DVD), a floppy disk, a Blu-ray disk, in which a disk generally reproduces data magnetically, and the optical disk optically reproduces data using a laser. . Combinations of the above should also be included within the scope of computer readable media.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种视频播放的方法,包括:获取并显示视频预览界面;感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件;判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;感知到第一预置手势操作切换为第二触摸事件;判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。本发明还公开了一种视频播放的装置。本发明提出的视频播放的方法及装置,能够简化用户的视频预览与播放的操作过程,提升用户体验流畅度。
Description
本申请基于申请号为2015108343502、申请日为2015年11月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本发明涉及电子设备控制技术领域,特别是指一种视频播放的方法及装置。
随着智能电子设备的快速发展以及越来越广泛的普及,智能电子设备的用户越来越倾向于通过视频软件来观看自己感兴趣的电影、电视、娱乐节目等等。
在如今的视频软件里,为了便于用户查找其感兴趣的视频,通常情况下会生成由视频截图构成的预览界面,以便用户根据视频截图了解视频的大致内容。而为了在屏幕中展示多个视频截图,通常在预览界面中展示视频截图的缩略图,用户可通过点击视频截图的缩略图以查看视频截图的大图,确定感兴趣之后退出大图页面,转而去点击与感兴趣的大图相对应的视频的播放按钮,进入播放器进行视频预览与播放。可见,用户在发现感兴趣的视频时,必须在关闭视频截图的大图后,转而点击播放按钮才能观看视频。这种视频预览与播放的操作方式,操作流程冗杂且效率较低。
发明内容
有鉴于此,本发明实施例的目的在于提出一种视频播放的方法及装置,能够简化用户的视频播放的操作过程,提升用户体验流畅度。
基于上述目的本发明实施例提供的视频播放的方法,包括:
获取并显示视频预览界面;
感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件;
判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;
感知到第一预置手势操作切换为第二触摸事件;
判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。
在一些较佳实施例中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
在一些较佳实施例中,区分轻按与重按的压力大小的方法包括:
设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;
或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值时,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值时,则判定为重按;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
在一些较佳实施例中,所述感知到第一预置手势操作切换为第二触摸事件的步骤之后还包括:
判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面。
在一些较佳实施例中,所述感知到第一预置手势操作切换为第二触摸事件的步骤之后还包括:
判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;
从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
显示新的视频预览界面。
在一些较佳实施例中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
在一些较佳实施例中,所述感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件的步骤之后还包括:
判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;
在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
继续显示视频预览界面。
在一些较佳实施例中,区分轻按与轻点的方法包括:
设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
在一些较佳实施例中,,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
本发明实施例的另一方面还提供了一种视频播放的装置,包括:
预览界面获取模块,用于根据预览指令获取视频预览界面;
触摸事件感知模块,用于感知在所述视频预览界面中的某一预览画面上第一触摸事件和第二触摸事件的发生;
触摸事件判定模块,用于判定第一触摸事件是否为第一预置手势操作,若为第一预置手势操作则发送细节预览画面显示指令到显示模块,以及,用于判断第二触摸事件是否为为第二预置手势操作,若为为第二预置手势操作则发送播放视频指令到显示模块;
显示模块,用于显示视频预览界面、细节预览画面或者视频。
在一些较佳实施例中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
在一些较佳实施例中,所述触摸事件判定模块,还用于区分轻按与重按的压力大小,包括:
设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;
或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
在一些较佳实施例中,所述触摸事件判定模块,还用于判定所述第二触摸事件是否为释放,若为释放则发送关闭细节预览画面指令到显示模块;
所述显示模块,还用于根据关闭细节预览画面指令关闭所述细节预览画面并显示视频预览界面。
在一些较佳实施例中,所述触摸事件判定模块,还用于判定所述第二触摸事件是否为向左滑动,若为向左滑动则发送删除预览画面指令到显示模块;
所述显示模块,还用于根据删除预览画面指令,从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;以及,显示新的视频预览界面。
在一些较佳实施例中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
在一些较佳实施例中,所述触摸事件判定模块,还用于判定所述第一触摸事件是否为轻点,若为轻点则发送大图预览指令或阵列预览指令到显示模块;
所述显示模块,还用于根据大图预览指令或阵列预览指令,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;以及,在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列,并继续显示视频预览界面。
在一些较佳实施例中,所述触摸事件判定模块,还用于区分轻按与轻点,包括:
设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈
值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
在一些较佳实施例中,所述预览界面获取模块,还用于在所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
本发明实施例的又一方面,还提供了一种装置,包括:
用于接收触摸信号且用于显示画面的触摸屏;
一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:
获取并显示视频预览界面;
感知到在所述触摸屏的视频预览界面中的某一预览画面上发生第一触摸事件;
判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;
感知到在所述触摸屏上的第一预置手势操作切换为第二触摸事件;
判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。
在一些实施方式中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
在一些实施方式中,所述处理器还用于执行:
设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;
或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积
小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
在一些实施方式中,所述处理器还用于执行:
判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面。
在一些实施方式中,所述处理器还用于执行:
判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;
从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
显示新的视频预览界面。
在一些实施方式中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
在一些实施方式中,所述处理器还用于执行:
判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;
在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
继续显示视频预览界面。
在一些实施方式中,所述处理器还用于执行:
设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二
压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
在一些实施方式中,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
从上面所述可以看出,本发明实施例提供的视频播放的方法及装置,通过在预览画面上施加第一预置手势操作,来查看细节预览画面以获取更多关于视频的信息,从而确定是否对该视频感兴趣,并在确定感兴趣时将施加的第一预置手势操作切换为第二预置手势操作以直接开始相应视频播放,从而既能满足用户通过获取更多视频信息以确定是否对该视频感兴趣的需求,又能简化在确定对该视频感兴趣后,用户对该视频进行播放的方式,从而大大提升了用户选择并播放视频的流畅度。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
为了更清楚地说明本公开的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的视频播放的方法的一个实施例的流程示意图;
图2为本发明提供的视频播放的方法的另一个实施例的流程示意图;
图3为本发明提供的视频播放的装置实施例的结构示意图;
图4为本发明提供的视频播放的方法及装置实施例中轻按某一预览画面前后,页面发生变化的示意图;
图5为本发明提供的视频播放的方法及装置实施例中轻按切换为重按前后,页面发生变化的示意图;
图6为本发明提供的视频播放的方法及装置实施例中轻按切换为释放前后,页面发生变化的示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通
过参考特定实施例为本领域技术人员说明本公开的概念。
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。
如图1所示,为本发明提供的视频播放的方法的一个实施例的流程示意图。
所述视频播放的方法,包括:
步骤101:获取并显示视频预览界面400(参照附图4);可选的,如图4所示,所述视频预览界面400由多张预览画面的缩略图组成,且多张预览画面的缩略图大小可以各不相同;
步骤102:感知到在所述视频预览界面400中的某一预览画面401(即视频预览界面中的某一张缩略图)上发生第一触摸事件;
步骤103:判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面401对应视频的细节预览画面402(参照附图4);可选的,如图4所示,所述细节预览画面402可以是两侧边缘与显示区的两侧边缘齐平,并且可设置为浮于视频预览界面400上方的新的层中;此外,当装置被横放时,同样的,视频预览界面400及细节预览画面402也可同样横放,且视频预览界面400中的预览画面按同样顺序排布并均横置,且可同样地使细节预览画面402两侧边缘与显示区的两侧边缘(此时实际为装置的上下边缘)齐平,或者根据预览画面的尺寸,使其上下边缘与显示区的上下边缘(此时实际为装置的左右侧边缘)齐平也可;
步骤104:感知到第一预置手势操作切换为第二触摸事件;亦即,当前触摸事件从第一预置手势操作紧接着转换为了不同于第一预置手势操作的第二触摸事件;
步骤105:判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频(参照附图5)。
所述细节预览画面是指其所包含的信息比所述预览画面的展示内容更加
丰富、提供的信息更加全面的一种预览画面。这里,所述细节预览画面的可选实施方式可以是:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。其中,图4(以及图5、图6)中显示的细节预览画面402,其显示位置及尺寸更适用于对应预览画面的大图或所述预览画面对应视频的放大的视频预览gif图,而按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列则更偏向于占用更多的界面面积。
其中,大图是指图像尺寸大于预览画面且分辨率更高的图。优选的,该大图的两侧边缘与显示屏的边缘齐平;视频预览gif图可以是由预览画面对应视频的其中一个精彩片段、多个精彩片段的连续拼接,或者多个关键帧的预览画面的连续拼接,以能够最直观向用户展示视频的主要内容为目的进行构建,并且在放大时还需要将每一帧图片放大到大图尺寸后进行拼接;多张预览画面的阵列可以是由4张、6张、9张等预览画面组成,且呈阵列排布,亦即,4张图则为左上、左下、右上、右下分别排列一张的排列方式,6张图则为左上、左中、左下、右上、右中、右下分别排列一张的排列方式,9张图则为左上、左中、左下、中上、中中、中下、右上、右中、右下分别排列一张的排列方式,其他阵列排布可参照此方式排布。具体地,所述阵列排布的多张预览画面,最左的预览画面的左侧边缘和最右的预览画面的右侧边缘分别齐平所述显示屏的两侧边缘;为了显示更多内容,在多张预览画面的数目较多时(如9张时),可采用边缘依次重叠的方式排布阵列,数量较少时,则可采用边缘互相拼接的方式排布阵列。
从上述实施例可以看出,本发明实施例提供的视频播放的方法,通过在预览画面上施加第一预置手势操作,来查看细节预览画面以获取更多关于视频的信息,从而确定是否对该视频感兴趣,并在确定感兴趣时将施加的第一预置手势操作切换为第二预置手势操作以直接开始相应视频播放,从而既能满足用户通过获取更多视频信息以确定是否对该视频感兴趣的需求,又能简化在确定对该视频感兴趣后,用户对该视频进行播放的方式,从而大大提升了用户选择并播放视频的流畅度。进一步的,细节预览画面可选用多种展现方式,其中大图展示符合常见使用习惯,而gif图能够给用户提供更多的视频内容,从而提供相对于大图更多的视频信息,以便于客户更好地确定是否对该视频感兴趣,多预览画面的阵列则同样能够提供相对于大图更多的视频信息,并且相对于gif
图占用空间较小,反应速度更快,在达到基本相同的效果下,更有利于用户使用;三者均有优点,可根据需要择一选择。
较佳的,所述第一预置手势操作为轻按,所述第二预置手势操作为重(zhòng)按。
这里,轻按、重按是指手指接触屏幕,施以一定压力并保持一段时间(为与后续的第一时间间隔区分,可称其为第二时间间隔,其为预设的时间数据),该压力较小的,为轻按,压力较大的,则为重按。
通过将第一预置手势操作、第二预置手势操作分别设定为轻按和重按,使得用户可以通过连贯的轻按、重按操作实现视频播放,从而大大简化了用户播放视频的操作步骤,提升了用户体验。
可选的,区分轻按与重按的压力大小的可选实施方式可以是:
利用具有压感测定功能的触摸屏来通过测量触摸压力并将其与预设的第一压力阈值进行比较来得出该触摸事件是轻按还是重按,亦即,大于第一压力阈值的为重按,小于等于第一压力阈值的为轻按;
或者,利用可以测定触摸面积的触摸屏来监测触摸面积(这里触摸面积监测仅针对手指),在第一触摸事件发生过程中,手指与触摸屏的触摸面积小于等于第一触摸面积阈值时,则判定为轻按,在第二触摸事件发生过程中,手指与触摸屏的触摸面积大于第一触摸面积阈值时,则判定为重按;
或者,还可以同时结合压力和触摸面积来判断,例如,当触摸压力小于等于第一压力阈值,和/或,手指与触摸屏的触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,手指与触摸屏的触摸面积大于第一触摸面积阈值时,则判定为重按。
以上轻按与重按的区别方式,还可以直接通过目前具有3D-touch技术的终端来完成,如IOS9.0及以上操作系统,设备为iPhone 6S,iPhone 6S plus,iPad pro以及以后的智能电子设备。
可选的,所述获取并显示视频预览界面的步骤101的具体实现方式可以是:
根据被选中的类目(例如娱乐、电影等分类)来获取视频清单(若为主界面,可按最新、最热门等分类来获取);按照点击率或上线日期进行视频排序;在每个视频的指定时间点提取截图并依次排列形成视频预览界面。
当然还可以是其他方式,这里并不需要对视频预览界面的获取进行任何限制,只需得到一个视频预览界面以进行后续操作即可。
进一步的,在一个较佳实施例中,若所述细节预览画面为所述预览画面对应视频的放大的视频预览gif图,则感知到某一预览画面上发生第一触摸事件的步骤102之后还可包括以下步骤:
判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;
在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
继续显示视频预览界面。
这里,所述的轻点是指手指接触屏幕,施以一定压力并仅保持一个瞬时时间(远小于所述第二时间间隔)且在该瞬时时间之后手指离开屏幕。
基于上述轻按与重按的可选区分方式,除了检测该瞬时时间前后的触摸与释放之外,区分轻按与轻点的可选实施方式还可以是:
设定第二压力阈值,大于第二压力阈值且小于等于第一压力阈值的为轻按,小于等于第二压力阈值的为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,手指与触摸屏的触摸面积大于第二触摸面积且小于等于第一触摸面积阈值时,则判定为轻按,手指与触摸屏的触摸面积小于等于第二触摸面积时,则判定为轻点;
或者,还可以同时结合压力和触摸面积来判断,例如,当触摸压力小于等于第二压力阈值,和/或,手指与触摸屏的触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第二触摸面积时,则判定为轻按。
所述第一时间间隔的取值,可根据用户通常情况下获取所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列的全部信息所需的最大时间来设定,以保证用户能够尽量吸收所有所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列所提供的信息。
通过上述较佳实施例的方案,使得在轻点情况下,同样可以给予用户一定的视频信息获取,且当轻按时,也能够获取较轻点情况下更多的信息,并且轻按的过程能够给予一定的数据获取时间,设计为获取gif图则更加合理。
进一步的,在另一个较佳实施例中,所述感知到第一预置手势操作切换为
第二触摸事件的步骤104之后还可包括以下步骤:
判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面(参照附图6);
判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;
从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
显示新的视频预览界面。
这里,所述的释放是指检测到触摸事件消失(即触摸的手指移开屏幕,触摸屏检测不到触摸信息);所述向左滑动是指,触摸点的发生位置产生了向左的位移。
通过上述较佳实施例的方案,使得当用户通过轻按查看细节预览画面后发现该视频应该不是感兴趣视频时,释放轻按的手指即可退出细节预览画面并从视频预览界面中继续查找其他的视频;而通过向左滑动的设计,使用户能够根据自己的需求来剔除自己不感兴趣的视频并增加新内容到视频预览界面,从而能够获取更多的其他视频信息,提升了用户的视频选择广度及效率;当然,这里设计的向左滑动的手势主要是因为其更加符合用户删除内容的操作习惯,因此不需要将保护范围限定于此,也可根据需要修改滑动方向或方式。
可选的,所述播放该预览画面对应的视频的步骤105的具体实现方式可以是:
根据被触摸的预览画面提取其对应的视频的播放路径;打开视频播放软件;所述视频播放软件根据该视频的播放路径播放视频。
这里,仅为了说明视频播放的一般方法而提供了播放视频的一种可选实施方式,当然也可采用其他方法来播放视频,并不需要将其用于限制本发明的保护范围。
进一步的,在又一个较佳实施例中,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。可选的,该标识可采用圆形、正方形、三角形等几何图案进行设计,其内可注明如“点我”“点击”“点这里”等字样,以引导用户通过点击预览画面的角落处来查看细节预览画面,从而尽量避免用户的手指遮挡住屏幕画面。优选的,所述标识可根据预览画面所处视频预览界面的位置来设计,例如,靠左或靠左上的预览画面,
其标识设置在左上角,靠右或靠右上的预览画面,其标识设置在右上角,靠左下或靠右下的预览画面分别设置在其左下或右下角,等等,同理的,包含数目更多的视频预览界面也可通过这种方式来设置,从而更好地避免用户的手指遮挡住屏幕画面。
本发明还提供了另一个视频播放的方法的实施例。如图2所示,为本发明提供的视频播放的方法的另一个实施例的流程示意图。
所述视频播放的方法,包括:
步骤201:获取视频预览界面;
步骤202:在视频预览界面中的每个预览画面的四个角中的其中一角上设置标识;
步骤203:显示视频预览界面;
步骤204:感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件;
步骤205:判定第一触摸事件的类型;
若为轻点,则转到步骤206:显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
步骤207:在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列,并回到步骤203;
若为轻按,则转到步骤208:显示所述预览画面对应视频的细节预览画面;
步骤209:感知到轻按切换为第二触摸事件;
步骤210:判定第二触摸事件的类型;
若为重按,则转到步骤211:播放该预览画面对应的视频;
若为释放,则转到步骤212:关闭所述细节预览画面,并回到步骤203;
若为向左滑动,则转到步骤213:关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;
步骤214:从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
步骤215:显示新的视频预览界面,并继续监测第一触摸事件的发生。
从上述实施例可以看出,本发明实施例提供的视频播放的方法,通过在预览画面上施加第一预置手势操作,来查看细节预览画面以获取更多关于视频的信息,从而确定是否对该视频感兴趣,并在确定感兴趣时将施加的第一预置手
势操作切换为第二预置手势操作以直接开始相应视频播放,从而既能满足用户通过获取更多视频信息以确定是否对该视频感兴趣的需求,又能简化在确定对该视频感兴趣后,用户对该视频进行播放的方式,从而大大提升了用户选择并播放视频的流畅度。此外,还通过在预览画面的任一角上设计标识以引导用户的触摸操作发生在标识所在区域,以尽量避免用户的手挡住显示区,使其能够更好地观看细节预览画面。
需要特别指出的是,上述方法实施例中的各个步骤均可以适当地进行相互交叉、替换、增加、删减,因此,这些合理的排列组合变换之于所述方法也应当属于本发明的保护范围,并且不应将本发明的保护范围局限在所述实施例之上。
本发明的另一方面还提供了一种视频播放的装置,如图3所示,本发明提供的视频播放的装置实施例的结构示意图。
所述视频播放的装置,包括:
预览界面获取模块301,用于根据预览指令获取视频预览界面;
触摸事件感知模块302,用于感知在所述视频预览界面中的某一预览画面上第一触摸事件和第二触摸事件的发生;
触摸事件判定模块303,用于判定第一触摸事件是否为第一预置手势操作,若为第一预置手势操作则发送细节预览画面显示指令到显示模块,以及,用于判断第二触摸事件是否为第二预置手势操作,若为第二预置手势操作则发送播放视频指令到显示模块;
显示模块304,用于显示视频预览界面、细节预览画面或者视频。
较佳的,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
其中,轻按、重按是指手指接触屏幕,施以一定压力并保持一段时间(为与后续的第一时间间隔区分,可称其为第二时间间隔,其为预设的时间数据),该压力较小的,为轻按,压力较大的,则为重按。
在一个可选实施例中,所述触摸事件判定模块303,还用于区分轻按与重按的压力大小,包括:
利用具有压感测定功能的触摸屏来通过测量触摸压力并将其与预设的第一压力阈值进行比较来得出该触摸事件是轻按还是重按,亦即,大于第一压力阈值的为重按,小于等于第一压力阈值的为轻按;
或者,利用可以测定触摸面积的触摸屏来监测触摸面积(这里触摸面积监测仅针对手指),在第一触摸事件发生过程中,手指与触摸屏的触摸面积小于等于第一触摸面积阈值时,则判定为轻按,在第二触摸事件发生过程中,手指与触摸屏的触摸面积大于第一触摸面积阈值时,则判定为重按;
或者,还可以同时结合压力和触摸面积来判断,例如,当触摸压力小于等于第一压力阈值,和/或,手指与触摸屏的触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,手指与触摸屏的触摸面积大于第一触摸面积阈值时,则判定为重按。
以上轻按与重按的区别方式,还可以直接通过目前具有3D-touch技术的终端来完成,如IOS9.0及以上操作系统,设备为iPhone 6S,iPhone 6S plus,iPad pro以及以后的设备。
所述细节预览画面是指其所包含的信息比所述预览画面的展示内容更加丰富、提供的信息更加全面的一种预览画面。这里,所述细节预览画面的可选实施方式可以是:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
其中,大图是指图像尺寸大于预览画面且分辨率更高的图,优选的,该大图的两侧边缘与显示屏的边缘齐平;视频预览gif图可以是由预览画面对应视频的其中一个精彩片段、多个精彩片段的连续拼接,或者多个关键帧的预览画面的连续拼接,以能够最直观向用户展示视频的主要内容为目的进行构建,并且在放大时还需要将每一帧图片放大到大图尺寸后进行拼接;多张预览画面的阵列可以是由4张、6张、9张等预览画面组成,且呈阵列排布,亦即,4张图则为左上、左下、右上、右下分别排列一张的排列方式,6张图则为左上、左中、左下、右上、右中、右下分别排列一张的排列方式,9张图则为左上、左中、左下、中上、中中、中下、右上、右中、右下分别排列一张的排列方式,其他阵列排布可参照此方式排布。具体地,所述阵列排布的多张预览画面,最左的预览画面的左侧边缘和最右的预览画面的右侧边缘分别齐平所述显示屏的两侧边缘;为了显示更多内容,在多张预览画面的数目较多时(如9张时),可采用边缘依次重叠的方式排布阵列,数量较少时,则可采用边缘互相拼接的方式排布阵列。
从上述实施例可以看出,本发明实施例提供的视频播放的装置,通过在预
览画面上施加第一预置手势操作,来查看细节预览画面以获取更多关于视频的信息,从而确定是否对该视频感兴趣,并在确定感兴趣时将施加的第一预置手势操作切换为第二预置手势操作以直接开始相应视频播放,从而既能满足用户通过获取更多视频信息以确定是否对该视频感兴趣的需求,又能简化在确定对该视频感兴趣后,用户对该视频进行播放的方式,从而大大提升了用户选择并播放视频的流畅度。进一步的,细节预览画面可选用多种展现方式,其中大图展示符合常见使用习惯,而gif图能够给用户提供更多的视频内容,从而提供相对于大图更多的视频信息,以便于客户更好地确定是否对该视频感兴趣,多预览画面的阵列则同样能够提供相对于大图更多的视频信息,并且相对于gif图占用空间较小,反应速度更快,在达到基本相同的效果下,更有利于用户使用;三者均有优点,可根据需要择一选择。
可选的,所述预览界面获取模块301,还可以用于:
根据被选中的类目(例如娱乐、电影等分类)来获取视频清单(若为主界面,可按最新、最热门等分类来获取);按照点击率或上线日期进行视频排序;在每个视频的指定时间点提取截图并依次排列形成视频预览界面。
当然还可以是其他方式,这里并不需要对视频预览界面的获取进行任何限制,只需得到一个视频预览界面以进行后续操作即可。
进一步的,在一个较佳实施例中,若所述细节预览画面为所述预览画面对应视频的放大的视频预览gif图,所述触摸事件判定模块303,还用于判定所述第一触摸事件是否为轻点,若为轻点则发送大图预览指令或阵列预览指令到显示模块304;
所述显示模块304,还用于根据大图预览指令或阵列预览指令,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;以及,在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列,并继续显示视频预览界面。
这里,所述的轻点是指手指接触屏幕,施以一定压力并仅保持一个瞬时时间(远小于所述第二时间间隔)且在该瞬时时间之后手指离开屏幕。
基于上述轻按与重按的可选区分方式,除了检测该瞬时时间前后的触摸与释放之外,在一个可选实施例中,所述触摸事件判定模块303,还用于区分轻按与轻点,包括:
设定第二压力阈值,手指与触摸屏的触摸压力大于第二压力阈值且小于等于第一压力阈值的为轻按,手指与触摸屏的触摸压力小于等于第二压力阈值的为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,手指与触摸屏的触摸面积大于第二触摸面积且小于等于第一触摸面积阈值时,则判定为轻按,手指与触摸屏的触摸面积小于等于第二触摸面积时,则判定为轻点;
或者,还可以同时结合压力和触摸面积来判断,例如,当触摸压力小于等于第二压力阈值,和/或,手指与触摸屏的触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第二触摸面积时,则判定为轻按。
所述第一时间间隔的取值,可根据用户通常情况下获取所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列的全部信息所需的最大时间来设定,以保证用户能够尽量吸收所有所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列所提供的信息。
通过上述较佳实施例的方案,使得在轻点情况下,同样可以给予用户一定的视频信息获取,且当轻按时,也能够获取较轻点情况下更多的信息,并且轻按的过程能够给予一定的数据获取时间,设计为获取gif图则更加合理。
进一步的,在另一个较佳实施例中,所述触摸事件判定模块303,还用于判定所述第二触摸事件是否为释放,若为释放则发送关闭细节预览画面指令到显示模块304;所述显示模块304,还用于根据关闭细节预览画面指令关闭所述细节预览画面并显示视频预览界面。
进一步的,在又一个较佳实施例中,所述触摸事件判定模块303,还用于判定所述第二触摸事件是否为向左滑动,若为向左滑动则发送删除预览画面指令到显示模块;所述显示模块304,还用于根据删除预览画面指令,从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;以及,显示新的视频预览界面。
这里,所述的释放是指检测到触摸事件消失(即触摸的手指移开屏幕,触摸屏检测不到触摸信息);所述向左滑动是指,触摸点的发生位置产生了向左的位移。
通过上述较佳实施例的方案,使得当用户通过轻按查看细节预览画面后发现该视频应该不是感兴趣视频时,释放轻按的手指即可退出细节预览画面并从视频预览界面中继续查找其他的视频;而通过向左滑动的设计,使用户能够根据自己的需求来剔除自己不感兴趣的视频并增加新内容到视频预览界面,从而能够获取更多的其他视频信息,提升了用户的视频选择广度及效率;当然,这里设计的向左滑动的手势主要是因为其更加符合用户删除内容的操作习惯,因此不需要将保护范围限定于此,也可根据需要修改滑动方向或方式。
可选的,所述显示模块304播放该预览画面对应的视频的具体实现方式可以是:
根据被触摸的预览画面提取其对应的视频的播放路径;打开视频播放软件;所述视频播放软件根据该视频的播放路径播放视频。
这里,仅为了说明视频播放的一般方法而提供了播放视频的一种可选实施方式,当然也可采用其他方法来播放视频,并不需要将其用于限制本发明的保护范围。
进一步的,在再一个较佳实施例中,所述预览界面获取模块301,还用于所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。可选的,该标识可采用圆形、正方形、三角形等几何图案进行设计,其内可注明如“点我”“点击”“点这里”等字样,以引导用户通过点击预览画面的角落处来查看细节预览画面,从而尽量避免用户的手指遮挡住屏幕画面。优选的,所述标识可根据预览画面所处视频预览界面的位置来设计,例如,靠左或靠左上的预览画面,其标识设置在左上角,靠右或靠右上的预览画面,其标识设置在右上角,靠左下或靠右下的预览画面分别设置在其左下或右下角,等等,同理的,包含数目更多的视频预览界面也可通过这种方式来设置,从而更好地避免用户的手指遮挡住屏幕画面。
下面结合本发明提供的视频播放的方法的其中一个实施例,描述本发明提供的视频播放的装置实施例如何完成该视频播放的方法的实施例。如图2所示,为本发明提供的视频播放的方法的另一个实施例的流程示意图。
所述视频播放的方法,包括:
步骤201:预览界面获取模块301获取视频预览界面;
步骤202:预览界面获取模块301在视频预览界面中的每个预览画面的四个角中的其中一角上设置标识;
步骤203:显示模块304显示视频预览界面;
步骤204:触摸事件感知模块302感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件;
步骤205:触摸事件判定模块303判定第一触摸事件的类型;
若为轻点,则转到步骤206:显示模块304显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
步骤207:在第一时间间隔后,显示模块304关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列,并回到步骤203;
若为轻按,则转到步骤208:显示模块304显示所述预览画面对应视频的细节预览画面;
步骤209:触摸事件感知模块302感知到轻按切换为第二触摸事件;
步骤210:触摸事件判定模块303判定第二触摸事件的类型;
若为重按,则转到步骤211:显示模块304播放该预览画面对应的视频;
若为释放,则转到步骤212:显示模块304关闭所述细节预览画面,并回到步骤203;
若为向左滑动,则转到步骤213:显示模块304关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;
步骤214:显示模块304从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
步骤215:显示模块304显示新的视频预览界面,触摸事件感知模块302继续监测第一触摸事件的发生。
除了由各模块各自处理各自所需完成的流程这种实施方式外,上述装置实施例中各模块中处理数据的步骤可均通过一个中央处理器来完成并分配处理完成的数据,或者,各模块分别包含各自的微处理器并通过中央处理器进行数据流转;此外,预览界面获取模块301也可能集成在显示模块304上,组成具有处理功能的触摸屏装置,或者,触摸事件感知模块302也集成于触摸屏装置上由触摸屏装置进行触摸事件感知,而触摸事件判定模块303则可集成在中央处理器中,主要进行触摸事件判定的步骤。当然,这些仅是示例性地提供一些装置的模块设计实施例,本发明的保护范围并不局限于此,也可基于提出的实施例进行变换、修改,得到其他的实施方式。
本发明的又一方面,还提供了一种装置,所述装置的一个实施例,包括:
用于接收触摸信号且用于显示画面的触摸屏;
一个或多个处理器;以及
用于存储操作指令的存储器;
所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:获取并显示视频预览界面;
感知到在所述触摸屏的视频预览界面中的某一预览画面上发生第一触摸事件;
判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;
感知到在所述触摸屏上的第一预置手势操作切换为第二触摸事件;
判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。
较佳的,在一些可选实施方式中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
较佳的,在一些可选实施方式中,所述处理器还用于执行:
设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;
或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
较佳的,在一些可选实施方式中,所述处理器还用于执行:
判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面。
较佳的,在一些可选实施方式中,所述处理器还用于执行:
判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视
频预览界面中对应的被触摸的预览画面;
从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;
显示新的视频预览界面。
较佳的,在一些可选实施方式中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
较佳的,在一些可选实施方式中,所述处理器还用于执行:
判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;
在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;
继续显示视频预览界面。
较佳的,在一些可选实施方式中,所述处理器还用于执行:
设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;
或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;
或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
较佳的,在一些可选实施方式中,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
需要特别指出的是,上述装置的实施例仅采用了所述方法的实施例来具体说明各模块的工作过程,本领域技术人员能够很容易想到,将这些模块应用到所述方法的其他实施例中。当然,由于所述方法实施例中的各个步骤均可以适当地进行相互交叉、替换、增加、删减,因此,这些合理的排列组合变换之于所述装置也应当属于本发明的保护范围,并且不应将本发明的保护范围局限在所述实施例之上。
此外,典型地,本公开所述的装置可为各种电子终端设备,例如手机、个人数字助理(PDA)、平板电脑(PAD)、智能电视等,因此本公开的保护范围不应限定为某种特定类型的装置。
此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。
此外,应该明白的是,本文所述的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDR SDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)以及直接RambusRAM(DRRAM)。所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现所述的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里所述功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、
控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,所述存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。
在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。
公开的示例性实施例,但是应当注公开的示例性实施例,但是应当注意,在不背离权利要求限定的本公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任
何特定顺序执行。此外,尽管本公开的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上所述的本发明的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (27)
- 一种视频播放的方法,包括:获取并显示视频预览界面;感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件;判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;感知到第一预置手势操作切换为第二触摸事件;判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。
- 根据权利要求1所述的方法,其中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
- 根据权利要求2所述的方法,其中,区分轻按与重按的压力大小的方法包括:设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
- 根据权利要求1所述的方法,其中,所述感知到第一预置手势操作切换为第二触摸事件的步骤之后还包括:判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面。
- 根据权利要求1所述的方法,其中,所述感知到第一预置手势操作切换为第二触摸事件的步骤之后还包括:判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;显示新的视频预览界面。
- 根据权利要求2所述的方法,其中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
- 根据权利要求6所述的方法,其中,所述感知到在所述视频预览界面中的某一预览画面上发生第一触摸事件的步骤之后还包括:判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列;继续显示视频预览界面。
- 根据权利要求7所述的方法,其中,区分轻按与轻点的方法包括:设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
- 根据权利要求1所述的方法,其中,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
- 一种视频播放的装置,包括:预览界面获取模块,用于根据预览指令获取视频预览界面;触摸事件感知模块,用于感知在所述视频预览界面中的某一预览画面上第一触摸事件和第二触摸事件的发生;触摸事件判定模块,用于判定第一触摸事件是否为第一预置手势操作,若为第一预置手势操作则发送细节预览画面显示指令到显示模块,以及,用于判 断第二触摸事件是否为第二预置手势操作,若为第二预置手势操作则发送播放视频指令到显示模块;显示模块,用于显示视频预览界面、细节预览画面或者视频。
- 根据权利要求10所述的装置,其中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
- 根据权利要求11所述的装置,其中,所述触摸事件判定模块,还用于区分轻按与重按的压力大小,包括:设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
- 根据权利要求10所述的装置,其中,所述触摸事件判定模块,还用于判定所述第二触摸事件是否为释放,若为释放则发送关闭细节预览画面指令到显示模块;所述显示模块,还用于根据关闭细节预览画面指令关闭所述细节预览画面并显示视频预览界面。
- 根据权利要求10所述的装置,其中,所述触摸事件判定模块,还用于判定所述第二触摸事件是否为向左滑动,若为向左滑动则发送删除预览画面指令到显示模块;所述显示模块,还用于根据删除预览画面指令,从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;以及,显示新的视频预览界面。
- 根据权利要求11所述的装置,其中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
- 根据权利要求15所述的装置,其中,所述触摸事件判定模块,还用 于判定所述第一触摸事件是否为轻点,若为轻点则发送大图预览指令或阵列预览指令到显示模块;所述显示模块,还用于根据大图预览指令或阵列预览指令,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;以及,在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列,并继续显示视频预览界面。
- 根据权利要求16所述的装置,其中,所述触摸事件判定模块,还用于区分轻按与轻点,包括:设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
- 根据权利要求10所述的装置,其中,所述预览界面获取模块,还用于在所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
- 一种装置,包括:用于接收触摸信号且用于显示画面的触摸屏;一个或多个处理器;以及用于存储操作指令的存储器;所述一个或多个处理器被配置为从所述存储器中获取操作指令并执行:获取并显示视频预览界面;感知到在所述触摸屏的视频预览界面中的某一预览画面上发生第一触摸事件;判定所述第一触摸事件为第一预置手势操作时,显示所述预览画面对应视频的细节预览画面;感知到在所述触摸屏上的第一预置手势操作切换为第二触摸事件;判定所述第二触摸事件为第二预置手势操作时,播放该预览画面对应的视频。
- 根据权利要求19所述的装置,其中,所述第一预置手势操作为轻按,所述第二预置手势操作为重按。
- 根据权利要求20所述的装置,其中,所述处理器还用于执行:设定第一压力阈值,若触摸压力大于第一压力阈值,则判定为重按,若触摸压力小于等于第一压力阈值,则判定为轻按;或者,设定第一触摸面积阈值,在第一触摸事件发生过程中,若触摸面积小于等于第一触摸面积阈值,则判定为轻按,在第二触摸事件发生过程中,若触摸面积大于第一触摸面积阈值,则判定为重按;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第一压力阈值,和/或,触摸面积小于等于第一触摸面积阈值时,则判定为轻按;当触摸压力大于第一压力阈值,和/或,触摸面积大于第一触摸面积阈值时,则判定为重按。
- 根据权利要求19所述的装置,其中,所述处理器还用于执行:判定所述第二触摸事件为释放时,关闭所述细节预览画面并显示视频预览界面。
- 根据权利要求19所述的装置,其中,所述处理器还用于执行:判定所述第二触摸事件为向左滑动时,关闭所述细节预览画面,并删除视频预览界面中对应的被触摸的预览画面;从未展示在视频预览界面中的其他视频资源中提取新的视频的预览画面并填充到被删除的预览画面所处的位置中;显示新的视频预览界面。
- 根据权利要求20所述的装置,其中,所述细节预览画面为:对应预览画面的大图,所述预览画面对应视频的放大的视频预览gif图,或者,按所述预览画面对应的视频播放顺序提取的关键帧的多张预览画面的阵列。
- 根据权利要求24所述的装置,其中,所述处理器还用于执行:判定所述第一触摸事件为轻点时,显示所述预览画面的大图或按所述预览画面对应的视频播放顺序提取关键帧的多张预览画面的阵列;在第一时间间隔后,关闭所述预览画面的大图或按所述预览画面对应的视 频播放顺序提取的关键帧的多张预览画面的阵列;继续显示视频预览界面。
- 根据权利要求25所述的装置,其中,所述处理器还用于执行:设定第二压力阈值,若触摸压力大于第二压力阈值且小于等于第一压力阈值,则判定为轻按,若触摸压力小于等于第二压力阈值,则判定为轻点;或者,设定第二触摸面积,在第一触摸事件发生过程中,若触摸面积大于第二触摸面积且小于等于第一触摸面积阈值,则判定为轻按,若触摸面积小于等于第二触摸面积,则判定为轻点;或者,同时结合触摸压力和触摸面积进行判断,当触摸压力小于等于第二压力阈值,和/或,触摸面积小于等于第二触摸面积阈值时,则判定为轻点;当触摸压力大于第二压力阈值且小于等于第一压力阈值,和/或,触摸面积大于第二触摸面积阈值且小于等于第一触摸面积时,则判定为轻按。
- 根据权利要求19所述的装置,其中,所述视频预览界面中的每张预览画面的四个角的其中一角上设置有用于引导用户点击该处的标识。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/119,832 US20180255341A1 (en) | 2015-11-25 | 2016-05-26 | Method and Apparatus for Video Playback |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510834350.2 | 2015-11-25 | ||
CN201510834350.2A CN105872815A (zh) | 2015-11-25 | 2015-11-25 | 视频播放的方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017088406A1 true WO2017088406A1 (zh) | 2017-06-01 |
Family
ID=56623841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/083547 WO2017088406A1 (zh) | 2015-11-25 | 2016-05-26 | 视频播放的方法及装置 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20180255341A1 (zh) |
CN (1) | CN105872815A (zh) |
WO (1) | WO2017088406A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112650421A (zh) * | 2019-10-12 | 2021-04-13 | 上海幻电信息科技有限公司 | 页面切换显示方法、装置及存储介质 |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412671B (zh) * | 2016-09-29 | 2019-03-01 | 维沃移动通信有限公司 | 一种视频播放方法及移动终端 |
US20180181283A1 (en) * | 2016-12-23 | 2018-06-28 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
US20180275756A1 (en) * | 2017-03-22 | 2018-09-27 | Cisco Technology, Inc. | System And Method Of Controlling Based On A Button Having Multiple Layers Of Pressure |
KR20180136736A (ko) * | 2017-06-15 | 2018-12-26 | 엘지전자 주식회사 | 이동 단말기 |
CN107277628B (zh) * | 2017-06-21 | 2019-12-17 | 上海全土豆文化传播有限公司 | 视频预览显示方法及装置 |
CN108363534B (zh) * | 2018-01-30 | 2021-06-01 | 优视科技新加坡有限公司 | 可编辑对象的全局预览方法、装置及电子设备 |
CN108616770B (zh) * | 2018-04-16 | 2021-02-09 | 北京酷我科技有限公司 | 一种竖版视频与滚动区联动方法 |
CN108419116B (zh) * | 2018-04-16 | 2021-02-09 | 北京酷我科技有限公司 | 一种竖版视频与滚动区联动的方法 |
CN109299329A (zh) * | 2018-09-11 | 2019-02-01 | 京东方科技集团股份有限公司 | 从视频中生成图片集的方法、装置及电子设备、用户端设备 |
CN109286846A (zh) * | 2018-09-29 | 2019-01-29 | 传线网络科技(上海)有限公司 | 播放控制方法及装置、电子设备和存储介质 |
CN109286836B (zh) * | 2018-10-11 | 2021-04-30 | 腾讯科技(深圳)有限公司 | 多媒体数据处理方法、装置及智能终端、存储介质 |
CN109618177B (zh) * | 2018-12-26 | 2020-02-28 | 北京微播视界科技有限公司 | 视频处理方法、装置、电子设备及计算机可读存储介质 |
CN109640188B (zh) * | 2018-12-28 | 2020-02-07 | 北京微播视界科技有限公司 | 视频预览方法、装置、电子设备及计算机可读存储介质 |
CN109922380B (zh) | 2019-01-31 | 2021-01-26 | 维沃移动通信有限公司 | 一种视频播放方法及终端设备 |
CN110532316A (zh) * | 2019-08-13 | 2019-12-03 | 深圳市酷开网络科技有限公司 | 一种数据可视化展示方法、显示设备及存储介质 |
CN110673774A (zh) * | 2019-09-20 | 2020-01-10 | 北京字节跳动网络技术有限公司 | 一种列表流的实现方法、装置、电子设备及存储介质 |
CN110825289A (zh) * | 2019-10-31 | 2020-02-21 | 北京字节跳动网络技术有限公司 | 操作用户界面的方法、装置、电子设备及存储介质 |
CN113286189A (zh) * | 2021-04-23 | 2021-08-20 | 北京奇艺世纪科技有限公司 | 视频播放方法、装置、服务器及存储介质 |
CN113727170A (zh) * | 2021-08-27 | 2021-11-30 | 北京字跳网络技术有限公司 | 视频交互方法、装置、设备及介质 |
CN114546219B (zh) * | 2022-01-28 | 2023-09-29 | 青岛海信移动通信技术有限公司 | 图片列表的处理方法及相关装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202866A (zh) * | 2006-12-12 | 2008-06-18 | 索尼株式会社 | 视频信号输出装置以及操作输入处理方法 |
CN102193739A (zh) * | 2011-06-09 | 2011-09-21 | 福州瑞芯微电子有限公司 | 一种基于多点触控技术的视频预览选播方法 |
CN102982269A (zh) * | 2012-10-25 | 2013-03-20 | 北京大学 | 基于生物计量特征的防偷窥密码认证方法及系统 |
CN103297860A (zh) * | 2013-06-20 | 2013-09-11 | 天脉聚源(北京)传媒科技有限公司 | 一种视频预览的方法及装置 |
US20140201638A1 (en) * | 2013-01-14 | 2014-07-17 | Discovery Communications, Llc | Methods and systems for previewing a recording |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630223A (zh) * | 2009-07-25 | 2010-01-20 | 深圳华为通信技术有限公司 | 一种调整界面的方法及终端 |
US20120257109A1 (en) * | 2011-04-11 | 2012-10-11 | Samsung Electronics Co. Ltd. | Apparatus, system and method for providing touch inputs |
KR20190133080A (ko) * | 2011-09-19 | 2019-11-29 | 아이사이트 모빌 테크놀로지 엘티디 | 증강 현실 시스템용 터치프리 인터페이스 |
KR101873741B1 (ko) * | 2011-10-26 | 2018-07-03 | 엘지전자 주식회사 | 휴대 단말기 및 그 제어 방법 |
JP5757279B2 (ja) * | 2012-09-19 | 2015-07-29 | 辰巳電子工業株式会社 | 遊戯用撮影装置、遊戯用撮影方法及びコンピュータプログラム |
EP2801919A1 (en) * | 2013-05-10 | 2014-11-12 | LG Electronics, Inc. | Mobile terminal and controlling method thereof |
-
2015
- 2015-11-25 CN CN201510834350.2A patent/CN105872815A/zh active Pending
-
2016
- 2016-05-26 US US15/119,832 patent/US20180255341A1/en not_active Abandoned
- 2016-05-26 WO PCT/CN2016/083547 patent/WO2017088406A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202866A (zh) * | 2006-12-12 | 2008-06-18 | 索尼株式会社 | 视频信号输出装置以及操作输入处理方法 |
CN102193739A (zh) * | 2011-06-09 | 2011-09-21 | 福州瑞芯微电子有限公司 | 一种基于多点触控技术的视频预览选播方法 |
CN102982269A (zh) * | 2012-10-25 | 2013-03-20 | 北京大学 | 基于生物计量特征的防偷窥密码认证方法及系统 |
US20140201638A1 (en) * | 2013-01-14 | 2014-07-17 | Discovery Communications, Llc | Methods and systems for previewing a recording |
CN103297860A (zh) * | 2013-06-20 | 2013-09-11 | 天脉聚源(北京)传媒科技有限公司 | 一种视频预览的方法及装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112650421A (zh) * | 2019-10-12 | 2021-04-13 | 上海幻电信息科技有限公司 | 页面切换显示方法、装置及存储介质 |
CN112650421B (zh) * | 2019-10-12 | 2023-01-20 | 上海幻电信息科技有限公司 | 页面切换显示方法、装置及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US20180255341A1 (en) | 2018-09-06 |
CN105872815A (zh) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017088406A1 (zh) | 视频播放的方法及装置 | |
US12008232B2 (en) | User interfaces for viewing and accessing content on an electronic device | |
US11126343B2 (en) | Information processing apparatus, information processing method, and program | |
KR102161230B1 (ko) | 멀티미디어 콘텐츠 검색을 위한 사용자 인터페이스 방법 및 장치 | |
AU2014287943B2 (en) | User terminal device for supporting user interaction and methods thereof | |
US9542407B2 (en) | Method and apparatus for media searching using a graphical user interface | |
KR101870773B1 (ko) | 광학식 문자 판독기를 이용한 스케줄 관리 방법 및 장치 | |
US20140033040A1 (en) | Portable device with capability for note taking while outputting content | |
US20130145267A1 (en) | Video streaming in a web browser | |
WO2017088412A1 (zh) | 一种发布视频评论的方法、系统和装置 | |
US8516395B2 (en) | One-dimensional representation of a two-dimensional data structure | |
KR20130027406A (ko) | 응용 프로그램들을 동작시키기 위한 전자 장치 및 방법 | |
WO2013091467A1 (zh) | 通过拖拽手势控制应用界面的方法和装置 | |
US20100103132A1 (en) | Information processing apparatus, information processing method, and program | |
WO2016065814A1 (zh) | 信息选取方法及装置 | |
US20120314043A1 (en) | Managing multimedia contents using general objects | |
US10216381B2 (en) | Image capture | |
US10976895B2 (en) | Electronic apparatus and controlling method thereof | |
JP7187737B2 (ja) | ユーザーインタフェースを提供する方法、プログラム及び電子機器 | |
WO2017084292A1 (zh) | 一种视频播放的实现方法和装置 | |
US20160104507A1 (en) | Method and Apparatus for Capturing Still Images and Truncated Video Clips from Recorded Video | |
WO2023160143A1 (zh) | 浏览多媒体内容的方法及装置 | |
WO2021120756A1 (zh) | 显示方法、装置和计算机可读存储介质 | |
JP6719276B2 (ja) | 情報処理装置、情報処理方法およびプログラム | |
JP2022060243A (ja) | 情報処理装置、情報処理方法およびプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 15119832 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16867634 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16867634 Country of ref document: EP Kind code of ref document: A1 |