CN109121008A - A kind of video previewing method, device, terminal and storage medium - Google Patents

A kind of video previewing method, device, terminal and storage medium Download PDF

Info

Publication number
CN109121008A
CN109121008A CN201810876104.7A CN201810876104A CN109121008A CN 109121008 A CN109121008 A CN 109121008A CN 201810876104 A CN201810876104 A CN 201810876104A CN 109121008 A CN109121008 A CN 109121008A
Authority
CN
China
Prior art keywords
time point
video
module
progress
progress adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810876104.7A
Other languages
Chinese (zh)
Other versions
CN109121008B (en
Inventor
邵和明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810876104.7A priority Critical patent/CN109121008B/en
Publication of CN109121008A publication Critical patent/CN109121008A/en
Application granted granted Critical
Publication of CN109121008B publication Critical patent/CN109121008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Landscapes

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

Abstract

The present invention relates to a kind of video previewing method, device, terminal and storage mediums, which comprises detection user operates the progress adjustment of target video;When obtaining the progress adjustment operation beginning, first time point corresponding to the playback progress of the target video;Determine initial position and the final position of the progress adjustment operation;According to the first time point, the initial position and the final position, the second time point after progress adjustment is determined;Obtain the second preview picture of the target video corresponding with second time point;Show second preview picture.The present invention is operated by the progress adjustment to video, user can be allowed rapidly to browse video story plot, and precise positioning wants the picture looked for and plot to oneself.

Description

A kind of video previewing method, device, terminal and storage medium
Technical field
The present invention relates to Internet technical fields more particularly to a kind of video previewing method, device, terminal and storage to be situated between Matter.
Background technique
When watching video on video class product, a common operation is that video is checked in F.F. or rewind, Here just have a problem, in some cases, such as equipment screen it is smaller when, be that a comparison is multiple by pulling progress bar Miscellaneous operation, and cannot subtly find very much the positioning picture for oneself wanting to find or time.
In the prior art, it can be shown currently by being dragged on video just in F.F. or rewind, while be drawn in center The relationship between general playback progress and total duration is shown on face, referring to Figure 1.Disadvantage in prior art is can only The position of general positioning video, for wanting for the user that plot is seen in F.F., intermediate plot is completely unknowable, leads to possibility The fast forwarding and fast rewinding for needing repeatedly finds the core scenario of story, experiences bad.
Summary of the invention
Technical problem to be solved by the present invention lies in provide a kind of video previewing method, device, terminal and storage and be situated between Matter is operated by progress adjustment to video, and user can be allowed rapidly to browse video story plot, and precise positioning to oneself Want the picture looked for and plot.
In order to solve the above-mentioned technical problem, in a first aspect, the present invention provides a kind of video previewing methods, comprising:
User is detected to operate the progress adjustment of target video;
When obtaining the progress adjustment operation beginning, first time point corresponding to the playback progress of the target video;
Determine initial position and the final position of the progress adjustment operation;
According to the first time point, the initial position and the final position, second after progress adjustment is determined Time point;
Obtain the second preview picture of the target video corresponding with second time point;
Show second preview picture.
Second aspect, the present invention provides a kind of video preview devices, comprising:
Detection module operates the progress adjustment of target video for detecting user;
Time point obtains module, when starting for obtaining the progress adjustment operation, the playback progress of the target video Corresponding first time point;
Position determination module, for determining initial position and the final position of the progress adjustment operation;
Time point determining module, for determining according to the first time point, the initial position and the final position The second time point after progress adjustment;
Second obtains module, for obtaining the second preview graph of the target video corresponding with second time point Piece;
Second display module, for showing second preview picture.
The third aspect, the present invention provides a kind of terminals, comprising:
Processor and memory, wherein the processor is used to calling and executing the program stored in the memory, The memory is for storing program, and described program is for realizing above-mentioned video previewing method.
Fourth aspect, the present invention provides a kind of computer storage medium, being stored with computer in the storage medium can It executes instruction, the computer executable instructions are loaded by processor and execute above-mentioned video previewing method.
The implementation of the embodiments of the present invention has the following beneficial effects:
The present invention is operated by progress adjustment of the detection user to target video, and when progress adjustment operates beginning, is obtained Take first time point corresponding to target video playback progress;Determine initial position and the final position of progress adjustment operation;Root According to first time point, initial position and planting location, the second time point adjusted is determined;It obtains again corresponding with the second time Target video the second preview picture and show.The present invention is grasped by progress adjustment of the detection user to target video Make, user can be allowed rapidly to browse video story plot, and accurately navigate to the picture for oneself wanting to look for and plot, is promoted User satisfaction;The duration that user finishes watching video needs can also be reduced to a certain extent, when side increases Subscriber Unit The quantity of interior viewing video.
Detailed description of the invention
Fig. 1 is the schematic diagram for dragging video clip in the prior art;
Fig. 2 is a kind of video previewing method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of progress adjustment operation detection method flow chart provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram provided in an embodiment of the present invention that coordinate system is established to video playing interface;
Fig. 5 is the time point calculating method flow chart after a kind of progress adjustment provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram provided in an embodiment of the present invention to the operation of target video progress adjustment;
Fig. 7 is the time point calculating method flow chart after another progress adjustment provided in an embodiment of the present invention;
Fig. 8 is a kind of method flow diagram for obtaining preview picture provided in an embodiment of the present invention;
Fig. 9 is a kind of preview picture interface schematic diagram provided in an embodiment of the present invention;
Figure 10 is a kind of video preview schematic device provided in an embodiment of the present invention;
Figure 11 is detection module schematic diagram provided in an embodiment of the present invention;
Figure 12 is position determination module schematic diagram provided in an embodiment of the present invention;
Figure 13 is time point determining module schematic diagram provided in an embodiment of the present invention;
Figure 14 is the second acquisition module diagram provided in an embodiment of the present invention;
Figure 15 is another video-unit schematic diagram provided in an embodiment of the present invention;
Figure 16 is acquisition module diagram provided in an embodiment of the present invention;
Figure 17 is display module schematic diagram provided in an embodiment of the present invention;
Figure 18 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing Step ground detailed description.Obviously, described embodiment is only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work Every other embodiment, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include one or more of the features.Moreover, term " first ", " second " etc. is suitable for distinguishing similar object, without being used to describe a particular order or precedence order.It should be understood that in this way The data used are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein can be in addition to scheming herein Sequence other than those of showing or describe is implemented.
Fig. 2 is referred to, it illustrates a kind of video previewing methods, can be applied to terminal side, the terminal in the present embodiment It can be, but not limited to the terminal devices such as smart phone, tablet computer, desktop computer.Specifically, the video previewing method packet It includes:
S210. detection user operates the progress adjustment of target video.
When user open a video playing page after, terminal will constant testing on target video with the presence or absence of into Degree adjustment operation.
Specific detection process can be found in Fig. 3, and it illustrates a kind of progress adjustments to operate detection method, comprising:
S310. it detects on the broadcast interface of the target video with the presence or absence of the operation laterally pulled.
Here the operation that laterally pulls may is that from target video broadcast interface and a little slide laterally to another point. It should be noted that can be for laterally pulling here is dragged to the left or is dragged to the right.
When the operation S320. laterally pulled described in the presence, there are progress adjustment operations for judgement.
When terminal, which detects the presence of, laterally pulls operation accordingly, then there are the progress adjustments described in the present embodiment for judgement Operation.
By taking smart phone as an example, progress adjustment operation, which can be, plays the gesture operation of the page, intelligent hand in target video Machine terminal listens to always the gesture operation of user by gesture detectaphone.Laterally drag when user plays the page in target video When dynamic, i.e., pressed by the video playback area on the screen such as finger or felt pen, and laterally pull a certain distance When stop touching screen, just judge user be to target video progress progress adjustment operation.
By taking desktop computer as an example, progress adjustment operation can be the operation triggered by peripheral hardwares such as mouses, and terminal can be examined It surveys and plays the mouse action of the page, such as long-pressing mouse, click mouse and dragging etc. in target video.When user is in target video When the broadcasting page is laterally pulled, i.e., user is not put and is released when laterally pulling a certain distance by clicking the key on mouse Mousebutton is put, just judges that user is to carry out progress adjustment operation to target video.
Certainly, progress adjustment is operated, the present embodiment is specifically to be illustrated with laterally pulling operation, specific real During applying, progress adjustment can also be realized by others operation, for example be also possible to: first be clicked at video playing interface One position, clicks another position again within a preset time, then then judging this operation for progress adjustment operation, to progress tune The specific implementation of whole operation, the present embodiment are not specifically limited.
When S220. obtaining the progress adjustment operation beginning, when first corresponding to the playback progress of the target video Between point.
Progress adjustment operation is a process, and having operation beginning and operation terminates, or for laterally pulling, works as end End detect video playing interface exist laterally pull operation when, record laterally pull operation start when, target video is worked as First time point corresponding to preceding playback progress, i.e., it is currently playing by which point several seconds.
S230. initial position and the final position of the progress adjustment operation are determined.
The problem of being operated for video playing interface, operating position will be related to.User is started in video circle Position when being operated on face is determined as initial position, and user is stopped at position when operating in video clip and is determined For final position.When progress adjustment operation is laterally pulls, and when detecting the operation laterally pulled, it will test and laterally drag Position when dynamic beginning is determined as the initial position, will test the position at the end of laterally pulling and is determined as the stop bit It sets.
Determination for specific location is established a right angle and is sat using the certain point on the video playing page as coordinate origin Mark system.Using the lower left corner of the video playing page as coordinate origin in the present embodiment, coordinate system is established, refers to Fig. 4, it is assumed that laterally The operation of dragging terminates since A point to B point, can learn that the coordinate of initial position A point is (x1,y1), final position B point Coordinate is (x2,y2)。
S240. according to the first time point, the initial position and the final position, after determining progress adjustment Second time point.
When progress adjustment operates beginning, the time point of corresponding playback progress is first time point, then in progress tune At the end of whole operation, the time point after corresponding adjustment was the second time point, and the second time point here cannot directly acquire It arrives, needs to operate adjusted lateral distance according to progress adjustment to obtain, refer to Fig. 5, it illustrates a kind of progress adjustments Time point calculating method afterwards, comprising:
S510. the distance of the initial position and the final position is calculated.
Here distance refers to the lateral distance of initial position and final position, as shown in Figure 6:
If with A (x1,y1) point be starting point, slide laterally to the right, slide into B (x2,y2) point, A point and B point may not On a horizontal linear, i.e. the value of the ordinate of A point and B point is unequal, only needs to pay close attention to the abscissa of A point and B point here Value, pass through calculate x2-x1To determine the lateral distance between A point and B point.
If with A (x1,y1) point be starting point, slide laterally to the left, slide into C (x3,y3) point, it is same to calculate A point and C The lateral distance of point is x3-x1
The lateral distance calculated here come out can just be born, and be only intended to indicate a kind of distance relation.
S520. the distance was converted as the period.
Assuming that the distance between two o'clock calculated is x, need to convert this distance for corresponding period, Ke Yili Solution are as follows: by the lateral distance x between two o'clock multiplied by coefficient a, obtain corresponding time period t.
Specifically, coefficient a can be determined by following mode:
Assuming that the total duration of currently playing target video is T, and it is L that target video, which plays the transverse width of the page, that Just have:
For example, the total duration of currently playing target video is T=600s, the transverse width for playing the page is L=5cm, So for current video,
If the operation of currently detected progress adjustment be slide to the right, and the lateral distance between two o'clock is x=1cm, then For this apart from the corresponding period are as follows:
t1=xa=1120=120s (3)
If currently detected progress adjustment operation is to slide to the left, and the lateral distance between two o'clock is x=-1.5cm, that For this apart from the corresponding period are as follows:
t2=xa=-1.5120=-180s (4)
By above-mentioned calculating, the period corresponding to the distance that can be slided.
S530. according to the first time point and the period, second time point is obtained.
After obtaining the period according to above-mentioned calculation method, the corresponding time is added on the basis of first time point Section, the second time point after being adjusted.
Assuming that the corresponding first time point of the playback progress of target video is 200s when carrying out progress adjustment operation Place.
It is 120s, then after progress adjustment for sliding laterally to the right shown in period corresponding to 1cm such as formula (3) Second time point was 200s+120s=320s.
Be -180s for being slid laterally shown in period corresponding to -1.5cm such as formula (4) to the left, then progress adjustment it The second time point afterwards is 200s-180s=20s.
The above-mentioned calculation method about the time point after progress adjustment is according to actual physical distance come when calculating Between put, the method that a kind of above-mentioned time point determines can also have another embodiment, reference can be made to Fig. 7, comprising:
S710. the interval pixel values between initial position and final position are determined.
Here interval pixel values, which refer to, slides laterally to another point pixel experienced from a bit, spaced pixels here A kind of form of expression of distance can also be regarded as.
S720. according to the interval pixel values and systemic presupposition parameter, the interval pixel values were converted as the period.
Systemic presupposition parameter needs to carry out system setting in advance, for example, this parameter can be set to 15 pixels/s, Its meaning is to slide laterally 15 pixels, and the corresponding period is 1s.Sliding to the left is rewind, and sliding is F.F. to the right, when to the right When sliding laterally 300 pixel, actual play progress F.F. 20s.Here period be also divided into it is positive and negative, when system detection to When sliding laterally of a left side, the period is negative;When system detection is to when sliding laterally, the period is positive to the right.
S730. according to first time point and period, the second time point after progress adjustment is determined.
First time point is added into the corresponding period, the second time point after being adjusted.
It should be noted that above-mentioned progress adjustment operation needs to operate in the effective coverage that target video plays the page It can just be detected, the operation except effective coverage is then invalid.
S250. the second preview picture of the target video corresponding with second time point is obtained.
It can be stored with the frame collections of pictures of target video in the server, and establish pair of each frame picture and each time point It should be related to, in order to which the corresponding frame picture of time point picking after progress adjustment operation can be carried out according to user.
The specific method for obtaining preview picture can be found in Fig. 8, comprising:
S810. it searches to whether there is in memory and has second preview picture corresponding with second time point.
Locally searching whether that frame picture corresponding with time point is corresponded to when existing there are in target video first Frame picture, then the frame picture is determined as preview picture corresponding with the time point.Each time in target video Point has corresponding preview picture, can be an a time point corresponding preview picture, is also possible to multiple time points A corresponding preview picture.Latter approach can be reduced the quantity of preview graph, mitigate storage pressure, and general shorter time model It encloses interior plot variation less, the video content in time period also can be preferably expressed with a hypertonic sketch map.
S820. when second preview picture is not present, institute corresponding with second time point is downloaded from server State the second preview picture.
When frame picture corresponding with the time point is not present in local memory, need to obtain from server side.It is first The information for first needing to find the related target video in server according to the mark of target video, then further according to the time Point is to obtain corresponding frame picture as preview picture.The target can also be regarded after finding the information of target video The frame collections of pictures of frequency is cached to local memory and does not need continually in this way in the acquisition operation for carrying out multiple preview picture Getting frame picture is removed from server, has saved the time, efficiency is improved, but certain local memory can be occupied.
During progress adjustment, may there is a situation where it is such, when sliding laterally to the left, according to first time point And the period, the second obtained time point is less than 0, then it is determined that the first frame picture of video is the corresponding preview of the second time point Picture;When sliding laterally to the right, according to first time point and period, obtained the second time point be greater than video it is total when It is long, then it is determined that the last frame picture of video is the second time point corresponding preview picture.
S260. second preview picture is shown.
About the method that is particularly shown of preview picture, the present embodiment, which proposes, to be initially set up for showing the pre- of preview picture Look at window, then need to preview picture to be shown be loaded into this window and shown.Preview picture window can also wrap Corresponding preview picture description information is included, the preview graph description information can be the text information etc. for describing preview graph. For the display methods of other preview pictures, as long as being able to achieve the preview picture in the application, it is used equally for implementing in the application In example, specifically with no restrictions.
In above-mentioned step S220, when obtaining the progress adjustment operation beginning, the playback progress institute of the target video Corresponding first time point can also include: after this
According to the first time point, the first preview graph of the target video corresponding with the first time point is obtained Piece;
Show first preview picture.
Here acquisition and the realization process of display is consistent with implementation method above-mentioned in the present embodiment, and for details, reference can be made to steps The realization process of rapid S250 and step S260, details are not described herein.
One specific video preview interface schematic diagram can be found in Fig. 9, and in the video playing page, user is lateral on video Dragging when starting dragging, can show that the video frame of a progress bar and current point in time is drawn here to drag to the right on the screen Reduction of area sketch map;When user continues dragging, progress bar can be mobile according to the distance laterally pulled, when stopping laterally pulls, frame picture Also video frame picture corresponding to the time point after being correspondingly changed to F.F..At the end of laterally pulling operation, target video Time point after jumping to corresponding F.F. continues to play.Also, when user laterally pulls on the video playing page, Video frame picture thumbnail can follow the position of dragging and move;For example, by taking smart phone as an example, when finger moves on the screen When dynamic, video frame picture thumbnail can follow finger mobile, can appear in fixed position to avoid thumbnail in this way and It is possible that the problem of being blocked by finger.
Occur together when progress bar and video frame picture in the example above, can individually occur video frame picture in practice Face, collocation position are also that can change;For the specific location that video frame picture occurs, can appear in video pictures Any position, or the position laterally pulled can also be followed to occur.
The present invention is operated by progress adjustment of the detection user to target video, and when progress adjustment operates beginning, is obtained Take first time point corresponding to target video playback progress;Determine initial position and the final position of progress adjustment operation;Root According to first time point, initial position and planting location, the second time point adjusted is determined;It obtains again corresponding with the second time Target video the second preview picture and show.The present invention is grasped by progress adjustment of the detection user to target video Make, user can be allowed rapidly to browse video story plot, and accurately navigate to the picture for oneself wanting to look for and plot, is promoted User satisfaction;The duration that user finishes watching video needs can also be reduced to a certain extent, when side increases Subscriber Unit The quantity of interior viewing video.And terminal device lesser for screen, in adjustment progress bar inconvenience or progress bar tune When whole precision is not high, by carrying out progress adjustment operation directly in the effective coverage of the video playing page, and correspondence is shown The preview picture at time point can be improved progress adjustment precision, video preview be effectively performed.
Referring to Figure 10, the present embodiment additionally provides a kind of video preview device, which can pass through hardware and/or software Mode realize, and generally can integrate in client, be used cooperatively with the server for providing resource, described device includes:
Detection module 1010 operates the progress adjustment of target video for detecting user.
Time point obtains module 1020, when starting for obtaining the progress adjustment operation, the broadcasting of the target video First time point corresponding to progress.
Position determination module 1030, for determining initial position and the final position of the progress adjustment operation.
Time point determining module 1040 is used for according to the first time point, the initial position and the final position, Determine the second time point after progress adjustment.
Second obtains module 1050, for obtaining the second preview of the target video corresponding with second time point Picture.
Second display module 1060, for showing second preview picture.
Referring to Figure 11, it illustrates 1010 schematic diagram of detection module, the detection module 1010 is specifically included:
Drag operation detection module 1011 drags on the broadcast interface of the target video with the presence or absence of lateral for detecting Dynamic operation.
Judgment module 1012, when operation for laterally pulling described in the presence, there are progress adjustment operations for judgement.
Referring to Figure 12, it illustrates a kind of 1030 schematic diagram of position determination module, the position determination module 1030 is wrapped It includes:
First determining module 1210, for will test and laterally pull out when detecting the operation laterally pulled The position when beginning is determined as the initial position.
Second determines 1220 pieces of mould, for will test and laterally pull knot when detecting the operation laterally pulled Position when beam is determined as the final position.
Referring to Figure 13, it illustrates a kind of 1040 schematic diagram of time point determining module, the time point determining modules 1040 include:
First computing module 1310, for calculating the distance of the initial position and the final position.
Second computing module 1320, for converting the distance for the period.
Third computing module 1330, for obtaining second time according to the first time point and the period Point.
Referring to Figure 14, it illustrates second to obtain 1050 schematic diagram of module, and the second acquisition module 1050 includes:
Searching module 1410, it is corresponding with second time point described second pre- with the presence or absence of having in memory for searching Look at picture.
Download module 1420 is used for when second preview picture is not present, when from server downloading with described second Between put corresponding second preview picture.
Referring to Figure 15, it illustrates another video preview schematic device, the video preview device includes:
Detection module 1510 operates the progress adjustment of target video for detecting user.
Time point obtains module 1520, when starting for obtaining the progress adjustment operation, the broadcasting of the target video First time point corresponding to progress.
Position determination module 1530, for determining initial position and the final position of the progress adjustment operation.
Time point determining module 1540 is used for according to the first time point, the initial position and the final position, Determine the second time point after progress adjustment.
Module 1550 is obtained, for obtaining the preview of the target video corresponding with the time point according to time point Picture.
Display module 1560, for showing the preview picture.
Referring to Figure 16, it illustrates obtaining 1550 schematic diagram of module, the acquisition module 1550 includes:
First obtains module 1610, for obtaining the first preview of the target video corresponding with the first time point Picture.
Second obtains module 1620, for obtaining the second preview of the target video corresponding with second time point Picture.
Referring to Figure 17, it illustrates 1560 schematic diagram of display module, the display module 1560 includes:
First display module 1710, for showing first preview picture.
Second display module 1720, for showing second preview picture.
Any embodiment of that present invention institute providing method can be performed in the device provided in above-described embodiment, has execution this method Corresponding functional module and beneficial effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to the present invention is any Method provided by embodiment.
The present embodiment additionally provides a kind of computer readable storage medium, and computer is stored in the storage medium to be held Row instruction, the computer executable instructions are loaded as processor and execute method provided by the present embodiment.
Referring to Figure 18, it illustrates a kind of structural schematic diagrams of terminal, and specifically, terminal 1800 may include RF (Radio Frequency, radio frequency) circuit 1810, the memory for including one or more computer readable storage medium 1820, input unit 1830, display unit 1840, sensor 1850, voicefrequency circuit 1860, WiFi (wireless Fidelity, Wireless Fidelity) module 1870, include one or more than one processor 1880, the Yi Ji electricity of processing core The components such as source 1890.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Figure 18, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.Wherein:
RF circuit 1810 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 1880 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 1810 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillator, It is subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), double Work device etc..In addition, RF circuit 1810 can also be communicated with network and other equipment by wireless communication.The wireless communication can be with Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 1820 can be used for storing software program and module, and processor 1880 is stored in memory by operation 1820 software program and module, thereby executing various function application and data processing.Memory 1820 can mainly include Storing program area and storage data area, wherein storing program area can application program needed for storage program area, function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data according to terminal 1800 (such as audio data, phone directory etc.) etc..In addition, memory 1820 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 1820 can also include Memory Controller, to provide processor 1880 and 1830 pairs of input unit storages The access of device 1820.
Input unit 1830 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 1830 may include touching Sensitive surfaces 1831 and other input equipments 1832.Touch sensitive surface 1831, also referred to as touch display screen or Trackpad collect User on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus touch-sensitive Operation on surface 1831 or near touch sensitive surface 1831), and corresponding attachment device is driven according to preset formula. Optionally, touch sensitive surface 1831 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1880, and can reception processing Order that device 1880 is sent simultaneously is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch sensitive surface 1831.In addition to touch sensitive surface 1831, input unit 1830 can also include other input equipments 1832.Specifically, other input equipments 1832 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 1840 can be used for showing information input by user or the information and terminal 1800 that are supplied to user Various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof come structure At.Display unit 1840 may include display panel 1841, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 1841.Further, touch sensitive surface 1831 can cover display panel 1841, when touch sensitive surface 1831 detect on it or After neighbouring touch operation, processor 1880 is sent to determine the type of touch event, is followed by subsequent processing device 1880 according to touch The type of event provides corresponding visual output on display panel 1841.Although in Figure 18, touch sensitive surface 1831 and display Panel 1841 is to realize input and input function as two independent components, but in some embodiments it is possible to will touching Sensitive surfaces 1831 and display panel 1841 integrate and realize and output and input function.
Terminal 1800 may also include at least one sensor 1850, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1841, and proximity sensor can close when terminal 1800 is moved in one's ear Display panel 1841 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc.;Other biographies such as gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as terminal 1800 Sensor, details are not described herein.
Voicefrequency circuit 1860, loudspeaker 1861, microphone 1862 can provide the audio interface between user and terminal 1800. Electric signal after the audio data received conversion can be transferred to loudspeaker 1861, by loudspeaker 1861 by voicefrequency circuit 1860 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1862, by voicefrequency circuit 1860 receive after be converted to audio data, then by after the processing of audio data output processor 1880, through RF circuit 1810 to send It exports to memory 1820 to such as another terminal, or by audio data to be further processed.Voicefrequency circuit 1860 may be used also It can include earphone jack, to provide the communication of peripheral hardware earphone Yu terminal 1800.
WiFi belongs to short range wireless transmission technology, and terminal 1800 can help user to receive and dispatch electricity by WiFi module 1870 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Processor 1880 is the control centre of terminal 1800, utilizes each portion of various interfaces and the entire terminal of connection Point, by running or execute the software program and/or module that are stored in memory 1820, and calls and be stored in memory Data in 1820 execute the various functions and processing data of terminal 1800, to carry out integral monitoring to terminal.Optionally, Processor 1880 may include one or more processing cores;Preferably, processor 1880 can integrate application processor and modulatedemodulate Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1880.
Terminal 1800 further includes the power supply 1890 (such as battery) powered to all parts, it is preferred that power supply can pass through Power-supply management system and processor 1880 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.Power supply 1890 can also include one or more direct current or AC power source, recharging system, power supply The random components such as fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 1800 can also include camera, bluetooth module etc., and details are not described herein.Specifically at this In embodiment, the display unit of terminal is touch-screen display, terminal further include have memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one It includes for realizing method provided by the present embodiment that one or more than one program are stated in reason device execution.
Present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creation The labour of property may include more or less operating procedure.The step of enumerating in embodiment and sequence are only numerous steps One of execution sequence mode, does not represent and unique executes sequence.System in practice or when interrupting product and executing, can be with It is executed according to embodiment or method shown in the drawings sequence or parallel executes (such as parallel processor or multiple threads Environment).
Structure shown in the present embodiment, only part-structure relevant to application scheme, is not constituted to this The restriction for the equipment that application scheme is applied thereon, specific equipment may include more or fewer components than showing, Perhaps certain components or the arrangement with different components are combined.It is to be understood that method disclosed in the present embodiment, Device etc., may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, The division of the module is only a kind of division of logic function, and there may be another division manner in actual implementation, such as more A unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another Point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or The indirect coupling or communication connection of unit module.
Based on this understanding, technical solution of the present invention substantially in other words the part that contributes to existing technology or The all or part of person's technical solution can be embodied in the form of software products, which is stored in one In a storage medium, including some instructions are used so that computer equipment (it can be personal computer, server, or Network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
Those skilled in the art further appreciate that, respectively show in conjunction with what embodiment disclosed in this specification described Example unit and algorithm steps, being implemented in combination with electronic hardware, computer software or the two, in order to illustrate with clearing The interchangeability of hardware and software generally describes each exemplary composition and step according to function in the above description Suddenly.These functions are implemented in hardware or software actually, the specific application and design constraint item depending on technical solution Part.Professional technician can use different methods to achieve the described function each specific application, but this reality Now it should not be considered as beyond the scope of the present invention.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (14)

1. a kind of video previewing method characterized by comprising
User is detected to operate the progress adjustment of target video;
When obtaining the progress adjustment operation beginning, first time point corresponding to the playback progress of the target video;
Determine initial position and the final position of the progress adjustment operation;
According to the first time point, the initial position and the final position, the second time after progress adjustment is determined Point;
Obtain the second preview picture of the target video corresponding with second time point;
Show second preview picture.
2. a kind of video previewing method according to claim 1, which is characterized in that the detection user is to target video Progress adjustment operates
It detects on the broadcast interface of the target video with the presence or absence of the operation laterally pulled;
When the operation laterally pulled described in the presence, there are progress adjustment operations for judgement.
3. a kind of video previewing method according to claim 2, which is characterized in that the determination progress adjustment operation Initial position and final position include:
When detecting the operation laterally pulled, it will test position when laterally pulling beginning and be determined as the start bit It sets, will test the position at the end of laterally pulling and be determined as the final position.
4. a kind of video previewing method according to claim 1, which is characterized in that described to obtain the progress adjustment operation When beginning, after first time point corresponding to the playback progress of the target video further include:
According to the first time point, the first preview picture of the target video corresponding with the first time point is obtained;
Show first preview picture.
5. a kind of video previewing method according to claim 1, which is characterized in that it is described according to the first time point, The initial position and the final position determine that the second time point after progress adjustment includes:
Calculate the distance of the initial position and the final position;
The distance was converted as the period;
According to the first time point and the period, second time point is obtained.
6. a kind of video previewing method according to claim 1, which is characterized in that the acquisition and second time point Second preview picture of the corresponding target video includes:
Searching, which whether there is in memory, second preview picture corresponding with second time point;
When second preview picture is not present, second preview corresponding with second time point is downloaded from server Picture.
7. a kind of video preview device characterized by comprising
Detection module operates the progress adjustment of target video for detecting user;
Time point obtains module, and when starting for obtaining the progress adjustment operation, the playback progress institute of the target video is right The first time point answered;
Position determination module, for determining initial position and the final position of the progress adjustment operation;
Time point determining module, for determining progress according to the first time point, the initial position and the final position The second time point after adjustment;
Second obtains module, for obtaining the second preview picture of the target video corresponding with second time point;
Second display module, for showing second preview picture.
8. a kind of video preview device according to claim 7, which is characterized in that the detection module includes:
Drag operation detection module, for detecting on the broadcast interface of the target video with the presence or absence of the behaviour laterally pulled Make;
Judgment module, when operation for laterally pulling described in the presence, there are progress adjustment operations for judgement.
9. a kind of video preview device according to claim 8, which is characterized in that the position determination module includes:
First determining module, for will test position when laterally pulling beginning when detecting the operation laterally pulled It sets and is determined as the initial position;
Second determining module, for will test the position at the end of laterally pulling when detecting the operation laterally pulled It sets and is determined as the final position.
10. a kind of video preview device according to claim 7, which is characterized in that described device further include:
First obtains module, for obtaining the target view corresponding with the first time point according to the first time point First preview picture of frequency;
First display module, for showing first preview picture.
11. a kind of video preview device according to claim 7, which is characterized in that the time point determining module includes:
First computing module, for calculating the distance of the initial position and the final position;
Second computing module, for converting the distance for the period;
Third computing module, for obtaining second time point according to the first time point and the period.
12. a kind of video preview device according to claim 7, which is characterized in that described second, which obtains module, includes:
Searching module has second preview picture corresponding with second time point for searching to whether there is in memory;
Download module, for being downloaded from server corresponding with second time point when second preview picture is not present Second preview picture.
13. a kind of terminal characterized by comprising
Processor and memory, wherein the processor is for calling and executing the program stored in the memory, it is described Memory is for storing program, and described program is for realizing video previewing method such as claimed in any one of claims 1 to 6.
14. a kind of computer storage medium, which is characterized in that be stored with computer executable instructions, institute in the storage medium Computer executable instructions are stated to be loaded by processor and executed such as video previewing method as claimed in any one of claims 1 to 6.
CN201810876104.7A 2018-08-03 2018-08-03 Video preview method, device, terminal and storage medium Active CN109121008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810876104.7A CN109121008B (en) 2018-08-03 2018-08-03 Video preview method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810876104.7A CN109121008B (en) 2018-08-03 2018-08-03 Video preview method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109121008A true CN109121008A (en) 2019-01-01
CN109121008B CN109121008B (en) 2021-12-14

Family

ID=64852882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810876104.7A Active CN109121008B (en) 2018-08-03 2018-08-03 Video preview method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109121008B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493614A (en) * 2019-08-28 2019-11-22 百度在线网络技术(北京)有限公司 Video control method, device and equipment
CN111666453A (en) * 2019-03-07 2020-09-15 杭州海康威视数字技术股份有限公司 Video management method, video retrieval method, video management device, video retrieval device, electronic equipment and storage medium
CN111669618A (en) * 2019-03-08 2020-09-15 杭州海康威视系统技术有限公司 Picture playing control method, device, equipment and storage medium
CN112468869A (en) * 2020-12-15 2021-03-09 北京字节跳动网络技术有限公司 Multimedia file playing control method, device, equipment and medium
CN112929748A (en) * 2021-01-22 2021-06-08 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium
JP2021149683A (en) * 2020-03-19 2021-09-27 株式会社 ディー・エヌ・エー Program, system, and method for producing moving image

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185073A (en) * 2014-08-04 2014-12-03 北京奇虎科技有限公司 Method and client for playing video by selecting corresponding video progress through picture
CN104394422A (en) * 2014-11-12 2015-03-04 华为软件技术有限公司 Video segmentation point acquisition method and device
CN104469519A (en) * 2014-12-18 2015-03-25 北京元心科技有限公司 Video playing method and device
CN104811812A (en) * 2014-01-24 2015-07-29 腾讯科技(北京)有限公司 Audio and video play progress control method, apparatus and system
CN105635828A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Play control method, play control device and electronic equipment comprising play control device
CN106028068A (en) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 Video progress content preview method and device, and mobile terminal
CN106095300A (en) * 2016-05-27 2016-11-09 北京小米移动软件有限公司 Playing progress rate method of adjustment and device
CN106897013A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of adjusting method and device of video progress
CN106998493A (en) * 2017-04-25 2017-08-01 合信息技术(北京)有限公司 The method for previewing and device of video

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811812A (en) * 2014-01-24 2015-07-29 腾讯科技(北京)有限公司 Audio and video play progress control method, apparatus and system
CN104185073A (en) * 2014-08-04 2014-12-03 北京奇虎科技有限公司 Method and client for playing video by selecting corresponding video progress through picture
CN105635828A (en) * 2014-10-28 2016-06-01 腾讯科技(深圳)有限公司 Play control method, play control device and electronic equipment comprising play control device
CN104394422A (en) * 2014-11-12 2015-03-04 华为软件技术有限公司 Video segmentation point acquisition method and device
CN104469519A (en) * 2014-12-18 2015-03-25 北京元心科技有限公司 Video playing method and device
CN106897013A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of adjusting method and device of video progress
CN106095300A (en) * 2016-05-27 2016-11-09 北京小米移动软件有限公司 Playing progress rate method of adjustment and device
CN106028068A (en) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 Video progress content preview method and device, and mobile terminal
CN106998493A (en) * 2017-04-25 2017-08-01 合信息技术(北京)有限公司 The method for previewing and device of video

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666453A (en) * 2019-03-07 2020-09-15 杭州海康威视数字技术股份有限公司 Video management method, video retrieval method, video management device, video retrieval device, electronic equipment and storage medium
CN111666453B (en) * 2019-03-07 2024-01-02 杭州海康威视数字技术股份有限公司 Video management and retrieval method and device, electronic equipment and storage medium
CN111669618A (en) * 2019-03-08 2020-09-15 杭州海康威视系统技术有限公司 Picture playing control method, device, equipment and storage medium
CN111669618B (en) * 2019-03-08 2022-11-15 杭州海康威视系统技术有限公司 Picture playing control method, device, equipment and storage medium
CN110493614A (en) * 2019-08-28 2019-11-22 百度在线网络技术(北京)有限公司 Video control method, device and equipment
JP2021149683A (en) * 2020-03-19 2021-09-27 株式会社 ディー・エヌ・エー Program, system, and method for producing moving image
CN112468869A (en) * 2020-12-15 2021-03-09 北京字节跳动网络技术有限公司 Multimedia file playing control method, device, equipment and medium
CN112929748A (en) * 2021-01-22 2021-06-08 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium
CN112929748B (en) * 2021-01-22 2022-07-15 维沃移动通信(杭州)有限公司 Video processing method, video processing device, electronic equipment and medium

Also Published As

Publication number Publication date
CN109121008B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN109121008A (en) A kind of video previewing method, device, terminal and storage medium
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN105187930B (en) Interactive approach and device based on net cast
CN104967910B (en) Multimedia progress monitoring method and device
CN107734376B (en) A kind of method and device of multi-medium data broadcasting
CN105549740B (en) A kind of method and apparatus of playing audio-fequency data
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
US9720561B2 (en) Progress bar with graphical effects to indicate download progress and connection state
CN104036536B (en) The generation method and device of a kind of stop-motion animation
CN105808060B (en) A kind of method and apparatus of playing animation
CN107678631A (en) Side menu display method, device and terminal
US20140365892A1 (en) Method, apparatus and computer readable storage medium for displaying video preview picture
CN106375179B (en) Method and device for displaying instant communication message
CN106231433B (en) A kind of methods, devices and systems playing network video
CN104869465B (en) video playing control method and device
CN104159140B (en) A kind of methods, devices and systems of Video processing
CN106254910B (en) Method and device for recording image
CN106547844B (en) A kind for the treatment of method and apparatus of user interface
CN104965642B (en) Drop-down list generation method and device
CN108958805A (en) menu display method and device
CN105635828B (en) Control method for playing back, device, electronic equipment and storage medium
CN105094513B (en) User's head portrait setting method, device and electronic equipment
CN104991699B (en) A kind of method and apparatus of video display control
CN107943417A (en) Image processing method, terminal, computer-readable storage medium and computer program
CN107370670A (en) Unread message extracts methods of exhibiting and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant