Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Therefore,
The detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below
Enclose, but be merely representative of selected embodiment of the invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment made and being obtained under the premise of creative work, belong to the scope of protection of the invention.
As shown in figure 1, being the schematic diagram that unmanned plane provided in an embodiment of the present invention 200 is interacted with mobile terminal 1 00.
The unmanned plane 200 is communicatively coupled by network with mobile terminal 1 00, to enter row data communication or interaction.Described nothing
Man-machine to include unmanned plane body, flight controller and image collecting device, flight controller controls flying for unmanned plane body
Row operation, image device is used to perform IMAQ operation of the unmanned plane in flight course.The mobile terminal 1 00 can be
PC(Personal computer, PC), panel computer, smart mobile phone, personal digital assistant(personal
Digital assistant, PDA)Deng.
As shown in Fig. 2 being the block diagram of the mobile terminal 1 00.The mobile terminal 1 00 includes video playback control
Device processed 101, memory 102, storage control 103, processor 104, Peripheral Interface 105, input-output unit 106, touch-control
Display 107.
The memory 102, storage control 103, processor 104, Peripheral Interface 105, input-output unit 106, touch
The control each element of display 107 is directly or indirectly electrically connected with each other, to realize the transmission or interaction of data.For example, this
A little elements can be realized being electrically connected with by one or more communication bus or holding wire each other.The video playback control dress
Putting 101 can be with software or firmware including at least one(firmware)Form be stored in the memory 102.The treatment
Device 104 is used to perform the executable module stored in memory 102, such as the software work(that described video playback control device includes
Can module or computer program.
Wherein, memory 102 may be, but not limited to, random access memory(Random Access Memory,
RAM), read-only storage(Read Only Memory, ROM), programmable read only memory(Programmable Read-Only
Memory, PROM), erasable read-only memory(Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM)(Electric Erasable Programmable Read-Only Memory, EEPROM)Deng.
Wherein, memory 102 is used for storage program, and the processor 104 performs described program, subsequently after execute instruction is received
Method performed by the mobile terminal 1 00 of the flow definition that embodiment of the present invention any embodiment is disclosed can apply to processor
In 104, or realized by processor 104.
Processor 104 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 104 can
Being general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC),
It is ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hard
Part component.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor
Can be microprocessor or the processor can also be any conventional processor etc..
Various input-output units 106 are coupled to processor 104 and memory 102 by the Peripheral Interface 105.One
In a little embodiments, Peripheral Interface, processor and storage control can be realized in one single chip.In some other example
In, they can be realized by independent chip respectively.
Input-output unit 106 is used to be supplied to user input data to realize interacting for user and the unmanned plane.It is described
Input-output unit be may be, but not limited to, touch-screen, mouse and keyboard etc., and correspondence is exported for the operation in response to user
Signal.
Touch control display 107 provides an interactive interface between the unmanned plane and user(Such as user interface)
Or referred to user for display image data.In the present embodiment, the touch control display, it can be support single-point and multiple spot
Capacitance type touch control screen or resistance type touch control screen of touch control operation etc..Support that single-point and multi-point touch operation refer to touch control display energy
Sense the touch control operation produced simultaneously from one or more positions on the touch control display, and the touch-control that this is sensed
Operation transfers to processor to be calculated and processed.
On the basis of above-described embodiment, the mobile terminal 1 00 also includes the spatial attitude for gathering mobile terminal
The gyroscope or attitude transducer of data.The gyroscope, refers to be used to relatively with the moment of momentum sensitivity housing of high-speed rotator
Angular movement detection means of the property space around one or two axle for being orthogonal to the axis of rotation.The attitude transducer, refers to be based on
The high performance three-dimensional motion attitude measuring system of MEMS technology, including three-axis gyroscope, three axis accelerometer, three axle electronic compass
Deng motion sensor, obtained by data such as the 3 d poses and orientation of temperature-compensating by the low-power consumption arm processor for embedding.
Using three-dimensional algorithm and special data integration technology based on quaternary number, the drift represented with quaternary number, Eulerian angles is exported in real time
Move 3 d pose bearing data.User couple can be obtained by the gyroscope or attitude transducer that are set in the mobile terminal
The operating attitude of mobile terminal, such as left-handed, dextrorotation, rotational steps etc., so it is corresponding with play mode by operating attitude
The video play mode that Relation acquisition user needs.
Refer to Fig. 3, be first embodiment of the invention provide video playing control method the step of flow chart, it is described to regard
Frequency control method for playing back is applied to the mobile terminal 1 00 shown in Fig. 2.The idiographic flow shown in Fig. 3 will in detail be explained below
State.
Step S301, obtains operating attitude of the user to the mobile terminal.
The mobile terminal internal memory contains video file, and the video file can include video pictures frame, video pictures
Storage order, video shooting mode of frame etc..Video generally comprises multiple picture frames, and multiple continuous picture frame changes per second are super
When crossing certain amount, according to persistence of vision principle, human eye cannot distinguish the tableaux of single width, show smooth continuous vision
Effect, as video.By the multiple picture frames in shooting process according to default playing sequence continuous transformation, as video is broadcast
Put.The time sequencing of the picture frame collection of the default playing sequence of institute's foundation during video playback, generally video.
In one embodiment, the video can be preferably around video, be image collecting device with clockwise
Or order counterclockwise, carry out surrounding the gathered video of shooting around the scene for needing to shoot.Preferably, described surrounding regards
Frequency can for the unmanned plane that is connected with the mobile terminal that the present embodiment is provided around photographed scene surround shooting when it is acquired
Video.The difference of the shooting direction of image in video is shot according to unmanned plane, the screening-mode of video is different, then regarded described in control
The order of the picture frame storage of frequency or the order of broadcasting are also different.If the unmanned plane edge shoots in the video clockwise
, then be set to the screening-mode of the video just around shooting by image.If the unmanned plane edge shoots the video counterclockwise
In image, then the screening-mode of the video is set to negative around shooting.
After obtaining the screening-mode of video, the screening-mode according to video sets the storage order of video pictures frame.If
The screening-mode of the video shoots just to surround, and when video pictures frame is stored, the picture frame of the video is adopted
The order that time series during collection is stored as the video pictures frame, is set to First ray.Correspondingly, if the video
Screening-mode around shooting, then when video pictures frame is stored, obtains the time sequence of the picture frame collection of video for negative
Row, and obtain the reverse sequence of the time series, using the reverse sequence of the time series as the First ray, according to
The First ray stores the picture frame of the video.The video that different screening-modes are gathered can be pressed through the above way
Stored according to predetermined direction, be easy to the storage and broadcasting of subsequent video picture frame.If user is not to the mobile terminal
Apply the operating attitude of user's switch modes, then the picture frame of the video can be played out according to the First ray
Or rest on photo current frame.
The hand-held mobile terminal of user, play mode as needed applies corresponding operation to the mobile terminal
Attitude.The operating attitude can include:The conversion of spatial attitude that the body of mobile terminal described in user's control is carried out or
User acts on the touch control operation of the touch control display of the mobile terminal.If the operating attitude is to be moved described in user's control
The spatial attitude conversion that the body of dynamic terminal is carried out, then can be passed by the gyroscope in the mobile terminal or the attitude
Sensor gathers the operating attitude.If operating attitude touch control display of the mobile terminal for user acts on is tactile
Control operation, can gather the operating attitude by the touch control display of the mobile terminal.The response attitude of the mobile terminal
The operating attitude that collecting unit will be gathered is converted into attitude data and exports to processor, is carried out subsequently by the processor
Reason.
Step S302, the First ray according to the operating attitude and for characterizing video pictures frame storage order is obtained
The second sequence for characterizing the video pictures frame playing sequence.
After the operating attitude of acquisition for mobile terminal user, obtain the corresponding target of the operating attitude according to preset rules and broadcast
Mode playback, obtains the second sequence that the video pictures frame under the play mode is played.The mobile terminal is acted on according to user
Operating attitude, export the corresponding operating attitude data of the operating attitude.The operating attitude data can include:Operation appearance
The real-time speed of the implementing direction of state, the implementation amplitude of operating attitude or the operating attitude.
In one embodiment, the operating attitude carries out left rotation and right rotation for the hand-held mobile terminal of user, then institute
The operating attitude data that need to be obtained include:The direction of user's hand-held mobile terminal rotation be to the left or to the right, the angle of rotation
And the speed of rotation.The implementing direction of the operating attitude to the left, can indicate to read the operation of picture frame forward, that is, represent
Video switches fast-forward play pattern.The implementing direction of the operating attitude to the right, can correspond to the operation for reading picture frame backward,
Represent video switching " fall back " mode".The implementation amplitude of the operating attitude, can indicate to read picture frame forward or backward
Quantity, represent video fast forward or retreat play mode level of enforcement.The implementation speed of the operating attitude, indicates forward
Or the speed of picture frame is read backward.
Step S303, the video playback according to second sequence control.
After obtaining second sequence according to above-mentioned steps, the picture frame of the video is controlled according to shown in the second sequence
The playing sequence of picture frame is played out.
The video playing control method that the embodiments of the present invention are provided, it is right when user needs control video play mode
The mobile terminal for playing video applies corresponding operating attitude.Mobile terminal after operating attitude is detected, according to the behaviour of user
Gesturing needs the target play mode of switching with default Schema control Rule user.According to the target switch mode
The second sequence is generated with First ray, and the video pictures frame is played according to second sequence.Having reached need not be to institute
The video pictures frame of collection carries out panoramic mosaic, the operating attitude Switch Video of storage order and user according to video pictures frame
The play mode of picture frame, reduces pattern distortion, and the effect that convenient control play mode switches.
On the basis of above-described embodiment, the conversion of the spatial attitude of mobile terminal described in the user's control can be corresponded to
The position angle of the mobile terminal output.The sub-step of step S302 is described in detail below in conjunction with Fig. 4.
Step S401, the gyroscope for obtaining the mobile terminal is entered based on the body of mobile terminal described in the user's control
The pose adjustment data of capable spatial attitude conversion output.
When the body of mobile terminal described in user's control carries out spatial attitude conversion, the gyroscope Real-time Collection is simultaneously exported
The corresponding pose adjustment data of the spatial attitude conversion.Wherein, the pose adjustment data can include:Pose adjustment side
To, pose adjustment amplitude and pose adjustment speed.In one embodiment, the mobile terminal at a time faces user
When, it is positive direction to set relative current position to the direction of anticlockwise, and dextrorotary direction is negative direction.User is hand-held described
Mobile terminal relative current position, during with the speed of 5 °/s to 15 ° of anticlockwise, the pose adjustment data of gyroscope output are:Appearance
State adjustment direction is forward direction, and pose adjustment amplitude is 15 °, and pose adjustment speed is 5 °/s.
Step S402, according to the pose adjustment data and default first Rule target adjustment pattern.
The mobile terminal internal memory contains the corresponding relation of pose adjustment data and the target adjustment pattern of user's request, its
In, the target adjustment pattern is the play mode that user wishes to switch by operating attitude.The mobile terminal memory storage
First rule of with good grounds pose adjustment data acquisition target play mode, first rule can include:Direction sub-rule,
Amplitude sub-rule and speed sub-rule.The direction sub-rule can be:If the pose adjustment direction of the gyroscope output
It is forward direction, then target switch mode is F.F., as playing pictures frame forward;If the pose adjustment direction is negative sense,
Target switch mode to retreat, as playing pictures frame backward.
The amplitude sub-rule can be:If the pose adjustment amplitude of the gyroscope output is 5 °, 2 figures are moved
Piece frame;If the pose adjustment amplitude is 10 °, 4 picture frames are moved;If the pose adjustment amplitude is 5 °, move
Move 6 picture frames.By that analogy, until moving to first frame or last frame of whole picture frames of the video.It is above-mentioned
Implementation method is only intended to characterize pose adjustment amplitude and mobile picture number of frames there may be positive correlation, not to specific implementation
Process and data are limited.Multiple amplitude ranges can also be set, each amplitude range one quantity of mobile picture frame of correspondence
Parameter.After obtaining pose adjustment amplitude, the amplitude range and its corresponding number parameter belonging to the pose adjustment amplitude are searched, should
The number parameter of mobile picture frame is the corresponding mobile picture number of frames of the pose adjustment amplitude.In other embodiments,
Static threshold can also be set, when the pose adjustment amplitude of as described gyroscope collection is smaller, will be less than the static threshold
Operating attitude ignore, currently playing video pictures frame is not switched.
The speed sub-rule can be:If the pose adjustment speed of gyroscope output is 5 °/s, with 25 milliseconds/frame
Speed switch the picture frame;If pose adjustment speed is 10 °/s, the picture is switched with the speed of 15 milliseconds/frame
Frame etc., until being switched to Target Photo frame or edge picture frame.Above-mentioned data are only intended to characterize pose adjustment speed with figure
The relativeness of piece frame switch speed, does not limit specific implementation process and data.
Step S403, according to currently playing picture frame, the First ray and the target adjustment pattern, generation is described
Second sequence.
After the target adjustment pattern being obtained according to above-mentioned steps, the second sequence that generation video pictures frame is played.Obtain
The quantity and order of the adjustment picture frame included in target adjustment pattern, with reference to currently playing picture frame, described first
The Target Photo frame from after the picture frame of quantity described in photo current framing control is searched in sequence, and the photo current frame is arrived
The sequence number and order of the process picture frame that the Target Photo frame is experienced.Sequence number, the mistake according to the photo current frame
The second sequence described in the serial number gencration of the sequence number of journey picture frame and the Target Photo frame during target adjustment mode playback.At it
In its mode, second sequence can also be including other picture frames in the First ray in addition to above-mentioned picture frame.
For example, the First ray is 1 to 100, the serial number of photo current frame 50.The corresponding tune of pose adjustment amplitude
The quantity of whole picture frame is 20, and the direction of the corresponding adjustment picture frame in pose adjustment direction is positive direction.Can then obtain first
The serial number 50-20=30 of Target Photo frame, as Target Photo frame are No. 30.Process can be obtained according to the First ray
Picture frame is:49th, 48,47,, 32 and 31, then the second sequence that can obtain the broadcasting of video pictures frame is:50、49、48、
47th,, 32,31 and 30.
In view of the operating attitude and the corresponding relation of video pictures frame of user's request, same posture correspondence can also be set
The corresponding play mode of same frame of video.Fig. 5 is referred to, for the shifting being applied to shown in Fig. 2 that second embodiment of the invention is provided
The step of moving the video playing control method of terminal flow chart.
Step S501, the attitude transducer for obtaining the mobile terminal is based on the sheet of mobile terminal described in the user's control
The angle adjustment data of spatial attitude that body is carried out conversion output, wherein, the angle adjustment data include current location angle,
Angle adjustment direction and angle adjustment speed.
When the body of mobile terminal described in user's control carries out spatial attitude conversion, the attitude transducer of the mobile terminal
Real-time Collection simultaneously exports the corresponding pose adjustment data of the spatial attitude conversion.Wherein, the pose adjustment data can be with
Including:Pose adjustment direction, pose adjustment angle and pose adjustment speed.In one embodiment, in the mobile terminal
Interior selection datum line, the datum line is parallel with the plumb line in space coordinates in original state, in video playback control
When, being converted with the spatial attitude of the mobile terminal, the datum line rotates along the plumb line, the attitude transducer output
The current location angle of pose adjustment.
The mobile terminal memory storage has First ray pass corresponding with whole position angles of the mobile terminal
System, each position angle or position angle scope one picture frame of correspondence.
Step S502, each position angle according to the First ray and whole position angles of the mobile terminal
Corresponding relation, and default Second Rule, obtain target adjustment pattern.Wherein, the target adjustment pattern include with it is described
The corresponding Target Photo frame of current location angle it is corresponding with the angle adjustment direction adjustment picture frame order and with it is described
The speed of the corresponding adjustment picture frame of angle adjustment speed.
After obtaining the position angle after adjustment attitude, according to the First ray and the corresponding relation of the position angle,
Obtain the corresponding Target Photo frame of the position angle after the pose adjustment.Obtained according to the Second Rule and operating attitude and regarded
The second sequence that frequency picture frame is played.The Second Rule can be:Mobile video figure is obtained according to the pose adjustment angle
The quantity of piece frame, the direction of mobile video picture frame is obtained according to the pose adjustment direction, according to the pose adjustment speed
Obtain the speed of mobile video picture frame.
Step S503, according to currently playing picture frame, the First ray and the target adjustment pattern, generation is described
Second sequence.
After obtaining target adjustment pattern according to above-mentioned steps, the second sequence that the video pictures frame is played is generated.According to
The sequence number and order of the order acquisition process picture frame of the currently playing picture frame, Target Photo frame and adjustment picture frame.
According to the currently playing picture frame, the process picture frame and the order of Target Photo frame arranged along the adjustment direction are set
Second sequence, and the speed with the corresponding mobile picture frame of regulating the speed is added in second sequence.Control
The video pictures frame is played according to second sequence.Each picture frame is corresponded to a position angle of mobile terminal,
User can be facilitated by identical attitude angle observation identical video pictures frame, corresponding picture frame is controlled according to the anglec of rotation
It has been shown that, dramatically improves user experience.
On the basis of above-described embodiment, can also by user act on the mobile terminal outlet display touch
Control operation, controls video playback.Control the playing process of video as follows by touch control operation:
Obtain the user and act on touch data corresponding to the touch control operation of the touch control display, wherein, the touch-control
Data include bearing of trend, the extension amplitude of touch trajectory and the extension speed of touch trajectory of touch trajectory;
Target adjustment pattern is obtained according to the touch data and default Second Rule, wherein, the target adjustment pattern bag
The order for including adjustment picture frame corresponding with the bearing of trend of the touch trajectory is corresponding with the extension amplitude of the touch trajectory
Adjustment picture frame quantity and it is corresponding with the extension speed of the touch trajectory adjustment picture frame speed;
According to currently playing picture frame, the First ray and the second sequence described in the target adjustment schema creation.
Touch control operation output touch data according to user, obtains target and adjusts according to touch data and default three sigma rule
Integral pattern.Specifically, the bearing of trend according to touch trajectory obtains the order of adjustment picture frame, the extension width according to touch trajectory
Degree obtains the quantity of adjustment picture frame, and the extension speed according to touch trajectory obtains adjustment picture frame speed.According to photo current
Frame, target adjustment pattern and First ray generate the second sequence, control the video pictures frame to be played according to second sequence.
The video playing control method that the present embodiment is provided can be found in above-described embodiment, repeat no more.
In view of the limited memory of mobile terminal, may not allow completely to decode video and be stored in the mobile terminal
On, therefore set up the video playing control method played in decoding.Fig. 6 is referred to, is that third embodiment of the invention is provided
The step of video playing control method flow chart.Specific explanations are carried out to the sub-step of step S303 below in conjunction with Fig. 6.
Step S601, the currently playing picture frame according to currently playing picture frame and second retrieval
Preamble picture frame before sequence and the postorder picture frame after the sequence of the currently playing picture frame.
Prepared storage region is provided with the mobile terminal, the prepared storage region three portions can be divided into
Point:Preamble storage region, currently stored region and postorder storage region.The prepared storage region is used to store the video figure
The part picture frame that piece frame is played, it is preferable that the part picture frame for being stored is currently playing picture frame and its storage order
Or the picture frame abutted before and after playing sequence.After the second sequence that acquisition video pictures frame is played, according to currently playing
The sequence of picture frame, the preamble picture frame before the sequence of the currently playing picture frame of acquisition, and currently playing picture frame
Postorder picture frame afterwards.The preamble picture frame can be the former frame picture of photo current frame, or photo current
A number of picture frame before frame.The basis for selecting of the postorder picture frame is with preamble picture frame.
Step S602, the currently playing picture frame is stored in the currently stored region, by the preamble picture
The postorder picture frame is stored sequence storage region in the rear by frame storage in the preamble storage region.
After obtaining the current video frame, the preamble picture frame and the postorder picture frame, according to default storage rule
Then by the preamble picture frame, the currently playing picture frame and the postorder picture frame storage to the prepared memory block
Domain.Preferably, the currently playing picture frame storage is existed preamble picture frame storage in the currently stored region
The preamble storage region, sequence storage region in the rear is stored by the postorder picture frame.
Step S603, the picture frame for controlling the prepared storage region memory storage according to the operating attitude is played.
After currently playing video pictures frame and its neighbouring picture frame are stored in into the prepared storage region, institute is controlled
Picture frame broadcasting is stated, specifically, controls video pictures frame to play according to operating attitude.The operating attitude include for indicate to
Preceding the first attitude for reading picture frame and the second attitude for indicating reading picture frame backward, control according to the operating attitude
The mode that the picture frame of the prepared storage region memory storage is played can include:
If the operating attitude is first attitude, using the preamble picture frame as new photo current frame, before described
Picture frame before the sequence of sequence picture frame controls the new photo current frame to play as new preamble picture frame.
If the operating attitude is second attitude, using the postorder picture as new photo current frame, will be described
Picture frame after the sequence of postorder picture frame controls the new photo current frame to play as new postorder picture frame.
In one embodiment, the second sequence of the video pictures frame is 1,2,3,4,5,6,7 and 8, currently playing
Frame of video be No. 5 picture frames.The prepared storage region is:A, B, C and D.Wherein, A and B is the preamble storage region, A
For storing No. 3 picture frames, B is used to store No. 4 picture frames.C and D is the postorder storage region, and C is used to store No. 6 pictures
Frame, D is used to store No. 7 picture frames.If the operating attitude is the first attitude, expression needs to read frame of video forward, then need
Using No. 4 picture frames as new photo current frame, using No. 3 picture frames as new preamble picture frame.By new preamble picture frame
Picture frame before is No. 3 picture frames and stores in D, the like.By the currently playing part picture of video pictures frame
Frame storage is in preparation storage region, it is to avoid when storing all videos picture frame simultaneously, the situation of mobile terminal low memory.
Currently playing and its adjacent part picture frame is decoded into storage in advance, the Caton phenomenon in video downloading process is it also avoid,
Further increase user experience.
Fig. 7 is referred to, is the functional block diagram of the video playback control device that fourth embodiment of the invention is provided.It is described to regard
Frequency broadcast control device 101 is applied to mobile terminal 1 00, and the video playback control device 102 includes:Operating attitude obtains mould
Block 701, the second retrieval module 702 and video playback module 703.
Operating attitude acquisition module 701, for obtaining operating attitude of the user to the mobile terminal.
Second retrieval module 702, for the according to the operating attitude and for characterizing the storage of video pictures frame
One sequence, obtains the second sequence for characterizing the video pictures frame playing sequence, wherein, the first of the picture frame storage
Sequence is the order that picture frame in the video is stored according to the screening-mode of the video.
Video playback module 703, for the video playback according to second sequence control.
On the basis of above-described embodiment, the operating attitude is that the body of mobile terminal described in the user's control is carried out
Spatial attitude conversion.The second retrieval module 702 is used for:
The gyroscope for obtaining the mobile terminal is based on the spatial attitude that the body of mobile terminal described in the user's control is carried out
The pose adjustment data of output are converted, wherein, the pose adjustment data include pose adjustment direction, pose adjustment amplitude and appearance
State is regulated the speed;
According to the pose adjustment data and default first Rule target adjustment pattern, wherein, the target adjustment mould
Formula includes the order of adjustment picture frame corresponding with pose adjustment direction adjustment figure corresponding with the pose adjustment amplitude
The speed of the quantity of piece frame and adjustment picture frame corresponding with the pose adjustment speed;
Picture frame according to currently playing picture frame, the First ray and video described in the target adjustment schema creation is broadcast
The second sequence put.
On the basis of above-described embodiment, the mobile terminal memory storage has the First ray with the mobile terminal
The corresponding relation of each position angle of whole position angles, the operating attitude is mobile terminal described in the user's control
The spatial attitude conversion that body is carried out.The second retrieval module 702 is used for:
The attitude transducer for obtaining the mobile terminal is based on the space that the body of mobile terminal described in the user's control is carried out
The angle adjustment data of posture changing output, wherein, the angle adjustment data include current location angle, angle adjustment direction
With angle adjustment speed;
According to the First ray, the corresponding relation of each position angle of whole position angles of the mobile terminal and default
Second Rule, obtain target adjustment pattern, wherein, the target adjustment pattern include it is corresponding with the current location angle
The order and the remaining angle adjustment speed of Target Photo frame adjustment picture frame corresponding with the angle adjustment direction are corresponding
Adjust the speed of picture frame;
According to currently playing picture frame, the First ray and the target adjustment pattern, the picture frame of the video is generated
The second sequence played.
On the basis of above-described embodiment, the operating attitude be the user act on the mobile terminal touch-control show
Show the touch control operation of device.The second retrieval module 702 is used for:
Obtain the user and act on touch data corresponding to the touch control operation of the touch control display, wherein, the touch-control
Data include bearing of trend, the extension amplitude of touch trajectory and the extension speed of touch trajectory of touch trajectory;
Target adjustment pattern is obtained according to the touch data and default Second Rule, wherein, the target adjustment pattern bag
The order for including adjustment picture frame corresponding with the bearing of trend of the touch trajectory is corresponding with the extension amplitude of the touch trajectory
Adjustment picture frame quantity and it is corresponding with the extension speed of the touch trajectory adjustment picture frame speed;
Picture frame according to currently playing picture frame, the First ray and video described in the target adjustment schema creation is broadcast
The second sequence put.
On the basis of above-described embodiment, prepared storage region, the video playback are provided with the mobile terminal 1 00
Module 703 is used for:
Currently playing figure described in the second retrieval that picture frame according to currently playing picture frame and the video is played
Preamble picture frame before the sequence of piece frame and the postorder picture frame after the sequence of the currently playing picture frame;
The preamble picture frame, the currently playing picture frame and the postorder picture frame are deposited according to default storage rule
Store up the prepared storage region;
The picture frame for controlling the prepared storage region memory storage according to the operating attitude is played.
The video playback control device that the embodiments of the present invention are provided, when user needs control video play mode,
Mobile terminal to playing video applies corresponding operating attitude.Mobile terminal after operating attitude is detected, according to user's
Operating attitude and default Schema control Rule user need the target play mode of switching.Mould is switched according to the target
Formula and First ray generate the second sequence, and play the video pictures frame according to second sequence.Having reached need not be right
The video pictures frame for being gathered carries out panoramic mosaic, and the operating attitude switching of storage order and user according to video pictures frame is regarded
The play mode of frequency picture frame, reduces pattern distortion, and the effect that convenient control play mode switches.The embodiment of the present invention is carried
The specific implementation process of the video playback control device of confession refers to above method embodiment, and this is no longer going to repeat them.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent one the one of module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for the logic function for specifying comprising one or more
Row instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be being different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of the square frame in individual square frame and block diagram and/or flow chart, can use the function or the special base of action for performing regulation
Realized in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment(Can be individual
People's computer, server, or network equipment etc.)Perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read-Only Memory), arbitrary access deposits
Reservoir(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply these entities or there is any this reality between operating
The relation or order on border.And, term " including ", "comprising" or its any other variant be intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including
Other key elements being not expressly set out, or it is this process, method, article or the intrinsic key element of equipment also to include.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing
It is further defined and is explained.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.