CN104317491A - Control method and device of display content and mobile terminal - Google Patents
Control method and device of display content and mobile terminal Download PDFInfo
- Publication number
- CN104317491A CN104317491A CN201410522979.9A CN201410522979A CN104317491A CN 104317491 A CN104317491 A CN 104317491A CN 201410522979 A CN201410522979 A CN 201410522979A CN 104317491 A CN104317491 A CN 104317491A
- Authority
- CN
- China
- Prior art keywords
- displaying contents
- rotation
- gesture
- control
- anglec
- Prior art date
Links
- 230000001276 controlling effects Effects 0.000 claims abstract description 9
- 238000000034 methods Methods 0.000 claims description 66
- 238000010586 diagrams Methods 0.000 claims description 30
- 230000000875 corresponding Effects 0.000 claims description 15
- 239000000284 extracts Substances 0.000 claims description 4
- 281000026979 Flickr companies 0.000 abstract 1
- 230000005484 gravity Effects 0.000 description 9
- 230000001939 inductive effects Effects 0.000 description 7
- 240000001085 Trapa natans Species 0.000 description 4
- 235000006214 castanha do maranho Nutrition 0.000 description 4
- 239000000463 materials Substances 0.000 description 2
- 240000000280 Theobroma cacao Species 0.000 description 1
- 235000009470 Theobroma cacao Nutrition 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reactions Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for entering handwritten data, e.g. gestures, text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Abstract
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of control method of displaying contents, device and mobile terminal.
Background technology
Along with the development of mobile terminal technology, mobile terminal is more and more universal.Mobile terminal has become one of instrument of the daily indispensability of people.User browses by mobile terminal, check picture, also various application program or client can be installed in the terminal, as instant messaging program, games, news client, shopping class client and other tool-class application programs etc., and by these application programs or the different function of client executing.
But user is when the above-mentioned application program used in mobile terminal or client, and the visual direction that the content of application program or client display may be browsed with user is inconsistent, this brings great inconvenience can to undoubtedly the reading of user or use.At present, by the attitude of the induction such as gravity sensor, direction sensor mobile terminal in some mobile terminals, and show according to the horizontal screen display of the pose adjustment displaying contents of mobile terminal or erect screen display and show.This is more effective for the situation causing displaying contents inconsistent with the direction of view of user because of the attitudes vibration of mobile terminal own, but, for the situation that the direction of view of the attitude of the object shown by displaying contents own and user is inconsistent, namely the object shown and displaying contents itself have certain degree of tilt, such as, for the picture shown in Fig. 1 a and Fig. 1 b, the position of money tree in figure in picture inherently tilts, then no matter horizontal screen display shows that (shown in Fig. 1 a) or perpendicular screen display are shown (shown in Fig. 1 b), the content in picture all cannot be made to show according to the direction of view of user.In this case, the browsing of user can be given, check and bring great inconvenience, poor user experience.
Summary of the invention
The present invention is intended to solve one of technical matters in correlation technique at least to a certain extent.For this reason, the object of first aspect present invention is the control method proposing a kind of displaying contents, can adjust for the attitude of the object shown by displaying contents, is convenient to user and carries out browsing, checking operation, and applicability is wider, improves Consumer's Experience.
The object of a second aspect of the present invention is the control device proposing a kind of displaying contents.
The object of a third aspect of the present invention is to propose a kind of mobile terminal.
For reaching above-mentioned purpose, embodiment proposes a kind of control method of displaying contents according to a first aspect of the present invention, comprises the following steps: provide displaying contents; Receive the operating gesture of user for described displaying contents; Judge whether described operating gesture belongs to rotation process gesture; If judge that described operating gesture belongs to described rotation process gesture, then obtain the anglec of rotation and the sense of rotation of described operating gesture further; And control described displaying contents according to the described anglec of rotation and sense of rotation and rotate.
The control method of the displaying contents of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
The embodiment of a second aspect of the present invention provides a kind of control device of displaying contents, comprising: first provides module, for providing displaying contents; Receiver module, for receiving the operating gesture of user for described displaying contents; Judge module, for judging whether described operating gesture belongs to rotation process gesture; First acquisition module, if for judging that described operating gesture belongs to described rotation process gesture, then obtains the anglec of rotation and the sense of rotation of described operating gesture further; And control module, rotate for controlling described displaying contents according to the described anglec of rotation and sense of rotation.
The control device of the displaying contents of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
The mobile mobile terminal of the embodiment of a third aspect of the present invention, comprise: housing, processor, storer, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, for powering for each circuit of described mobile terminal or device; Described storer is used for stores executable programs code; Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for: displaying contents is provided; Receive the operating gesture of user for described displaying contents; Judge whether described operating gesture belongs to rotation process gesture; If judge that described operating gesture belongs to described rotation process gesture, then obtain the anglec of rotation and the sense of rotation of described operating gesture further; And control described displaying contents according to the described anglec of rotation and sense of rotation and rotate.
The mobile terminal of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage will become obvious and easy understand from accompanying drawing below combining to the description of embodiment, wherein:
Fig. 1 a is the schematic diagram that the horizontal screen of mobile terminal Shows Picture;
Fig. 1 b is that mobile terminal erects the schematic diagram shielding and Show Picture;
Fig. 2 is the process flow diagram of the control method of displaying contents according to an embodiment of the invention;
Fig. 3 a is the schematic diagram of rotation process gesture according to an embodiment of the invention;
Fig. 3 b is the schematic diagram of rotation process gesture in accordance with another embodiment of the present invention;
Fig. 4 a is for according to an embodiment of the invention for the display schematic diagram after picture rotation shown in Fig. 1 b;
Fig. 4 b is the display schematic diagram after adjusting for picture shown in Fig. 4 a according to an embodiment of the invention;
Fig. 5 is the process flow diagram of the control method of displaying contents in accordance with another embodiment of the present invention;
Fig. 6 is the structural representation of the control device of displaying contents according to an embodiment of the invention;
Fig. 7 is the structural representation of the control device of displaying contents according to the present invention's specific embodiment;
Fig. 8 is the structural representation of the control device of displaying contents in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings the control method of the displaying contents according to the embodiment of the present invention, device and mobile terminal are described.
Fig. 2 is the process flow diagram of the control method of displaying contents according to an embodiment of the invention.
As shown in Figure 2, the control method of this displaying contents, comprising:
S201, provides displaying contents.
Wherein, displaying contents can comprise picture or Application Program Interface.
For example, displaying contents can be the picture opened in the terminal, displaying contents can also be the Application Program Interface opened in the terminal, as each function interface (such as, chat interface, the browser display page) etc. in the main interface of various application program and application program.Mobile terminal can provide corresponding displaying contents according to the operation of user.
S202, receives the operating gesture of user for displaying contents.
Due to the attitude that there is the object shown by displaying contents may be inconsistent with the direction of view of user situation, namely the object shown and displaying contents itself have certain degree of tilt, particularly for situation as shown in Figure 1, horizontal screen display is shown or erecting screen display shows the attitude of the object in displaying contents all cannot be made to meet the direction of view of user.Therefore, for the ease of user to the browsing of displaying contents, check, user can for displaying contents input operation gesture, to be adjusted displaying contents by this operating gesture, as rotated, with the direction of view making the attitude of the object in displaying contents meet user.
S203, judges whether operating gesture belongs to rotation process gesture.
In one embodiment of the invention, receive user for the operating gesture of displaying contents after, need to judge whether operating gesture belongs to rotation process gesture, particularly, judge whether operating gesture belongs to rotation process gesture and specifically comprise:
Detect operating gesture and whether there is first make contact; If detect that operating gesture has first make contact, and first make contact is greater than preset time threshold duration of contact, then detecting whether operating gesture also have with first make contact is further the slide in the center of circle; And if operating gesture also to have with first make contact be the slide in the center of circle, then judge that operating gesture belongs to rotation process gesture.
For example, rotation process gesture can be as shown in Figure 3 a, for the track schematic diagram of rotation process gesture according to an embodiment of the invention, this rotation process gesture comprises first make contact A and take first make contact as the slide B in the center of circle, wherein, the direction of slide B is not limit, and can be direction as shown, also can be the direction contrary with direction as shown.
Be to be understood that, in an embodiment of the present invention, the rotation process gesture rotated for controlling displaying contents is not limited to the gesture operation shown in Fig. 3 a, can be other gesture operations by user or default, for example, also can be gesture operation as shown in Figure 3 b, namely pointed the gesture operation slided respectively to the left and right sides by user two, thus give user with variation, interesting experience.
S204, if judge that operating gesture belongs to rotation process gesture, then obtains the anglec of rotation and the sense of rotation of operating gesture further.
In one embodiment of the invention, the anglec of rotation and the sense of rotation that obtain operating gesture specifically comprise: the position obtaining the first contact, and the track obtaining with first make contact the slide being the center of circle; According to the position of the first contact with take first make contact as the anglec of rotation of track determination operation gesture of slide and the sense of rotation in the center of circle.
Particularly, sense of rotation can be determined according to the glide direction of slide; For the determination of sense of rotation, can first according to the radius of the sub-circular at the distance determination sliding trace place between the position of the first contact and the track of slide, then according to the arc length determination anglec of rotation of this radius and sliding trace.
S205, controls displaying contents according to the anglec of rotation and sense of rotation and rotates.
In an embodiment of the present invention, can rotate according to the rotation process gesture control displaying contents of displaying contents or user's input.
Particularly, in one embodiment of the invention, control displaying contents according to the anglec of rotation and sense of rotation to carry out rotating specifically comprising: the central point extracting displaying contents; Be that the center of circle rotates according to the anglec of rotation and sense of rotation control displaying contents with central point.Wherein, the central point of displaying contents can be the symcenter of displaying contents, and for example, if displaying contents is for being covered with whole screen area rectangular shape, then the central point of displaying contents is two cornerwise intersection points of this rectangle.
In another embodiment of the present invention, control displaying contents according to the anglec of rotation and sense of rotation to carry out rotating specifically comprising: be that the center of circle rotates according to the anglec of rotation and sense of rotation control displaying contents with first make contact.
Thus, with the center of displaying contents or first make contact for the center of circle, displaying contents can be controlled and rotate the corresponding anglec of rotation along sense of rotation, obtain the displaying contents meeting user's direction of view.
Fig. 4 a is for according to an embodiment of the invention for the display schematic diagram after picture rotation shown in Fig. 1 b.As shown in fig. 4 a, the money tree shown in this picture rotates to be vertical direction by the left avertence shown in Fig. 1 b.
As can be seen from Fig. 4 a, postrotational picture has subregion and cannot show in viewing area, makes user cannot check complete displaying contents.Therefore, in one embodiment of the invention, after control displaying contents rotates, also can comprise the step of the size according to the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place, namely scaled to postrotational displaying contents according to the size of viewing area, all show in viewing area to enable postrotational displaying contents.For example, for the displaying contents in Fig. 4 a, can be as shown in Figure 4 b after adjusting.
The control method of the displaying contents of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
In an embodiment of the present invention, because some application programs are when developing, application programs does not set rotatable function, therefore, if described displaying contents is described Application Program Interface, then before described displaying contents rotates described to control according to the described anglec of rotation and sense of rotation, also can comprise and determine that Application Program Interface is the step at rotatable interface.Particularly, obtain the rotatable attribute of application program by system, thus whether the Application Program Interface determining current display is rotatable interface, and when Application Program Interface is rotatable interface, operating gesture according to user rotates Application Program Interface, more intelligent.
Fig. 5 is the process flow diagram of the control method of displaying contents in accordance with another embodiment of the present invention.
As shown in Figure 5, the control method of this displaying contents, comprising:
S501, provides displaying contents.
Wherein, displaying contents can comprise picture or Application Program Interface.
For example, displaying contents can be the picture opened in the terminal, displaying contents can also be the Application Program Interface opened in the terminal, as each function interface (such as, chat interface, the browser display page) etc. in the main interface of various application program and application program.Mobile terminal can provide corresponding displaying contents according to the operation of user.
S502, obtains the target object in displaying contents to displaying contents analysis.
In an embodiment of the present invention, can carry out for the type of displaying contents the target object analyzing to obtain in displaying contents respectively.
Particularly, if displaying contents is picture, image recognition can be carried out to picture, to obtain the target object in picture.If displaying contents is Application Program Interface, then the interface that can provide according to application programs obtains the content shown in Application Program Interface, and extracts target object wherein.
S503, obtains the degree of tilt of target object relative to displaying contents.
Particularly, in an embodiment of the present invention, first can determine the current display direction of target object, then obtain the angle of the current display direction of target object and the gravity direction of target object, this angle is the degree of tilt of target object relative to displaying contents.
S504, if degree of tilt is greater than predetermined inclination degree threshold value, then provides the schematic diagram of rotation process gesture in displaying contents.
Wherein, predetermined inclination degree threshold value can be the value being less than arbitrarily the receivable deviation angle of user.For example, predetermined inclination degree threshold value can be 1 °, 5 ° etc.
In an embodiment of the present invention, if degree of tilt is greater than predetermined inclination degree threshold value, then can provide the schematic diagram of rotation process gesture in displaying contents, thus be convenient to user's gesture operation corresponding according to the input of this schematic diagram.
S505-S508 is identical with middle S202-S205 embodiment illustrated in fig. 2, does not repeat them here.
S509, according to the size of the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place.
Cannot show in viewing area because postrotational picture has subregion, make user cannot check complete displaying contents.Therefore, in one embodiment of the invention, after control displaying contents rotates, can according to the size of the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place, namely scaled to postrotational displaying contents according to the size of viewing area, all show in viewing area to enable postrotational displaying contents.For example, for the displaying contents in Fig. 4 a, can be as shown in Figure 4 b after adjusting.
Wherein, S509 is optional.
The control method of the displaying contents of the embodiment of the present invention, by analyzing the target object in displaying contents, and obtain the degree of tilt of target object relative to displaying contents, and in inclination to when being greater than predetermined inclination degree threshold value, the schematic diagram of rotation process gesture is provided in displaying contents, to guide user, be convenient to the gesture operation that user is corresponding according to the input of this schematic diagram, improve Consumer's Experience further.
In order to realize above-described embodiment, the present invention also proposes a kind of control device of displaying contents.
Fig. 6 is the structural representation of the control device of displaying contents according to an embodiment of the invention.
As shown in Figure 6, the control device of this displaying contents, comprising: first provides module 10, receiver module 20, judge module 30, first acquisition module 40 and control module 50.
Particularly, first provide module 10 for providing displaying contents.Wherein, displaying contents can comprise picture or Application Program Interface.
For example, displaying contents can be the picture opened in the terminal, displaying contents can also be the Application Program Interface opened in the terminal, as each function interface (such as, chat interface, the browser display page) etc. in the main interface of various application program and application program.Mobile terminal can provide corresponding displaying contents according to the operation of user.
Receiver module 20 is for receiving the operating gesture of user for displaying contents.
Due to the attitude that there is the object shown by displaying contents may be inconsistent with the direction of view of user situation, namely the object shown and displaying contents itself have certain degree of tilt, particularly for situation as shown in Figure 1, horizontal screen display is shown or erecting screen display shows the attitude of the object in displaying contents all cannot be made to meet the direction of view of user.Therefore, for the ease of user to the browsing of displaying contents, check, user can for displaying contents input operation gesture, to be adjusted displaying contents by this operating gesture, as rotated, with the direction of view making the attitude of the object in displaying contents meet user.
Judge module 30 is for judging whether operating gesture belongs to rotation process gesture.
In one embodiment of the invention, receive user for the operating gesture of displaying contents after, need to judge whether operating gesture belongs to rotation process gesture, more specifically, as shown in Figure 7, judge module 30 specifically comprises: the first detecting unit 31, second detecting unit 32 and judging unit 33, wherein:
Whether the first detecting unit 31 has first make contact for detecting operating gesture;
Second detecting unit 32 is for detecting that operating gesture has first make contact, and when first make contact is greater than preset time threshold duration of contact, detecting whether operating gesture also have with first make contact is further the slide in the center of circle.
When judging unit 33 is the slide in the center of circle for also having at operating gesture with first make contact, judge that operating gesture belongs to rotation process gesture.
For example, rotation process gesture can be as shown in Figure 3 a, for the track schematic diagram of rotation process gesture according to an embodiment of the invention, this rotation process gesture comprises first make contact A and take first make contact as the slide B in the center of circle, wherein, the direction of slide B is not limit, and can be direction as shown, also can be the direction contrary with direction as shown.
Be to be understood that, in an embodiment of the present invention, the rotation process gesture rotated for controlling displaying contents is not limited to the gesture operation shown in Fig. 3 a, can be other gesture operations by user or default, for example, also can be gesture operation as shown in Figure 3 b, namely pointed the gesture operation slided respectively to the left and right sides by user two, thus give user with variation, interesting experience.
If the first acquisition module 40 for judging that operating gesture belongs to rotation process gesture, then obtains the anglec of rotation and the sense of rotation of operating gesture further.
In one embodiment of the invention, first acquisition module 40 specifically for the position obtaining the first contact, and obtains with first make contact the track of the slide being the center of circle; According to the position of the first contact with take first make contact as the anglec of rotation of track determination operation gesture of slide and the sense of rotation in the center of circle.
More specifically, sense of rotation can be determined according to the glide direction of slide; For the determination of sense of rotation, can first according to the radius of the sub-circular at the distance determination sliding trace place between the position of the first contact and the track of slide, then according to the arc length determination anglec of rotation of this radius and sliding trace.
Control module 50 rotates for controlling displaying contents according to the anglec of rotation and sense of rotation.
In an embodiment of the present invention, control module 50 can rotate according to the rotation process gesture control displaying contents of displaying contents or user's input.
More specifically, in one embodiment of the invention, control module 50 can be specifically for: the central point extracting displaying contents; Be that the center of circle rotates according to the anglec of rotation and sense of rotation control displaying contents with central point.Wherein, the central point of displaying contents can be the symcenter of displaying contents, and for example, if displaying contents is for being covered with whole screen area rectangular shape, then the central point of displaying contents is two cornerwise intersection points of this rectangle.
In another embodiment of the present invention, control module 50 can be specifically for: be that the center of circle controls displaying contents according to the anglec of rotation and sense of rotation and rotates with first make contact.
Thus with the center of displaying contents or first make contact for the center of circle, control module 50 cocoa controls displaying contents and rotates the corresponding anglec of rotation along sense of rotation, obtains the displaying contents meeting user's direction of view.
Fig. 4 a is for according to an embodiment of the invention for the display schematic diagram after picture rotation shown in Fig. 1 b.As shown in fig. 4 a, the money tree shown in this picture rotates to be vertical direction by the left avertence shown in Fig. 1 b.
In an embodiment of the present invention, because some application programs are when developing, application programs does not set rotatable function, therefore, if described displaying contents is described Application Program Interface, when displaying contents is Application Program Interface, control module 50 also for before rotating according to the anglec of rotation and sense of rotation control displaying contents, determines that Application Program Interface is rotatable interface.More specifically, obtain the rotatable attribute of application program by system, thus whether the Application Program Interface determining current display is rotatable interface, and when Application Program Interface is rotatable interface, operating gesture according to user rotates Application Program Interface, more intelligent.
The control device of the displaying contents of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
Fig. 8 is the structural representation of the control device of displaying contents in accordance with another embodiment of the present invention.
As shown in Figure 8, the control device of this displaying contents, comprising: first provides module 10, receiver module 20, judge module 30, first acquisition module 40, control module 50, analysis module 60, second acquisition module 70, second to provide module 80 and adjusting module 90.
Analysis module 60, for after providing displaying contents, obtains the target object in displaying contents to displaying contents analysis.
In an embodiment of the present invention, analysis module 60 can carry out for the type of displaying contents the target object analyzing to obtain in displaying contents respectively.
More specifically, if displaying contents is picture, analysis module 60 can carry out image recognition to picture, to obtain the target object in picture.If displaying contents is Application Program Interface, then the interface that can provide according to application programs obtains the content shown in Application Program Interface, and extracts target object wherein.
Second acquisition module 70 is for obtaining the degree of tilt of target object relative to displaying contents.More specifically, in an embodiment of the present invention, first second acquisition module 70 can determine the current display direction of target object, then obtains the angle of the current display direction of target object and the gravity direction of target object, and this angle is the degree of tilt of target object relative to displaying contents.
If second provides module 80 to be greater than predetermined inclination degree threshold value for degree of tilt, then in displaying contents, provide the schematic diagram of rotation process gesture.Wherein, predetermined inclination degree threshold value can be the value being less than arbitrarily the receivable deviation angle of user.For example, predetermined inclination degree threshold value can be 1 °, 5 ° etc.
In an embodiment of the present invention, if degree of tilt is greater than predetermined inclination degree threshold value, then second provide module 80 can provide the schematic diagram of rotation process gesture in displaying contents, thus be convenient to user's gesture operation corresponding according to the input of this schematic diagram.
Adjusting module 90 for control after displaying contents rotates according to the anglec of rotation and sense of rotation in control module 50, according to the size of the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place.Cannot show in viewing area because postrotational picture has subregion, make user cannot check complete displaying contents.Therefore, in one embodiment of the invention, after control displaying contents rotates, adjusting module 90 can according to the size of the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place, namely scaled to postrotational displaying contents according to the size of viewing area, all show in viewing area to enable postrotational displaying contents.For example, for the displaying contents in Fig. 4 a, can be as shown in Figure 4 b after adjusting.
Wherein, adjusting module 90 is optional.
The control device of the displaying contents of the embodiment of the present invention, by analyzing the target object in displaying contents, and obtain the degree of tilt of target object relative to displaying contents, and in inclination to when being greater than predetermined inclination degree threshold value, the schematic diagram of rotation process gesture is provided in displaying contents, to guide user, be convenient to the gesture operation that user is corresponding according to the input of this schematic diagram, improve Consumer's Experience further.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
The mobile terminal of the embodiment of the present invention, comprising: housing, processor, storer, circuit board and power circuit, and wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of mobile terminal or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in storer, for:
S201 ', provides displaying contents.
Wherein, displaying contents can comprise picture or Application Program Interface.
For example, displaying contents can be the picture opened in the terminal, displaying contents can also be the Application Program Interface opened in the terminal, as each function interface (such as, chat interface, the browser display page) etc. in the main interface of various application program and application program.Mobile terminal can provide corresponding displaying contents according to the operation of user.
S202 ', receives the operating gesture of user for displaying contents.
Due to the attitude that there is the object shown by displaying contents may be inconsistent with the direction of view of user situation, namely the object shown and displaying contents itself have certain degree of tilt, particularly for situation as shown in Figure 1, horizontal screen display is shown or erecting screen display shows the attitude of the object in displaying contents all cannot be made to meet the direction of view of user.Therefore, for the ease of user to the browsing of displaying contents, check, user can for displaying contents input operation gesture, to be adjusted displaying contents by this operating gesture, as rotated, with the direction of view making the attitude of the object in displaying contents meet user.
S203 ', judges whether operating gesture belongs to rotation process gesture.
In one embodiment of the invention, receive user for the operating gesture of displaying contents after, need to judge whether operating gesture belongs to rotation process gesture, particularly, judge whether operating gesture belongs to rotation process gesture and specifically comprise:
Detect operating gesture and whether there is first make contact; If detect that operating gesture has first make contact, and first make contact is greater than preset time threshold duration of contact, then detecting whether operating gesture also have with first make contact is further the slide in the center of circle; And if operating gesture also to have with first make contact be the slide in the center of circle, then judge that operating gesture belongs to rotation process gesture.
For example, rotation process gesture can be as shown in Figure 3 a, for the track schematic diagram of rotation process gesture according to an embodiment of the invention, this rotation process gesture comprises first make contact A and take first make contact as the slide B in the center of circle, wherein, the direction of slide B is not limit, and can be direction as shown, also can be the direction contrary with direction as shown.
Be to be understood that, in an embodiment of the present invention, the rotation process gesture rotated for controlling displaying contents is not limited to the gesture operation shown in Fig. 3 a, can be other gesture operations by user or default, for example, also can be gesture operation as shown in Figure 3 b, namely pointed the gesture operation slided respectively to the left and right sides by user two, thus give user with variation, interesting experience.
S204 ', if judge that operating gesture belongs to rotation process gesture, then obtains the anglec of rotation and the sense of rotation of operating gesture further.
In one embodiment of the invention, the anglec of rotation and the sense of rotation that obtain operating gesture specifically comprise: the position obtaining the first contact, and the track obtaining with first make contact the slide being the center of circle; According to the position of the first contact with take first make contact as the anglec of rotation of track determination operation gesture of slide and the sense of rotation in the center of circle.
Particularly, sense of rotation can be determined according to the glide direction of slide; For the determination of sense of rotation, can first according to the radius of the sub-circular at the distance determination sliding trace place between the position of the first contact and the track of slide, then according to the arc length determination anglec of rotation of this radius and sliding trace.
S205 ', controls displaying contents according to the anglec of rotation and sense of rotation and rotates.
In an embodiment of the present invention, can rotate according to the rotation process gesture control displaying contents of displaying contents or user's input.
Particularly, in one embodiment of the invention, control displaying contents according to the anglec of rotation and sense of rotation to carry out rotating specifically comprising: the central point extracting displaying contents; Be that the center of circle rotates according to the anglec of rotation and sense of rotation control displaying contents with central point.Wherein, the central point of displaying contents can be the symcenter of displaying contents, and for example, if displaying contents is for being covered with whole screen area rectangular shape, then the central point of displaying contents is two cornerwise intersection points of this rectangle.
In another embodiment of the present invention, control displaying contents according to the anglec of rotation and sense of rotation to carry out rotating specifically comprising: be that the center of circle rotates according to the anglec of rotation and sense of rotation control displaying contents with first make contact.
Thus, with the center of displaying contents or first make contact for the center of circle, displaying contents can be controlled and rotate the corresponding anglec of rotation along sense of rotation, obtain the displaying contents meeting user's direction of view.
Fig. 4 a is for according to an embodiment of the invention for the display schematic diagram after picture rotation shown in Fig. 1 b.As shown in fig. 4 a, the money tree shown in this picture rotates to be vertical direction by the left avertence shown in Fig. 1 b.
As can be seen from Fig. 4 a, postrotational picture has subregion and cannot show in viewing area, makes user cannot check complete displaying contents.Therefore, in one embodiment of the invention, after control displaying contents rotates, also can comprise the step of the size according to the postrotational displaying contents of the adjusted size of the viewing area at displaying contents place, namely scaled to postrotational displaying contents according to the size of viewing area, all show in viewing area to enable postrotational displaying contents.For example, for the displaying contents in Fig. 4 a, can be as shown in Figure 4 b after adjusting.
The mobile terminal of the embodiment of the present invention, the operating gesture of user for displaying contents can be received, and when this operating gesture belongs to rotation process gesture, obtain the anglec of rotation and the sense of rotation of this operating gesture, and rotate according to the anglec of rotation and sense of rotation control displaying contents, thus displaying contents that can be inconsistent by the direction of view in user rotates to consistent with the direction of view of user, so that user browses, check operation, with respect to gravity sensor, the attitude of the induction such as direction sensor mobile terminal adjusts the technology of displaying contents, can adjust for the attitude of the object shown by displaying contents, applicability is wider, improve Consumer's Experience, and improve the interest of operation.
In an embodiment of the present invention, because some application programs are when developing, application programs does not set rotatable function, therefore, if described displaying contents is described Application Program Interface, then to control before described displaying contents rotates according to the described anglec of rotation and sense of rotation described, processor is also for determining that Application Program Interface is rotatable interface.Particularly, obtain the rotatable attribute of application program by system, thus whether the Application Program Interface determining current display is rotatable interface, and when Application Program Interface is rotatable interface, operating gesture according to user rotates Application Program Interface, more intelligent.
In one embodiment of the invention, processor described displaying contents is provided after, also for: the target object in described displaying contents is obtained to described displaying contents analysis; Obtain the degree of tilt of described target object relative to described displaying contents; And if described degree of tilt is greater than predetermined inclination degree threshold value, then provide the schematic diagram of rotation process gesture in described displaying contents.And after controlling displaying contents according to the anglec of rotation and sense of rotation and rotating, also for the size of the postrotational displaying contents of adjusted size of the viewing area according to displaying contents place.Thus can guide user, be convenient to the gesture operation that user is corresponding according to the input of this schematic diagram, improve Consumer's Experience further.
In describing the invention, it will be appreciated that, term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end " " interior ", " outward ", " clockwise ", " counterclockwise ", " axis ", " radial direction ", orientation or the position relationship of the instruction such as " circumference " are based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, instead of indicate or imply that the device of indication or element must have specific orientation, with specific azimuth configuration and operation, therefore limitation of the present invention can not be interpreted as.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is two or more, such as two, three etc., unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the term such as term " installation ", " being connected ", " connection ", " fixing " should be interpreted broadly, and such as, can be fixedly connected with, also can be removably connect, or integral; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary, can be the connection of two element internals or the interaction relationship of two elements, unless otherwise clear and definite restriction.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the present invention, unless otherwise clearly defined and limited, fisrt feature second feature " on " or D score can be that the first and second features directly contact, or the first and second features are by intermediary indirect contact.And, fisrt feature second feature " on ", " top " and " above " but fisrt feature directly over second feature or oblique upper, or only represent that fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " below " and " below " can be fisrt feature immediately below second feature or tiltedly below, or only represent that fisrt feature level height is less than second feature.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this instructions or example and different embodiment or example can carry out combining and combining by those skilled in the art.
Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410522979.9A CN104317491B (en) | 2014-09-30 | 2014-09-30 | Control method, device and the mobile terminal of display content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410522979.9A CN104317491B (en) | 2014-09-30 | 2014-09-30 | Control method, device and the mobile terminal of display content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104317491A true CN104317491A (en) | 2015-01-28 |
CN104317491B CN104317491B (en) | 2018-03-30 |
Family
ID=52372727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410522979.9A CN104317491B (en) | 2014-09-30 | 2014-09-30 | Control method, device and the mobile terminal of display content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317491B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487777A (en) * | 2015-12-21 | 2016-04-13 | 北京奇虎科技有限公司 | Mobile search and news switching method and device based on gesture operation |
CN105549852A (en) * | 2016-02-03 | 2016-05-04 | 广东欧珀移动通信有限公司 | Picture rotating method and device |
CN105653192A (en) * | 2015-12-30 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Image rotation control method, image rotation control device and terminal |
CN105786349A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Method for controlling screen picture to rotate and electronic device |
WO2016149873A1 (en) * | 2015-03-20 | 2016-09-29 | 华为技术有限公司 | Intelligent interaction method, equipment and system |
CN106126087A (en) * | 2016-06-16 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of based on the display picture approach of intelligent terminal and the device with touch screen |
WO2016197627A1 (en) * | 2016-01-11 | 2016-12-15 | 中兴通讯股份有限公司 | Control method and device |
CN106383660A (en) * | 2016-09-30 | 2017-02-08 | 维沃移动通信有限公司 | Audio file operating and controlling method, and mobile terminal |
CN107181670A (en) * | 2017-05-18 | 2017-09-19 | 北京小米移动软件有限公司 | image processing method, device and storage medium |
CN108446152A (en) * | 2018-02-02 | 2018-08-24 | 阿里巴巴集团控股有限公司 | page display method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101625760A (en) * | 2009-07-28 | 2010-01-13 | 谭洪舟 | Method for correcting certificate image inclination |
CN101727261A (en) * | 2008-10-17 | 2010-06-09 | 华硕电脑股份有限公司 | Page operation method and electronic device |
US7979809B2 (en) * | 2007-05-11 | 2011-07-12 | Microsoft Corporation | Gestured movement of object to display edge |
CN102169383A (en) * | 2010-11-26 | 2011-08-31 | 苏州瀚瑞微电子有限公司 | Identification method for rotating gestures of touch screen |
CN102542255A (en) * | 2011-12-06 | 2012-07-04 | Tcl集团股份有限公司 | Method, device and system for correcting face image |
CN103257811A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Picture display system and method based on touch screen |
-
2014
- 2014-09-30 CN CN201410522979.9A patent/CN104317491B/en active IP Right Grant
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7979809B2 (en) * | 2007-05-11 | 2011-07-12 | Microsoft Corporation | Gestured movement of object to display edge |
CN101727261A (en) * | 2008-10-17 | 2010-06-09 | 华硕电脑股份有限公司 | Page operation method and electronic device |
CN101625760A (en) * | 2009-07-28 | 2010-01-13 | 谭洪舟 | Method for correcting certificate image inclination |
CN102169383A (en) * | 2010-11-26 | 2011-08-31 | 苏州瀚瑞微电子有限公司 | Identification method for rotating gestures of touch screen |
CN102542255A (en) * | 2011-12-06 | 2012-07-04 | Tcl集团股份有限公司 | Method, device and system for correcting face image |
CN103257811A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Picture display system and method based on touch screen |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016149873A1 (en) * | 2015-03-20 | 2016-09-29 | 华为技术有限公司 | Intelligent interaction method, equipment and system |
CN105487777A (en) * | 2015-12-21 | 2016-04-13 | 北京奇虎科技有限公司 | Mobile search and news switching method and device based on gesture operation |
CN105653192A (en) * | 2015-12-30 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Image rotation control method, image rotation control device and terminal |
CN106959836A (en) * | 2016-01-11 | 2017-07-18 | 中兴通讯股份有限公司 | A kind of control method and device |
WO2016197627A1 (en) * | 2016-01-11 | 2016-12-15 | 中兴通讯股份有限公司 | Control method and device |
CN105549852B (en) * | 2016-02-03 | 2019-09-13 | Oppo广东移动通信有限公司 | A kind of spinning solution and device of picture |
CN105549852A (en) * | 2016-02-03 | 2016-05-04 | 广东欧珀移动通信有限公司 | Picture rotating method and device |
CN105786349A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Method for controlling screen picture to rotate and electronic device |
CN106126087A (en) * | 2016-06-16 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of based on the display picture approach of intelligent terminal and the device with touch screen |
WO2017215211A1 (en) * | 2016-06-16 | 2017-12-21 | 乐视控股(北京)有限公司 | Picture display method based on intelligent terminal having touch screen, and electronic apparatus |
CN106383660A (en) * | 2016-09-30 | 2017-02-08 | 维沃移动通信有限公司 | Audio file operating and controlling method, and mobile terminal |
CN107181670A (en) * | 2017-05-18 | 2017-09-19 | 北京小米移动软件有限公司 | image processing method, device and storage medium |
CN108446152A (en) * | 2018-02-02 | 2018-08-24 | 阿里巴巴集团控股有限公司 | page display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104317491B (en) | 2018-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9832374B2 (en) | Method, system, and computer program product for gamifying the process of obtaining panoramic images | |
US20180143751A1 (en) | Methods and devices for user interactive interfaces on touchscreens | |
US10635287B2 (en) | Mapping application with interactive dynamic scale and smart zoom | |
US20190286230A1 (en) | Adjusting content display orientation on a screen based on user orientation | |
KR101788499B1 (en) | Photo composition and position guidance in an imaging device | |
CN103595911B (en) | Camera device and method for assisting user in use thereof | |
US20200166988A1 (en) | Gesture actions for interface elements | |
US9224237B2 (en) | Simulating three-dimensional views using planes of content | |
US10067634B2 (en) | Approaches for three-dimensional object display | |
US10067649B2 (en) | Page switching method and apparatus | |
US10740978B2 (en) | Surface aware lens | |
EP3042275B1 (en) | Tilting to scroll | |
JP2016219020A (en) | Methods, apparatuses and computer program products for providing constant level of information in augmented reality | |
CN108905212B (en) | Game screen display control method and device, storage medium and electronic equipment | |
US10534534B2 (en) | Method for controlling display, storage medium, and electronic device | |
KR102077305B1 (en) | Method and apparatus for providing contents including augmented reality information | |
US9961260B2 (en) | Preview image acquisition user interface for linear panoramic image stitching | |
JP6665572B2 (en) | Control program, control method, and computer | |
ES2605995T3 (en) | Fixing the operating system color using a photograph | |
US10534434B2 (en) | Apparatus and method for using blank area in screen | |
JP2018022503A (en) | Approaches for three-dimensional object display | |
EP2672227B1 (en) | Integrated mapping and navigation application | |
US20180300293A1 (en) | Transforming data to create layouts | |
US9047691B2 (en) | Route display and review | |
US8164599B1 (en) | Systems and methods for collecting and providing map images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C06 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C10 | Entry into substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |