Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method and system of checking fast picture are provided, by changing user's handling mobile terminal direction, switch to next pictures, rapid browsing picture without slip screen.
In order to achieve the above object, the technical solution used in the present invention is:
A method of checking fast picture, is applied to mobile terminal, comprises the following steps:
Step 1. reads the mode of composition information of the current picture of checking and up/down pictures, and described mode of composition comprises horizontal composition and perpendicular composition;
Step 2. judges that whether the current picture of checking is consistent with the mode of composition information of up/down pictures;
Step 3. mode of composition information is unanimously by slip screens switch picture, otherwise on mobile terminal screen, shows end mark in rotary moving;
Whether step 4. detects in real time mobile terminal and rotates, and detects the direction of rotation of mobile terminal, switches to up/down pictures according to sense of rotation, otherwise continues to detect until rotation of mobile terminal or exit and check picture operation.
Preferably, described picture is the picture that sets in advance mode of composition information, is specially:
When taking pictures, obtains step S1. the screen orientation of mobile terminal;
After step S2. takes pictures, preserve pictorial information and mode of composition information, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.
Preferably, the screen orientation that step S1 obtains mobile terminal obtains by gravity sensor, acceleration transducer or gyroscope.
Preferably, when described pictorial information is preserved, preserve mode of composition information as suffix or in picture name, a field is set and preserve.
Preferably, described method further comprises according to the default end mark in rotary moving of mode of composition information, is specially:
Currently check that picture mode of composition is for perpendicular composition, next pictures mode of composition is horizontal composition, show sign of rotation left in the mobile terminal screen lower right corner, a upper pictures mode of composition is horizontal composition, shows sign of rotation to the right in the mobile terminal screen lower left corner;
Currently check that picture mode of composition is horizontal composition, next pictures mode of composition is perpendicular composition, show sign of rotation to the right in the mobile terminal screen lower right corner, a upper pictures mode of composition, for perpendicular composition, shows sign of rotation left in the mobile terminal screen lower left corner.
Preferably, described method further comprises and terminal in rotary moving is set and switches associated between next pictures, is specially:
Detect in real time the sense of rotation of mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after rotation of mobile terminal completes, automatically switch to up/down one pictures.
The invention also discloses a kind of system of checking fast picture, be applied to mobile terminal, it is characterized in that, comprising:
Mode of composition information reading unit, for reading the mode of composition information of the current picture of checking and up/down pictures, described mode of composition comprises horizontal composition and perpendicular composition;
Judging unit, whether consistent with the mode of composition information of up/down pictures for judging the current picture of checking;
End mark display unit in rotary moving unanimously by slip screens switch picture, otherwise shows end mark in rotary moving for mode of composition information on mobile terminal screen;
Switch picture element unit cell, whether rotate for detecting in real time mobile terminal, and detect the direction of rotation of mobile terminal, switch to up/down pictures according to sense of rotation, otherwise continue to detect until rotation of mobile terminal or exit and check picture operation.
Preferably, system of the present invention also comprises picture mode of composition information setting unit, and picture mode of composition information setting unit specifically comprises:
Direction acquiring unit, obtains the screen orientation of mobile terminal when taking pictures;
Storage unit, for preserving pictorial information and mode of composition information after taking pictures, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.
Preferably, system of the present invention also comprises that end mark in rotary moving presets unit, and the default unit of end mark in rotary moving specifically comprises:
Perpendicular composition rotary unit, check that for current picture mode of composition is for perpendicular composition, next pictures mode of composition is horizontal composition, show sign of rotation left in the mobile terminal screen lower right corner, a upper pictures mode of composition is horizontal composition, shows sign of rotation to the right in the mobile terminal screen lower left corner;
Horizontal composition rotary unit, check that for current picture mode of composition is horizontal composition, next pictures mode of composition is perpendicular composition, show sign of rotation to the right in the mobile terminal screen lower right corner, a upper pictures mode of composition, for perpendicular composition, shows sign of rotation left in the mobile terminal screen lower left corner.
Preferably, system of the present invention also comprises handoff association unit, for detecting in real time the sense of rotation of mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after completing, rotation of mobile terminal automatically switches to up/down one pictures.
Compared with prior art, the invention has the beneficial effects as follows: by the picture composition information of the picture that prestores in the time taking pictures, in the time checking, the picture composition information that will check by reading in advance one of up/down, when next composition information and photo current composition information are when inconsistent, being rotated according to sign of rotation is changeable up/down one pictures, without slip picture, check that picture is convenient and swift, saved user time, promoted user's experience.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, to technical characterictic of the present invention and advantage are interpretated more in-depth.
embodiment 1
The present invention arranges the picture/mb-type or the form that are suitable for the technical scheme that the present invention records in advance, can only check the picture that mode of composition information is set, if the picture of mode of composition information is not set, cannot check, the picture that mode of composition information is not set can only adopt the mode of common slip screen to check.The image credit of operated by rotary motion mode of composition information is the mobile terminal with the video camera of the picture of preservation mode of composition information, other mobile terminals such as such as mobile phone, palm PC, video camera, camera.
Described picture of the present invention is the picture that sets in advance mode of composition information, and the performance in the time that the camera that possesses the picture of preserving mode of composition information is taken pictures is specially:
When taking pictures, obtains step S1. the screen orientation of mobile terminal; The screen orientation that obtains mobile terminal obtains by gravity sensor, acceleration transducer or gyroscope etc.For example, in taking pictures, obtain the screen orientation of mobile terminal according to the direction of acceleration of gravity in gravity sensor, generally under normal circumstances, mobile terminal screen, for perpendicular screen is to be defined as perpendicular composition, is defined as to horizontal composition when horizontal screen.Specifically can set an angle, because screen is not vertical or horizontal very standard most of time.
After step S2. takes pictures, preserve pictorial information and mode of composition information, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.Generally that breakthrough information is preserved together with mode of composition information.In the present invention, preferably, when described pictorial information is preserved, preserve mode of composition information as suffix or in picture name, a field is set and preserve.For example " field+figure title " or " figure title+suffix ", this field or suffix can read, for analyze picture mode of composition in the time checking.
Implementing before technical scheme of the present invention, the present invention is also further included in and checks end mark in rotary moving is set in picture flow process.In the time that current mode of composition of checking and the next mode of composition that will check are inconsistent, on mobile terminal screen, there is end mark in rotary moving.This end mark in rotary moving is incidence relation with step 3 " whether the mode of composition information that judges the current picture of checking and next pictures is consistent ".
In the time judging that mode of composition is consistent, there is not this mark.In the time clicking screen, can there is the mark that " < " slides or " > " slides left to the right, thereby realize the operation of switching a upper photo or next photo.When judging that structure mode of composition information is inconsistent, for example current is perpendicular screen, and when photo current is perpendicular composition, and next pictures composition information is while being horizontal composition, so obvious, according to conventional custom, horizontal composition can only dwindle picture or user and manually change mobile terminal and control mode, and then slip screen could obtain the view result of next pictures preferably.But the present invention is in the time that composition information is inconsistent, the screen inferior horn of meeting on current mobile terminal screen shows the mark of terminal in rotary moving, for example can be for being rotated counterclockwise, user only need be rotated counterclockwise screen so, after stopping the rotation, system automatically switches to next picture, i.e. the picture of horizontal composition.And the composition information of next pictures of system meeting automatic analysis, equally can in the time that mode of composition information is inconsistent, there is end mark in rotary moving, if unanimously, do not show this mark.
As shown in Figure 3,4, of the present invention according to the default end mark in rotary moving of mode of composition information, be specially:
Currently check that picture mode of composition is for perpendicular composition, next pictures mode of composition is horizontal composition, shows sign of rotation left at mobile terminal screen; But the present invention is not limited to this, for example, sometimes shooting angle difference, may show sign of rotation to the right, and for example perpendicular screen such as backward takes at the situation.In order to reach better view result, determine according to analyzing mode of composition information.
Currently check that picture mode of composition is horizontal composition, next pictures mode of composition, for perpendicular composition, shows sign of rotation to the right at mobile terminal screen.But the present invention is not limited to this, for example, sometimes shooting angle difference, may show sign of rotation left, and such as horizontal screen such as backward takes at the situation.In order to reach better view result, determine according to analyzing mode of composition information.
Of the present inventionly terminal in rotary moving is set and switches associated between next pictures, be specially: the sense of rotation that detects in real time mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after completing, rotation of mobile terminal automatically switches to next pictures.Herein unlike the prior art, only need be according to indication terminal in rotary moving, without the screen that slides again, system automatically switches to next pictures.
Method flow diagram of the present invention is as shown in Fig. 1,3,4, and a kind of method of checking fast picture, is applied to mobile terminal, comprises the following steps:
Step 1. reads the mode of composition information of the current picture of checking and next pictures, and described mode of composition comprises horizontal composition and perpendicular composition; For example, as shown in Figure 3, the picture of checking is perpendicular composition, and next pictures is horizontal composition, and this composition information can be read by pre-stored picture mode of composition information, and for example field or suffix read.
Step 2. judges that whether the current picture of checking is consistent with the mode of composition information of next pictures.
Step 3. mode of composition information is unanimously by slip screens switch picture, otherwise on mobile terminal screen, shows end mark in rotary moving; As shown in Figure 3, clearly, mode of composition is inconsistent, so there is being rotated counterclockwise the mark of mobile terminal in the current screen lower right corner, add next pictures consistent with next pictures mode of composition, there will not be the mark of terminal in rotary moving, similarly, the mark for the mobile terminal that turns clockwise in Fig. 4.
Whether step 4. detects in real time mobile terminal and rotates, and is to switch to next pictures, otherwise continues to detect until rotation of mobile terminal or exit and check picture operation., when user sees this sign of rotation, according to indication rotation, now, in mobile terminal inside, trace routine is set, can be checked by gyroscope, gravity sensor or acceleration transducer, when rotation having been detected, automatically switch to next pictures.In the time rotation not detected, continue to detect, if user's end operation in figure is released and checked picture operation.
The invention also discloses a kind of system of checking fast picture, as shown in Figure 2, be applied to mobile terminal, comprising:
Mode of composition information reading unit, for reading the mode of composition information of the current picture of checking and next pictures, described mode of composition comprises horizontal composition and perpendicular composition;
Judging unit, whether consistent with the mode of composition information of next pictures for judging the current picture of checking;
End mark display unit in rotary moving unanimously by slip screens switch picture, otherwise shows end mark in rotary moving for mode of composition information on mobile terminal screen;
Whether, be switch to next pictures, otherwise continue to detect until rotation of mobile terminal or exit and check picture operation if switching picture element unit cell, rotating for detecting in real time mobile terminal.
Preferably, system of the present invention also comprises picture mode of composition information setting unit, and picture mode of composition information setting unit specifically comprises:
Direction acquiring unit, obtains the screen orientation of mobile terminal when taking pictures; Can be gyroscope, gravity sensor or acceleration transducer;
Storage unit, for preserving pictorial information and mode of composition information after taking pictures, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.
Preferably, system of the present invention also comprises that end mark in rotary moving presets unit, and the default unit of end mark in rotary moving specifically comprises:
Perpendicular composition rotary unit, checks that for current picture mode of composition is for perpendicular composition, and next pictures mode of composition is horizontal composition, shows sign of rotation left at mobile terminal screen;
Horizontal composition rotary unit, checks that for current picture mode of composition is horizontal composition, and next pictures mode of composition, for perpendicular composition, shows sign of rotation to the right at mobile terminal screen.
Preferably, system of the present invention also comprises handoff association unit, for detecting in real time the sense of rotation of mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after completing, rotation of mobile terminal automatically switches to next pictures.
embodiment 2
As different from Example 1, embodiment 2 be except switching next pictures at terminal screen in rotary moving for embodiment 2, also can add by end mark switching in rotary moving in the mobile terminal lower left corner on the mark of a pictures.On detecting a pictures and next pictures all with the current inconsistent situation of picture mode of composition information of checking under, there are two end marks in rotary moving, to checking a upper pictures, check next pictures according to the selection mobile terminal direction of lower right corner mark according to the terminal side in rotary moving of lower left corner mark.Convenient and swift, and can reach checked picture vision maximization according to composition, promote user and experience.
A method of checking fast picture, is applied to mobile terminal, comprises the following steps:
Step 1. reads the mode of composition information of the current picture of checking and up/down pictures, and described mode of composition comprises horizontal composition and perpendicular composition;
Step 2. judges that whether the current picture of checking is consistent with the mode of composition information of up/down pictures;
Step 3. mode of composition information is unanimously by slip screens switch picture, otherwise on mobile terminal screen, shows end mark in rotary moving;
Whether step 4. detects in real time mobile terminal and rotates, and detects the direction of rotation of mobile terminal, switches to up/down pictures according to sense of rotation, otherwise continues to detect until rotation of mobile terminal or exit and check picture operation.For example, as shown in Figure 5, setting rotates to be to the right and switches to a pictures, rotates to be left and switches to next pictures.
The method to set up that embodiment 2 arranges picture mode of composition information is consistent, is specially:
When taking pictures, obtains step S1. the screen orientation of mobile terminal;
After step S2. takes pictures, preserve pictorial information and mode of composition information, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.
Preferably, the screen orientation that step S1 obtains mobile terminal obtains by gravity sensor, acceleration transducer or gyroscope.
Preferably, when described pictorial information is preserved, preserve mode of composition information as suffix or in picture name, a field is set and preserve.
Preferably, described method further comprises according to the default end mark in rotary moving of mode of composition information, is specially:
As shown in Figure 5, currently check that picture mode of composition is for perpendicular composition, next pictures mode of composition is horizontal composition, shows sign of rotation left in the mobile terminal screen lower right corner, a upper pictures mode of composition is horizontal composition, shows sign of rotation to the right in the mobile terminal screen lower left corner;
As shown in Figure 6, currently check that picture mode of composition is horizontal composition, next pictures mode of composition, for perpendicular composition, shows sign of rotation to the right in the mobile terminal screen lower right corner, a upper pictures mode of composition, for perpendicular composition, shows sign of rotation left in the mobile terminal screen lower left corner.
Preferably, described method further comprises and terminal in rotary moving is set and switches associated between next pictures, is specially:
Detect in real time the sense of rotation of mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after rotation of mobile terminal completes, automatically switch to up/down one pictures.
The present embodiment 2 also discloses a kind of system of checking fast picture, is applied to mobile terminal, comprising:
Mode of composition information reading unit, for reading the mode of composition information of the current picture of checking and up/down pictures, described mode of composition comprises horizontal composition and perpendicular composition;
Judging unit, whether consistent with the mode of composition information of up/down pictures for judging the current picture of checking;
End mark display unit in rotary moving unanimously by slip screens switch picture, otherwise shows end mark in rotary moving for mode of composition information on mobile terminal screen;
Switch picture element unit cell, whether rotate for detecting in real time mobile terminal, and detect the direction of rotation of mobile terminal, switch to up/down pictures according to sense of rotation, otherwise continue to detect until rotation of mobile terminal or exit and check picture operation.
Preferably, system of the present invention also comprises picture mode of composition information setting unit, and picture mode of composition information setting unit specifically comprises:
Direction acquiring unit, obtains the screen orientation of mobile terminal when taking pictures;
Storage unit, for preserving pictorial information and mode of composition information after taking pictures, the screen orientation of mobile terminal is for vertically saving as perpendicular composition, and screen orientation is for laterally saving as horizontal composition.
Preferably, system of the present invention also comprises that end mark in rotary moving presets unit, and the default unit of end mark in rotary moving specifically comprises:
Perpendicular composition rotary unit, check that for current picture mode of composition is for perpendicular composition, next pictures mode of composition is horizontal composition, show sign of rotation left in the mobile terminal screen lower right corner, a upper pictures mode of composition is horizontal composition, shows sign of rotation to the right in the mobile terminal screen lower left corner;
Horizontal composition rotary unit, check that for current picture mode of composition is horizontal composition, next pictures mode of composition is perpendicular composition, show sign of rotation to the right in the mobile terminal screen lower right corner, a upper pictures mode of composition, for perpendicular composition, shows sign of rotation left in the mobile terminal screen lower left corner.
Preferably, system of the present invention also comprises handoff association unit, for detecting in real time the sense of rotation of mobile terminal, in the time that the sense of rotation of the mobile terminal detecting is consistent with end mark in rotary moving, after completing, rotation of mobile terminal automatically switches to up/down one pictures.
To sum up, the present invention includes but be not limited to above embodiment, also comprising that other pass through mobile terminal/terminal screen and rotate the improvement that realizes automatic switchover picture.And above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the definite protection domain of the claim that all should be considered as being submitted to by the present invention.