CN107704147A - Response terminal, method and the computer-readable recording medium of functionality controls - Google Patents

Response terminal, method and the computer-readable recording medium of functionality controls Download PDF

Info

Publication number
CN107704147A
CN107704147A CN201710489755.6A CN201710489755A CN107704147A CN 107704147 A CN107704147 A CN 107704147A CN 201710489755 A CN201710489755 A CN 201710489755A CN 107704147 A CN107704147 A CN 107704147A
Authority
CN
China
Prior art keywords
control
touch area
region
position coordinates
functionality controls
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710489755.6A
Other languages
Chinese (zh)
Inventor
何兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710489755.6A priority Critical patent/CN107704147A/en
Priority to PCT/CN2017/100048 priority patent/WO2018233054A1/en
Publication of CN107704147A publication Critical patent/CN107704147A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

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 response terminal of functionality controls, terminal includes:Memory, processor and the responder for storing the functionality controls that can be run on a memory and on a processor, realize following steps when the responder of functionality controls is executed by processor:When detecting click event, the position coordinates of click event is obtained;The region adjusting parameter of control is obtained, according to region adjusting parameter and the visibility region of control, generates touch area corresponding with control, the area of touch area is more than the area of visibility region;Determine whether the touch area matched with position coordinates;If so, click event is then responded based on control corresponding with the touch area that position coordinates matches.The present invention also proposes a kind of response method of functionality controls and a kind of computer-readable recording medium.The present invention solves the problems, such as causes overdue hit because control icons size is small.

Description

Response terminal, method and the computer-readable recording medium of functionality controls
Technical field
The present invention relates to response terminal, method and the calculating of human-computer interaction technique field, more particularly to a kind of functionality controls Machine readable storage medium storing program for executing.
Background technology
Existing terminal, due to the limitation of screen-sized, in order to show more information and content, or in order to regarding Unification in feel, when carrying out UI (User Interface, user interface) exploitations, designer can avoid the mistake for doing control Greatly, but by control or the picture that can be clicked on design smaller, although this design method meets requirement attractive in appearance, and The control of control occupancy is saved, still, for a user, when carrying out clicking operation, increases the difficulty of clicking operation, Reduce the success rate of click, cause to click neighbouring control icons by mistake, at this moment need to exit or closes because of Overdue hit and the interface entered, destination object is again tapped on, or need to be repeated several times and could accurately click destination object, from And enter corresponding interface or perform corresponding function, bring great inconvenience to user.
The content of the invention
The present invention provides a kind of response terminal, method and the computer-readable recording medium of functionality controls, its main purpose Be to solve the problems, such as because control icons size it is small cause it is overdue hit, improve the click success rate to control.
To achieve the above object, the present invention provides a kind of response terminal of functionality controls, and the terminal includes:Memory, place Reason device and the responder for being stored in the functionality controls that can be run on the memory and on the processor, the function control Following steps are realized when the responder of part is by the computing device:
When detecting click event, the position coordinates of the click event is obtained;
The region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter and the visibility region of the control Into touch area corresponding with the control, the area of the touch area is more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
Alternatively, the processor is additionally operable to the responder of perform function control, to detect click thing described During part, after the step of obtaining the position coordinates of the click event, following steps are also realized:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the region adjusting parameter and the control Visibility region, generate touch area corresponding with the control the step of.
Alternatively, it is described determine whether to match with the position coordinates touch area the step of include:
Call presetting method, and touch area based on control performs the presetting method, with determine whether with it is described The touch area of position coordinates matching.
Alternatively, the processor is additionally operable to the responder of perform function control, to determine whether and institute's rheme After the step of putting the touch area of coordinate matching, following steps are also realized:
When the touch area matched with the position coordinates has multiple, accordingly put according to the size of the touch area The multiple control is shown greatly, so that multiple control retriggereds of the user based on amplification display click on event.
Alternatively, it is described when the touch area matched with the position coordinates has multiple, according to the touch area Size, which accordingly amplifies the step of showing the multiple control, to be included:
When the touch area matched with the position coordinates has multiple, determine overlapping between the multiple touch area Region;
Amplify the multiple control according to the size of the touch area, and cut off described heavy in the multiple control Folded region;
Show the multiple control after shear treatment.
In addition, to achieve the above object, the present invention also provides a kind of response method of functionality controls, and this method includes:
When detecting click event, the position coordinates of the click event is obtained;
The region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter and the visibility region of the control Into touch area corresponding with the control, the area of the touch area is more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
Alternatively, it is described when detecting click event, after the step of obtaining the position coordinates of the click event, institute Stating method also includes:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the region adjusting parameter and the control Visibility region, generate touch area corresponding with the control the step of.
Alternatively, it is described determine whether to match with the position coordinates touch area the step of include:
Call presetting method, and touch area based on control performs the presetting method, with determine whether with it is described The touch area of position coordinates matching.
Alternatively, after described the step of determining whether the touch area matched with the position coordinates, methods described Also include:
When the touch area matched with the position coordinates has multiple, accordingly put according to the size of the touch area The multiple control is shown greatly, so that multiple control retriggereds of the user based on amplification display click on event.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable The responder of functionality controls is stored with storage medium, is realized such as when the responder of the functionality controls is executed by processor The step of response method of upper described functionality controls.
Response terminal, method and the computer-readable recording medium of functionality controls proposed by the present invention, terminal are detecting During click event, the position coordinates of the click event is obtained, and obtains the region adjusting parameter of control, is adjusted according to the region of control The size of whole parameter and visibility region, generates touch area corresponding with the control, and the area of the touch area of generation is more than The area of visibility region, judge whether there is the touch area matched with position coordinates in the touch area of generation, if so, being then based on Control corresponding with the touch area of position coordinates matching responds above-mentioned click event, that is, performs function corresponding to the control, lead to Cross such mode, for control reality can click on area be exaggerated, it is not necessary to user accurately clicks on target widget, When control is smaller, even if user does not click control in itself when clicking on, as long as meeting the click on area after amplification, also can Enough responded, solve the problems, such as because control icons size it is small cause it is overdue hit, reduce the clicking operation precision to user Requirement, reduce the difficulty of clicking operation, improve user and click on success rate.
Brief description of the drawings
Fig. 1 is the schematic diagram of the response terminal preferred embodiment of functionality controls of the present invention;
Fig. 2 is the touch area schematic diagram of the response terminal control of functionality controls of the present invention;
Fig. 3 is the flow chart of the response method first embodiment of functionality controls of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
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.
The present invention provides a kind of response terminal of functionality controls.It is that the response of functionality controls of the present invention is whole shown in reference picture 1 Hold the schematic diagram of preferred embodiment.
In the present embodiment, the response terminal of functionality controls can be smart mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard Audio aspect 4) player, pocket computer etc. have the packaged type terminal device of display function.
The response terminal of the functionality controls includes memory 11, processor 12, and display 13.Wherein, memory 11 Can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage. Memory 11 can be the internal storage unit of the terminal, such as the hard disk or internal memory of terminal, optionally can also be independent In the storage terminal of aforementioned processor 12.
Wherein, what display 13 can also be suitably is referred to as display screen or display unit, in certain embodiments, display 13 Can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Display 13 is used to be shown in the letter handled in the response terminal of functionality controls Cease and for showing visual user interface.
If display 13 is touch-sensitive display, the terminal also includes touch sensor.The touch sensor is carried The region that touch operation is carried out for user supplied is referred to as touch area.In addition, touch sensor described here can be resistance Formula touch sensor, capacitive touch sensors etc..Moreover, the touch sensor not only includes the touch sensing of contact Device, it may also comprise touch sensor of proximity etc..In addition, the touch sensor can be single sensor, or Such as multiple sensors of array arrangement.
In addition, the area of the display 13 of the terminal can be identical with the area of the touch sensor, can also be different. Alternatively, display 13 and touch sensor stacking are set, to form touch display screen.User can be based on touching showing Display screen triggers click event.
Memory 11 can be the internal storage unit of the response terminal of functionality controls in certain embodiments, such as the work( The hard disk or internal memory of the response terminal of energy control.Memory 11 can also be that the response of functionality controls is whole in further embodiments The plug-in type hard disk being equipped with the External memory equipment at end, such as the response terminal of functionality controls, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, Memory 11 can also both include the internal storage unit of the response terminal of functionality controls or including External memory equipment.Memory 11 can be not only used for the application software and Various types of data that storage is installed on the response terminal of functionality controls, such as functionality controls Code of responder etc., it can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in certain embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, for the program code or processing data stored in run memory 11, example Such as responder of perform function control.
Fig. 1 illustrate only the response terminal of the functionality controls of the responder with component 11-13 and functionality controls, but It is that should be understood that, it is not required that implement all components shown, the more or less component of the implementation that can be substituted.
Alternatively, the terminal can also include user interface, and user interface can include input block such as keyboard (Keyboard), optional user interface can also include wireline interface, the wave point of standard.
Alternatively, the terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, sound Frequency circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, Optical sensor may include ambient light sensor and proximity transducer, wherein, if the terminal is mobile terminal, ambient light sensor can The brightness of display screen is adjusted according to the light and shade of ambient light, proximity transducer can be closed when mobile terminal is moved in one's ear Display screen and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; Certainly, mobile terminal can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, This is repeated no more.
In the terminal embodiment shown in Fig. 1, as in a kind of memory 11 of computer-readable storage medium can include behaviour Make the responder of system and functionality controls;Processor 12 performs the responder of the functionality controls stored in memory 11 Shi Shixian following steps:
When detecting click event, the position coordinates of the click event is obtained;
The region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter and the visibility region of the control Into touch area corresponding with the control, the area of the touch area is more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
In this embodiment, on the visual interface for the application installed and run in terminal, it is typically provided with touching for user The functionality controls for sending out instruction various.Functionality controls typically have corresponding visualization icon, and the size of the icon is the visible of control The size in region.
When control is smaller, user for the control configuring area adjusting parameter and can store in advance.When terminal detects During click event, determine the touch point of click event position coordinates on a display screen and record the coordinate value.It is retrieved as controlling The region adjusting parameter that part is set, touch-control corresponding with the control is generated according to region adjusting parameter and the visibility region of control Region.Wherein, the area of the touch area of generation is more than the size of the visibility region of control.
It is understood that when obtaining region adjusting parameter, it is only necessary to obtain the area of the control shown in current interface Domain adjusting parameter.
It should be noted that in the embodiment, region adjusting parameter needs to be set according to the shape of control, region adjustment Parameter can include one group of numerical value, wherein, each numerical value corresponds to an adjustment direction of control.For example, control is pros Shape, it has four adjustment directions, then region adjusting parameter includes four numerical value, and respectively the four of positive direction side stretches out Length.If control is circle, an only adjustment direction, i.e., adjusted along radius, then region adjusting parameter only needs One numerical value, the i.e. circular radius need the length extended.For example, the visibility region of control is circle, its radius is 2mm, region adjusting parameter are 2mm, then the shape of the touch area generated is the border circular areas that radius is 4mm.It is appreciated that , the setting of the shape and region adjusting parameter of above-mentioned control be only for example, in other embodiments, can basis Need control being arranged to other shapes, and corresponding setting area adjusting parameter.And the shape of the touch area generated Can be with the difference of the visibility region of control, for example, control sheet is as circle, the shape of the touch area generated after adjustment can be with To be square.
Specifically, by control be shaped as square exemplified by, shown in reference picture 2, show for the display interface of a mobile terminal It is intended to, it is assumed that the original size of the control on current display interface is 5mm × 5mm (the region A in such as figure), pre- for the control If adjustment region parameter be (2mm, 2mm, 2mm, 2mm), this four numerical value correspond respectively to four adjustment of square control Direction.The size of the touch area of the control then generated according to the original visibility region size of the region adjusting parameter and control For 9mm × 9mm (the region B in such as figure).Then above-mentioned zone B is touch area corresponding to the control.In touching for generation control After controlling region, judge whether there is the touch area matched with position coordinates in touch area.In Fig. 2 for convenience of description, with Exemplified by having a control on display interface, as long as then judging whether the position coordinates of click event is located at the touch area of the control It is interior.In practical application, might have multiple controls on display interface, all set when on display interface, there are multiple controls , it is necessary to calculate the touch area of this multiple control when being equipped with region adjusting parameter, determining whether and the position coordinates During the touch area matched somebody with somebody, judged based on all controls on current display interface, it is determined whether have and position coordinates The touch area matched somebody with somebody, for being not provided with the control of region adjusting parameter, its visibility region is touch area.
When being determined with the touch area matched with the position coordinates of click event, based on corresponding to the touch area of matching Control responds above-mentioned click event, and otherwise, the click event is invalid, does not do any response.
Shown in reference picture 2, when user clicks on control, even if not clicking on region A, but the region of expansion is clicked on Upper (gray area in such as Fig. 2), is also considered as having clicked control, and then responses to which, if the position coordinates of the event of click surpasses The region (the region B in Fig. 2) gone out after expanding, then it is assumed that this click event is invalid, does not do any response.Pass through this side Formula, does not increase the icon of control, be only increased its can touch-control region, for a user, the visibility region of control Size does not change, and has so not only taken into account aesthetic property and practicality that control is shown, and improves user and click on behaviour The success rate of work.
Alternatively, in one embodiment, can be to judge clicking operation according to the presetting method pre-set for control It is no to have clicked control.Specifically, the step of touch area for determining whether to match with the position coordinates, includes:
Call presetting method, and touch area based on control performs the presetting method, with determine whether with it is described The touch area of position coordinates matching.
Response of the terminal for clicking on event needs certain method, and method herein refers to terminal for one click thing The sequence of operations that part is carried out, include one or more function to realize.Need according to the operation system run in terminal Unite to set corresponding method, by taking ios systems as an example, be for the presetting method for clicking on event:(UIView*)hitTest: (CGPoint)point withEvent:(UIEvent*)event.Determining whether to match with position coordinates using this method Touch area when, it is necessary to perform this method, rather than the control according to the above-mentioned touch area based on the generation of region adjusting parameter The size of the original visibility region of part, to determine whether the touch area matched with position coordinates.
Alternatively, in one embodiment, processor 12 is additionally operable to the responder of perform function control, to be detectd described When measuring click event, after the step of obtaining the position coordinates of the click event, following steps are also realized:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the region adjusting parameter and the control Visibility region, generate touch area corresponding with the control the step of.
In this embodiment, terminal is not carried out after the position coordinates of click event is got to the touch area of control Amplification, but the control matched with position coordinates is first determined whether according to the visibility region of the control of current interface, if so, Then directly in response to, when the control of no matching, then the touch area of the control to being provided with region adjusting parameter is amplified, And judge whether there is the touch area matched with clicking on the position coordinates of event in the touch area after amplification.
In addition, on the region adjusting parameter in the present embodiment, developer can be carried out on backstage to it as needed Adjustment, and be updated in the application of the redaction of issue.
Alternatively, in his embodiment, processor 12 is additionally operable to the responder of perform function control, to judge whether After having the step of touch area matched with the position coordinates, following steps are also realized:
When the touch area matched with the position coordinates has multiple, accordingly put according to the size of the touch area The multiple control is shown greatly, so that multiple control retriggereds of the user based on amplification display click on event.
If developer, which is multiple controls on an interface, is each equipped with region adjusting parameter, it is possible to appearance distance After the functional area of similar two controls is amplified, there is the phenomenon that subregion is overlapping, this is likely to result in the one of user Secondary click event can trigger the response of multiple controls, in this embodiment, in order to avoid such case, be sat when detecting with position When the touch area of mark matching has multiple, directly click event is not responded, but according to the touch area after adjustment Amplification shows multiple controls corresponding to size, so that control retriggered of the user based on amplification display clicks on event, now, phase The visibility region of adjacent multiple controls all increases, and the control for being easy to user to select to need triggers new click event.
Further, corresponding to the size in the touch area after according to adjustment amplification show multiple controls when, first according to The size of touch area amplifies each control, and cuts off the overlapping region in each control, then shows after shear treatment Multiple controls, to avoid the overlapping display on display interface of multiple controls, further taken into account the aesthetic property that control is shown With practicality.
Furthermore, it is necessary to explanation, the display 13 for the terminal that the present embodiment proposes can have showing for touch controllable function Display screen, now, above-mentioned click event can be the click events of the touch operation triggering carried out based on touch screen;Display 13 It can be the display screen without touch controllable function, at this point it is possible to trigger click event by external equipment, such as pass through mouse etc. Control device triggers click event.
The response terminal for the functionality controls that the present embodiment proposes, when detecting click event, obtains the click event Position coordinates, and the region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter of control and the size of visibility region Into touch area corresponding with the control, the area of the touch area of generation is more than the area of visibility region, judges touching for generation Whether control has the touch area matched with position coordinates in region, if so, then based on the touch area pair matched with position coordinates The control answered responds above-mentioned click event, that is, function corresponding to the control is performed, by such mode, for the reality of control Can click on area be exaggerated, it is not necessary to user accurately clicks on target widget, when control is smaller, even if user is clicking on When do not click control in itself, as long as meeting the click on area after amplification, can also be responded, be solved because control icons Size is small to cause overdue the problem of hitting, and reduces the requirement to the clicking operation precision of user, reduces the difficulty of clicking operation, Improve user and click on success rate.
Alternatively, in other examples, the responder of functionality controls can also be divided into one or more Module, one or more module are stored in memory 11, and (the present embodiment is processor by one or more processors 12) it is performed, to complete the present invention.Module alleged by the present invention is the series of computation machine program for referring to complete specific function Instruction segment, than implementation procedure of the program more suitable for description message push terminal in the response terminal of functionality controls.
For example, in one embodiment, the responder of functionality controls can be divided into acquisition module, generation module, sentence Disconnected module and respond module, wherein:
Acquisition module, for when detecting click event, obtaining the position coordinates of the click event;
Generation module, for obtaining the region adjusting parameter of control, according to the region adjusting parameter and the control Visibility region, generate corresponding with control touch area, the area of the touch area is more than the visibility region Area;
Judge module, for the touch area for determining whether to match with the position coordinates;
Respond module, for if so, then based on the corresponding control response institute in the touch area that is matched with the position coordinates State click event.
In addition, the present invention also provides a kind of response method of functionality controls.It is functionality controls of the present invention shown in reference picture 3 Response method first embodiment flow chart.This method can be performed by terminal, and the terminal can be by software and/or hard Part is realized.
In the present embodiment, the response method of functionality controls includes:
Step S10, when detecting click event, obtain the position coordinates of the click event;
Step S20, the region adjusting parameter of control is obtained, according to the visible of the region adjusting parameter and the control Region, generates touch area corresponding with the control, and the area of the touch area is more than the area of the visibility region;
Step S30, determine whether the touch area matched with the position coordinates;
Step S40, if so, then based on the corresponding control response in the touch area click matched with the position coordinates Event.
In this embodiment, on the visual interface for the application installed and run in terminal, it is typically provided with touching for user The functionality controls for sending out instruction various.Functionality controls typically have corresponding visualization icon, and the size of the icon is the visible of control The size in region.
When control is smaller, user for the control configuring area adjusting parameter and can store in advance.When terminal detects During click event, determine the touch point of click event position coordinates on a display screen and record the coordinate value.It is retrieved as controlling The region adjusting parameter that part is set, touch-control corresponding with the control is generated according to region adjusting parameter and the visibility region of control Region.Wherein, the area of the touch area of generation is more than the size of the visibility region of control.
It is understood that when obtaining region adjusting parameter, it is only necessary to obtain the area of the control shown in current interface Domain adjusting parameter.
It should be noted that in the embodiment, region adjusting parameter needs to be set according to the shape of control, region adjustment Parameter can include one group of numerical value, wherein, each numerical value corresponds to an adjustment direction of control.For example, control is pros Shape, it has four adjustment directions, then region adjusting parameter includes four numerical value, and respectively the four of positive direction side stretches out Length.If control is circle, an only adjustment direction, i.e., adjusted along radius, then region adjusting parameter only needs One numerical value, the i.e. circular radius need the length extended.For example, the visibility region of control is circle, its radius is 2mm, region adjusting parameter are 2mm, then the shape of the touch area generated is the border circular areas that radius is 4mm.It is appreciated that , the setting of the shape and region adjusting parameter of above-mentioned control be only for example, in other embodiments, can basis Need control being arranged to other shapes, and corresponding setting area adjusting parameter.And the shape of the touch area generated Can be with the difference of the visibility region of control, for example, control sheet is as circle, the shape of the touch area generated after adjustment can be with To be square.
Specifically, by control be shaped as square exemplified by, shown in reference picture 2, show for the display interface of a mobile terminal It is intended to, it is assumed that the original size of the control on current display interface is 5mm × 5mm (the region A in such as figure), pre- for the control If adjustment region parameter be (2mm, 2mm, 2mm, 2mm), this four numerical value correspond respectively to four adjustment of square control Direction.The size of the touch area of the control then generated according to the original visibility region size of the region adjusting parameter and control For 9mm × 9mm (the region B in such as figure).Then above-mentioned zone B is touch area corresponding to the control.In touching for generation control After controlling region, judge whether there is the touch area matched with position coordinates in touch area.In Fig. 2 for convenience of description, with Exemplified by having a control on display interface, as long as then judging whether the position coordinates of click event is located at the touch area of the control It is interior.In practical application, might have multiple controls on display interface, all set when on display interface, there are multiple controls , it is necessary to calculate the touch area of this multiple control when being equipped with region adjusting parameter, determining whether and the position coordinates During the touch area matched somebody with somebody, judged based on all controls on current display interface, it is determined whether have and position coordinates The touch area matched somebody with somebody, for being not provided with the control of region adjusting parameter, its visibility region is touch area.
When being determined with the touch area matched with the position coordinates of click event, based on corresponding to the touch area of matching Control responds above-mentioned click event, and otherwise, the click event is invalid, does not do any response.
Shown in reference picture 2, when user clicks on control, even if not clicking on region A, but the region of expansion is clicked on Upper (gray area in such as Fig. 2), is also considered as having clicked control, and then responses to which, if the position coordinates of the event of click surpasses The region (the region B in Fig. 2) gone out after expanding, then it is assumed that this click event is invalid, does not do any response.Pass through this side Formula, does not increase the icon of control, be only increased its can touch-control region, for a user, the visibility region of control Size does not change, and has so not only taken into account aesthetic property and practicality that control is shown, and improves user and click on behaviour The success rate of work.
Alternatively, in one embodiment, can be to judge clicking operation according to the presetting method pre-set for control It is no to have clicked control.Specifically, step S20 includes:
Call presetting method, and touch area based on control performs the presetting method, with determine whether with it is described The touch area of position coordinates matching.
Response of the terminal for clicking on event needs certain method, and method herein refers to terminal for one click thing The sequence of operations that part is carried out, include one or more function to realize.Need according to the operation system run in terminal Unite to set corresponding method, by taking ios systems as an example, be for the presetting method for clicking on event:(UIView*)hitTest: (CGPoint)point withEvent:(UIEvent*)event.Determining whether to match with position coordinates using this method Touch area when, it is necessary to perform this method, rather than the control according to the above-mentioned touch area based on the generation of region adjusting parameter The size of the original visibility region of part, to determine whether the touch area matched with position coordinates.
Alternatively, in one embodiment, after step S10, this method is further comprising the steps of:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the region adjusting parameter and the control Visibility region, generate touch area corresponding with the control the step of.
In this embodiment, terminal is not carried out after the position coordinates of click event is got to the touch area of control Amplification, but the control matched with position coordinates is first determined whether according to the visibility region of the control of current interface, if so, Then directly in response to, when the control of no matching, then the touch area of the control to being provided with region adjusting parameter is amplified, And judge whether there is the touch area matched with clicking on the position coordinates of event in the touch area after amplification.
In addition, on the region adjusting parameter in the present embodiment, developer can be carried out on backstage to it as needed Adjustment, and be updated in the application of the redaction of issue.
Alternatively, in his embodiment, after step S30, this method is further comprising the steps of:
When the touch area matched with the position coordinates has multiple, accordingly put according to the size of the touch area The multiple control is shown greatly, so that multiple control retriggereds of the user based on amplification display click on event.
If developer, which is multiple controls on an interface, is each equipped with region adjusting parameter, it is possible to appearance distance After the functional area of similar two controls is amplified, there is the phenomenon that subregion is overlapping, this is likely to result in the one of user Secondary click event can trigger the response of multiple controls, in this embodiment, in order to avoid such case, be sat when detecting with position When the touch area of mark matching has multiple, directly click event is not responded, but according to the touch area after adjustment Amplification shows multiple controls corresponding to size, so that control retriggered of the user based on amplification display clicks on event, now, phase The visibility region of adjacent multiple controls all increases, and the control for being easy to user to select to need triggers new click event.
The response method for the functionality controls that the present embodiment proposes, when detecting click event, obtains the click event Position coordinates, and the region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter of control and the size of visibility region Into touch area corresponding with the control, the area of the touch area of generation is more than the area of visibility region, judges touching for generation Whether control has the touch area matched with position coordinates in region, if so, then based on the touch area pair matched with position coordinates The control answered responds above-mentioned click event, that is, function corresponding to the control is performed, by such mode, for the reality of control Can click on area be exaggerated, it is not necessary to user accurately clicks on target widget, when control is smaller, even if user is clicking on When do not click control in itself, as long as meeting the click on area after amplification, can also be responded, be solved because control icons Size is small to cause overdue the problem of hitting, and reduces the requirement to the clicking operation precision of user, reduces the difficulty of clicking operation, Improve user and click on success rate.Further, amplification shows multiple controls corresponding to the size of the touch area after according to adjustment During part, first amplify each control according to the size of the touch area, and cut off the overlapping region in each control, then show Multiple controls after shear treatment, to avoid the overlapping display on display interface of multiple controls, control is further taken into account The aesthetic property and practicality that part is shown.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with the responders of functionality controls, following operation is realized when the responder of the functionality controls is executed by processor:
When detecting click event, the position coordinates of the click event is obtained;
The region adjusting parameter of control is obtained, it is raw according to the region adjusting parameter and the visibility region of the control Into touch area corresponding with the control, the area of the touch area is more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
Further, following operation is also realized when the responder of the functionality controls is executed by processor:Judge whether There is the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the region adjusting parameter and the control Visibility region, generate touch area corresponding with the control the step of.
Further, following operation is also realized when the responder of the functionality controls is executed by processor:Call default Method, and the touch area based on control performs the presetting method, is touched with determine whether to match with the position coordinates Control region.
Further, following operation is also realized when the responder of the functionality controls is executed by processor:When with it is described When the touch area of position coordinates matching has multiple, accordingly amplify the multiple control of display according to the size of the touch area Part, so that multiple control retriggereds of the user based on amplification display click on event.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, terminal, article or method including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, terminal, article or method institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, terminal, article or method.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Embodiment party more than The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases.It is based on Such understanding, the part that technical scheme substantially contributes to prior art in other words can be with software products Form embody, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light as described above Disk) in, including some instructions are make it that a station terminal equipment (can be mobile phone, computer, server, or the network equipment Deng) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. the response terminal of a kind of functionality controls, it is characterised in that the terminal includes:Memory, processor and it is stored in institute State the responder for the functionality controls that can be run on memory and on the processor, the responder quilt of the functionality controls Following steps are realized during the computing device:
When detecting click event, the position coordinates of the click event is obtained;
Obtain the region adjusting parameter of control, according to the region adjusting parameter and the visibility region of the control, generation with Touch area corresponding to the control, the area of the touch area are more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
2. the response terminal of functionality controls according to claim 1, it is characterised in that the processor is additionally operable to perform work( Can control responder, with it is described detecting click event when, the step of obtaining the position coordinates of the click event Afterwards, following steps are also realized:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the visible of the region adjusting parameter and the control Region, generate touch area corresponding with the control the step of.
3. according to the responder terminal of claim 1 functionality controls, it is characterised in that described to determine whether and the position The step of touch area of coordinate matching, includes:
Presetting method is called, and the touch area based on control performs the presetting method, to determine whether and the position The touch area of coordinate matching.
4. the response terminal of functionality controls according to any one of claim 1 to 3, it is characterised in that the processor The responder of perform function control is additionally operable to, with the touch area for determining whether to match with the position coordinates the step of Afterwards, following steps are also realized:
When the touch area matched with the position coordinates has multiple, accordingly amplify according to the size of the touch area aobvious Show the multiple control, so that multiple control retriggereds of the user based on amplification display click on event.
5. the response terminal of functionality controls according to claim 4, it is characterised in that described to work as and the position coordinates When the touch area matched somebody with somebody has multiple, accordingly amplify the step of showing the multiple control according to the size of the touch area and wrap Include:
When the touch area matched with the position coordinates has multiple, the overlay region between the multiple touch area is determined Domain;
Amplify the multiple control according to the size of the touch area, and cut off the overlay region in the multiple control Domain;
Show the multiple control after shear treatment.
6. a kind of response method of functionality controls, it is characterised in that methods described includes:
When detecting click event, the position coordinates of the click event is obtained;
Obtain the region adjusting parameter of control, according to the region adjusting parameter and the visibility region of the control, generation with Touch area corresponding to the control, the area of the touch area are more than the area of the visibility region;
Determine whether the touch area matched with the position coordinates;
If so, then based on the corresponding control response in the touch area click event matched with the position coordinates.
7. the response method of functionality controls according to claim 6, it is characterised in that described to detect click event When, after the step of obtaining the position coordinates of the click event, methods described also includes:
Determine whether the control that visibility region matches with the band of position;
If so, then based on the visibility region corresponding control response click event matched with the band of position;
If it is not, the region adjusting parameter for obtaining control is then performed, according to the visible of the region adjusting parameter and the control Region, generate touch area corresponding with the control the step of.
8. the response method of functionality controls according to claim 6, it is characterised in that described to determine whether and institute's rheme The step of touch area for putting coordinate matching, includes:
Presetting method is called, and the touch area based on control performs the presetting method, to determine whether and the position The touch area of coordinate matching.
9. the response method of the functionality controls according to any one of claim 6 to 8, it is characterised in that the judgement is It is no have the step of touch area matched with the position coordinates after, methods described also includes:
When the touch area matched with the position coordinates has multiple, accordingly amplify according to the size of the touch area aobvious Show the multiple control, so that multiple control retriggereds of the user based on amplification display click on event.
10. a kind of computer-readable recording medium, it is characterised in that functional control is stored on the computer-readable recording medium The responder of part, realized when the responder of the functionality controls is executed by processor such as any one of claim 6 to 9 institute The step of response method for the functionality controls stated.
CN201710489755.6A 2017-06-24 2017-06-24 Response terminal, method and the computer-readable recording medium of functionality controls Pending CN107704147A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710489755.6A CN107704147A (en) 2017-06-24 2017-06-24 Response terminal, method and the computer-readable recording medium of functionality controls
PCT/CN2017/100048 WO2018233054A1 (en) 2017-06-24 2017-08-31 Function control response method, electronic device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710489755.6A CN107704147A (en) 2017-06-24 2017-06-24 Response terminal, method and the computer-readable recording medium of functionality controls

Publications (1)

Publication Number Publication Date
CN107704147A true CN107704147A (en) 2018-02-16

Family

ID=61170453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710489755.6A Pending CN107704147A (en) 2017-06-24 2017-06-24 Response terminal, method and the computer-readable recording medium of functionality controls

Country Status (2)

Country Link
CN (1) CN107704147A (en)
WO (1) WO2018233054A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108379839A (en) * 2018-03-23 2018-08-10 网易(杭州)网络有限公司 Response method, device and the terminal of control
CN109568962A (en) * 2018-12-05 2019-04-05 苏州蜗牛数字科技股份有限公司 A kind of game mobile phone press keys setup method
CN112363669A (en) * 2020-11-19 2021-02-12 北京元心科技有限公司 Operation behavior determination method and device, electronic equipment and computer-readable storage medium
CN112799759A (en) * 2021-01-21 2021-05-14 惠州Tcl移动通信有限公司 Parameter adjusting method, intelligent terminal and computer readable storage medium
CN112915525A (en) * 2021-03-26 2021-06-08 平安科技(深圳)有限公司 Game music generation method, device, equipment and storage medium
CN113157164A (en) * 2021-05-11 2021-07-23 北京字跳网络技术有限公司 Display control method and device and electronic equipment
CN113726948A (en) * 2020-05-12 2021-11-30 北京字节跳动网络技术有限公司 Picture display method and device
CN113918071A (en) * 2021-10-09 2022-01-11 北京字节跳动网络技术有限公司 Interaction method and device and electronic equipment
CN115145447A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Window is displayed on method and related apparatus
CN116560958A (en) * 2023-04-24 2023-08-08 成都赛力斯科技有限公司 Implementation method, device, terminal and storage medium for judging event occurrence position

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630224A (en) * 2009-08-14 2010-01-20 宇龙计算机通信科技(深圳)有限公司 Method and system for processing control icons on interface and touch terminal
CN103135932A (en) * 2013-02-17 2013-06-05 东莞宇龙通信科技有限公司 Method for amplification processing of touch object and communication terminal
CN103617002A (en) * 2013-12-16 2014-03-05 深圳市理邦精密仪器股份有限公司 Method and device for achieving touch interface
CN105224215A (en) * 2015-08-28 2016-01-06 小米科技有限责任公司 Terminal control method and device
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
CN106445359A (en) * 2016-10-28 2017-02-22 合网络技术(北京)有限公司 Control controlling method and device
WO2017090863A1 (en) * 2015-11-24 2017-06-01 Lg Electronics Inc. Flexible display device and operating method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090000137A (en) * 2007-01-11 2009-01-07 삼성전자주식회사 System and method for navigation of web browser
CN102830936A (en) * 2012-09-02 2012-12-19 广州市渡明信息技术有限公司 Browsing method of mobile equipment and mobile equipment
CN102855066B (en) * 2012-09-26 2017-05-17 东莞宇龙通信科技有限公司 Terminal and terminal control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630224A (en) * 2009-08-14 2010-01-20 宇龙计算机通信科技(深圳)有限公司 Method and system for processing control icons on interface and touch terminal
CN103135932A (en) * 2013-02-17 2013-06-05 东莞宇龙通信科技有限公司 Method for amplification processing of touch object and communication terminal
CN103617002A (en) * 2013-12-16 2014-03-05 深圳市理邦精密仪器股份有限公司 Method and device for achieving touch interface
CN105224215A (en) * 2015-08-28 2016-01-06 小米科技有限责任公司 Terminal control method and device
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
WO2017090863A1 (en) * 2015-11-24 2017-06-01 Lg Electronics Inc. Flexible display device and operating method thereof
CN106445359A (en) * 2016-10-28 2017-02-22 合网络技术(北京)有限公司 Control controlling method and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108379839A (en) * 2018-03-23 2018-08-10 网易(杭州)网络有限公司 Response method, device and the terminal of control
US11559736B2 (en) 2018-03-23 2023-01-24 Netease (Hangzhou) Network Co., Ltd. Response method, apparatus and terminal to a control
CN109568962A (en) * 2018-12-05 2019-04-05 苏州蜗牛数字科技股份有限公司 A kind of game mobile phone press keys setup method
CN113726948B (en) * 2020-05-12 2022-08-23 北京字节跳动网络技术有限公司 Picture display method and device
CN113726948A (en) * 2020-05-12 2021-11-30 北京字节跳动网络技术有限公司 Picture display method and device
CN112363669B (en) * 2020-11-19 2021-07-27 北京元心科技有限公司 Operation behavior determination method and device, electronic equipment and computer-readable storage medium
CN112363669A (en) * 2020-11-19 2021-02-12 北京元心科技有限公司 Operation behavior determination method and device, electronic equipment and computer-readable storage medium
CN112799759A (en) * 2021-01-21 2021-05-14 惠州Tcl移动通信有限公司 Parameter adjusting method, intelligent terminal and computer readable storage medium
CN112799759B (en) * 2021-01-21 2024-05-24 惠州Tcl移动通信有限公司 Parameter adjusting method, intelligent terminal and computer readable storage medium
CN112915525A (en) * 2021-03-26 2021-06-08 平安科技(深圳)有限公司 Game music generation method, device, equipment and storage medium
CN115145447A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Window is displayed on method and related apparatus
CN113157164A (en) * 2021-05-11 2021-07-23 北京字跳网络技术有限公司 Display control method and device and electronic equipment
CN113918071A (en) * 2021-10-09 2022-01-11 北京字节跳动网络技术有限公司 Interaction method and device and electronic equipment
CN116560958A (en) * 2023-04-24 2023-08-08 成都赛力斯科技有限公司 Implementation method, device, terminal and storage medium for judging event occurrence position
CN116560958B (en) * 2023-04-24 2024-03-01 重庆赛力斯凤凰智创科技有限公司 Implementation method, device, terminal and storage medium for judging event occurrence position

Also Published As

Publication number Publication date
WO2018233054A1 (en) 2018-12-27

Similar Documents

Publication Publication Date Title
CN107704147A (en) Response terminal, method and the computer-readable recording medium of functionality controls
US11784992B2 (en) Credential entry and management
CN110096186B (en) Device, method, and graphical user interface for adjusting the appearance of a control
US10776006B2 (en) Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
US20120256829A1 (en) Portable electronic device and method of controlling same
CN109933252B (en) Icon moving method and terminal equipment
US10331297B2 (en) Device, method, and graphical user interface for navigating a content hierarchy
KR102028717B1 (en) Flexible apparatus and control method thereof
US11669243B2 (en) Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
US20160299632A1 (en) Method and device for implementing a touch interface
US20130007666A1 (en) Electronic device with touch screen device, method of moving function icon and computer readable storage media comprising computer executable instructions
US20120249461A1 (en) Dedicated user interface controller for feedback responses
US11409421B2 (en) Object processing method and terminal device
KR20150068330A (en) A Device for operating according to pressure state of touch input and method thereof
US10860199B2 (en) Dynamically adjusting touch hysteresis based on contextual data
CN109683763A (en) A kind of icon moving method and mobile terminal
US10481790B2 (en) Method and apparatus for inputting information by using on-screen keyboard
CN102349042A (en) Systems and methods for using textures in graphical user interface widgets
KR102406072B1 (en) Electronic apparatus and method for controlling operations the electronic apparatus based on pressure inputs
KR20150055292A (en) Electronic device having touchscreen and input processing method thereof
CN111064848B (en) Picture display method and electronic equipment
CN111610904B (en) Icon arrangement method, electronic device and storage medium
US20120179963A1 (en) Multi-touch electronic device, graphic display interface thereof and object selection method of multi-touch display
CN110221741B (en) Icon management method and terminal equipment
US20110316887A1 (en) Electronic device with a touch screen and touch operation control method utilized thereby

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: 20180216