CN106657562A - Preview method and preview device of terminal equipment - Google Patents
Preview method and preview device of terminal equipment Download PDFInfo
- Publication number
- CN106657562A CN106657562A CN201610803309.3A CN201610803309A CN106657562A CN 106657562 A CN106657562 A CN 106657562A CN 201610803309 A CN201610803309 A CN 201610803309A CN 106657562 A CN106657562 A CN 106657562A
- Authority
- CN
- China
- Prior art keywords
- preview
- rocking arm
- rocker elements
- action
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention belongs to the field of terminal control, and relates to a preview method and preview device of terminal equipment. The method includes the following steps: when it is detected that the terminal equipment is in a preview interface, detecting operation of a user on a rocker component which is arranged on the terminal equipment; and according to the operation of the user on the rocker component, executing preview action on the preview interface. The device includes an operation detection module and a preview execution module. Through the preview method and preview device of the terminal equipment provided by the embodiment of the invention, based on the rocker component on the terminal, during preview operation, the rocker component can be operated by a single hand, and preview operation of preview enlargement or reduction of a preview target is realized according to the operation of the rocker component, and compared with an existing touch zooming scheme, one-handed operation is more convenient, and usage experience of a user can be improved.
Description
Technical field
The embodiment of the present invention belongs to terminal control field, more particularly to a kind of method for previewing and preview dress of terminal device
Put.
Background technology
At present smart mobile phone typically adopts touch screen technology, and corresponding entity key is fewer and feweri, is held by entity key originally
Capable operation realizes that a kind of typical touch screen technology application scenarios are in image application or map application by touch operation
In, by touch operation to operating target to zoom in and out.
Inventor has found during the present invention is realized, existing operation target is zoomed in and out at least by touch operation
There are following problems:In image application previewing photos or in map application scale map when, user adopts in general manner
Bimanualness, and when adopting one-handed performance when one hand of user is occupied, one hand is carried out while holding mobile phone by finger
Zoom operations, now operation becomes more inconvenient.
The content of the invention
In sum, the embodiment of the present invention provides a kind of method for previewing and pre-viewing device of terminal device, to solve adopting
With the problem of inconvenient operation when one hand zooms in and out preview operation on the smart mobile phone of touch screen technology.
In a first aspect, the embodiment of the present invention provides a kind of method for previewing of terminal device, specifically include:
When the terminal device is detected in preview interface, operation of the user to rocker elements, the rocking bar are detected
Part is arranged on the terminal device;
According to operation of the user to the rocker elements, in the preview interface preview action is performed.
Used as the alternative embodiment of the present invention, the operation of the detection rocker elements includes:Detect the rocking bar portion
The rocking arm of part operates and/or detects the pressing operation of the rocker elements, to be existed according to rocking arm operation and/or pressing operation
Preview action is performed in the preview interface.
Used as the alternative embodiment of the present invention, the rocking arm operation of the detection rocker elements includes detecting the rocking arm
The duration of operation, to perform corresponding preview action according to the duration.
As the alternative embodiment of the present invention, if the duration is less than default time threshold, described in the detection
The rocking arm operation of rocker elements at least includes following a kind of:Single rocking arm operation detection and the operation detection of multiple rocking arm.
Used as the alternative embodiment of the present invention, the pressing operation of the rocker elements is multi-segment pressing operation, the inspection
Surveying the pressing operation of the rocker elements includes:The section residing for the pressing operation is detected, with according to the pressing operation institute
The section at place performs corresponding preview action.
Used as the alternative embodiment of the present invention, methods described detects the rocker elements by interrupt mode or polling mode
Operation.
Second aspect, the embodiment of the present invention provides a kind of pre-viewing device of terminal device, including operation detection module and pre-
Look at performing module, wherein, the operation detection module is used for when the terminal device is detected in preview interface, and detection is used
Operation of the family to rocker elements, the rocker elements are arranged on the terminal device;
The preview performing module is used for the operation according to user to the rocker elements, performs in the preview interface
Preview action.
Used as the alternative embodiment of the present invention, the rocker elements include action bars and button, the operation detection module
Specifically for detecting the rocking arm operation of the action bars and/or detecting the pressing operation of the button, preview performing module according to
The rocking arm operation and/or pressing operation perform preview action in the preview interface.
Used as the alternative embodiment of the present invention, the operation detection module detects that the rocking arm operation of the action bars also includes
The duration of the rocking arm operation is detected, the preview performing module performs corresponding preview and moves according to the duration
Make.
Used as the alternative embodiment of the present invention, described device also includes judge module, if the judge module judges described
Duration is less than default time threshold, then the operation detection module detects that the rocking arm operation of the rocker elements is at least wrapped
Include following one kind:Single rocking arm operation detection and the operation detection of multiple rocking arm.
As the alternative embodiment of the present invention, it is characterised in that the button is multisection type button, the operation detects mould
Block detects the section residing for the multisection type button, and section of the preview performing module according to residing for the multisection type button is held
The corresponding preview action of row.
Used as the alternative embodiment of the present invention, the operation detection module is detected using polling mode or using interrupt mode
The operation of the rocker elements.
The method for previewing and pre-viewing device of the terminal device provided by the embodiment of the present invention, based on terminal device
Rocker elements, when preview operation is carried out, singlehanded can be operated by rocker elements, and according to the rocker elements for detecting
Operation the preview operation such as zoom in or out to preview target, compared with existing touch scalable scheme, rocker elements are entered
Row one-handed performance is convenient, so as to lift the experience of user.
Description of the drawings
In order to be illustrated more clearly that scheme of the invention or of the prior art, below will be to embodiment or description of the prior art
Needed for the accompanying drawing to be used make one and simple introduce, it should be apparent that, drawings in the following description are some realities of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the method for previewing of the terminal device that the embodiment of the present invention one is provided;
Fig. 2 is the structured flowchart of the pre-viewing device of the terminal device that the embodiment of the present invention three is provided;
Fig. 3 is the structured flowchart of the rocker elements that the embodiment of the present invention four is provided;
Fig. 4 is the position relationship schematic diagram of the rocker elements that the embodiment of the present invention four is provided and terminal device;
Fig. 5 is the structured flowchart of the pre-viewing device of the terminal device that the embodiment of the present invention four is provided;
Fig. 6 is a kind of structured flowchart of terminal device that the embodiment of the present invention five is provided;
Fig. 7 is the structured flowchart of another kind of terminal device that the embodiment of the present invention five is provided.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention.Obviously, described embodiment is only
The a part of embodiment of the present invention, rather than the embodiment of whole, give presently preferred embodiments of the present invention in accompanying drawing.The present invention can
Realize with many different forms, however it is not limited to embodiment described herein, on the contrary, providing the mesh of these embodiments
Be make the understanding to the disclosure more it is thorough comprehensively.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model of present invention protection
Enclose.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field for belonging to the present invention
The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that of the invention in limiting.Additionally, term " comprising " and " having " and their any changes
Shape, it is intended that cover non-exclusive including.For example contain the process of series of steps or unit, method, system, product or
Equipment is not limited to the step of listing or unit, but alternatively also includes the step of not listing or unit, or optional
Ground also includes other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
In being contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly it is understood by, embodiment described herein can be in combination with other embodiments.
The terminal device of the embodiment of the present invention can be computer, mobile terminal etc., for example smart mobile phone, panel computer,
Game machine etc., in each embodiment of described below, such as without special instruction, to correlation technique content by taking smart mobile phone as an example
It is described in detail, it should be noted that the description does not constitute the restriction to the terminal device.
Embodiment one
In embodiments of the present invention, the flow chart of the method for previewing of terminal device shown in Fig. 1 is refer to, the terminal sets
Standby method for previewing is specifically included:
S101, when the terminal device is detected in preview interface, detect operation of the user to rocker elements, it is described
Rocker elements are arranged on the terminal device;
Specifically, in smart mobile phone, for the preview operation of preview target needs to be carried out in specific application, such as
Picture carries out preview by the application of image class, and map passes through map class application preview etc., for provided in an embodiment of the present invention
Method for previewing, detecting whether to have already turned on first on smart mobile phone carries out the application of preview operation, and is at preview circle
Face.Have already turned on the application that carries out preview operation when smart mobile phone is detected, and in preview interface when, further detection intelligence
The operation of the rocker elements on mobile phone, the operation is the operation that preview control is carried out to preview target.The rocker elements
Each operation can trigger a specific preview action, wherein, the specific preview action can preset, that is, be directed to
Each operation of the rocker elements can set corresponding preview action.
S102, the operation according to user to the rocker elements, in the preview interface preview action is performed;
When the operation according to the rocker elements performs specific preview action to preview target, the preview action can
To be to perform amplifieroperation to preview target, to carry out local preview to target;Can also be that preview target is performed to reduce behaviour
Make, so that global preview is carried out to target or preview on a large scale is carried out;Can also be after preview target is exaggerated or minimized, to pre-
Target of looking at performs the operation for checking original size.Therefore the preview action at least includes following one kind:Amplify preview, reduce preview
With life size preview, in corresponding to specific application, such as image application, then including image amplification, image down, full scale drawing
As three kinds of preview actions, map application then includes that map amplifies, map reduces, three kinds of preview actions of life size map.
In this step, the operation according to user to the rocker elements, performs and the operation in the preview interface
The corresponding preview action of phase, so as to realize that the preview to preview target is controlled.
Optionally, except smart mobile phone it is locally applied in addition to, for application on site also dependent on the embodiment of the present invention provide
Method for previewing perform corresponding preview action.
By the method for previewing of terminal device provided in an embodiment of the present invention, based on the rocker elements on terminal device,
When carrying out preview operation, can one hand rocker elements are operated, and according to the operation of the rocker elements for detecting to pre-
Target of looking at such as zooms in or out at the preview operation, compared with existing touch scalable scheme, to rocker elements one-handed performance is carried out
It is convenient, so as to the experience of user can be lifted.
Embodiment two
The method for previewing of terminal device provided in an embodiment of the present invention based on embodiment one, as the present invention it is optional
Embodiment, the operation of the detection rocker elements includes:Detect the rocking arm operation of the rocker elements and/or detect described
The pressing operation of rocker elements, to be performed in the preview interface accordingly according to rocking arm operation and/or pressing operation
Preview action.
Specifically, the rocking arm operation various operations of correspondence of the rocker elements, according to the difference of direction of operating can be divided into
Upper rocker arm is operated, to lower shake-changing arm operation, to the left rocking arm operation, to the right rocking arm operation etc..The rocker elements are in all directions
Rocking arm operation can trigger a specific preview action.
Used as the alternative of the embodiment of the present invention, detecting the rocking arm operation of the rocker elements includes the detection rocking arm
The duration of operation, to perform corresponding preview action according to the duration, the preview action can be amplification preview
Or diminution preview etc..Optionally, the length of the duration for being operated according to the rocking arm, can be divided into continuous rocking arm by rocking arm operation
Operation and the operation of discontinuous rocking arm, specifically, arrange a time threshold, and when the duration of rocking arm operation the time is more than
During threshold value, then the rocking arm operation is the operation of continuous rocking arm, when the duration of rocking arm operation the time threshold is less than, then
The rocking arm operation is the operation of discontinuous rocking arm, such as setting time threshold value is 2 seconds, is more than 2 seconds when the rocking arm operation duration
When, then judge the rocking arm operation as the operation of continuous rocking arm.
As the alternative of the embodiment of the present invention, when the duration of rocking arm operation the time threshold is less than,
In the range of the time threshold, the rocking arm operation for detecting the rocker elements at least includes following a kind of:Single rocking arm is grasped
Make detection and the operation detection of multiple rocking arm.The tool that the i.e. described discontinuous rocking arm for detecting the rocker elements in all directions is operated
Body type, the type includes the operation of single rocking arm and the operation of multiple rocking arm.Specifically, setting time threshold value is 2 seconds, works as rocking arm
When the operation duration is less than 2 seconds, if the number of times that the rocking arm operation is detected in the range of the time threshold is one time,
The rocking arm operation is judged as the operation of single rocking arm, if the number of times that the rocking arm operation is detected in the range of the time threshold is two
During the secondary and above, then judge the rocking arm operation as the operation of multiple rocking arm.The continuous rocking arm operation, single rocking arm are operated and multiple
Rocking arm operation corresponds to one specific preview action of triggering.
In embodiments of the present invention, intelligence can such as be opened by the continuous rocking arm smooth operation ground scaling preview target
After image application or map application on energy mobile phone, if the continuous rocking arm for detecting upwards or to the left is operated, should in image
The continuous amplification picture with, or the continuous enlarged map in map application, until by preview target be amplified to full-size or
Till cancelling rocking arm operation;It is continuous in image application to reduce figure when the operation of continuous rocking arm downwards or to the right is detected
Piece, or the continuous diminution map in map application, until preview shrinking of object to minimum dimension or cancellation rocking arm are operated
Till.
In embodiments of the present invention, single-stage scaling can be carried out to preview target by single rocking arm operation, such as is beaten
After opening image application or the map application on smart mobile phone, if preview target original state be 1 times, when detect upwards or
When single rocking arm to the left is operated, the size of picture is amplified into 1 times in image application, or by the chi of map in map application
It is very little to amplify 1 times;When the operation of single rocking arm downwards or to the right is detected, by the size reduction 1 of picture in image application
Times, or by 1 times of the size reduction of map in map application.Optionally, the corresponding scaling multiple of predeterminable single-stage scaling.
In embodiments of the present invention, efficiently preview action can be performed to preview target by the multiple rocking arm operation,
After such as opening image application or the map application on smart mobile phone, operate when multiple rocking arm upwards or to the left is detected
When, by picture or Map Switch to full-size;When detecting multiple rocking arm downwards or to the right and operating, by picture or
Person's Map Switch is to minimum dimension.
Used as the alternative of the embodiment of the present invention, the pressing operation of the rocker elements is multisection type pressing operation, institute
State and detect that the pressing operation of the rocker elements includes:The section residing for the pressing operation is detected, with according to the pressing behaviour
Make residing section and perform corresponding preview action.Specifically, pressing operation correspondence one preview of triggering of each section is moved
Make, by taking two-period form pressing operation as an example, the corresponding preview action of the pressing operation of each section can be set to efficiently preview and be moved
Make, such as, when the pressing operation is detected in the first section, quickly preview target is amplified to into full-size, work as inspection
Measure the pressing operation in the second section when, quickly by preview shrinking of object to minimum dimension.
In embodiments of the present invention, methods described can detect the operation of the rocker elements by interrupt mode, also can lead to
Overpolling mode detects the operation of the rocker elements.Illustrate by taking smart mobile phone as an example, the interrupt mode refers to intelligence
Mobile phone in operation program, due to event set in advance or other random internal or external events so that smart mobile phone
The program that termination is currently running, then perform event set in advance or other random internal or external events;
In the embodiment of the present invention, the operation of the rocker elements is random external event, thus, when user is to the rocker elements
When being operated, smart mobile phone can immediately obtain the operation, and perform corresponding preview action according to the operation.
And the polling mode refers to smart mobile phone and inquires about peripheral hardware in due order with certain cycle, whether to confirm the peripheral hardware
There are data handling requirements, corresponding data processing is carried out if having, otherwise inquire about next peripheral hardware.In embodiments of the present invention,
By smart mobile phone the rocker elements are inquired about with certain cycle, to obtain the operation of the rocker elements.
Because during the operation that the rocker elements are detected by polling mode, the operation of the rocker elements belongs to passive inspection
Survey state, thus it is ageing relative low by interrupt mode detection, as the preferred version of the present embodiment, it is preferred to use interrupt
Mode obtains the operation of the rocker elements.
By the method for previewing of terminal device provided in an embodiment of the present invention, based on the rocker elements on terminal device, tool
Rocking arm operation and pressing operation of the body by the detection rocker elements, to carry out preview operation to preview target, while can lead to
Cross continuous rocking arm operation and realize smooth zoom operations, also zoom operations step by step can be realized by the operation of single rocking arm, additionally may be used
To perform efficiently preview action by pressing operation or the operation of continuous rocking arm so that more convenient to operate, improve user's
Experience.
Embodiment three
In embodiments of the present invention, a kind of structured flowchart of the pre-viewing device of the terminal device with reference to shown in Fig. 2, described pre-
Device of looking at includes operation detection module 100 and preview performing module 200, the operation detection module 100 and preview performing module
200 are connected.
Wherein, the operation detection module 100 is used for when the terminal device is detected in preview interface, and detection is used
Operation of the family to rocker elements, the rocker elements are arranged on the terminal device.Specifically, in smart mobile phone, for
The preview operation of preview target is required for being carried out in specific application, such as picture carries out preview by the application of image class,
Map by map class application preview etc., in embodiments of the present invention, detect whether to have already turned on first on smart mobile phone into
The application of row preview operation, and it is at preview interface.When detect smart mobile phone have already turned on carry out preview operation should
With, and in preview interface when, by operate detection module 100 detect smart mobile phone on rocker elements operation, the behaviour
Work is the operation that preview control is carried out to preview target.Each operation of the rocker elements can trigger one specifically in advance
Look at action, wherein, the specific preview action can preset, i.e. each operation for the rocker elements can set
Fixed corresponding preview action.
The preview performing module 200 is used for the operation according to user to the rocker elements, in the preview interface
Perform preview action.Specifically, in preview performing module 200 preview target is performed according to the operation of the rocker elements concrete
Preview action when, the preview action can be to preview target perform amplifieroperation, to carry out local preview to target;
Can be that reduction operation is performed to preview target, so that global preview is carried out to target or preview on a large scale is carried out;Can also be
After preview target is exaggerated or minimized, the operation for checking original size is performed to preview target.Therefore the preview action is at least wrapped
Include following one kind:Amplify preview, reduce preview and life size preview, in corresponding to specific application, such as image application is then wrapped
Image amplification, image down, full scale drawing are included as three kinds of preview actions, map application then includes that map amplifies, map reduces, former
Three kinds of preview actions of size map.In embodiments of the present invention, the operation according to user to the rocker elements, in the preview
Preview action mutually corresponding with the operation is performed on interface, so as to realize that the preview to preview target is controlled.
Optionally, except smart mobile phone it is locally applied in addition to, for application on site also dependent on the embodiment of the present invention provide
Pre-viewing device perform corresponding preview action.
By the pre-viewing device of terminal device provided in an embodiment of the present invention, when preview operation is carried out, set based on terminal
Standby upper rocker elements, can one hand rocker elements are operated, and according to the operation of the rocker elements for detecting to pre-
Target of looking at such as zooms in or out at the preview operation, compared with existing touch scalable scheme, to rocker elements one-handed performance is carried out
It is convenient, so as to the experience of user can be lifted.
Example IV
In embodiments of the present invention, as shown in figure 3, being illustrated as a kind of alternative of the rocker elements, the rocking bar
Part includes action bars 310 and button 320, and accordingly, the operation detection module 100 is specifically for detecting the action bars
310 rocking arm operation and/or the button 320 pressing operation, preview performing module 200 according to the rocking arm operate and/or
Pressing operation performs preview action in the preview interface.
Illustrate by taking smart mobile phone as an example, refering to Fig. 4, it is illustrated that for a kind of alternative of the present embodiment, the rocking bar
Stretch out smart mobile phone side in the part of action bars 310 of part.Specifically, the various behaviour of rocking arm operation correspondence of the action bars 310
Make, can be divided into upper rocker arm operation according to the difference of direction of operating, operate to lower shake-changing arm, to the left rocking arm operation, to the right rocking arm behaviour
Make etc., the rocking arm operation of the action bars 310 of the rocker elements in all directions can trigger a specific preview action.
Used as the alternative of the embodiment of the present invention, the operation detection module 100 detects the operation of the rocker elements
The rocking arm operation of bar 310 includes detecting the duration of rocking arm operation, so that the preview performing module 200 is according to described lasting
Time performs corresponding preview action, and the preview action to amplify preview or can reduce preview etc..Optionally, shaken according to described
The length of the duration of the rocking arm operation of the action bars 310 of rod unit, can be divided into rocking arm operation continuous rocking arm and operate and non-
Continuous rocking arm operation, specifically, arranges a time threshold, and with reference to Fig. 5, the pre-viewing device of the terminal device also includes judging
Module 400, when the judge module 400 judges that the duration of the rocking arm operation of the action bars 310 of the rocker elements is more than
During the time threshold, then the rocking arm operation is the operation of continuous rocking arm, when the judge module 400 judges the rocker elements
Duration of rocking arm operation of action bars 310 when being less than the time threshold, then rocking arm operation is discontinuous rocking arm
Operation.Such as setting time threshold value is 2 seconds, when being more than 2 seconds the rocking arm operation duration of the action bars 310, is then judged
The rocking arm operation is the operation of continuous rocking arm.
As the alternative of the embodiment of the present invention, if the judge module 400 judges the duration less than default
Time threshold, then to detect that the rocking arm operation of the rocker elements at least includes following a kind of for the operation detection module:Single
Rocking arm operation detection and the operation detection of multiple rocking arm.Detection module 100 is operated to detect the rocker elements in all directions
The particular type of discontinuous rocking arm operation, the particular type includes the operation of single rocking arm and the operation of multiple rocking arm.Setting time
Threshold value is 2 seconds, when being less than 2 seconds the rocking arm operation duration, if detecting in the time threshold range of operation detection module 100
When the number of times operated to the rocking arm is one time, then rocking arm operation is judged as the operation of single rocking arm, if in the time threshold model
Enclose interior operation detection module 100 detect the number of times of rocking arm operation for twice and during the above, then judge rocking arm operation as
Repeatedly rocking arm operation.It is specific that the continuous rocking arm operation, the operation of single rocking arm and multiple rocking arm operation correspond to triggering one
Preview action.
In embodiments of the present invention, the preview performing module 200 can be by the continuous rocking arm smooth operation ground scaling
Preview target, such as after opening image application or the map application on smart mobile phone, if the operation detection module 100 is detected
When continuous rocking arm upwards or to the left is operated, the continuous amplification picture in image application, or continuously amplify in map application
Map, till preview target being amplified to full-size or cancels rocking arm operation;The operation detection module 100 is detected
When operating to continuous rocking arm downwards or to the right, the continuous diminution picture in image application, or in map application continuously
Map is reduced, until preview shrinking of object to minimum dimension or cancellation rocking arm are operated.
In embodiments of the present invention, the preview performing module 200 can be operated to preview target by the single rocking arm
Carry out single-stage scaling, such as after opening image application or the map application on smart mobile phone, if preview target original state is 1
Times, when the single rocking arm that the operation detection module 100 is detected upwards or to the left is operated, the preview performing module
The size of picture is amplified 1 times by 200 in image application, or the size of map is amplified into 1 times in map application;As the behaviour
When making the single rocking arm that detection module 100 detects downwards or to the right and operating, the preview performing module 200 is in image application
Middle 1 times of the size reduction by picture, or by 1 times of the size reduction of map in map application.Optionally, predeterminable single-stage scaling
Corresponding scaling multiple.
In embodiments of the present invention, the preview performing module 200 can be operated to preview target by the multiple rocking arm
Efficiently preview action is performed, such as after opening image application or the map application on smart mobile phone, when the operation detection mould
When block 100 detects multiple rocking arm upwards or to the left and operates, the preview performing module 200 is by picture or Map Switch
To full-size;When the multiple rocking arm that the operation detection module 100 is detected downwards or to the right is operated, the preview is held
Row module 200 is by picture or Map Switch to minimum dimension.
Used as the alternative of the embodiment of the present invention, the button 320 of the rocker elements is multisection type button, optionally,
Pressing operation correspondence one preview action of triggering of each section, in embodiments of the present invention, the operation detection module 100
Detect the section residing for the multisection type button, section of the preview performing module 200 according to residing for the multisection type button
Perform corresponding preview action.By taking two-period form button as an example, the corresponding preview action of the pressing operation of each section can be set to
Efficiently preview action, such as, when the operation detection module 100 detects the pressing operation of the two-period form button in the
During one section, preview target is quickly amplified to full-size by the preview performing module 200, and works as the operation detection module
When 100 pressing operations for detecting the two-period form button are in the second section, the preview performing module 200 is quick by preview
Shrinking of object is to minimum dimension.
In embodiments of the present invention, make the operation detection module 100 and polling mode is detected or adopted using interrupt mode
Detect the operation of the rocker elements.Illustrate by taking smart mobile phone as an example, the interrupt mode refers to smart mobile phone in operation
During program, due to event set in advance, or other random internal or external events so that smart mobile phone stops currently just
In the program of operation, then event set in advance is performed, or other random internal or external events;In present invention enforcement
In example, the operation of the rocker elements is random external event, thus, when user operates to the rocker elements
When, the operation detection module 100 of smart mobile phone can immediately obtain the operation, and it is dynamic to perform corresponding preview according to the operation
Make.
And the polling mode refers to smart mobile phone and inquires about peripheral hardware in due order with certain cycle, whether to confirm the peripheral hardware
There are data handling requirements, corresponding data processing is carried out if having, otherwise inquire about next peripheral hardware.In embodiments of the present invention,
By smart mobile phone the rocker elements are inquired about with certain cycle, by operating detection module 100 rocking bar is obtained
The operation of part.
Because during the operation that the rocker elements are detected by polling mode, the rocker elements belong to passive detection shape
State, thus it is ageing relative low by interrupt mode detection, as the preferred version of the present embodiment, it is preferred to use interrupt mode
Obtain the operation of the rocker elements.
By the pre-viewing device of terminal device provided in an embodiment of the present invention, based on the rocker elements on terminal device, tool
Body detects rocking arm operation and the pressing operation of the rocker elements by operation detection module, by preview performing module to preview mesh
Mark carries out preview operation, while smooth zoom operations can be realized by the operation of the continuous rocking arm of the action bars, also can be by behaviour
Zoom operations step by step are realized in the single rocking arm operation for making bar, can additionally pass through the continuous rocking arm of pressing operation or action bars
Operation performs efficiently preview action so that more convenient to operate, improves the experience of user.
Embodiment five
It is illustrated in figure 6 a kind of structural representation of terminal device provided in an embodiment of the present invention, the terminal device bag
The pre-viewing device described in previous embodiment, and rocker elements 300 are included, specifically, the pre-viewing device includes operation detection mould
Block 100 and preview performing module 200, wherein operation detection module 100 respectively with preview performing module 200, the phase of rocker elements 300
Connection.
Used as the alternative of the embodiment of the present invention, Fig. 7 is the knot of another kind of terminal device provided in an embodiment of the present invention
Structure schematic diagram, the pre-viewing device also include judge module 400, wherein operation detection module 100 respectively with preview performing module
200th, rocker elements 300, judge module 400 are connected.
It should be noted that the functional module such as operation detection module in the above-described embodiments and preview performing module can be with
It is integrated in a processing unit, or modules is individually physically present, it is also possible to two or more module collection
Into in a unit.Above-mentioned integrated unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds software work(
The form of energy unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a non-volatile computer
In read/write memory medium.Realize above-mentioned each SFU software functional unit function relative program instruction be stored in it is described non-volatile
In computer read/write memory medium, described program instruction is used so that a computer installation (can be personal computer, take
Business device, or network equipment etc.) or processor (Processor) perform the part step of each embodiment methods described of the invention
Suddenly.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (Read-Only Memory, ROM), deposit at random
Access to memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Embodiments of the invention are these are only, the scope of the claims of the present invention is not intended to limit, although with reference to the foregoing embodiments
The present invention is described in detail, for those skilled in the art comes, it still can be to aforementioned each concrete reality
Apply the technical scheme described in mode to modify, or equivalence replacement is carried out to which part technical characteristic.It is every to utilize this
The equivalent structure that description of the invention and accompanying drawing content are done, is directly or indirectly used in other related technical fields, in the same manner
Within scope of patent protection of the present invention.
Claims (12)
1. a kind of method for previewing of terminal device, it is characterised in that include:
When the terminal device is detected in preview interface, operation of the user to rocker elements, the rocker elements are detected
It is arranged on the terminal device;
According to operation of the user to the rocker elements, in the preview interface preview action is performed.
2. method according to claim 1, it is characterised in that the operation of the detection rocker elements includes:Detection
The rocking arm operation of the rocker elements and/or detect the pressing operation of the rocker elements, with according to rocking arm operation and/or
Pressing operation performs corresponding preview action in the preview interface.
3. method according to claim 2, it is characterised in that the rocking arm operation of the detection rocker elements includes examining
The duration of the rocking arm operation is surveyed, to perform corresponding preview action according to the duration.
4. method according to claim 3, it is characterised in that if the duration is less than default time threshold, institute
State and detect that the rocking arm operation of the rocker elements at least includes following one kind:Single rocking arm operation detection and the operation inspection of multiple rocking arm
Survey.
5. method according to claim 2, it is characterised in that the pressing operation of the rocker elements is multi-segment pressing behaviour
Make, the pressing operation for detecting the rocker elements includes:The section residing for the pressing operation is detected, to press according to described
Section residing for press operation performs corresponding preview action.
6. according to the arbitrary described method of claim 1-5, it is characterised in that methods described is by interrupt mode or polling mode
Detect the operation of the rocker elements.
7. a kind of pre-viewing device of terminal device, it is characterised in that including operation detection module and preview performing module, wherein,
The operation detection module is used to, when the terminal device is detected in preview interface, detect behaviour of the user to rocker elements
Make, the rocker elements are arranged on the terminal device;
The preview performing module is used for the operation according to user to the rocker elements, and in the preview interface preview is performed
Action.
8. device according to claim 7, it is characterised in that the rocker elements include action bars and button, the behaviour
Make detection module specifically for detecting the rocking arm operation of the action bars and/or detecting the pressing operation of the button, preview is held
Row module is operated according to the rocking arm and/or pressing operation performs preview action in the preview interface.
9. device according to claim 8, it is characterised in that the operation detection module detects the rocking arm of the action bars
Operation also includes the duration of the detection rocking arm operation, and the preview performing module performs corresponding according to the duration
Preview action.
10. device according to claim 9, it is characterised in that described device also includes judge module, if the judgement mould
Block judges that the duration is less than default time threshold, then the operation detection module detects the rocking arm of the rocker elements
Operation at least includes following a kind of:Single rocking arm operation detection and the operation detection of multiple rocking arm.
11. devices according to claim 8, it is characterised in that the button is multisection type button, the operation detects mould
Block detects the section residing for the multisection type button, and section of the preview performing module according to residing for the multisection type button is held
The corresponding preview action of row.
12. according to the arbitrary described device of claim 7-11, it is characterised in that the operation detection module adopts interrupt mode
Or polling mode detects the operation of the rocker elements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803309.3A CN106657562A (en) | 2016-09-05 | 2016-09-05 | Preview method and preview device of terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803309.3A CN106657562A (en) | 2016-09-05 | 2016-09-05 | Preview method and preview device of terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657562A true CN106657562A (en) | 2017-05-10 |
Family
ID=58851741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803309.3A Pending CN106657562A (en) | 2016-09-05 | 2016-09-05 | Preview method and preview device of terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657562A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1650251A (en) * | 2002-03-05 | 2005-08-03 | 索尼爱立信移动通信日本株式会社 | Image processing device, image processing program, and image processing method |
CN101763214A (en) * | 2009-12-30 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal display page zoom method, system and mobile terminal |
CN102063250A (en) * | 2009-11-16 | 2011-05-18 | 北京搜狗科技发展有限公司 | Method and device for inputting character by direction operation |
CN104238759A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling terminal through physical keys |
CN105786365A (en) * | 2016-03-21 | 2016-07-20 | 广东欧珀移动通信有限公司 | Album operation method and terminal |
-
2016
- 2016-09-05 CN CN201610803309.3A patent/CN106657562A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1650251A (en) * | 2002-03-05 | 2005-08-03 | 索尼爱立信移动通信日本株式会社 | Image processing device, image processing program, and image processing method |
CN102063250A (en) * | 2009-11-16 | 2011-05-18 | 北京搜狗科技发展有限公司 | Method and device for inputting character by direction operation |
CN101763214A (en) * | 2009-12-30 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal display page zoom method, system and mobile terminal |
CN104238759A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling terminal through physical keys |
CN105786365A (en) * | 2016-03-21 | 2016-07-20 | 广东欧珀移动通信有限公司 | Album operation method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101838031B1 (en) | Method and apparatus for managing icon in portable terminal | |
EP2592537B1 (en) | Method and apparatus for designating entire area using partial area touch in a portable equipment | |
US20150007069A1 (en) | Electronic device capable of reconfiguring displayed icons and method thereof | |
CN108121485A (en) | A kind of icon method for sorting, terminal and computer readable storage medium | |
CN110286840A (en) | Gesture zooming control method and device of touch equipment and related equipment | |
EP2615536A2 (en) | Apparatus and method for zooming touch screen in electronic device | |
KR20140036576A (en) | Method for displaying category and an electronic device thereof | |
JP2016525763A (en) | Screen edge touch control optimization method, apparatus and terminal | |
KR20150012889A (en) | Method for providing graphic user interface and apparatus for the same | |
JP2013254528A (en) | Component display processing method and user device | |
KR20140040401A (en) | Method for providing one hand control mode and an electronic device thereof | |
WO2019129039A1 (en) | Application icon management method and related device | |
CN108307068A (en) | Pair screen shows interface switching method, mobile terminal and storage medium | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN106681612A (en) | Adjusting method applied to mobile terminal and mobile terminal | |
CN107765973A (en) | Control method and device, computer installation and the storage medium in screen display direction | |
CN112445408B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN109002339A (en) | touch operation method, device, storage medium and electronic equipment | |
JP5232825B2 (en) | Target zone for menu items on touch-sensitive displays | |
CN110113525A (en) | Shooting preview method, apparatus, storage medium and mobile terminal | |
CN113840089A (en) | Camera function switching method and device, terminal equipment and storage medium | |
CN106294832A (en) | Browser page method for caching and processing and device | |
CN103870115B (en) | Information processing method and electronic equipment | |
CN106775217B (en) | A kind of application identities processing method, device and terminal | |
CN115665314B (en) | Screen display method, device, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170510 |