CN106469012A - A kind of method for previewing of terminal unit and pre-viewing device - Google Patents

A kind of method for previewing of terminal unit and pre-viewing device Download PDF

Info

Publication number
CN106469012A
CN106469012A CN201610803306.XA CN201610803306A CN106469012A CN 106469012 A CN106469012 A CN 106469012A CN 201610803306 A CN201610803306 A CN 201610803306A CN 106469012 A CN106469012 A CN 106469012A
Authority
CN
China
Prior art keywords
preview
massage device
roller massage
action
terminal unit
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
Application number
CN201610803306.XA
Other languages
Chinese (zh)
Inventor
赵谦谦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610803306.XA priority Critical patent/CN106469012A/en
Publication of CN106469012A publication Critical patent/CN106469012A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Massaging Devices (AREA)

Abstract

The embodiment of the present invention belongs to terminal control field, is related to a kind of method for previewing of terminal unit and pre-viewing device, and methods described includes:When described terminal unit is detected and being in preview interface, detect the operation to roller massage device for the user, described roller massage device is arranged on described terminal unit;According to the operation to described roller massage device for the user, preview action is executed on described preview interface.Described terminal unit includes operating detection module and preview performing module.By method for previewing and the pre-viewing device of terminal unit provided in an embodiment of the present invention, based on the roller massage device on terminal unit, roller massage device can be operated one hand, obtain the operation of described roller massage device by detection, and preview is carried out according to described operation the preview operation such as zoom in or out, compared with existing touch screen preview scheme, more convenient to operate, the experience of user can be lifted.

Description

A kind of method for previewing of terminal unit and pre-viewing device
Technical field
The embodiment of the present invention belongs to terminal control field, and more particularly, to a kind of method for previewing of terminal unit and preview fill Put.
Background technology
Smart mobile phone typically adopts touch screen technology at present, and corresponding entity key is fewer and feweri, is originally held by entity key The operation of row is realized by touch operation, and a kind of typical touch screen technology application scenarios are in image application or map application In, by touch operation, operation target is zoomed in and out.
Inventor finds during realizing the present invention, existing by touch operation to operation target zoom in and out at least There are following problems:Image application in previewing photos or in map application scale map when, user adopts in general manner Bimanualness, and when adopting one-handed performance when one hands of user are occupied, one hand is held and is carried out by finger while mobile phone Zoom operations, now operation becomes more inconvenient.
Content of the invention
In sum, the embodiment of the present invention provides a kind of method for previewing of terminal unit and pre-viewing device, to solve adopting Zoom in and out the problem of inconvenient operation during preview operation with one hand 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 unit, specifically include:
When described terminal is detected and being in preview interface, detect the operation to roller massage device for the user, described roller massage device It is arranged on described terminal unit;
According to the operation to described roller massage device for the user, preview action is executed on described preview interface.
As the alternative embodiment of the present invention, the operation of the described roller massage device of described detection includes:Detect described roller bearing portion The rolling operation of part and/or pressing operation, to execute in described preview interface according to described rolling operation and/or pressing operation Preview action.
As the alternative embodiment of the present invention, the rolling operation of the described roller massage device of described detection includes:Detect described rolling The rotating direction of dynamic operation, to execute corresponding preview action according to described rotating direction.
As the alternative embodiment of the present invention, the rolling operation of the described roller massage device of described detection also includes:Detection is described The roll angle of rolling operation, to obtain the scaling adjustment amount executing described preview action according to described roll angle.
As the alternative embodiment of the present invention, the pressing operation of described roller massage device is multisection type pressing operation, described inspection The pressing operation surveying described roller massage device includes:Detect the section residing for described pressing operation, with according to described pressing operation institute The section at place executes corresponding preview action.
As the alternative embodiment of the present invention, methods described passes through interrupt mode or polling mode detects described roller massage device Operation.
Second aspect, the embodiment of the present invention also provides a kind of pre-viewing device of terminal unit, including operation detection module and Preview performing module;
Described operation detection module is used for when described terminal is detected and being in preview interface, and user is to roller massage device for detection Operation, described roller massage device is arranged on described terminal unit;
Described preview performing module is used for the operation to described roller massage device according to user, executes in described preview interface Preview action.
As the alternative embodiment of the present invention, described roller massage device includes gear type roller bearing and button, described operation detection Module is specifically for the detection rolling operation of described gear type roller bearing and/or the pressing operation of described button, described preview execution Module executes preview action according to described rolling operation and/or pressing operation in described preview interface.
As the alternative embodiment of the present invention, described operation detection module detects the rolling operation bag of described gear type roller bearing Include:Detect the rotating direction of described rolling operation, described preview performing module executes corresponding preview according to described rotating direction Action.
As the alternative embodiment of the present invention, described operation detection module detects the rolling operation of described gear type roller bearing also Including:Detect the roll angle of described rolling operation, to obtain the scaling executing described preview action according to described roll angle Adjustment amount.
As the alternative embodiment of the present invention, described button is multisection type button, and described operation detection module detection is described Section residing for multisection type button, section execution according to residing for described multisection type button for the described preview performing module is pre- accordingly Look at action.
As the alternative embodiment of the present invention, described operation detection module adopts interrupt mode or polling mode detection described The operation of roller massage device.
By method for previewing and the pre-viewing device of terminal unit provided in an embodiment of the present invention, based on the rolling on terminal unit Axle portion part, when carrying out preview operation, can one hand operate to roller massage device, the described roller massage device that this basis detects Operation carries out preview and the preview operation such as zooms in or out, compared with existing touch screen preview scheme, to roller bearing portion to preview target Part carries out that one-handed performance is convenient, thus the experience of user can be lifted.
Brief description
In order to be illustrated more clearly that the present invention or scheme of the prior art, below will be to embodiment or description of the prior art In required use accompanying drawing make one simple introduce it should be apparent that, drawings in the following description be the present invention some are real Apply example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
The flow chart of the method for previewing of the terminal unit that Fig. 1 provides for the embodiment of the present invention one;
The structured flowchart of the pre-viewing device of the terminal unit that Fig. 2 provides for the embodiment of the present invention three;
The structured flowchart of the roller massage device that Fig. 3 provides for the embodiment of the present invention four;
The relative position schematic diagram of the roller massage device that Fig. 4 provides for the embodiment of the present invention four and terminal unit;
The structured flowchart of the gear type roller bearing that Fig. 5 provides for the embodiment of the present invention four;
The structured flowchart of the terminal unit that Fig. 6 provides for the embodiment of the present invention five.
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 whole embodiments, give presently preferred embodiments of the present invention in accompanying drawing.The present invention can To realize however it is not limited to embodiment described herein in many different forms, on the contrary, providing the mesh of these embodiments Be to make the understanding to the disclosure more thoroughly comprehensive.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 not making creative work, broadly falls into the model of present invention protection Enclose.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field belonging to the present invention The implication that technical staff is generally understood that is identical.The term being used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body is it is not intended that in limiting the present invention.Additionally, term " comprising " and " having " and their any changes Shape is it is intended that cover non-exclusive comprising.For example contain the process of series of steps or unit, method, system, product or Equipment is not limited to the step listed or unit, but alternatively also includes step or the unit do not listed, or optional Ground is also included for these processes, method, product or intrinsic other steps of 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 It is contained at least one embodiment of the present invention.Each position in the description occur this phrase might not each mean identical Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
The terminal unit 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 all taking smart mobile phone as a example It is described in detail, it should be noted that described description does not constitute the restriction to described terminal unit.
Embodiment one
In embodiments of the present invention, the flow chart that refer to the method for previewing of the terminal unit shown in Fig. 1, described terminal sets Standby method for previewing specifically includes:
S101, when described terminal is detected and being in preview interface, detect the operation to roller massage device for the user, described roller bearing Part is arranged on described terminal unit;
Specifically, in smart mobile phone, the preview operation of preview target is needed to carry out in specific application, such as exists Previewing photos in image application, preview map etc. in map application.For method for previewing provided in an embodiment of the present invention, first Smart mobile phone detects whether have already turned on the application carrying out preview operation, and be at preview interface.When intelligence is detected The application carrying out preview operation can be had already turned on by mobile phone, and when being in preview interface, the roller bearing on detection smart mobile phone further The operation of part, described operation is the operation that preview target is carried out with preview control.Each operation of described roller massage device is all A specific preview action can be triggered, wherein, described specific preview action can preset, that is, be directed to described roller massage device Each operation all can set corresponding preview action.
S102, the operation to described roller massage device according to user, execute preview action in described preview interface.
When the operation according to described roller massage device executes specific preview action to preview target, described preview action can To be that amplifieroperation is executed to preview target, so that local preview is carried out to target;Can also be that behaviour is reduced to the execution of preview target Make, target is carried out with overall preview or carries out large-scale preview;Can also be after preview target is exaggerated or minimized, right The operation of original size is checked in the execution of preview target.Therefore described preview action at least includes following one kind:Amplify preview, reduce pre- Look at and life size preview, correspond in specific application, such as image application, then include image amplification, image down, life size Three kinds of preview action of image, map application then includes map amplification, map reduces, three kinds of preview action of life size map.
In this step, the operation to described roller massage device according to user, execution and this operation in described preview interface Corresponding preview action, thus realize the preview to preview target control.
Optionally, except smart mobile phone locally applied in addition to, for application on site also dependent on the embodiment of the present invention provide Method for previewing execute corresponding preview action.
By the method for previewing of terminal unit provided in an embodiment of the present invention, based on the roller massage device on terminal unit, When carrying out preview operation, can roller massage device be operated one hand, the operation of the described roller massage device that this basis detects is to pre- Target of looking at carries out preview and the preview operation such as zooms in or out, and compared with existing touch screen preview scheme, carries out list to roller massage device Handss are more convenient to operate, thus the experience of user can be lifted.
Embodiment two
The method for previewing of terminal unit provided in an embodiment of the present invention is based on embodiment one, optional as the present invention Embodiment, the operation of the described roller massage device of described detection includes:Detect rolling operation and/or the pressing behaviour of described roller massage device Make, so that preview action is executed in described preview interface according to described rolling operation and/or pressing operation.Specifically, described rolling The rolling operation of axle portion part and pressing operation all can trigger a preview action.
As the alternative of the embodiment of the present invention, the rolling operation of the described roller massage device of described detection includes:Detection institute State the rotating direction of rolling operation, so that corresponding preview action is executed according to described rotating direction, specifically, can be according to described rolling The corresponding execution in dynamic direction is amplified preview action or is reduced preview action etc..Such as original state is the preview target of original size, When described rotating direction is counter clockwise direction, preview target is executed and amplifies preview operation;When described rotating direction is up time During pin direction, preview operation is reduced to the execution of preview target.
As the alternative of the embodiment of the present invention, the rolling operation of the described roller massage device of described detection also includes:Detection The roll angle of described rolling operation, to obtain the scaling adjustment amount executing described preview action according to described roll angle, than Amplify the amplification adjustment amount of preview as described in obtain according to described roll angle, or reduce according to described roll angle obtains Preview reduce adjustment amount.Preview target can not unrestrictedly be amplified or unrestrictedly be reduced, and carrying out local preview or entirety During preview, need to zoom in and out operation according to the amplification adjustment amount amplifying preview or the adjustment amount that reduces reducing preview, such as Preset the scaling adjustment amount that roll angle is corresponding rank when 5 degree, when rotating clockwise 5 degree, by preview target Reduce corresponding adjustment amount, and when rotating counterclockwise 5 degree, preview target is amplified corresponding adjustment amount.Optionally, work as rotation Equally it is judged as the scaling adjustment amount of a rank when angle is less than 5 degree.When carrying out rolling operation, single-stage contracting can be carried out Put it is also possible to carry out multistage scaling or continuously zooming, default level of zoom is more, and zooming effect is more smooth, in this enforcement In example, optionally, described roller massage device can roll 40 grades.
Optionally, the rolling operation of described roller massage device can be circulating rolling operation, you can unrestrictedly to be followed Ring rolls, and taking scale as a example, by circulating rolling, preview target can be zoomed in and out, until obtaining the full-size of preview target Or till minimum dimension;Optionally, the rolling operation of described roller massage device can also be the rolling behaviour with fixing rolling journey Make, after that is, one direction rolls the distance of a fixation, will be unable to continue to roll, taking scale as a example, when a direction rolling thereto When moving to ultimate range, the full-size of corresponding preview target, when another direction past rolls to ultimate range, corresponding preview mesh When target minimum dimension, such as roll counter-clockwise are to ultimate range, the full-size of corresponding preview target, roll clockwise to Big apart from when, the minimum dimension of corresponding preview target.
As the alternative of the embodiment of the present invention, the pressing operation of described roller massage device is multisection type pressing operation, institute State and detect that the pressing operation of described roller massage device includes:Detect the section residing for described pressing operation, with according to described pressing behaviour Make residing section and execute corresponding preview action.Specifically, one preview of the corresponding triggering of the pressing operation of each section is moved Make, corresponding for the pressing operation of each section preview action can be set to efficiently preview and move taking two-period form pressing operation as a example Make, such as, when described pressing operation is detected and being in the first section, quickly preview target is amplified to full-size, works as inspection When measuring described pressing operation and being in the second section, quickly by preview shrinking of object to minimum dimension.
In embodiments of the present invention, methods described can detect the operation of described roller massage device by interrupt mode, also may be used To detect the operation of described roller massage device by polling mode.
Illustrate, described interrupt mode refers to smart mobile phone in operation program, due in advance taking smart mobile phone as a example The event setting, or other random internal or external events, so that the smart mobile phone program that is currently running of termination, turn And execute event set in advance, or other random internal or external events;In embodiments of the present invention, described roller bearing portion The operation of part is random external event, thus, when user operates to described roller massage device, smart mobile phone can be immediately Obtain described operation, and corresponding preview action is executed according to described operation.
And described polling mode refers to that smart mobile phone inquires about peripheral hardware in due order with certain cycle, whether to confirm described peripheral hardware There are data handling requirements, if having, carrying out corresponding data processing, otherwise inquire about next peripheral hardware.In embodiments of the present invention, Described roller massage device is inquired about with certain cycle by smart mobile phone, to obtain the operation of described roller massage device.
Due to detected by polling mode described roller massage device operation when, the operation of described roller massage device belongs to passive inspection Survey state, thus ageing relatively low by interrupt mode detection, as the preferred version of the present embodiment, it is preferred to use interrupt Mode obtains the operation of described roller massage device.
By the method for previewing of terminal unit provided in an embodiment of the present invention, based on the roller massage device on terminal unit, have Body passes through to detect rolling operation and the pressing operation of described roller massage device, to carry out preview operation to preview target, can lead to simultaneously Cross the scaling adjustment amount setting different stage, realize more fine scaling preview, additionally can be executed by pressing operation Efficiently preview action so that more convenient to operate, improves the experience of user.
Embodiment three
In embodiments of the present invention, with reference to the pre-viewing device of a kind of terminal unit shown in Fig. 2 structured flowchart it is illustrated that institute State pre-viewing device and include operating detection module 100 and preview performing module 200, described operation detection module 100 and preview execution Module 200 is connected.
Wherein, described operation detection module 100 is used for, when described terminal is detected and being in preview interface, detecting user couple The operation of roller massage device, described roller massage device is arranged on described terminal unit;Specifically, in smart mobile phone, to preview mesh Target preview operation needs to carry out in specific application, previewing photos, preview in map application such as in image application Map etc..In embodiments of the present invention, detect whether first to have already turned on the application carrying out preview operation on smart mobile phone, and It is at preview interface.Have already turned on the application carrying out preview operation when smart mobile phone is detected, and when being in preview interface, By operate detection module 100 detect smart mobile phone on roller massage device operation, described operation be preview target is carried out pre- Look at the operation of control.Each operation of described roller massage device all can trigger a specific preview action, wherein, described concrete Preview action can preset, that is, be directed to described roller massage device each operation all can set corresponding preview action.
Described preview performing module 200 is used for the operation to described roller massage device according to user, in described preview interface Execution preview action.Specifically, concrete to the execution of preview target according to the operation of described roller massage device in preview performing module 200 Preview action when, described preview action can be to preview target execute amplifieroperation, so that local preview is carried out to target;? Can be reduction operation to be executed to preview target, target is carried out with overall preview or carries out large-scale preview;Can also be After preview target is exaggerated or minimized, the execution of preview target is checked with the operation of original size.Therefore described preview action is at least Including a kind of as follows:Amplify preview, reduce preview and life size preview, correspond in specific application, such as image application, then Including image amplification, image down, full scale drawing as three kinds of preview action, map application then includes map amplification, map reduces, Three kinds of preview action of life size map.In embodiments of the present invention, the operation to described roller massage device according to user, described pre- Look at and preview action corresponding with this operation is executed on interface, thus realizing the preview control to preview target.
Optionally, except smart mobile phone locally applied in addition to, for application on site also dependent on the embodiment of the present invention provide Method for previewing execute corresponding preview action.
By the pre-viewing device of terminal unit provided in an embodiment of the present invention, when carrying out preview operation, set based on terminal Standby upper roller massage device, can one hand operate to roller massage device, and preview performing module is according to operation detection module detection To the operation of described roller massage device preview target carried out with preview the preview operation such as zoom in or out, touch scaling with existing Scheme is compared, and roller massage device is carried out with one-handed performance is convenient, thus the experience of user can be improved.
Example IV
As the alternative of the embodiment of the present invention, as shown in Figure 3 it is illustrated that described roller massage device includes gear type roller bearing 310 and button 320, accordingly, described operation detection module 100 is specifically for detecting the rolling behaviour of described gear type roller bearing 310 Work and/or the pressing operation of described button 320, described preview performing module 200 is according to described rolling operation and/or pressing operation Preview action is executed on described preview interface.Specifically, the rolling operation of gear type roller bearing 310 of described roller massage device and pressing The pressing operation of key 320 all can trigger a preview action.
, refering to Fig. 4, as a kind of alternative of the present embodiment, the part of described roller massage device taking smart mobile phone as a example Structure is located inside smart mobile phone.
Optionally, as shown in figure 5, described gear type roller bearing 310 includes roller 311, support member 312, connector 313, institute State roller 311 to be connected with support member 312 by connector 313, described operation detection module 100 is adjoined with described roller 311.
As the alternative of the embodiment of the present invention, described operation detection module 100 detects described gear type roller bearing 310 Rolling operation includes:Detect the rotating direction of described rolling operation, so that described preview performing module 200 is according to described rolling square To the corresponding preview action of execution.Specifically, described preview action for amplifying preview or can reduce preview etc..Such as original state For the preview target of original size, when described rotating direction is counter clockwise direction, described preview performing module 200 is to preview mesh Preview operation is amplified in mark execution;When described rotating direction is clockwise direction, described preview performing module 200 is to preview target Preview operation is reduced in execution.
As the alternative of the embodiment of the present invention, described operation detection module 100 detects described gear type roller bearing 310 Rolling operation also includes:Detect the roll angle of described rolling operation, execute described preview to obtain according to described roll angle The scaling adjustment amount of action, such as obtains the described amplification adjustment amount amplifying preview according to described roll angle, or according to described That reduces preview described in roll angle acquisition reduces adjustment amount.Preview target can not unrestrictedly be amplified or unrestrictedly be reduced, When carrying out local preview or overall preview, need according to amplify preview amplify adjustment amount or reduce preview reduce adjustment Amount zooms in and out operation, such as presets the scaling adjustment amount that roll angle is corresponding rank when 5 degree, turns when clockwise When dynamic 5 degree, preview performing module 200 is by corresponding for preview shrinking of object adjustment amount, and when rotating counterclockwise 5 degree, preview is held Preview target is amplified corresponding adjustment amount by row module 200.Optionally, equally it is judged as one when rotational angle is less than 5 degree The scaling adjustment amount of rank.When carrying out rolling operation, single-stage scaling can be carried out it is also possible to carry out multistage scaling or continuous Scaling, default level of zoom is more, and zooming effect is more smooth, and in the present embodiment, optionally, described roller massage device can roll 40 grades.
Optionally, the rolling operation of the gear type roller bearing 310 of described roller massage device can be circulating rolling operation, you can To be unrestrictedly circulated rolling, taking scale as a example, by circulating rolling, preview target can be zoomed in and out, until obtaining preview Till the full-size of target or minimum dimension;Optionally, the rolling operation of the gear type roller bearing 310 of described roller massage device Can be the rolling operation with fixing rolling journey, after that is, one direction rolls the distance of a fixation, will be unable to continue to roll, with As a example scaling, when a direction rolls to ultimate range thereto, the full-size of corresponding preview target, toward another direction When rolling to ultimate range, the minimum dimension of corresponding preview target, such as described roller 311 roll counter-clockwise is to ultimate range When, the full-size of corresponding preview target, when described roller 311 rolls clockwise to ultimate range, corresponding preview target is Small size.
As a kind of alternative of the embodiment of the present invention, described button 320 is multisection type button, i.e. described roller massage device The pressing operation of button 320 be multisection type pressing operation, described operation detection module 100 detects residing for described multisection type button Section so that section according to residing for described multisection type button for the described preview performing module 200 executes corresponding preview Action.Specifically, one preview action of the corresponding triggering of the pressing operation of each section, taking two-period form button as a example, can be by The corresponding preview action of two-period form pressing operation is preset as efficiently preview action, such as, when described operation detection module 100 is examined Measure described pressing operation be located at the first section when, preview target is quickly amplified to maximum level by described preview performing module 200 Not, when described operation detection module 100 detects described pressing operation and is located at the second section, described preview performing module 200 Quickly by preview shrinking of object to minimum dimension.
In embodiments of the present invention, described operation detection module 100 adopts interrupt mode detection or using polling mode inspection Survey the operation of described roller massage device.
Illustrate, described interrupt mode refers to smart mobile phone in operation program, due in advance taking smart mobile phone as a example The event setting, or other random internal or external events, so that the smart mobile phone program that is currently running of termination, turn And execute event set in advance, or other random internal or external events;In embodiments of the present invention, described roller bearing portion The operation of part is random external event, thus, when user operates to described roller massage device, the operation of smart mobile phone Detection module 100 can obtain described operation immediately, and executes corresponding preview action according to described operation.
And described polling mode refers to that smart mobile phone inquires about peripheral hardware in due order with certain cycle, whether to confirm described peripheral hardware There are data handling requirements, if having, carrying out corresponding data processing, otherwise inquire about next peripheral hardware.In embodiments of the present invention, With certain cycle, described roller massage device is inquired about by smart mobile phone, obtain described roller bearing by operating detection module 100 The operation of part.
Due to detected by polling mode described roller massage device operation when, the operation of described roller massage device belongs to passive inspection Survey state, thus ageing relatively low by interrupt mode detection, as the preferred version of the present embodiment, it is preferred to use interrupt Mode obtains the operation of described roller massage device.
By the pre-viewing device of terminal unit provided in an embodiment of the present invention, based on the roller massage device on terminal unit, have Body passes through the rolling operation operating detection module to detect described roller massage device and pressing operation, by preview performing module to preview mesh Mark carries out preview operation, can realize more fine scaling preview, in addition by setting the scaling adjustment amount of different stage simultaneously Can also be for the corresponding efficiently preview action of pressing operation setting of button so that more convenient to operate, improve user's Experience.
Embodiment five
It is illustrated in figure 6 a kind of structural representation of terminal unit provided in an embodiment of the present invention, described terminal unit bag Include the pre-viewing device described in previous embodiment, and roller massage device 300, specifically, described 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, roller massage device 300 phase Connect.
It should be noted that the functional module such as operation detection module in the above-described embodiments and preview performing module is permissible It is integrated in a processing unit or modules are individually physically present it is also possible to two or more module collection Become in a unit.Above-mentioned integrated unit both can be to 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 described non-volatile In computer read/write memory medium, described program instruction is with so that a computer installation (can be personal computer, take Business device, or network equipment etc.) or processor (Processor) execute the part step of each embodiment methods described of the present invention Suddenly.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (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.
These are only embodiments of the invention, be not intended to limit the scope of the claims of the present invention, 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 wherein some technical characteristics.Every utilization is originally The equivalent structure that description of the invention and accompanying drawing content are done, is directly or indirectly used in other related technical fields, all in the same manner Within scope of patent protection of the present invention.

Claims (12)

1. a kind of method for previewing of terminal unit is it is characterised in that include:
When described terminal is detected and being in preview interface, detect the operation to roller massage device for the user, described roller massage device setting On described terminal unit;
According to the operation to described roller massage device for the user, preview action is executed on described preview interface.
2. method according to claim 1 is it is characterised in that the operation of the described roller massage device of described detection includes:Detection The rolling operation of described roller massage device and/or pressing operation, with according to described rolling operation and/or pressing operation in described preview Preview action is executed on interface.
3. method according to claim 2 is it is characterised in that the rolling operation of the described roller massage device of described detection includes: Detect the rotating direction of described rolling operation, so that corresponding preview action is executed according to described rotating direction.
4. method according to claim 3 is it is characterised in that the rolling operation of the described roller massage device of described detection also wraps Include:Detect the roll angle of described rolling operation, adjusted with obtaining the scaling executing described preview action according to described roll angle Whole amount.
5. method according to claim 2 is it is characterised in that the pressing operation of described roller massage device presses behaviour for multisection type Make, the described pressing operation detecting described roller massage device includes:Detect the section residing for described pressing operation, to press according to described Section residing for press operation executes corresponding preview action.
6. according to the arbitrary described method of claim 1-5 it is characterised in that methods described passes through interrupt mode or polling mode Detect the operation of described roller massage device.
7. a kind of pre-viewing device of terminal unit is it is characterised in that include operation detection module and preview performing module;
Described operation detection module is used for, when described terminal is detected and being in preview interface, detecting the behaviour to roller massage device for the user Make, described roller massage device is arranged on described terminal unit;
Described preview performing module is used for the operation to described roller massage device according to user, executes preview in described preview interface Action.
8. device according to claim 7 is it is characterised in that described roller massage device includes gear type roller bearing and button, institute State operation detection module specifically for the detection rolling operation of described gear type roller bearing and/or the pressing operation of described button, institute State preview performing module and preview action is executed in described preview interface according to described rolling operation and/or pressing operation.
9. device according to claim 8 is it is characterised in that described operation detection module detects described gear type roller bearing Rolling operation includes:Detect the rotating direction of described rolling operation, described preview performing module executes according to described rotating direction Corresponding preview action.
10. device according to claim 9 is it is characterised in that described operation detection module detects described gear type roller bearing Rolling operation also include:Detect the roll angle of described rolling operation, described pre- so that execution is obtained according to described roll angle Look at the scaling adjustment amount of action.
It is characterised in that described button is multisection type button, described operation detects mould to 11. devices according to claim 8 Block detects the section residing for described multisection type button, and section according to residing for described multisection type button for the described preview performing module is held The corresponding preview action of row.
12. according to the arbitrary described device of claim 7-11 it is characterised in that described operation detection module adopts interrupt mode Or polling mode detects the operation of described roller massage device.
CN201610803306.XA 2016-09-05 2016-09-05 A kind of method for previewing of terminal unit and pre-viewing device Pending CN106469012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610803306.XA CN106469012A (en) 2016-09-05 2016-09-05 A kind of method for previewing of terminal unit and pre-viewing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610803306.XA CN106469012A (en) 2016-09-05 2016-09-05 A kind of method for previewing of terminal unit and pre-viewing device

Publications (1)

Publication Number Publication Date
CN106469012A true CN106469012A (en) 2017-03-01

Family

ID=58230118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610803306.XA Pending CN106469012A (en) 2016-09-05 2016-09-05 A kind of method for previewing of terminal unit and pre-viewing device

Country Status (1)

Country Link
CN (1) CN106469012A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111149349A (en) * 2017-09-28 2020-05-12 富士胶片株式会社 Imaging device, control method thereof, and control program
CN112887617A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Shooting method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159947A (en) * 2007-11-21 2008-04-09 陈拙夫 Mobile phone with virtual screen display function, display and operation method thereof
CN201919054U (en) * 2011-01-12 2011-08-03 重庆国虹科技发展有限公司 Reading mobile phone with scroll wheel key
CN102637087A (en) * 2011-02-14 2012-08-15 太瀚科技股份有限公司 Digital board with edge area having scrolling function
CN104915030A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Operation method and device based on mobile terminal rolling wheel key
CN105827757A (en) * 2016-04-12 2016-08-03 乐视控股(北京)有限公司 Roller type mobile phone camera shooting system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159947A (en) * 2007-11-21 2008-04-09 陈拙夫 Mobile phone with virtual screen display function, display and operation method thereof
CN201919054U (en) * 2011-01-12 2011-08-03 重庆国虹科技发展有限公司 Reading mobile phone with scroll wheel key
CN102637087A (en) * 2011-02-14 2012-08-15 太瀚科技股份有限公司 Digital board with edge area having scrolling function
CN104915030A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Operation method and device based on mobile terminal rolling wheel key
CN105827757A (en) * 2016-04-12 2016-08-03 乐视控股(北京)有限公司 Roller type mobile phone camera shooting system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111149349A (en) * 2017-09-28 2020-05-12 富士胶片株式会社 Imaging device, control method thereof, and control program
CN111149349B (en) * 2017-09-28 2021-08-03 富士胶片株式会社 Image pickup apparatus, control method thereof, and storage medium
CN112887617A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Shooting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN103530050B (en) Display packing and information processor
EP3742385A1 (en) Face image processing method and device, and storage medium
EP3070589B1 (en) Method and device for resizing selected region of previewing interface
CN112596648B (en) Page processing method and device, electronic equipment and readable storage medium
CN101495951A (en) Three-dimensional touch pad input device
CN105159530A (en) Application display object switching method and apparatus
CN106897321B (en) Method and device for displaying map data
EP2890105A1 (en) Method, apparatus and terminal for generating thumbnail of image
CN106227437A (en) A kind of unlocked by fingerprint method and terminal
CN106681612A (en) Adjusting method applied to mobile terminal and mobile terminal
CN104677329A (en) Camera-based target distance measurement method and device
CN104536661A (en) Terminal screen shot method
CN103257812A (en) Display output adjusting method and electronic equipment
CN106469012A (en) A kind of method for previewing of terminal unit and pre-viewing device
CN104598121A (en) Picture zooming method and device
CN106445340A (en) Method and device for displaying stereoscopic image by double-screen terminal
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN111124206B (en) Position adjusting method and electronic equipment
CN103870170A (en) Cursor control method, terminals and system
CN103513822A (en) Method for improving touch recognition and electronic device thereof
CN102981729B (en) Touch-screen scroll control system and method
CN111143731A (en) Display method and device for webpage interface zooming and terminal equipment
CN104951178A (en) Processing method, device and system for desktop data
JP2012203440A (en) Information processor, information processing method, and program
CN105493020A (en) Touchscreen display control method and mobile device

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

Application publication date: 20170301

WD01 Invention patent application deemed withdrawn after publication