CN105159491A - Touch screen control method and terminal - Google Patents
Touch screen control method and terminal Download PDFInfo
- Publication number
- CN105159491A CN105159491A CN201510530584.8A CN201510530584A CN105159491A CN 105159491 A CN105159491 A CN 105159491A CN 201510530584 A CN201510530584 A CN 201510530584A CN 105159491 A CN105159491 A CN 105159491A
- Authority
- CN
- China
- Prior art keywords
- data
- interface element
- conditioned
- terminal
- touch control
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Embodiments of the present invention provide a touch screen control method. The method comprises: displaying an interface element supporting a zoom operation on a display screen; receiving a touch operation targeted at the interface element; obtaining data collected by a preset sensor; determining whether the data collected by the preset sensor meets a preset condition; and when the data collected by the preset sensor meets the preset condition, adjusting a display size of the interface element according to the touch operation. Accordingly, the present invention also provides a terminal. According to the method and the terminal of the invention, the size of the interface element is adjusted in a manner of combining the touch operation and the preset sensor, thereby reducing the complexity of touch based zooming, and making it convenient for a user to perform manipulation.
Description
Technical field
The present invention relates to terminal interaction field, particularly relate to a kind of touch screen control method and terminal.
Background technology
At present, the modes that mainly there are two kinds of operation contactor control devices realize convergent-divergent and control: multi-point touch convergent-divergent and double-click convergent-divergent.
Multi-point touch convergent-divergent usually amplifies interface element by widening two finger finger tip distance or reduces two span from reducing interface element.But the operation more complicated that multi-point touch convergent-divergent needs, user needs a hand to grip terminal usually, and the finger of another hand goes to operate touch-screen.
Double-click convergent-divergent usually to zoom in or out according to a fixing enlargement factor or minification, limitation is larger, and its zooming effect is continuous not.And there is quite a lot of interface element can not realize convergent-divergent by double click operation, can only by the mode zooming interface element of multi-point touch convergent-divergent.
Summary of the invention
Embodiments provide a kind of touch screen control method and terminal, operated and preset the size that sensor adjusts interface element by combination of touch control, facilitate user to manipulate.
Embodiment of the present invention first aspect provides a kind of touch screen control method, and the method comprises:
Show the interface element supporting zoom operations on a display screen;
Receive the touch control operation for described interface element;
Obtain the data preset sensor and gather;
Judge whether the data of described default sensor collection meet pre-conditioned;
When the data fit that described sensor gathers is pre-conditioned, adjust the display size of described interface element according to described touch control operation.
Embodiment of the present invention second aspect provides a kind of terminal, and this terminal comprises:
Display unit, for showing the interface element supporting zoom operations on a display screen;
Receiving element, for receiving the touch control operation for described interface element;
Acquiring unit, for obtaining the data that default sensor gathers;
Judging unit, for judging whether the data of described default sensor collection meet pre-conditioned;
Unit for scaling, for when the data fit that described sensor gathers is pre-conditioned, adjusts the display size of described interface element according to described touch control operation.
Implement the embodiment of the present invention, by receiving the touch control operation for the interface element supporting zoom operations, in conjunction with the data presetting sensor collection, when the data fit that default sensor gathers is pre-conditioned, adjust the display size of above-mentioned interface element according to above-mentioned touch control operation, facilitate user to manipulate.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the first embodiment of the touch screen control method that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of the second embodiment of the touch screen control method that the embodiment of the present invention provides;
Fig. 3 is the process flow diagram of the 3rd embodiment of the touch screen control method that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the first embodiment of the terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the second embodiment of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, it is the process flow diagram of the first embodiment of the touch screen control method that the embodiment of the present invention provides.In Fig. 1 embodiment, operated and preset sensor to adjust the size of the interface element supporting zoom operations by combination of touch control, reduce the complexity of touch-control convergent-divergent, singlehanded touch-control convergent-divergent can be realized.As shown in Figure 1, the method comprises:
Step S101: show the interface element supporting zoom operations on a display screen.
The described interface element that the embodiment of the present invention relates to can be the interface element that convergent-divergent supported by picture, document, window etc.The described display screen that the embodiment of the present invention relates to may be used for the touch control operation receiving user's input.
Step S103: receive the touch control operation for described interface element.
Concrete, terminal can receive the touch control operation for described interface element of user's input by contactor control device.
Described contactor control device can be touch-screen, also can be touch panel, can also be the contactor control device of other types, not limit here.Described contactor control device both can be integrated in the contactor control device in terminal, the described display screen with touch controllable function such as, mentioned in step S101.Described contactor control device also can be there is with terminal the contactor control device communicated to connect, and such as, the external touch panel be connected with terminal by RS232, is not limited here.
In the embodiment of the present invention, the described touch control operation for described interface element can be any type of touch control operation for described interface element.Such as, single-click operation, double click operation, unidirectional slide etc.Again such as, the slide of desired guiding trajectory is met.
In specific implementation, terminal can arrange convergent-divergent audiomonitor for described interface element in advance.Wherein, amplifying the touch control operation for amplifying described interface element that audiomonitor receives for catching touching device, reducing the touch control operation for reducing described interface element that audiomonitor receives for catching touching device.
In specific implementation, the touch control operation that convergent-divergent audiomonitor can catch can be that terminal pre-sets.Such as, terminal pre-sets and amplifies the audiomonitor touch control operation that can catch and be: for the touch control operation of the clockwise picture circle of described interface element.Again such as, terminal pre-sets and amplifies the audiomonitor touch control operation that can catch and be: for the touch control operation of the counterclockwise picture circle of described interface element.Example is a kind of implementation of the embodiment of the present invention, also can be different in actual use, should not form restriction.
Step S105: obtain the data preset sensor and gather.
The described default sensor that the embodiment of the present invention relates to can comprise: a kind of sensor in fingerprint Identification sensor, pressure transducer, light sensor, displacement transducer, temperature sensor etc.
Correspondingly, the data of described default sensor collection can comprise: a kind of data in finger print data, pressure data, light intensity data, displacement data, temperature data etc.
Needs illustrate, in practical application, described default sensor can also be comprehensive sensor, namely comprises the multiple sensors in the sensor.The data of described default sensor collection also can be the several data in above-mentioned data.
Step S107: judge whether the data of described default sensor collection meet pre-conditioned.
For example, if the data of described default sensor collection are pressure datas.So, terminal can judge that whether described pressure data is higher than preset pressure value, if higher than preset pressure value (when user presses described default sensor), then judge described in the data fit that described default sensor gathers pre-conditioned, if the pressure data gathered not higher than described preset pressure value (when user does not press described default sensor), then judges that the data of described default sensor collection do not meet described pre-conditioned.
Again such as, if the data of described default sensor collection are finger print datas.So, terminal can judge whether described finger print data meets default fingerprint characteristic, if described finger print data meets described default fingerprint characteristic (fingerprint of input is legal fingerprint), then judge described in the data fit that described default sensor gathers pre-conditioned, if described finger print data does not meet described default fingerprint characteristic (fingerprint of input is illegal fingerprint), then judge that the data of described default sensor collection do not meet described pre-conditioned.
Again such as, if the data of described default sensor collection are the light intensity datas in external environment condition.So, terminal can judge whether described light intensity data meets lower than default light intensity, if described light intensity data is lower than described default light intensity (when user blocks described default sensor), then judge described in the data fit that described default sensor gathers pre-conditioned, if described light intensity data does not meet described default light intensity (when user does not block described default sensor), then judge that the data of described default sensor collection do not meet described pre-conditioned.
Example is a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
Need illustrate, if when the data of described default sensor collection comprise several data, described pre-conditioned can also be the restriction made for described several data.Such as, the data of described default sensor collection comprise: finger print data and pressure data.Describedly pre-conditionedly can be: the finger print data of collection will meet preset fingerprint feature, and the pressure data gathered is higher than preset pressure value.Example is a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
Concrete, when the judged result drawn by step S107 is for being, terminal can perform step S109, when the judged result drawn by step S107 is no, terminal can terminate current operation, in practical application, can also step S105 be performed, not be restricted here.
Step S109: the display size adjusting described interface element according to described touch control operation.
In the embodiment of the present invention, if pre-conditioned described in the data fit that described default sensor gathers, so, terminal can analyze the described touch control operation for described interface element, judge that described touch control operation is the operation for amplifying described interface element or the operation for reducing described interface element, and analyze the concrete degree zoomed in or out further.
Such as, if described touch control operation is the touch control operation drawing circle clockwise.So, terminal can amplify described interface element according to track length.Again such as, if described touch control operation time draw round touch control operation counterclockwise.So, terminal can reduce described interface element according to track length.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In specific implementation, after the convergent-divergent audiomonitor mentioned in step s 103 captures convergent-divergent touch control operation, terminal can be called and default zoom in or out function to analyze the convergent-divergent touch control operation captured, and combines the data presetting sensor collection and determine whether the display size adjusting described interface element.
In specific implementation, terminal can open two task parallelisms go perform step S103, step S105.While execution step S105, terminal can perform step S107.When the data fit judging that described default sensor gathers is pre-conditioned, terminal can adjust the display size of described interface element according to the described touch control operation received in step S103.
Implement the embodiment of the present invention, by receiving the touch control operation for the interface element supporting zoom operations, in conjunction with the data presetting sensor collection, when the data fit that default sensor gathers is pre-conditioned, the display size of described interface element is adjusted according to described touch control operation, reduce the complexity of touch-control convergent-divergent, singlehanded touch-control convergent-divergent can be realized.
See Fig. 2, it is the process flow diagram of the second embodiment of the touch screen control method that the embodiment of the present invention provides.In Fig. 2 embodiment, the described touch control operation for described interface element is slide.Terminal adjusts the size of described interface element in conjunction with slide and described default sensor, and the slide referred to by one hand is to realize touch-control convergent-divergent.Fig. 2 embodiment is a kind of concrete implementation of Fig. 1 embodiment, and the content do not mentioned in Fig. 2 embodiment, please refer to Fig. 1 embodiment.As shown in Figure 2, the method comprises:
Step S201: show the interface element supporting zoom operations on a display screen.
The described interface element that the embodiment of the present invention relates to can be the interface element that convergent-divergent supported by picture, document, window etc.The described display screen that the embodiment of the present invention relates to may be used for the touch control operation receiving user's input.
Step S203: receive the slide for described interface element.
Concrete, terminal can receive the slide for described interface element of user's input by contactor control device.
Described contactor control device can be touch-screen, also can be touch panel, can also be the contactor control device of other types, not limit here.Described contactor control device both can be integrated in the contactor control device in terminal, the described display screen with touch controllable function such as, mentioned in step S201.Described contactor control device also can be there is with terminal the contactor control device communicated to connect, and such as, the external touch panel be connected with terminal by RS232, is not limited here.
In the embodiment of the present invention, the described slide for described interface element can be the slide of any glide direction.Such as, direction upwards the slide of (or downwards) be used for amplifying (or reducing) described interface element.Again such as, direction to the right the slide of (or left) be used for amplifying (or reducing) described interface element.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
Step S205: resolve at least one in the glide direction of described slide and sliding distance.
Concrete, the glide direction of described slide can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding.Described sliding distance can be used for the convergent-divergent multiple indicating described slide corresponding, and such as, sliding distance is larger, and convergent-divergent multiple is larger.
Step S207: obtain the data preset sensor and gather.
The described default sensor that the embodiment of the present invention relates to can comprise: a kind of sensor in fingerprint Identification sensor, pressure transducer, light sensor, displacement transducer, temperature sensor etc.
Correspondingly, the data of described default sensor collection can comprise: a kind of data in finger print data, pressure data, light intensity data, displacement data, temperature data etc.
Needs illustrate, in practical application, described default sensor can also be comprehensive sensor, namely comprises the multiple sensors in the sensor.The data of described default sensor collection also can be the several data in above-mentioned data.
Step S209: judge whether the data of described default sensor collection meet pre-conditioned.
Here, deterministic process with reference to the step S107 in figure 1 embodiment, can repeat no more here.
Concrete, when the judged result drawn by step S209 is for being, terminal can perform step S211, when the judged result drawn by step S209 is no, terminal can terminate current operation, in practical application, can also step S207 be performed, not be restricted here.
Step S211: the display size adjusting described interface element according at least one in the glide direction of described slide and sliding distance.
Refer step S205 is known, and the glide direction of described slide can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding, and described sliding distance can be used for the convergent-divergent multiple indicating described slide corresponding.
In specific implementation, terminal can preset the glide direction for amplifying (or reducing) described interface element.After receiving described slide, the direction that terminal can judge described slide whether with preset consistent for the glide direction of amplifying (or reducing) described interface element, if consistent, then correspondingly amplify the display size of (or reducing) described interface element.
Needs illustrate, described glide direction can be preset direction scope.Such as, the slide for amplifying described interface element comprises: the slide being to the right less than 45 ° with the angle of horizontal direction.Again such as, the slide for reducing described interface element comprises: the slide being left less than 45 ° with the angle of horizontal direction.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In specific implementation, terminal can preset the corresponding relation between sliding distance and convergent-divergent multiple.Such as, slide 1 centimetre to the right, described interface element is amplified to original 1.1 times.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In the embodiment of the present invention, each slide also can corresponding fixing convergent-divergent multiple.
In practical application, terminal can also obtain the gesture of described slide, analyzes the movement range of described gesture, determines according to described movement range the convergent-divergent multiple that described slide is corresponding.Such as, the movement range of gesture during slip is larger, and the corresponding convergent-divergent multiple of described slide is larger.
Needs illustrate, other parameters that terminal can also relate in conjunction with described slide, such as, pressure when sliding, determines the convergent-divergent multiple that described slide is corresponding not limit here.
Implement the embodiment of the present invention, by receiving the slide for the interface element supporting zoom operations, in conjunction with the data presetting sensor collection, when the data fit that default sensor gathers is pre-conditioned, the display size of described interface element is adjusted according at least one in the glide direction of described slide and sliding distance, reduce the complexity of touch-control convergent-divergent, the slide referred to by one hand is to realize touch-control convergent-divergent.
See Fig. 3, it is the process flow diagram of the 3rd embodiment of the touch screen control method that the embodiment of the present invention provides.In Fig. 3 embodiment, the described touch control operation for described interface element is pressing operation.Terminal adjusts the size of described interface element in conjunction with described pressing operation and described default sensor, and the pressing operation referred to by one hand is to realize touch-control convergent-divergent.Fig. 3 embodiment is a kind of concrete implementation of Fig. 1 embodiment, and the content do not mentioned in Fig. 3 embodiment, please refer to Fig. 1 embodiment.As shown in Figure 3, the method comprises:
Step S301: show the interface element supporting zoom operations on a display screen.
The described interface element that the embodiment of the present invention relates to can be the interface element that convergent-divergent supported by picture, document, window etc.The described display screen that the embodiment of the present invention relates to may be used for the touch control operation receiving user's input.
Step S303: receive the pressing operation for described interface element.
Concrete, terminal can receive the pressing operation for described interface element of user's input by contactor control device.
Described contactor control device can be touch-screen, also can be touch panel, can also be the contactor control device of other types, not limit here.Described contactor control device both can be integrated in the contactor control device in terminal, the described display screen with touch controllable function such as, mentioned in step S301.Described contactor control device also can be there is with terminal the contactor control device communicated to connect, and such as, the external touch panel be connected with terminal by RS232, is not limited here.
Step S305: the contact area variation tendency of resolving described pressing operation.
Concrete, described contact area variation tendency can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding.Such as, contact area becomes large pressing operation for amplifying described interface element.Again such as, the pressing operation that diminishes of contact area is for reducing described interface element.The rate of change of described contact area can be used for the convergent-divergent multiple indicating described slide corresponding.Such as, rate of change is larger, and convergent-divergent multiple is larger.
Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
Step S307: obtain the data preset sensor and gather.
The described default sensor that the embodiment of the present invention relates to can comprise: a kind of sensor in fingerprint Identification sensor, pressure transducer, light sensor, displacement transducer, temperature sensor etc.
Correspondingly, the data of described default sensor collection can comprise: a kind of data in finger print data, pressure data, light intensity data, displacement data, temperature data etc.
Needs illustrate, in practical application, described default sensor can also be comprehensive sensor, namely comprises the multiple sensors in the sensor.The data of described default sensor collection also can be the several data in above-mentioned data.
Step S309: judge whether the data of described default sensor collection meet pre-conditioned.
Here, deterministic process with reference to the step S107 in figure 1 embodiment, can repeat no more here.
Concrete, when the judged result drawn by step S309 is for being, terminal can perform step S311, when the judged result drawn by step S309 is no, terminal can terminate current operation, in practical application, can also step S307 be performed, not be restricted here.
Step S311: the display size adjusting described interface element according to the contact area variation tendency of described pressing operation.
Refer step S305 is known, and described contact area variation tendency can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding, and the rate of change of described contact area can be used for the convergent-divergent multiple indicating described slide corresponding.
In specific implementation, terminal can preset the contact area variation tendency for amplifying (or reducing) described interface element.After receiving described pressing operation, the variation tendency that terminal can judge the contact area of described pressing operation whether with preset consistent for the contact area variation tendency of amplifying (or reducing) described interface element, if consistent, then correspondingly amplify the display size of (or reducing) described interface element.
In specific implementation, terminal can corresponding relation between preset exposure area change rate and convergent-divergent multiple.Such as, contact area increases 10%, and described interface element is amplified to original 1.1 times.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In practical application, terminal can also obtain the pressure that described pressing operation relates to, and analyzes the pressure size of described pressing operation, determines according to described pressure the convergent-divergent multiple that described pressing operation is corresponding.Such as, pressure during pressing is larger, and the corresponding convergent-divergent multiple of described pressing operation is larger.
Implement the embodiment of the present invention, by receiving the pressing operation for the interface element supporting zoom operations, in conjunction with the data presetting sensor collection, when the data fit that default sensor gathers is pre-conditioned, the display size of described interface element is adjusted according to the contact area variation tendency of described pressing operation, reduce the complexity of touch-control convergent-divergent, the pressing operation referred to by one hand is to realize touch-control convergent-divergent.
See Fig. 4, be the structural representation of the terminal that the embodiment of the present invention provides, terminal 40 as shown in Figure 4 can comprise: receiving element 403, acquiring unit 403, judging unit 405 and unit for scaling 407.Wherein:
Display unit 401, for showing the interface element supporting zoom operations on a display screen;
Receiving element 403, for receiving the touch control operation for described interface element;
Acquiring unit 405, for obtaining the data that default sensor gathers;
Judging unit 407, for judging whether the data of described default sensor collection meet pre-conditioned;
Unit for scaling 409, for when the data fit that described sensor gathers is pre-conditioned, adjusts the display size of described interface element according to described touch control operation.
In the embodiment of the present invention, receiving element 403 can be contactor control device, for receiving the touch control operation for described interface element of user's input.
Receiving element 403 can be touch-screen, also can be touch panel, can also be the contactor control device of other types, not limit here.Described receiving element 403 both can be integrated in the contactor control device in terminal, such as described display screen.Described receiving element 403 also can be there is with terminal 40 contactor control device communicated to connect, and such as, the external touch panel be connected with terminal 40 by RS232, is not limited here.
In the embodiment of the present invention, the described touch control operation for described interface element that receiving element 403 receives can be any type of touch control operation for described interface element.Such as, single-click operation, double click operation, unidirectional slide etc.Again such as, the slide of desired guiding trajectory is met.
In the embodiment of the present invention, described touch control operation can be slide.Further, receiving element 403 can comprise: first receives subelement and the first resolution unit, wherein:
Described first receives subelement, for receiving the slide for described interface element;
Described first resolution unit, for resolving at least one in the glide direction of described slide and sliding distance.
Further, unit for scaling 409 can be specifically for: the display size adjusting described interface element according at least one in the glide direction of described slide and sliding distance.
In the embodiment of the present invention, described touch control operation can be pressing operation.Further, receiving element 403 can comprise: second receives subelement and the second resolution unit, wherein:
Described second receives subelement, for receiving the pressing operation for described interface element;
Described second resolution unit, for resolving the contact area variation tendency of described pressing operation.
Further, unit for scaling 409 can be specifically for: the display size adjusting described interface element according to the contact area variation tendency of described pressing operation.
In the embodiment of the present invention, the data of described default sensor collection can be pressure datas.Further, judging unit 409 can be specifically for: judge that whether pressure data that described default sensor gathers is higher than preset pressure value, if the pressure data gathered is higher than described preset pressure value, then judge described in the data fit that described default sensor gathers pre-conditioned, if the pressure data gathered not higher than described preset pressure value, then judges that the data of described default sensor collection do not meet described pre-conditioned.
In the embodiment of the present invention, the data of described default sensor collection are finger print datas.Further, judging unit 407 can be specifically for: judge whether described finger print data meets default fingerprint characteristic, if described finger print data meets described default fingerprint characteristic, then judge described in the data fit that described default sensor gathers pre-conditioned, if described finger print data does not meet described default fingerprint characteristic, then judge that the data of described default sensor collection do not meet described pre-conditioned.
The described default sensor that the embodiment of the present invention relates to can comprise: a kind of sensor in fingerprint Identification sensor, pressure transducer, light sensor, displacement transducer, temperature sensor etc.
Correspondingly, the data of described default sensor collection can comprise: a kind of data in finger print data, pressure data, light intensity data, displacement data, temperature data etc.
Needs illustrate, in practical application, described default sensor can also be comprehensive sensor, namely comprises the multiple sensors in the sensor.The data of described default sensor collection also can be the several data in above-mentioned data.
Will be understood that, in terminal 40, the function of each functional module according to the method specific implementation in the embodiment of the method for above-mentioned Fig. 1 to Fig. 3, can repeat no more here.
See Fig. 5, it is the structural representation of the second embodiment of terminal provided by the invention.Wherein, as shown in Figure 5, this terminal 100 can comprise: sensor 1006, input media 1003, output unit 1004, storer 1005 and the processor 1001 (quantity of the processor 1001 in terminal 100 can be one or more, for a processor in Fig. 5) be coupled with storer 1005.In some embodiments of the invention, sensor 1006, input media 1003, output unit 1004, storer 1002 are connected by bus or alternate manner with processor 1001, wherein, to be connected by bus in Fig. 5.
Wherein, sensor 1006, one or more for gathering in the data such as finger print data, pressure data, light intensity data.In specific implementation, sensor 1006 can comprise: one or more in the sensors such as fingerprint Identification sensor, pressure transducer, light sensor.Input media 1003, for receiving outside input data.In specific implementation, input media 1003 can comprise keyboard, mouse, photoelectricity input media, acoustic input dephonoprojectoscope, touch-type input device, scanner etc.Output unit 1004, for externally exporting data.In specific implementation, output unit 1004 can comprise display, loudspeaker, printer etc.Storer 1005 is for program code stored, and in specific implementation, storer 1005 can adopt ROM (read-only memory) (ReadOnlyMemory, ROM).Processor 1001, such as CPU, be stored in storer 1005 Program code execution following steps for calling:
By output unit 1004, as display screen, the interface element of zoom operations is supported in display;
By input media 1003, as touch-screen, receive the touch control operation for described interface element;
Obtain the data preset sensor and gather;
Judge whether the data of described default sensor collection meet pre-conditioned;
When the data fit that described sensor gathers is pre-conditioned, adjust the display size of described interface element according to described touch control operation.
In the embodiment of the present invention, the described touch control operation for described interface element can be any type of touch control operation for described interface element.Such as, single-click operation, double click operation, unidirectional slide etc.Again such as, the slide of desired guiding trajectory is met.
In specific implementation, processor 1001 can arrange convergent-divergent audiomonitor for described interface element in advance.Wherein, amplifying the touch control operation for amplifying described interface element that audiomonitor receives for catching touching device, reducing the touch control operation for reducing described interface element that audiomonitor receives for catching touching device.
In specific implementation, the touch control operation that convergent-divergent audiomonitor can catch can be that terminal pre-sets.Such as, processor 1001 pre-sets and amplifies the audiomonitor touch control operation that can catch and be: for the touch control operation of the clockwise picture circle of described interface element.Again such as, processor 1001 pre-sets and amplifies the audiomonitor touch control operation that can catch and be: for the touch control operation of the counterclockwise picture circle of described interface element.Example is a kind of implementation of the embodiment of the present invention, also can be different in actual use, should not form restriction.
Concrete, the data of described default sensor collection can comprise: a kind of data in finger print data, pressure data, light intensity data, displacement data, temperature data etc.
Needs illustrate, in practical application, presetting sensor 1006 can also be comprehensive sensor, namely comprises the multiple sensors in the sensor.The data of described default sensor collection also can be the several data in above-mentioned data.
For example, if the data of described default sensor collection are pressure datas.So, processor 1001 judges that whether described pressure data is higher than preset pressure value, if higher than preset pressure value (when user presses described default sensor), then judge described in the data fit that described default sensor gathers pre-conditioned, if the pressure data gathered not higher than described preset pressure value (when user does not press described default sensor), then judges that the data of described default sensor collection do not meet described pre-conditioned.
Again such as, if the data of described default sensor collection are finger print datas.So, processor 1001 can judge whether described finger print data meets default fingerprint characteristic, if described finger print data meets described default fingerprint characteristic (fingerprint of input is legal fingerprint), then judge described in the data fit that described default sensor gathers pre-conditioned, if described finger print data does not meet described default fingerprint characteristic (fingerprint of input is illegal fingerprint), then judge that the data of described default sensor collection do not meet described pre-conditioned.
Example is a kind of implementation of the embodiment of the present invention, can also be different in actual use, should not form restriction.
In the embodiment of the present invention, the described touch control operation for described interface element can be slide.Processor 1001 can pass through input media 1003, as touch-screen, receives the slide for described interface element of user's input.
After the described slide of reception, processor 1001 can resolve at least one in the glide direction of described slide and sliding distance.
Concrete, the glide direction of described slide can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding.Described sliding distance can be used for the convergent-divergent multiple indicating described slide corresponding, and such as, sliding distance is larger, and convergent-divergent multiple is larger.
If the data fit that described default sensor gathers is pre-conditioned, processor 1001 can adjust the display size of described interface element according at least one in the glide direction of described slide and sliding distance.
Needs illustrate, described glide direction can be preset direction scope.Such as, the slide for amplifying described interface element comprises: the slide being to the right less than 45 ° with the angle of horizontal direction.Again such as, the slide for reducing described interface element comprises: the slide being left less than 45 ° with the angle of horizontal direction.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In specific implementation, terminal can preset the corresponding relation between sliding distance and convergent-divergent multiple.Such as, slide 1 centimetre to the right, described interface element is amplified to original 1.1 times.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
In the embodiment of the present invention, the described touch control operation for described interface element can be also pressing operation.Processor 1001 can pass through input media 1003, as touch-screen, receives the pressing operation for described interface element of user's input.
Passing through input media 1003, as touch-screen, after receiving described pressing operation, processor 1001 can resolve the contact area variation tendency of described pressing operation.
Concrete, described contact area variation tendency can be used for the convergent-divergent type (zooming in or out) indicating described slide corresponding.Such as, contact area becomes large pressing operation for amplifying described interface element.Again such as, the pressing operation that diminishes of contact area is for reducing described interface element.The rate of change of described contact area can be used for the convergent-divergent multiple indicating described slide corresponding.Such as, rate of change is larger, and convergent-divergent multiple is larger.
If the data fit that described default sensor gathers is pre-conditioned, processor 1001 can adjust the display size of described interface element according to the contact area variation tendency of described pressing operation.
In specific implementation, processor 1001 can preset the contact area variation tendency for amplifying (or reducing) described interface element.Passing through input media 1003, as touch-screen, after receiving described pressing operation, the variation tendency that processor 1001 can judge the contact area of described pressing operation whether with preset consistent for the contact area variation tendency of amplifying (or reducing) described interface element, if consistent, then correspondingly amplify the display size of (or reducing) described interface element.
In specific implementation, processor 1001 can corresponding relation between preset exposure area change rate and convergent-divergent multiple.Such as, contact area increases 10%, and described interface element is amplified to original 1.1 times.Example is a kind of implementation of the embodiment of the present invention, also can be different in practical application, should not form restriction.
Will be understood that, the step that processor 1001 performs with reference to the content of above-mentioned Fig. 1 to Fig. 3 embodiment of the method, can also repeat no more here.
In sum, by receiving the touch control operation for the interface element supporting zoom operations, in conjunction with the data presetting sensor collection, when the data fit that default sensor gathers is pre-conditioned, the display size of above-mentioned interface element is adjusted according to above-mentioned touch control operation, reduce the complexity of touch-control convergent-divergent, facilitate user to manipulate.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC).
The sequence of steps of the method for the embodiment of the present invention can carry out adjusting, merge or deleting according to actual needs.The module of the terminal of the embodiment of the present invention can carry out integrating according to actual needs, Further Division or delete.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a touch screen control method, is characterized in that, comprising:
Show the interface element supporting zoom operations on a display screen;
Receive the touch control operation for described interface element;
Obtain the data preset sensor and gather;
Judge whether the data of described default sensor collection meet pre-conditioned;
When the data fit that described sensor gathers is pre-conditioned, adjust the display size of described interface element according to described touch control operation.
2. the method for claim 1, is characterized in that, described reception comprises for the touch control operation of described interface element:
Receive the slide for described interface element;
Resolve at least one in the glide direction of described slide and sliding distance;
The described display size adjusting described interface element according to described touch control operation comprises:
The display size of described interface element is adjusted according at least one in the glide direction of described slide and sliding distance.
3. method according to claim 1, is characterized in that, described reception comprises for the touch control operation of described interface element:
Receive the pressing operation for described interface element;
Resolve the contact area variation tendency of described pressing operation;
The described display size adjusting described interface element according to described touch control operation comprises:
The display size of described interface element is adjusted according to the contact area variation tendency of described pressing operation.
4. the method for claim 1, is characterized in that, the data of described default sensor collection are pressure datas; Whether the data that sensor collection is preset in described judgement meet pre-conditioned, comprising:
Judge that whether the pressure data of described default sensor collection is higher than preset pressure value, if the pressure data gathered is higher than described preset pressure value, then judge described in the data fit that described default sensor gathers pre-conditioned, if the pressure data gathered not higher than described preset pressure value, then judges that the data of described default sensor collection do not meet described pre-conditioned.
5. the method for claim 1, is characterized in that, the data of described default sensor collection are finger print datas; Whether the data that sensor collection is preset in described judgement meet pre-conditioned, comprising:
Judge whether described finger print data meets default fingerprint characteristic, if described finger print data meets described default fingerprint characteristic, then judge described in the data fit that described default sensor gathers pre-conditioned, if described finger print data does not meet described default fingerprint characteristic, then judge that the data of described default sensor collection do not meet described pre-conditioned.
6. a terminal, is characterized in that, comprising:
Display unit, for showing the interface element supporting zoom operations on a display screen;
Receiving element, for receiving the touch control operation for described interface element;
Acquiring unit, for obtaining the data that default sensor gathers;
Judging unit, for judging whether the data of described default sensor collection meet pre-conditioned;
Unit for scaling, for when the data fit that described sensor gathers is pre-conditioned, adjusts the display size of described interface element according to described touch control operation.
7. terminal as claimed in claim 6, it is characterized in that, described receiving element, comprising: first receives subelement and the first resolution unit, wherein:
Described first receives subelement, for receiving the slide for described interface element;
Described first resolution unit, for resolving at least one in the glide direction of described slide and sliding distance;
Described unit for scaling, specifically for: the display size adjusting described interface element according at least one in the glide direction of described slide and sliding distance.
8. terminal as claimed in claim 6, it is characterized in that, described receiving element, comprising: second receives subelement and the second resolution unit, wherein:
Described second receives subelement, for receiving the pressing operation for described interface element;
Described second resolution unit, for resolving the contact area variation tendency of described pressing operation;
Described unit for scaling, specifically for: the display size adjusting described interface element according to the contact area variation tendency of described pressing operation.
9. terminal as claimed in claim 6, it is characterized in that, the data of described default sensor collection are pressure datas; Described judging unit specifically for: judge that whether pressure data that described default sensor gathers is higher than preset pressure value, if the pressure data gathered is higher than described preset pressure value, then judge described in the data fit that described default sensor gathers pre-conditioned, if the pressure data gathered not higher than described preset pressure value, then judges that the data of described default sensor collection do not meet described pre-conditioned.
10. terminal as claimed in claim 6, it is characterized in that, the data of described default sensor collection are finger print datas; Described judging unit specifically for: judge whether described finger print data meets default fingerprint characteristic, if described finger print data meets described default fingerprint characteristic, then judge described in the data fit that described default sensor gathers pre-conditioned, if described finger print data does not meet described default fingerprint characteristic, then judge that the data of described default sensor collection do not meet described pre-conditioned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510530584.8A CN105159491A (en) | 2015-08-26 | 2015-08-26 | Touch screen control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510530584.8A CN105159491A (en) | 2015-08-26 | 2015-08-26 | Touch screen control method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105159491A true CN105159491A (en) | 2015-12-16 |
Family
ID=54800370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510530584.8A Pending CN105159491A (en) | 2015-08-26 | 2015-08-26 | Touch screen control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159491A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105930077A (en) * | 2016-04-12 | 2016-09-07 | 广东欧珀移动通信有限公司 | Method and device for adjusting size of objects displayed by screens |
CN106982326A (en) * | 2017-03-29 | 2017-07-25 | 华勤通讯技术有限公司 | Its focalization method and terminal |
WO2017133256A1 (en) * | 2016-02-03 | 2017-08-10 | 中兴通讯股份有限公司 | Method and device for controlling screen display, and terminal |
WO2017140108A1 (en) * | 2016-02-17 | 2017-08-24 | 北京小米移动软件有限公司 | Pressure detection method and apparatus |
CN109189514A (en) * | 2018-07-16 | 2019-01-11 | 维沃移动通信有限公司 | A kind of control method and terminal device of terminal device |
WO2019126970A1 (en) * | 2017-12-25 | 2019-07-04 | 深圳信炜科技有限公司 | Electronic apparatus |
CN111124220A (en) * | 2019-11-20 | 2020-05-08 | 维沃移动通信有限公司 | Screenshot method and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630223A (en) * | 2009-07-25 | 2010-01-20 | 深圳华为通信技术有限公司 | Method and terminal for adjusting interface |
CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
-
2015
- 2015-08-26 CN CN201510530584.8A patent/CN105159491A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630223A (en) * | 2009-07-25 | 2010-01-20 | 深圳华为通信技术有限公司 | Method and terminal for adjusting interface |
CN103210367A (en) * | 2012-09-29 | 2013-07-17 | 华为终端有限公司 | Electronic apparatus and method for controlling display object scaling |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017133256A1 (en) * | 2016-02-03 | 2017-08-10 | 中兴通讯股份有限公司 | Method and device for controlling screen display, and terminal |
WO2017140108A1 (en) * | 2016-02-17 | 2017-08-24 | 北京小米移动软件有限公司 | Pressure detection method and apparatus |
CN107092852A (en) * | 2016-02-17 | 2017-08-25 | 北京小米移动软件有限公司 | Pressure detection method and device |
CN105930077A (en) * | 2016-04-12 | 2016-09-07 | 广东欧珀移动通信有限公司 | Method and device for adjusting size of objects displayed by screens |
CN106982326A (en) * | 2017-03-29 | 2017-07-25 | 华勤通讯技术有限公司 | Its focalization method and terminal |
CN106982326B (en) * | 2017-03-29 | 2020-02-07 | 华勤通讯技术有限公司 | Focal length adjusting method and terminal |
WO2019126970A1 (en) * | 2017-12-25 | 2019-07-04 | 深圳信炜科技有限公司 | Electronic apparatus |
CN109189514A (en) * | 2018-07-16 | 2019-01-11 | 维沃移动通信有限公司 | A kind of control method and terminal device of terminal device |
CN109189514B (en) * | 2018-07-16 | 2021-03-12 | 维沃移动通信有限公司 | Terminal device control method and terminal device |
CN111124220A (en) * | 2019-11-20 | 2020-05-08 | 维沃移动通信有限公司 | Screenshot method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159491A (en) | Touch screen control method and terminal | |
CN102004576B (en) | Information processing apparatus, information processing method, and program | |
CN105068727B (en) | A kind of implementation method and device of drawing tool | |
TWI493437B (en) | Method of opening window control bar by identification of edge swipe gesture and touch system using the method | |
CN102236442B (en) | Touchpad control system and method | |
KR20160149262A (en) | Touch point recognition method and device | |
US9141268B2 (en) | Inputting apparatus and storage medium storing program | |
TWI389014B (en) | Touchpad detection method | |
US9880721B2 (en) | Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method | |
JP4045550B2 (en) | Image display control apparatus and image display control program | |
CN105607793B (en) | Method for adjusting window and electronic equipment | |
WO2017059734A1 (en) | Image zoom in/out method and electronic device | |
CN105302467A (en) | Touch operation identification and response method and apparatus as well as game control method and apparatus | |
CN103685930A (en) | Display control apparatus, and method for controlling the same | |
CN102830918A (en) | Mobile terminal and method for adjusting size of display fonts of mobile terminal | |
WO2020124422A1 (en) | Handwriting system control method and handwriting system | |
CN113608654A (en) | Data editing method and device | |
US20150020024A1 (en) | Zoom control of screen image in electronic device | |
KR101143276B1 (en) | Adaptive type noise removing method for improving the accuracy of the position measurement of touch input | |
KR100984630B1 (en) | System and method for processing raw data of track pad device | |
JP2007102369A (en) | Gesture recognition device and gesture recognition method | |
CN107272932B (en) | Control method of information display device and information display device | |
CN104750356A (en) | Mobile terminal | |
CN110162257A (en) | Multiconductor touch control method, device, equipment and computer readable storage medium | |
JP6584876B2 (en) | Information processing apparatus, information processing program, and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151216 |