CN104469519A - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN104469519A
CN104469519A CN201410795736.2A CN201410795736A CN104469519A CN 104469519 A CN104469519 A CN 104469519A CN 201410795736 A CN201410795736 A CN 201410795736A CN 104469519 A CN104469519 A CN 104469519A
Authority
CN
China
Prior art keywords
redirect
target video
moment
determined
video
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
CN201410795736.2A
Other languages
Chinese (zh)
Other versions
CN104469519B (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.)
Yuanxin Information Technology Group Co.,Ltd.
Original Assignee
Beijing Yuanxin Science and Technology 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 Beijing Yuanxin Science and Technology Co Ltd filed Critical Beijing Yuanxin Science and Technology Co Ltd
Priority to CN201410795736.2A priority Critical patent/CN104469519B/en
Publication of CN104469519A publication Critical patent/CN104469519A/en
Application granted granted Critical
Publication of CN104469519B publication Critical patent/CN104469519B/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • 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

Abstract

The embodiment of the invention discloses a video playing method and device which are applied to a mobile terminal with a touch screen. In the process of playing a target video, a detected sliding distance x and a detected sliding direction are determined, wherein the detected sliding distance x and the detected sliding direction correspond to sliding operation conducted on the touch screen of the mobile terminal; according to the sliding direction, the jumping direction of the target video corresponding to the sliding operation is determined; whether the sliding distance x is smaller than a preset threshold value or not is judged, if yes, it is determined that the jumping time interval y is equal to ax, and otherwise it is determined that the jumping time interval y is equal to the sum of bx and C; the playing moment of the target video obtained after jumping is conducted is determined according to the current playing moment of the target video, the determined jumping time interval y and the determined jumping direction; the target video is played from the determined playing moment after jumping is conducted. By means of the video playing method and device, long time of fast forward/fast backward of the video can be achieved without the operation that a user conducts multiple times of sliding operation or conduct sliding in a long distance on the screen, operation is convenient, and the experience effect of the user is improved.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to mobile terminal video and play field, particularly a kind of video broadcasting method and device.
Background technology
Developing rapidly of mobile terminal (such as mobile phone, panel computer etc.), allows people can carry out the broadcasting of video whenever and wherever possible.
In prior art, mobile terminal, when skip forward/back displaying video, carries out skip forward/back to video usually in a linear fashion, such as: when sliding screen distance is 1 centimetre, and video fast forward/rewind 1 minute; When sliding screen distance is 2 centimetres, video fast forward/rewind 2 minutes.
But, the screen-sized of mobile terminal in the market differs, during in above-mentioned mode to video fast forward/rewind, if user makes video fast forward/rewind long period, for the mobile terminal that screen size is less, need repeatedly the screen of sliding mobile terminal, for the mobile terminal that screen size is larger, need significantly to increase sliding screen distance, therefore, prior art is when by video fast forward/rewind long period, user is needed to carry out repeatedly slide or longer distance of sliding to screen, it is convenient not to operate, affect the experience effect of user.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of video broadcasting method and device, to improve the experience effect of user.
For achieving the above object, the embodiment of the invention discloses a kind of video broadcasting method, being applied to the mobile terminal with touch screen, comprising:
In the process playing target video, detect and whether have the slide for the touch screen of described mobile terminal to produce;
When having detected that slide produces, sliding distance x and glide direction are determined;
According to described glide direction, determine the redirect direction of the described target video that described slide is corresponding;
Judge whether described sliding distance x is less than default threshold value A, if so, then determine that the redirect time interval is: y=ax, otherwise, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, a is less than b, and C is constant, and C >=(Aa-Ab);
According to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, the moment will play after determining described target video redirect;
The moment will play after determined redirect plays described target video.
Preferably, described C is: Aa-Ab.
Preferably, the determination of described sliding distance x, comprising:
Obtain starting point and the terminal of described slide, by the air line distance between described starting point and described terminal, be defined as described sliding distance x.
Preferably, the determination of described sliding distance x, comprising:
Obtain the sliding trace of described slide, the length of described sliding trace is defined as described sliding distance x.
Preferably, described according to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, in the moment will play after determining described target video redirect, comprising:
When determined redirect direction be video forward redirect, judge that the described target video current broadcasting moment adds whether the redirect time interval determined is greater than the duration of described target video; If not, then current for the described target video broadcasting moment is added the moment that the redirect time interval determined obtains, the moment will play after being defined as described target video redirect; If so, then by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect;
When determined redirect direction be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval determined and whether is less than zero; If not, is then deducted the moment that redirect time interval of determining obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; If so, then by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
For achieving the above object, the embodiment of the invention discloses a kind of video play device, be applied to the mobile terminal with touch screen, comprise: slide detection module, the first determination module, the second determination module, judge module, the 3rd determination module, the 4th determination module and playing module, wherein
Whether described slide detection module, in the process playing target video, detect and have the slide for the touch screen of described mobile terminal to produce;
Described first determination module, for when described slide detection module has detected that slide produces, has determined sliding distance x and glide direction;
Described second determination module, for the glide direction determined according to described first determination module, determines the redirect direction of the described target video that described slide is corresponding;
Described judge module, for judging whether the sliding distance x that described first determination module is determined is less than default threshold value A;
Described 3rd determination module, for when described judge module judged result is for being, determine that the redirect time interval is: y=ax, when described judge module judged result is no, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, and a is less than b, C is constant, and C >=(Aa-Ab);
Described 4th determination module, for the redirect direction that the redirect time interval y that determines according to the current broadcasting of described target video moment, described 3rd determination module and described second determination module determine, the moment will play after determining described target video redirect;
Described playing module, plays target video for the moment will play after the redirect determined from described 4th determination module.
Preferably, described C is: Aa-Ab.
Preferably, described first determination module, comprising: the first sliding distance determination submodule and the first glide direction determination submodule, wherein,
Described first sliding distance determination submodule, for when described slide detection module has detected that slide produces, obtain starting point and the terminal of described slide, by the air line distance between described starting point and described terminal, be defined as described sliding distance x;
Described first glide direction determination submodule, for when described slide detection module has detected that slide produces, has determined glide direction.
Preferably, described first determination module, comprising: the second sliding distance determination submodule and the second glide direction determination submodule, wherein,
Described second sliding distance determination submodule, for when described slide detection module has detected that slide produces, has obtained the sliding trace of described slide, the length of described sliding trace has been defined as described sliding distance x;
Described second glide direction determination submodule, for when described slide detection module has detected that slide produces, has determined glide direction.
Preferably, described 4th determination module, comprising: first judges that submodule, second judges that submodule and redirect moment determine submodule, wherein,
Described first judges submodule, redirect direction for determining at described second determination module be video forward redirect, judge that the described target video current broadcasting moment adds whether redirect time interval that described 3rd determination module is determined is greater than the duration of described target video;
Described second judges submodule, the redirect direction for determining at described second determination module be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval that described 3rd determination module determines and whether is less than zero;
The described redirect moment determines submodule, for when described first judges that submodule judged result is no, current for the described target video broadcasting moment is added the moment that the redirect time interval that described 3rd determination module is determined obtains, the moment will play after being defined as described target video redirect; When described first judges submodule judged result for being, by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect; When described second judges that submodule judged result is no, is deducted the moment that redirect time interval that described 3rd determination module determines obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; When described second judges submodule judged result for being, by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
As seen from the above technical solutions, embodiments provide a kind of video broadcasting method and device, be applied to the mobile terminal with touch screen, in the process playing target video, detect and whether have the slide for the touch screen of described mobile terminal to produce; When having detected that slide produces, sliding distance x and glide direction are determined; According to described glide direction, determine the redirect direction of the described target video that described slide is corresponding; Judge whether described sliding distance x is less than default threshold value A, if so, then determine that the redirect time interval is: y=ax, otherwise, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, a is less than b, and C is constant, and C >=(Aa-Ab); According to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, the moment will play after determining described target video redirect; The moment will play after determined redirect plays described target video.When user makes video fast forward/rewind long period, for the mobile terminal that screen size is less, without the need to the screen of repeatedly sliding mobile terminal, for the mobile terminal that screen size is larger, also without the need to significantly increasing sliding screen distance, namely video fast forward/rewind long period can be realized, easy to operate, improve the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of video broadcasting method that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of video play device that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, embodiments of the invention are preferably applicable to the mobile terminal with touch screen, such as, the mobile terminal of IOS (IOS is the handheld equipment operating system developed by Apple), Android operation system (android system is a kind of based on the freedom of Linux and the operating system of open source code), WindowsPhone operating system (Windows Phone is the Mobile phone operating system that Microsoft issues), certainly be also applicable to other intelligent mobile terminals, the present invention is not construed as limiting this.
Below by specific embodiment, the present invention is described in detail.
The schematic flow sheet of a kind of video broadcasting method that Fig. 1 provides for the embodiment of the present invention, can comprise:
Whether S101: in the process playing target video, detect and have the slide for the touch screen of described mobile terminal to produce;
S102: when having detected that slide produces, determines sliding distance x and glide direction;
Exemplary, suppose that video watched by the current mobile phone that utilizes of user, this video duration is 15 minutes, and user slides the screen of mobile phone, according to the slide of user, determines the sliding distance that slide is corresponding and glide direction.
In actual applications, starting point and the terminal of slide can be obtained, by the air line distance between described starting point and described terminal, be defined as sliding distance.
Exemplary, suppose that the screen size of the mobile phone of the current use of user is 5 inches, resolution is 1920*1080 pixel, and the starting point coordinate P0 of slide is a pixel in mobile phone, the coordinate of this pixel is (X1, Y1), terminal point coordinate P1 is a pixel in mobile phone, and the coordinate of this pixel is (X2, Y2), then by the air line distance between P0 to P1, be defined as sliding distance, glide direction is that P0 points to P1.
Suppose that P0 coordinate is for (500,500), P1 coordinate is (200,900), then according to mobile phone screen size and resolution, calculate sliding distance P0P1=2.88 centimetre.
In actual applications, the sliding trace of described slide can also be obtained, the length of described sliding trace is defined as described sliding distance.
Exemplary, suppose that the screen size of the mobile phone of the current use of user is 5 inches, resolution is 1920*1080 pixel, the starting point coordinate P0 of slide is a pixel in mobile phone, the coordinate of this pixel is (X1, Y1), terminal point coordinate P1 is a pixel in mobile phone, the coordinate of this pixel is (X2, Y2), wherein, P1 is slid into through Pn by P0, sliding into Pn by P0 is linear slide, sliding into P1 by Pn is also linear slide, wherein Pn is a pixel in mobile phone, the coordinate of this pixel is (Xn, Yn), then the sliding distance of slide is P0Pn+PnP1, glide direction is that P0 points to P1.
S103: according to described glide direction, determines the redirect direction of the described target video that described slide is corresponding;
Exemplary, with above-mentioned starting point coordinate P0 (X1, Y1), terminal point coordinate P1 (X2, Y2) is example, if Y2>Y1, then the redirect direction of the described target video that slide is corresponding is video redirect forward, i.e. video fast forward, if Y2<Y1, then the redirect direction of the described target video that slide is corresponding is video redirect backward, i.e. video rewind.
S104: judge whether described sliding distance x is less than default threshold value A, if so, performs S105, if not, performs S106;
S105: determine that the redirect time interval is: y=ax; Wherein, a is original rate of change;
S106: determine that the redirect time interval is: y=bx+C; Wherein, b is for regulating rate of change, and a is less than b, and C is constant, and C >=(Aa-Ab);
Wherein, original rate of change a can, for the rate of change used in prior art, also can, for the rate of change set in the embodiment of the present invention, regulate rate of change b to be the rate of change set in the embodiment of the present invention, and b be greater than a.
In actual applications, constant C is specially: Aa-Ab.When constant C is Aa-Ab, avoiding at sliding distance is continually varying value, and redirect time interval value is the generation of the situation of the value of discontinuous change.
Exemplary, suppose that the threshold value A preset is 5 centimetres, original rate of change a value is 1, and regulating rate of change b value to be 1.8, C is 1*5-1.8*5=-4.
Suppose that the sliding distance determined is 1 centimetre, be less than default threshold value 5 centimetres, then redirect time interval y=1*1=1 minute;
Suppose that the sliding distance determined is 10 centimetres, equal default threshold value 5 centimetres, then redirect time interval y=1.8*10-4=14 minute.
Suppose, rate of change of the prior art is 1, when namely sliding screen distance is 1 centimetre, and video redirect 1 minute; When sliding screen distance is 2 centimetres, video redirect 2 minutes; Suppose that user is for by video redirect 14 minutes, for the mobile terminal that screen size is less, need repeatedly the screen of sliding mobile terminal, for the mobile terminal that screen size is larger, then need slip screen 14 centimetres, and for the example that the embodiment of the present invention uses, only need slip screen 10 centimetres, reduce the distance of slip screen, easy to operate, improve the experience effect of user.
S107: according to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, the moment will play after determining described target video redirect;
In actual applications, can when determined redirect direction be video forward redirect, judge that the described target video current broadcasting moment adds whether the redirect time interval determined is greater than the duration of described target video; If not, then current for the described target video broadcasting moment is added the moment that the redirect time interval determined obtains, the moment will play after being defined as described target video redirect; If so, then by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect;
When determined redirect direction be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval determined and whether is less than zero; If not, is then deducted the moment that redirect time interval of determining obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; If so, then by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
Exemplary, be example with above-mentioned starting point coordinate P0 (X1, Y1), terminal point coordinate P1 (X2, Y2),
If Y2>Y1, then the redirect direction of the described target video that slide is corresponding is video redirect forward, i.e. video fast forward.
The hypothetical target video current broadcasting moment be 1 point 10 seconds, the redirect time interval determined is 1 minute, 1 point 10 seconds+1 minute=2 points durations being less than video for 10 seconds 15 minutes, then by 10 seconds moment 2 points, the moment will play after being defined as target video redirect;
The hypothetical target video current broadcasting moment be 1 point 10 seconds, the redirect time interval determined is 14 minutes, 1 point 10 seconds+14 minutes=15 points durations being greater than video for 10 seconds 15 minutes, then by the broadcasting terminal of target video, the moment will play after being defined as described target video redirect, namely now by the broadcasting terminal of video fast forward to video;
If Y2<Y1, then the redirect direction of the described target video that slide is corresponding is video redirect backward, i.e. video rewind.
The hypothetical target video current broadcasting moment be 1 point 10 seconds, the redirect time interval determined is 1 minute, 1 point 10 seconds-1 minute=0 point duration being less than video for 10 seconds 15 minutes, then by 10 seconds moment 0 point, the moment will play after being defined as target video redirect;
The hypothetical target video current broadcasting moment be 1 point 10 seconds, the redirect time interval determined is 14 minutes, 1 point 10 seconds-14 minutes=-12 points are less than zero in 50 seconds, then by the broadcasting starting point of target video, in the moment will play after being defined as described target video redirect, namely now video is fallen back on soon the broadcasting starting point of video.
S108: the moment will play after determined redirect plays described target video.
Exemplary, the moment will play after supposing the target video redirect determined be 2 points 10 seconds, then from 2 points of 10 seconds displaying videos;
The moment will play after supposing the target video redirect determined is the broadcasting terminal of video, then from the broadcasting terminal displaying video of video;
The moment will play after supposing the target video redirect determined is the broadcasting starting point of video, then from the broadcasting starting point displaying video of video.
It should be noted that, above-mentionedly utilize mobile phone to watch video with user, this video duration is 15 minutes, and the slide screen of mobile phone of user is that example is described, and is only an instantiation of the embodiment of the present invention, does not form restriction to the present invention.
The present invention is embodiment illustrated in fig. 1 in application, when user makes video fast forward/rewind long period, for the mobile terminal that screen size is less, without the need to the screen of repeatedly sliding mobile terminal, for the mobile terminal that screen size is larger, also without the need to significantly increasing sliding screen distance, namely can realize video fast forward/rewind long period, easy to operate, improve the experience effect of user.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention additionally provides a kind of video play device.
The structural representation of a kind of video play device that Fig. 2 provides for the embodiment of the present invention, can comprise: slide detection module 201, first determination module 202, second determination module 203, judge module 204, the 3rd determination module 205, the 4th determination module 206 and playing module 207, wherein
Whether slide detection module 201, in the process playing target video, detect and have the slide for the touch screen of described mobile terminal to produce;
First determination module 202, for when slide detection module 201 has detected that slide produces, has determined sliding distance x and glide direction;
The first determination module 202 in the embodiment of the present invention, can comprise: the first sliding distance determination submodule and the first glide direction determination submodule (not shown), wherein,
First sliding distance determination submodule, for when slide detection module 201 has detected that slide produces, obtain starting point and the terminal of described slide, by the air line distance between described starting point and described terminal, be defined as described sliding distance x;
First glide direction determination submodule, for when slide detection module 201 has detected that slide produces, has determined glide direction.
The first determination module 202 in the embodiment of the present invention, can comprise: the second sliding distance determination submodule and the second glide direction determination submodule (not shown), wherein,
Second sliding distance determination submodule, for when slide detection module 201 has detected that slide produces, has obtained the sliding trace of described slide, and the length of described sliding trace is defined as described sliding distance x;
Described second glide direction determination submodule, for when slide detection module 201 has detected that slide produces, has determined glide direction.
Second determination module 203, for the glide direction determined according to the first determination module 202, determines the redirect direction of the described target video that described slide is corresponding;
Judge module 204, for judging whether the sliding distance x that the first determination module 202 is determined is less than default threshold value A;
3rd determination module 205, for when judge module 204 judged result is for being, determine that the redirect time interval is: y=ax, when judge module 204 judged result is no, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, and a is less than b, C is constant, and C >=(Aa-Ab);
Constant C in the embodiment of the present invention, is specially: Aa-Ab.
4th determination module 206, for the redirect direction that the redirect time interval y that determines according to the current broadcasting of described target video moment, the 3rd determination module 205 and the second determination module 203 determine, the moment will play after determining described target video redirect;
The 4th determination module 206 in the embodiment of the present invention, can comprise: first judges that submodule, second judges that submodule and redirect moment determine submodule (not shown), wherein,
First judges submodule, redirect direction for determining at the second determination module 203 be video forward redirect, judge that the described target video current broadcasting moment adds whether redirect time interval that the 3rd determination module 205 is determined is greater than the duration of described target video;
Second judges submodule, the redirect direction for determining at the second determination module 203 be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval that the 3rd determination module 205 determines and whether is less than zero;
The redirect moment determines submodule, for when first judges that submodule judged result is no, current for the described target video broadcasting moment is added the moment that the redirect time interval that the 3rd determination module 205 is determined obtains, the moment will play after being defined as described target video redirect; When first judges submodule judged result for being, by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect; When second judges that submodule judged result is no, is deducted the moment that redirect time interval that the 3rd determination module 205 determines obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; When second judges submodule judged result for being, by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
Playing module 207, plays target video for the moment will play after the redirect determined from the 4th determination module 206.
The present invention is embodiment illustrated in fig. 2 in application, when user makes video fast forward/rewind long period, for the mobile terminal that screen size is less, without the need to the screen of repeatedly sliding mobile terminal, for the mobile terminal that screen size is larger, also without the need to significantly increasing sliding screen distance, namely can realize video fast forward/rewind long period, easy to operate, improve the experience effect of user.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method execution mode is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a video broadcasting method, is applied to the mobile terminal with touch screen, it is characterized in that, comprising:
In the process playing target video, detect and whether have the slide for the touch screen of described mobile terminal to produce;
When having detected that slide produces, sliding distance x and glide direction are determined;
According to described glide direction, determine the redirect direction of the described target video that described slide is corresponding;
Judge whether described sliding distance x is less than default threshold value A, if so, then determine that the redirect time interval is: y=ax, otherwise, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, a is less than b, and C is constant, and C >=(Aa-Ab);
According to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, the moment will play after determining described target video redirect;
The moment will play after determined redirect plays described target video.
2. method according to claim 1, is characterized in that, described C is: Aa-Ab.
3. method according to claim 1, is characterized in that, the determination of described sliding distance x, comprising:
Obtain starting point and the terminal of described slide, by the air line distance between described starting point and described terminal, be defined as described sliding distance x.
4. method according to claim 1, is characterized in that, the determination of described sliding distance x, comprising:
Obtain the sliding trace of described slide, the length of described sliding trace is defined as described sliding distance x.
5. the method according to Claims 1-4 any one, it is characterized in that, described according to described target video current broadcasting moment, determined redirect time interval y and determined redirect direction, in the moment will play after determining described target video redirect, comprising:
When determined redirect direction be video forward redirect, judge that the described target video current broadcasting moment adds whether the redirect time interval determined is greater than the duration of described target video; If not, then current for the described target video broadcasting moment is added the moment that the redirect time interval determined obtains, the moment will play after being defined as described target video redirect; If so, then by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect;
When determined redirect direction be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval determined and whether is less than zero; If not, is then deducted the moment that redirect time interval of determining obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; If so, then by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
6. a video play device, be applied to the mobile terminal with touch screen, it is characterized in that, comprising: slide detection module, the first determination module, the second determination module, judge module, the 3rd determination module, the 4th determination module and playing module, wherein
Whether described slide detection module, in the process playing target video, detect and have the slide for the touch screen of described mobile terminal to produce;
Described first determination module, for when described slide detection module has detected that slide produces, has determined sliding distance x and glide direction;
Described second determination module, for the glide direction determined according to described first determination module, determines the redirect direction of the described target video that described slide is corresponding;
Described judge module, for judging whether the sliding distance x that described first determination module is determined is less than default threshold value A;
Described 3rd determination module, for when described judge module judged result is for being, determine that the redirect time interval is: y=ax, when described judge module judged result is no, determine that the redirect time interval is: y=bx+C, wherein, a is original rate of change, and b is for regulating rate of change, and a is less than b, C is constant, and C >=(Aa-Ab);
Described 4th determination module, for the redirect direction that the redirect time interval y that determines according to the current broadcasting of described target video moment, described 3rd determination module and described second determination module determine, the moment will play after determining described target video redirect;
Described playing module, plays target video for the moment will play after the redirect determined from described 4th determination module.
7. device according to claim 6, is characterized in that, described C is: Aa-Ab.
8. device according to claim 6, is characterized in that, described first determination module, comprising: the first sliding distance determination submodule and the first glide direction determination submodule, wherein,
Described first sliding distance determination submodule, for when described slide detection module has detected that slide produces, obtain starting point and the terminal of described slide, by the air line distance between described starting point and described terminal, be defined as described sliding distance x;
Described first glide direction determination submodule, for when described slide detection module has detected that slide produces, has determined glide direction.
9. device according to claim 6, is characterized in that, described first determination module, comprising: the second sliding distance determination submodule and the second glide direction determination submodule, wherein,
Described second sliding distance determination submodule, for when described slide detection module has detected that slide produces, has obtained the sliding trace of described slide, the length of described sliding trace has been defined as described sliding distance x;
Described second glide direction determination submodule, for when described slide detection module has detected that slide produces, has determined glide direction.
10. the device according to claim 6 to 9 any one, is characterized in that, described 4th determination module, comprising: first judges that submodule, second judges that submodule and redirect moment determine submodule, wherein,
Described first judges submodule, redirect direction for determining at described second determination module be video forward redirect, judge that the described target video current broadcasting moment adds whether redirect time interval that described 3rd determination module is determined is greater than the duration of described target video;
Described second judges submodule, the redirect direction for determining at described second determination module be video backward redirect, judge that the described target video current broadcasting moment deducts the redirect time interval that described 3rd determination module determines and whether is less than zero;
The described redirect moment determines submodule, for when described first judges that submodule judged result is no, current for the described target video broadcasting moment is added the moment that the redirect time interval that described 3rd determination module is determined obtains, the moment will play after being defined as described target video redirect; When described first judges submodule judged result for being, by the broadcasting terminal of described target video, the moment will play after being defined as described target video redirect; When described second judges that submodule judged result is no, is deducted the moment that redirect time interval that described 3rd determination module determines obtains current for the described target video broadcasting moment, the moment will play after being defined as described target video redirect; When described second judges submodule judged result for being, by the broadcasting starting point of described target video, the moment will play after being defined as described target video redirect.
CN201410795736.2A 2014-12-18 2014-12-18 A kind of video broadcasting method and device Active CN104469519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410795736.2A CN104469519B (en) 2014-12-18 2014-12-18 A kind of video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410795736.2A CN104469519B (en) 2014-12-18 2014-12-18 A kind of video broadcasting method and device

Publications (2)

Publication Number Publication Date
CN104469519A true CN104469519A (en) 2015-03-25
CN104469519B CN104469519B (en) 2017-12-29

Family

ID=52914768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410795736.2A Active CN104469519B (en) 2014-12-18 2014-12-18 A kind of video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN104469519B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245961A (en) * 2015-09-29 2016-01-13 武汉传神信息技术有限公司 Video playing method and device for touch screen
CN105760062A (en) * 2016-02-18 2016-07-13 网易(杭州)网络有限公司 Method and device for presenting test questions
CN106095300A (en) * 2016-05-27 2016-11-09 北京小米移动软件有限公司 Playing progress rate method of adjustment and device
WO2016201703A1 (en) * 2015-06-19 2016-12-22 华为技术有限公司 Information presentation method, apparatus and device
CN106681603A (en) * 2016-11-29 2017-05-17 维沃移动通信有限公司 Method for adjusting video playing progress and mobile terminal
CN109121008A (en) * 2018-08-03 2019-01-01 腾讯科技(深圳)有限公司 A kind of video previewing method, device, terminal and storage medium
CN114666666A (en) * 2020-12-23 2022-06-24 北京字节跳动网络技术有限公司 Video skip playing method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226960A (en) * 2013-03-21 2013-07-31 北京小米科技有限责任公司 Method and device for controlling play of multimedia data
CN103279352A (en) * 2013-05-31 2013-09-04 北京小米科技有限责任公司 Multistage progress bar, progress control method and progress control device
EP2687969A2 (en) * 2012-07-16 2014-01-22 Samsung Electronics Co., Ltd Electronic apparatus and control method of the same
CN103558969A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method and device for adjusting play

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2687969A2 (en) * 2012-07-16 2014-01-22 Samsung Electronics Co., Ltd Electronic apparatus and control method of the same
CN103226960A (en) * 2013-03-21 2013-07-31 北京小米科技有限责任公司 Method and device for controlling play of multimedia data
CN103279352A (en) * 2013-05-31 2013-09-04 北京小米科技有限责任公司 Multistage progress bar, progress control method and progress control device
CN103558969A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method and device for adjusting play

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106489127B (en) * 2015-06-19 2020-03-31 华为技术有限公司 Information presentation method, device and equipment
CN106489127A (en) * 2015-06-19 2017-03-08 华为技术有限公司 The rendering method of information, device and equipment
WO2016201703A1 (en) * 2015-06-19 2016-12-22 华为技术有限公司 Information presentation method, apparatus and device
CN105245961A (en) * 2015-09-29 2016-01-13 武汉传神信息技术有限公司 Video playing method and device for touch screen
CN105760062B (en) * 2016-02-18 2019-01-22 网易(杭州)网络有限公司 A kind of method and apparatus that examination question is presented
CN105760062A (en) * 2016-02-18 2016-07-13 网易(杭州)网络有限公司 Method and device for presenting test questions
CN106095300B (en) * 2016-05-27 2020-10-16 北京小米移动软件有限公司 Method and device for adjusting playing progress
CN106095300A (en) * 2016-05-27 2016-11-09 北京小米移动软件有限公司 Playing progress rate method of adjustment and device
CN106681603A (en) * 2016-11-29 2017-05-17 维沃移动通信有限公司 Method for adjusting video playing progress and mobile terminal
CN106681603B (en) * 2016-11-29 2018-06-26 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting video playing progress
CN109121008A (en) * 2018-08-03 2019-01-01 腾讯科技(深圳)有限公司 A kind of video previewing method, device, terminal and storage medium
CN114666666A (en) * 2020-12-23 2022-06-24 北京字节跳动网络技术有限公司 Video skip playing method and device, terminal equipment and storage medium
WO2022134997A1 (en) * 2020-12-23 2022-06-30 北京字节跳动网络技术有限公司 Video jump playback method and apparatus, terminal device, and storage medium
CN114666666B (en) * 2020-12-23 2023-05-30 北京字节跳动网络技术有限公司 Video skip playing method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN104469519B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN104469519A (en) Video playing method and device
US9154761B2 (en) Content-based video segmentation
CN102799358A (en) Method and device for determining display position of cursor
EP2629545A1 (en) Apparatus and method for changing attribute of subtitle in image display device
RU2010153313A (en) CUSTOMIZED USER INTERFACE
CN105573522A (en) Operation method of mobile terminal and mobile terminal
CN103544973A (en) Method and device for song control of music player
CN108124198B (en) Control method of media file playing progress, terminal and computer readable storage medium
CN104602126A (en) Information processing method and electronic device
CN104902335A (en) Method and device for controlling playback progress of multi-media file
CN104298459A (en) Navigating within a media item
CN102522097A (en) Method for accurately controlling progress of player on touch type equipment and player
CN105824422A (en) Information processing method and electronic equipment
CN109688420A (en) Method for showing interface, equipment and storage medium is broadcast live
CN104954875A (en) Method and device for controlling video playing progress
CN103500122B (en) A kind of method for broadcasting multimedia file and electronic equipment
CN104093090A (en) Video processing method and device
CN104407698A (en) Projecting method and electronic equipment
CN105245961A (en) Video playing method and device for touch screen
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal
US20170264962A1 (en) Method, system and computer program product
KR102461584B1 (en) Input processing method and device
CN104020854A (en) Information processing method and device
CN103366783A (en) Method, device and equipment for adjusting video information play time points
CN104020933A (en) Menu displaying method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210128

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: 100176 room 408-27, building 8, No.1, Disheng North Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing (centralized office area)

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20150325

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: A video playing method and device

Granted publication date: 20171229

License type: Common License

Record date: 20210531