CN109101179A - Touch control method, mobile terminal and the computer readable storage medium of mobile terminal - Google Patents
Touch control method, mobile terminal and the computer readable storage medium of mobile terminal Download PDFInfo
- Publication number
- CN109101179A CN109101179A CN201810867427.XA CN201810867427A CN109101179A CN 109101179 A CN109101179 A CN 109101179A CN 201810867427 A CN201810867427 A CN 201810867427A CN 109101179 A CN109101179 A CN 109101179A
- Authority
- CN
- China
- Prior art keywords
- gesture
- information
- translation
- touch
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of touch control method of mobile terminal, mobile terminal and computer readable storage mediums, wherein touch control method includes: the singlehanded mode enabled instruction for receiving user's triggering, starts singlehanded mode;Detection user touches the slip gesture that touch screen is triggered, and judges whether the slip gesture is translation gesture;When the slip gesture is translation gesture, the raw frames shown in the touch screen are moved to by corresponding position according to the translation gesture.The present invention can avoid mobile terminal one-handed performance scheme in the prior art and be easy to happen the technical issues of accidentally touching.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of touch control method of mobile terminal, mobile terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
With the continuous increase of the screen size of the mobile terminals such as mobile phone, for one-handed performance processing mode increasingly
It is more.The existing one-handed performance scheme for large-size screen monitors mobile terminal is usually all to reduce the display picture of extensive area
Touch control operation, to gather the small range region being convenient to operation, is carried out certain Mapping and Converting by processing.This makes accordingly
The size of touch-control conversion zone also reduces together, so as to cause error touch control is easy to happen, influences the accuracy and use of one-handed performance
Family experience.
Therefore, it is necessary to provide a kind of touch control method of novel mobile terminal, to solve the above technical problems.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of touch control method of mobile terminal, mobile terminal and computer-readable deposit
Storage media, it is intended to solve existing mobile terminal one-handed performance scheme and be easy to happen the technical issues of accidentally touching.
To achieve the above object, the present invention provides a kind of touch control method of mobile terminal, comprising:
The singlehanded mode enabled instruction of user's triggering is received, singlehanded mode is started;
Detection user touches the slip gesture that touch screen is triggered, and judges whether the slip gesture is translation gesture;
When the slip gesture is translation gesture, according to the original picture that translates gesture and will be shown in the touch screen
Face moves to corresponding position.
Preferably, described when the slip gesture is translation gesture, it will be in the touch screen according to the translation gesture
The step of raw frames of display move to corresponding position, comprising:
Obtain the pixel coordinate information of the raw frames;
Offset coordinates information is generated according to the displacement information of the translation gesture and directional information;
It is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and after showing translation
Picture.
Preferably, described when the slip gesture is translation gesture, it will be in the touch screen according to the translation gesture
The step of raw frames of display move to corresponding position, further includes:
Obtain the pixel coordinate information of the raw frames;
According to the displacement information of preset ratio and the translation gesture, conversion displacement information is generated, wherein the translation hand
The displacement information of gesture is less than the conversion displacement information;
Offset coordinates information is generated according to the directional information of the conversion displacement information and the translation gesture;
It is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and after showing translation
Picture.
Preferably, the pixel coordinate information according to the offset coordinates information and the raw frames is translated,
And the step of showing the picture after translation, it specifically includes:
The picture pixel after translation is generated according to the pixel coordinate information of the offset coordinates information and the raw frames
Coordinate information;
The display pixel information is not corresponded to the picture after the translation by the display pixel information for obtaining the touch screen
It is confirmed as white space in the part of pixel coordinate information;
Pre-set image is corresponded into the white space, and the pre-set image is corresponded to part and the institute of the white space
Frame buffer zone is written in picture pixel coordinate information after stating translation together;
It is shown according to the data in the frame buffer zone.
Preferably, the pixel coordinate information according to the offset coordinates information and the raw frames is translated,
And after the step of showing the picture after translation, further includes:
Detection user contacts the operational motion that the touch screen is triggered, and the touch-control where the determining operational motion is anti-
Answer region;
It is responded according to touch-control conversion zone corresponding to the operational motion and the operational motion.
Preferably, the detection user contacts the operational motion that the touch screen is triggered, and determines the operational motion
It the step of touch-control conversion zone at place, specifically includes:
Detection user contacts the operational motion that the touch screen is triggered, and obtains the coordinate information of the operational motion;
Original coordinates information is generated according to the coordinate information of the click location and the offset coordinates information;
Whether the coordinate information for obtaining touch-control conversion zone described in the raw frames judges the original coordinates information
It is corresponding with the coordinate information of the touch-control conversion zone;
When the original coordinates information and the coordinate information of the touch-control conversion zone to it is corresponding when determine the operational motion
Corresponding touch-control conversion zone.
Preferably, the detection user touches the slip gesture that is triggered of touch screen, judge the slip gesture whether be
Before the step of translating gesture, specifically include:
Detection user touches the slip gesture that touch screen is triggered, and obtains the slip gesture and stops on the touch screen
The stagnant time, judge whether the dead time is greater than the first preset time;
When the sliding time is greater than first preset time, determine that the slip gesture is the translation gesture;
When the sliding time is less than first preset time, determine that the slip gesture is normal operating gesture,
Respond the corresponding control instruction of the normal operating gesture.
Preferably, the step of singlehanded mode enabled instruction for receiving user's triggering, starting one hand mode, specific to wrap
It includes:
Detection user touches the slip gesture that is triggered of touch screen, judge the slip gesture whether with default switching gesture
It is identical;
When the slip gesture is identical as the default switching gesture, the singlehanded mould is switched to from normal manipulation mode
Formula.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminals, including touch screen, memory, processor
And it is stored in the computer program that can be run on the memory and on the processor, the computer program is by the place
The step of reason device realizes the touch control method of mobile terminal as the aforementioned when executing.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Computer program is stored on storage medium, the computer program realizes mobile terminal as the aforementioned when being executed by processor
The step of touch control method.
Touch control method, mobile terminal and the computer-readable storage medium for a kind of mobile terminal that the embodiment of the present invention proposes
Matter, by carrying out mobile display directly against raw frames, so that when user's one-handed performance mobile terminal, it can be original by movement
Picture carries out touch control operation, thus user-friendly to the touch-control conversion zone that original one-handed performance reaches;To original
Beginning picture moving does not reduce the display scales of raw frames during obtaining, so as to avoid in the prior art, to touch-control reaction zone
The minification in domain, caused error touch control problem.
Detailed description of the invention
Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the touch control method first embodiment of mobile terminal of the present invention;
Fig. 3 is that the touch screen of one embodiment of mobile terminal of the present invention shows the schematic diagram of raw frames;
Fig. 4 is the schematic diagram of the picture after the touch screen display translation of one embodiment of mobile terminal of the present invention;
Fig. 5 is the flow diagram of the touch control method second embodiment of mobile terminal of the present invention;
Fig. 6 is the flow diagram of the touch control method 3rd embodiment of mobile terminal of the present invention;
Fig. 7 is the flow diagram of the touch control method fourth embodiment of mobile terminal of the present invention;
Fig. 8 is the flow diagram of the 5th embodiment of touch control method of mobile terminal of the present invention;
Fig. 9 is the flow diagram of the touch control method sixth embodiment of mobile terminal of the present invention;
Figure 10 is the flow diagram of the 7th embodiment of touch control method of mobile terminal of the present invention;
Figure 11 is the flow diagram of the 8th embodiment of touch control method of mobile terminal of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Due in the prior art, the technical solution that is provided for one-handed performance mobile terminal are as follows: on-screen displays are reduced,
It is also reduced together so as to cause the size of touch-control conversion zone, causes to be easy to happen error touch control, influence the accuracy of one-handed performance
And user experience.
The present invention provides a solution, avoids the size reduction of touch-control conversion zone in the prior art, causes
Without touch-control problem.
As shown in Figure 1, Fig. 1 is the mobile terminal structure signal for the hardware running environment that the embodiment of the present invention is related to
Figure.
Mobile terminal in the embodiment of the present invention can be smart phone, be also possible to tablet computer, E-book reader
Deng the terminal device with touch-control and display function.
As shown in Figure 1, the mobile terminal may include: processor 1001, such as CPU, communication bus 1002, touch screen
1003, memory 1004.Wherein, communication bus 1002 is for realizing the connection communication between these components.Touch screen 1003 is used
In the operation of detection user, and system operatio interface, the application operating interface etc. stored in display-memory 1004.Touch screen
1003 are specifically as follows resistance type touch control screen, capacitor induction type touch screen, infrared-type touch screen and surface acoustic wave type touch-control
Screen etc..Memory 1004 can be high speed RAM memory, be also possible to stable memory (non-volatile memory),
Such as magnetic disk storage.Memory 1004 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, mobile terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor,
Voicefrequency circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically
Ground, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light
The brightness of display screen secretly is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.
As a kind of motion sensor, gravity accelerometer can detect all directions on (generally three axis) acceleration it is big
It is small, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile terminal posture, (for example horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal
It can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 1 does not constitute the limit to mobile terminal
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system and realization in a kind of memory 1004 of computer storage medium
The computer program of the touch control method of mobile terminal of the present invention.
In mobile terminal shown in Fig. 1, processor 1001 can be used for calling the computer stored in memory 1004
When program, and execute following operation:
The singlehanded mode enabled instruction of user's triggering is received, singlehanded mode is started;
Detection touches the slip gesture of the triggered triggering of touch screen, judges whether the slip gesture is translation gesture;
When the slip gesture is translation gesture, according to the original picture that translates gesture and will be shown in the touch screen
Face moves to corresponding position.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
The original that when the slip gesture is translation gesture, will be shown in the touch screen according to the translation gesture
The step of beginning panning is to corresponding position, specially further include:
Obtain the pixel coordinate information of the raw frames;
According to the displacement information of preset ratio and the translation gesture, conversion displacement information is generated, wherein the translation hand
The displacement information of gesture is less than the conversion displacement information;
Offset coordinates information is generated according to the directional information of the conversion displacement information and the translation gesture;
It is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and in the touch-control
Picture after showing translation in screen.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
The pixel coordinate information according to the offset coordinates information and the raw frames is translated, in the touching
The step of in control screen and showing the picture after translation, specifically includes:
The picture pixel after translation is generated according to the pixel coordinate information of the offset coordinates information and the raw frames
Coordinate information;
The display pixel information is not corresponded to the picture after the translation by the display pixel information for obtaining the touch screen
It is confirmed as white space in the part of pixel coordinate information;
Pre-set image is corresponded into the white space, and the pre-set image is corresponded to part and the institute of the white space
Frame buffer zone is written in picture pixel coordinate information after stating translation together;
The picture after display translation is carried out according to the data in the frame buffer zone.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
The pixel coordinate information according to the offset coordinates information and the raw frames is translated, in the touching
After the step of in control screen and showing the picture after translation, further includes:
Detection user contacts the operational motion that the touch screen is triggered, and determine where the operational motion to described
When touch screen is clicked, judge whether click location corresponds to touch-control conversion zone;;
It is carried out according to touch-control conversion zone corresponding to the operational motion and the operational motion when click location and institute
State touch-control conversion zone it is corresponding when, respond the click.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
The detection user contacts the operational motion that the touch screen is triggered, and determines the touching where the operational motion
When control conversion zone detects that the touch screen is clicked, the step of whether click location corresponds to touch-control conversion zone is judged, have
Body includes:
When detection user contacts the operational motion that the touch screen is triggered and detects that the touch screen is clicked, institute is obtained
State the coordinate information of click location operational motion;
Original coordinates information is generated according to the coordinate information of the operational motion click location and the offset coordinates information;
Whether the coordinate information for obtaining touch-control conversion zone described in the raw frames judges the original coordinates information
It is corresponding with the coordinate information of the corresponding touch-control conversion zone;
When the original coordinates information and the coordinate information of the touch-control conversion zone to it is corresponding when determine the operational motion
Corresponding touch-control conversion zone.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
The detection touches the slip gesture of the triggered triggering of touch screen, judges whether the slip gesture is translation gesture
Before the step of detecting the translation gesture that user makes, also specifically include:
Detection user touches the slip gesture that touch screen is triggered, and obtains the slip gesture and stops on the touch screen
The stagnant time, judge whether the dead time is greater than the first preset time;
When the sliding time is greater than first preset time, determine that the slip gesture is the translation gesture;
When the sliding time is less than first preset time, determine that the slip gesture is normal operating gesture,
Respond the corresponding control instruction of the normal operating gesture.
Further, it when processor 1001 can call the computer program stored in memory 1004, also executes following
Operation:
It the step of singlehanded mode enabled instruction for receiving user and issuing triggering, starting one hand mode, specifically includes:
Detection user touches the slip gesture that is triggered of touch screen, judge the slip gesture whether with default switching gesture
It is identical;
When the slip gesture is identical as the default switching gesture, the singlehanded mould is switched to from normal manipulation mode
Formula.
The specific embodiment of mobile terminal of the present invention and each embodiment of touch control method of following mobile terminals are essentially identical,
This is not repeated.
It is the flow diagram of the touch control method first embodiment of mobile terminal of the present invention referring to Fig. 2, Fig. 2.
First embodiment of the invention provides a kind of touch control method of mobile terminal, the touch control method packet of the mobile terminal
It includes:
Step S1 receives the singlehanded mode enabled instruction of user's triggering, starts singlehanded mode;
The present embodiment is illustrated by taking mobile terminal as an example, and the present invention can be applied to other mobile whole in specific implementation
End, specifically, mobile terminal may include: singlehanded mode and normal manipulation mode, wherein singlehanded mode refers to operating system
It shows and is conducive to the system mode that user's one hand is operated, in the present embodiment, the operating system in singlehanded mode receives
To after translation gesture, translation can be carried out to raw frames and shown;Normal manipulation mode refers to that operating system is normal with general state
Operation, distinguishes with singlehanded mode.Operating system under normal manipulation mode, receive translation gesture after not to raw frames
Make translation display.Can be arranged in the terminal in advance entity shortcut key or in system interface be arranged switching key or
Be preset certain slip gesture so that in use user can press entity shortcut key or click switching by
Key is made when meeting preset slip gesture, is realized and is triggered singlehanded mode enabled instruction.Mobile terminal refers to receiving starting
After order, start singlehanded mode.
Step S2, detection user touch the slip gesture that touch screen is triggered, judge whether the slip gesture is translation
Gesture;
Specifically, slip gesture is that after user contacts touch screen, the track with direction, shape is drawn along touch screen.It is flat
Moving gesture is one or more of preset numerous slip gestures, and the operation of the corresponding mobile raw frames of translation gesture refers to
It enables.For user's convenience, translation gesture is that the finger of user clicks the dragging behavior after screen in the present embodiment, certainly flat
The setting of Different Rule can also be carried out according to actual needs by moving gesture.
Step S3 will be shown when the slip gesture is translation gesture according to the translation gesture in the touch screen
Raw frames move to corresponding position.
Specifically, it is different system operating states that the singlehanded mode of mobile terminal, which is from normal mode, only in singlehanded mould
Under formula, translation just is carried out to raw frames after receiving translation gesture and is shown, in the normal mode, not to original after receiving translation gesture
Beginning picture makes translation display, to avoid occurring to be judged to normal operating gesture to translate gesture, influences user's operation.
Raw frames are the picture shown in touch screen in the normal mode.Translate includes direction and displacement, original in gesture
Beginning picture moves to specified position according to the direction and displacement.Fig. 3 and Fig. 4 are please referred to, Fig. 3 is shown in an embodiment
In, mobile terminal shows raw frames, and Fig. 4 is shown in another embodiment, mobile terminal show raw frames are carried out it is flat
Picture after shifting when so as to facilitate user's right hand to hold mobile terminal, is grasped to upper left corner area is located in raw frames
Make.
In the present embodiment, mobile display is carried out directly against raw frames, so that when user's one-handed performance mobile terminal,
Also can be by mobile raw frames, the region reached to original one-handed performance operates, thus user-friendly;Right
The display scale of raw frames is not reduced in the moving process of raw frames, so as to avoid in the prior art, touch-control is reacted
The minification in region, caused error touch control problem.
Further, referring to Fig. 5, second embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S3 include:
Step S31 obtains the pixel coordinate information of the raw frames;
Raw frames are made of multiple pixels, and each pixel has specific position and color value.Pixel coordinate
Information refers to the abscissa of each pixel in original image, the location information of ordinate and color information.
Specifically, suspend the data write activity to frame buffer zone (frame buffer), institute is obtained in frame buffer zone
State the pixel coordinate information of raw frames.
Step S32 generates offset coordinates information according to the displacement information of the translation gesture and directional information;
Specifically, translating the displacement information for including in gesture is length distance, the distance of instruction original image translation, packet
The directional information contained is to indicate the direction of original image translation.
Step S33 is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and is shown
Picture after showing translation.
Such as: it to be positive to left, is negative to right translation, translates up and be positive, translation is negative downwards.In original image
Some pixel it is corresponding red in pixel coordinate information, the abscissa of position is X1It is Y with ordinate1, by the position of translation gesture
Moving the offset coordinates information that information and directional information generate is-X2With+Y2, then translation after picture in, X1-X2, Y1+Y2Picture
Vegetarian refreshments is displayed in red.Picture after multiple pixel composition translations.
When further being translated to the picture after the translation, the displacement information and directional information of gesture will be translated
Superposition generates offset coordinates information, realizes the picture moving after repeatedly receiving translation gesture.
Further, referring to Fig. 6, third embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S3 further include:
Step S34 obtains the pixel coordinate information of the raw frames;
Step S35 generates conversion displacement information, wherein institute according to the displacement information of preset ratio and the translation gesture
The displacement information for stating translation gesture is less than the conversion displacement information;
Step S36 generates offset coordinates information according to the directional information of the conversion displacement information and the translation gesture;
Step S37 is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and is shown
Picture after showing translation.
The present embodiment and second embodiment the difference is that, in step S35, according to preset ratio and the translation gesture
Displacement information, generate conversion displacement information.To realize that user makes the translation gesture of small distance, raw frames are realized big
The translation of distance is shown.Such as: assuming that preset ratio is 2, some pixel in original image is corresponding in pixel coordinate information
Red, position abscissa are X1It is Y with ordinate1, letter is displaced by the conversion that the displacement information and preset ratio of translation gesture generate
Breath is [2X2,2Y2], it is -2X in conjunction with the offset coordinates information that directional information generates2With+2Y2, then translation after picture in,
X1-2X2, Y1+2Y2Pixel be displayed in red.Picture after multiple pixel composition translations.
In a preferred embodiment, in 5.0 cun of touch screen, preset ratio is specially abscissa 1:3, ordinate 1:4.
That is a user's mobile length unit, raw frames on abscissa direction translate 3 length units on the horizontal scale;User exists
A mobile length unit, raw frames translate 4 length units on the vertical scale in ordinate direction.To adapt to existing movement
Terminal is equipped with rectangular touch screen mostly, and user is facilitated to hold, and solution user reaches in the length direction of mobile terminal and needs
The region to be operated, it is caused inconvenient.
Further, referring to Fig. 7, fourth embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S33 or step S37 are specifically included:
Step S331, after generating translation according to the pixel coordinate information of the offset coordinates information and the raw frames
Picture pixel coordinate information;
The position of each pixel and color in the picture after picture pixel coordinate information i.e. translation after translation.
Step S332 obtains the display pixel information of the touch screen, the display pixel information is not corresponded to described flat
It is confirmed as white space in the part of picture pixel coordinate information after shifting;
The display pixel information of touch screen is the size that touch screen itself has and pixel distribution.Since raw frames are filled
Full entire touch screen is shown as best image, after raw frames translation, necessarily causes a part in raw frames can not be
It is shown in touch screen, a part in touch screen fails the pixel coordinate information after corresponding translation, after failing corresponding translation
The part of pixel coordinate information be confirmed as white space.Referring to Fig. 4, the mobile terminal touch screen of an embodiment shown in Fig. 4
In, the black region in the upper left corner is the white space confirmed in the embodiment.
Pre-set image is corresponded to the white space, and the pre-set image is corresponded to the white space by step S333
Part and the translation after picture pixel coordinate information frame buffer zone is written together;
In the present embodiment, pre-set image is black background image, i.e., such as Fig. 4, shows as showing black in white space.
Certainly in other embodiments, pre-set image is also possible to do the raw frames of color dodge processing, can also be and did mould
Paste the raw frames of processing.Those skilled in the art can according to need sets itself.
Step S334 is shown according to the data in the frame buffer zone.
Picture after user is to translation makes further operating, so that the display of the picture after translation is changed, has
Body generates new picture pixel coordinate information according to the display data and offset coordinates information of change, then frame buffer zone is written.
Pre-set image is shown by setting white space, so that the picture after translation is distinguished with white space,
The case where avoiding user from can not distinguishing the picture edge after translating.
Further, referring to Fig. 8, fifth embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, after the step S3, further includes:
Step S4, detection user contact the operational motion that the touch screen is triggered, and determine the operational motion place
Touch-control conversion zone;
Touch-control reaction zone can be application program image target display area, can also be with the pre-set button viewing area of operating system
Domain etc..
Step S5 is responded according to touch-control conversion zone corresponding to the operational motion and the operational motion.
Such as: operational motion is to click, and clicking corresponding touch-control reaction zone is application program A, shows as application program A and opens
It opens;Operational motion is the upper side frame slide downward from touch screen, clicks the drop-down window that corresponding touch-control reaction zone is operating system
Mouthful, the drop-down window for showing as operating system is shown.
By in this present embodiment, not doing diminution processing to touch-control reaction zone, so that user can be as under normal mode, directly
It clicks touch-control conversion zone and carries out further operating.
Further, referring to Fig. 9, sixth embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S4 are specifically included:
Step S41, detection user contact the operational motion that the touch screen is triggered, obtain the coordinate of the operational motion
Information;
Step S42 generates original coordinates information according to the coordinate information of the operational motion and the offset coordinates information;
Generating original coordinates information is to restore the operating position of operational motion, with the corresponding positions in raw frames
Set correspondence.
Step S43 obtains the coordinate information of touch-control conversion zone described in the raw frames, determines the operational motion
Corresponding touch-control conversion zone.
Carried out by the coordinate information to click location with raw frames it is corresponding, so as to tell click location whether be
Touch-control conversion zone, to guarantee that the operation of user can be achieved.
Further, referring to Fig.1 0, seventh embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S2 are specifically included:
Step S21, detection user touch the slip gesture that touch screen is triggered, obtain the slip gesture in the touch-control
Dead time on screen, judge whether the dead time is greater than the first preset time;
First preset time is those skilled in the art's self-setting as needed.In the present embodiment, first is pre-
If the time is 1 second.Dead time are as follows: user's finger contacts start to touch screen, move on touch screen to user's finger
Until, the screen of user's finger pressing therebetween is motionless.
Step S22 determines that the slip gesture is described flat when the sliding time is greater than first preset time
Move gesture;
Step S23 determines that the slip gesture is normal behaviour when the sliding time is less than first preset time
It makes a sign with the hand, responds the corresponding control instruction of the normal operating gesture.
Normal operating gesture refers to the gesture in addition to translating gesture, such as page scroll gesture, drop-down menu column hand
Gesture, return main screen gesture etc..
By the way that the first preset time is arranged, to realize differentiation translation gesture and normal operating gesture, i.e., in singlehanded mode
Under, the operation that sliding browsing, drop-down menu etc. are carried out by commonly using slip gesture is also able to achieve in the picture after translation.
Further, referring to Fig.1 1, eighth embodiment of the invention provides a kind of touch control method of mobile terminal, based on above-mentioned
Embodiment, the step S1 are specifically included:
Step 11, detection user touches the slip gesture that is triggered of touch screen, judge the slip gesture whether with it is default
It is identical to switch gesture;
Default switching gesture is that those skilled in the art are configured as needed, specifically can be user and contacts touch screen
After draw specific figure or from specific position originate, the sliding etc. terminated to specific position.
Step 12, when the slip gesture is identical as the default switching gesture, institute is switched to from normal manipulation mode
State singlehanded mode.
By the way that default gesture is arranged, so as to rapidly enter singlehanded mode.Certainly in other embodiments, can also use
Other modes carry out the switching of normal manipulation mode and singlehanded mode, such as switching key etc. is arranged in entity button, menu bar.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with computer program, the computer program realizes the touch-control side of mobile terminal as described above when being executed by processor
Method.
Each embodiment of touch control method of the specific embodiment of computer readable storage medium of the present invention and above-mentioned mobile terminal
Essentially identical, therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of touch control method of mobile terminal characterized by comprising
The singlehanded mode enabled instruction of user's triggering is received, singlehanded mode is started;
Detection user touches the slip gesture that touch screen is triggered, and judges whether the slip gesture is translation gesture;
When the slip gesture is translation gesture, the raw frames shown in the touch screen are put down according to the translation gesture
Move on to corresponding position.
2. the touch control method of mobile terminal as described in claim 1, which is characterized in that described when the slip gesture is translation
When gesture, the step of raw frames shown in the touch screen are moved to by corresponding position according to the translation gesture, packet
It includes:
Obtain the pixel coordinate information of the raw frames;
Offset coordinates information is generated according to the displacement information of the translation gesture and directional information;
It is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and shows the picture after translation
Face.
3. the touch control method of mobile terminal as described in claim 1, which is characterized in that described when the slip gesture is translation
When gesture, the step of raw frames shown in the touch screen are moved to by corresponding position according to the translation gesture, also
Include:
Obtain the pixel coordinate information of the raw frames;
According to the displacement information of preset ratio and the translation gesture, conversion displacement information is generated, wherein the translation gesture
Displacement information is less than the conversion displacement information;
Offset coordinates information is generated according to the directional information of the conversion displacement information and the translation gesture;
It is translated according to the pixel coordinate information of the offset coordinates information and the raw frames, and shows the picture after translation
Face.
4. the touch control method of mobile terminal as claimed in claim 2 or claim 3, which is characterized in that described according to the offset coordinates
The pixel coordinate information of information and the raw frames is translated, and the step of showing the picture after translation, is specifically included:
The picture pixel coordinate after translation is generated according to the pixel coordinate information of the offset coordinates information and the raw frames
Information;
The display pixel information is not corresponded to the picture pixel after the translation by the display pixel information for obtaining the touch screen
It is confirmed as white space in the part of coordinate information;
Pre-set image is corresponded into the white space, and the pre-set image is corresponded into the part of the white space and described flat
Frame buffer zone is written in picture pixel coordinate information after shifting together;
It is shown according to the data in the frame buffer zone.
5. the touch control method of mobile terminal as claimed in claim 2 or claim 3, which is characterized in that described according to the offset coordinates
The pixel coordinate information of information and the raw frames is translated, and after the step of showing the picture after translation, further includes:
Detection user contacts the operational motion that the touch screen is triggered, and determines the touch-control reaction zone where the operational motion
Domain;It is responded according to touch-control conversion zone corresponding to the operational motion and the operational motion.
6. the touch control method of mobile terminal as claimed in claim 5, which is characterized in that the detection user contacts the touch
Shield triggered operational motion, and the step of determining the touch-control conversion zone where the operational motion, specifically include:
Detection user contacts the operational motion that the touch screen is triggered, and obtains the coordinate information of the operational motion;
Original coordinates information is generated according to the coordinate information of the operational motion and the offset coordinates information;
The coordinate information for obtaining touch-control conversion zone described in the raw frames, judge the original coordinates information whether with institute
The coordinate information for stating touch-control conversion zone is corresponding;
When the original coordinates information and the coordinate information of the touch-control conversion zone to it is corresponding when determine that the operational motion is corresponding
Touch-control conversion zone.
7. the touch control method of mobile terminal as described in claim 1, which is characterized in that the detection user touches touch screen institute
The step of whether slip gesture is translation gesture judged, is specifically included for the slip gesture of triggering:
Detection user touches the slip gesture that touch screen is triggered, and obtains the slip gesture in the stagnation on the touch screen
Between, judge whether the dead time is greater than the first preset time;
When the sliding time is greater than first preset time, determine that the slip gesture is the translation gesture;
When the sliding time is less than first preset time, determine that the slip gesture is normal operating gesture, response
The corresponding control instruction of the normal operating gesture.
8. the touch control method of mobile terminal as described in claim 1, which is characterized in that the singlehanded mould for receiving user's triggering
It the step of formula enabled instruction, starting one hand mode, specifically includes:
Detection user touches the slip gesture that is triggered of touch screen, judge the slip gesture whether with default switching gesture phase
Together;
When the slip gesture is identical as the default switching gesture, the singlehanded mode is switched to from normal manipulation mode.
9. a kind of mobile terminal, which is characterized in that including touch screen, memory, processor and be stored on the memory simultaneously
The computer program that can be run on the processor is realized when the computer program is executed by the processor as right is wanted
The step of touch control method of mobile terminal described in asking any one of 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the touching such as mobile terminal described in any item of the claim 1 to 8 when the computer program is executed by processor
The step of prosecutor method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810867427.XA CN109101179A (en) | 2018-08-01 | 2018-08-01 | Touch control method, mobile terminal and the computer readable storage medium of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810867427.XA CN109101179A (en) | 2018-08-01 | 2018-08-01 | Touch control method, mobile terminal and the computer readable storage medium of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109101179A true CN109101179A (en) | 2018-12-28 |
Family
ID=64848407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810867427.XA Pending CN109101179A (en) | 2018-08-01 | 2018-08-01 | Touch control method, mobile terminal and the computer readable storage medium of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101179A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580711A (en) * | 2020-04-24 | 2020-08-25 | 深圳传音控股股份有限公司 | Interaction method, terminal and computer readable storage medium |
CN111966264A (en) * | 2020-10-21 | 2020-11-20 | 深圳华声医疗技术股份有限公司 | Medical ultrasonic apparatus, control method thereof, and computer storage medium |
CN113778276A (en) * | 2021-08-27 | 2021-12-10 | 苏州三星电子电脑有限公司 | Touch terminal desktop icon control method and touch terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104881203A (en) * | 2015-04-24 | 2015-09-02 | 青岛海信移动通信技术股份有限公司 | Touch operation method and device in terminal |
CN106997271A (en) * | 2016-01-22 | 2017-08-01 | 中兴通讯股份有限公司 | Single-hand control method and device |
CN107613094A (en) * | 2017-08-17 | 2018-01-19 | 珠海格力电器股份有限公司 | Method for operating mobile terminal by one hand and mobile terminal |
CN107967106A (en) * | 2016-10-20 | 2018-04-27 | 中兴通讯股份有限公司 | A kind of interface operation method and mobile terminal |
-
2018
- 2018-08-01 CN CN201810867427.XA patent/CN109101179A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104881203A (en) * | 2015-04-24 | 2015-09-02 | 青岛海信移动通信技术股份有限公司 | Touch operation method and device in terminal |
CN106997271A (en) * | 2016-01-22 | 2017-08-01 | 中兴通讯股份有限公司 | Single-hand control method and device |
CN107967106A (en) * | 2016-10-20 | 2018-04-27 | 中兴通讯股份有限公司 | A kind of interface operation method and mobile terminal |
CN107613094A (en) * | 2017-08-17 | 2018-01-19 | 珠海格力电器股份有限公司 | Method for operating mobile terminal by one hand and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580711A (en) * | 2020-04-24 | 2020-08-25 | 深圳传音控股股份有限公司 | Interaction method, terminal and computer readable storage medium |
CN111966264A (en) * | 2020-10-21 | 2020-11-20 | 深圳华声医疗技术股份有限公司 | Medical ultrasonic apparatus, control method thereof, and computer storage medium |
CN113778276A (en) * | 2021-08-27 | 2021-12-10 | 苏州三星电子电脑有限公司 | Touch terminal desktop icon control method and touch terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11392271B2 (en) | Electronic device having touchscreen and input processing method thereof | |
KR102330829B1 (en) | Method and apparatus for providing augmented reality function in electornic device | |
EP2613244A2 (en) | Apparatus and method for displaying screen on portable device having flexible display | |
CN104932809B (en) | Apparatus and method for controlling display panel | |
US20160077620A1 (en) | Method and apparatus for controlling electronic device using touch input | |
US9508322B2 (en) | Text box resizing | |
US20170199662A1 (en) | Touch operation method and apparatus for terminal | |
KR20150135905A (en) | Foldable electronic device and operation method of thereof | |
CN104238927B (en) | The control method and device of intelligent terminal application program | |
CN105511680A (en) | Terminal screen touch control device and method | |
KR20160091121A (en) | Method for configuring screen, electronic apparatus and storage medium | |
KR20150092588A (en) | Method and apparatus for controlling display of flexible display in a electronic device | |
CN114374751A (en) | Electronic device including flexible display and method of operating screen of electronic device | |
CN109857289B (en) | Display control method and terminal equipment | |
EP2613247A2 (en) | Method and apparatus for displaying keypad in terminal having touch screen | |
CN110928461A (en) | Icon moving method and electronic equipment | |
US9122337B2 (en) | Information processing terminal, and method for controlling same | |
JP2014211858A (en) | System, method and program for providing user interface based on gesture | |
CN106020698A (en) | Mobile terminal and realization method of single-hand mode | |
CN111064848B (en) | Picture display method and electronic equipment | |
CN109101179A (en) | Touch control method, mobile terminal and the computer readable storage medium of mobile terminal | |
US9377944B2 (en) | Information processing device, information processing method, and information processing program | |
JPWO2010047339A1 (en) | Touch panel device that operates as if the detection area is smaller than the display area of the display. | |
KR20160034685A (en) | Method and apparatus for inputting object in a electronic device | |
KR20170053410A (en) | Apparatus and method for displaying a muliple screen in electronic 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181228 |