Summary of the invention
Method of adjustment and the device in a kind of pushbutton recognition zone are provided in the embodiment of the invention, can have reduced maloperation, promoted the user and experience.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect provides the method for adjustment in a kind of pushbutton recognition zone, comprising:
Obtain the touch screen zone of user on touch-screen;
Whether the size of judging the identified region of button on the size in described touch screen zone and the described touch-screen mates, and the identified region of described button is used for whether clicking described button according to the position judgment user in user's touch screen zone;
If do not match, the size that then size of the identified region of described button is adjusted to described touch screen zone is complementary.
In conjunction with above-mentioned first aspect, in first kind of possible implementation, whether the size of the identified region of button mates on the described size of judging described touch screen zone and the described touch-screen, specifically comprises:
Calculate the difference of area of the identified region of the area in described touch screen zone and described button;
Judge that whether the absolute value of described difference is more than or equal to area threshold, if the absolute value of described difference is more than or equal to described area threshold, then the size of the identified region of the size in described touch screen zone and described button does not match, if the absolute value of described difference is less than described area threshold, then the size in described touch screen zone is mated with the size of the identified region of described button.
In conjunction with above-mentioned first aspect, and/or first kind of possible implementation, in second kind of possible implementation, the size that the size of described identified region with described button is adjusted to described touch screen zone is complementary, and specifically comprises:
Adjust the size of the identified region of described button, make the absolute value of area difference of identified region of the area in described touch screen zone and described button less than described area threshold.
In conjunction with above-mentioned first aspect, and/or first kind of possible implementation, and/or second kind of possible implementation, in the third possible implementation, whether the size of the identified region of button mates on the described size of judging described touch screen zone and the described touch-screen, specifically comprises:
Calculate the difference between the long-diagonal of identified region of the long-diagonal in described touch screen zone and described button;
Judge that whether the absolute value of described difference is more than or equal to length threshold, if the absolute value of described difference is more than or equal to described length threshold, then the size of the identified region of the size in described touch screen zone and described button does not match, if the absolute value of described difference is less than described length threshold, then the size in described touch screen zone is mated with the size of the identified region of described button.
In conjunction with above-mentioned first aspect, and/or first kind of possible implementation, and/or second kind of possible implementation, and/or the third possible implementation, in the 4th kind of possible implementation, also comprise:
When the size of the identified region of the size in described touch screen zone and described button does not match, adjust the size of the viewing area of described button, wherein, the viewing area of described button enlarges with the expansion of the identified region of described button, and/or the viewing area of described button dwindling and dwindle with the identified region of described button.
Second aspect provides the adjusting gear in a kind of pushbutton recognition zone, comprising:
The zone acquiring unit obtains the touch screen zone of user on touch-screen;
Whether judging unit mates for the size of the identified region of button on the size of judging described touch screen zone and the described touch-screen, and the identified region of described button is used for whether clicking described button according to the position judgment user in user's touch screen zone;
Adjustment unit is used for when the size of the identified region of button on the size in the described touch screen of described judgment unit judges zone and the described touch-screen does not match, and the size that the size of the identified region of described button is adjusted to described touch screen zone is complementary.
In conjunction with above-mentioned second aspect, in first kind of possible implementation, described judging unit comprises:
Computation subunit be used for to be calculated the difference of area of the identified region of the area in described touch screen zone and described button;
Judgment sub-unit, be used for judging that whether the absolute value of described difference is more than or equal to area threshold, if the absolute value of described difference is more than or equal to described area threshold, then the size of the identified region of the size in described touch screen zone and described button does not match, if the absolute value of described difference is less than described area threshold, then the size in described touch screen zone is mated with the size of the identified region of described button.
In conjunction with above-mentioned second aspect, and/or first kind of possible implementation, in second kind of possible implementation, described adjustment unit, the concrete size that is used for adjusting the identified region of described button makes the absolute value of area difference of identified region of the area in described touch screen zone and described button less than described area threshold.
In conjunction with above-mentioned second aspect, and/or first kind of possible implementation, and/or second kind of possible implementation, in the third possible implementation, described adjustment unit, also be used for when the size of the identified region of the size in described touch screen zone and described button does not match, adjust the size of the viewing area of described button, wherein, the viewing area of described button enlarges with the expansion of the identified region of described button, and/or the viewing area of described button dwindling and dwindle with the identified region of described button.
The third aspect provides a kind of electronic equipment, comprises touch-screen, storer and processor, stores one section program in the described storer, and described processor is used for reading the described program of described storer, carries out following steps:
Obtain the touch screen zone of user on touch-screen;
Whether the size of judging the identified region of button on the size in described touch screen zone and the described touch-screen mates, and the identified region of described button is used for whether clicking described button according to the position judgment user in user's touch screen zone;
If do not match, the size that then size of the identified region of described button is adjusted to described touch screen zone is complementary.
The embodiment of the invention is by adjusting the identified region size of the button on the touch-screen in the touch screen area size on the touch-screen according to the user, so that touch screen area size and pushbutton recognition zone are complementary, when having reduced user's touch screen, because the maloperation that the excessive grade in touch screen zone causes the pushbutton recognition mistake to produce, thereby promoted user's experience.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the invention better, and the above-mentioned purpose of the embodiment of the invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing technical scheme in the embodiment of the invention is described in further detail.
Referring to Fig. 1, be the method for adjustment process flow diagram in a kind of pushbutton recognition of embodiment of the invention zone.
Electronic equipment in the embodiment of the invention has touch-screen, and the user can realize all or part of of this electronic equipment controlled when using this electronic equipment by putting tactile touchscreen button.Wherein, the user can form the touch screen zone with touch-screen when clicking touch-screen.Each touchscreen button has its certain viewing area at screen, comprises size and the position of viewing area, and the viewing area of each touchscreen button is all inequality; The corresponding certain identified region of each touchscreen button, the identified region of button is used for whether clicking this button according to the position judgment user in user's touch screen zone, when user's touch screen position is positioned at the identified region of a certain button, as be positioned at the identified region of button " transmission ", confirm that then this user clicks " transmission " button.The identified region of each touchscreen button can the position difference, size is identical, for example the pushbutton recognition zone can be that the center with the viewing area of button is the center of circle, is the circle of radius with the certain-length, the corresponding circle of identified region of each button big or small identical.The size in pushbutton recognition zone can be set and change as required, is not to immobilize.
In the present embodiment, the method for adjustment in pushbutton recognition zone can comprise:
Step 101 is obtained the touch screen zone of user on touch-screen.
This electronic equipment can obtain the contact position of user on touch-screen, and then the touch screen zone of definite user on touch-screen.The mean size of user and touch-screen contact area when the big or small representative of consumer in this touch screen zone is put tactile operation at touch-screen, different user point touches this touch screen area size that forms and differs, for example man's finger is thicker, and the touch screen zone that forms when touching is put in the touch screen zone that point forms when touching greater than the Ms.The user can be positioned at the viewing area of button on the touch-screen in this touch screen zone that touch-screen forms, also can be positioned at other positions on the touch-screen.
Step 102 judges whether the size of the identified region of button on the size in described touch screen zone and the described touch-screen mates.
Obtaining the user behind the touch screen zone on the touch-screen, obtain the size of the identified region of the button of Set For Current in this electronic equipment, judge then whether the size in touch screen zone and the size in pushbutton recognition zone mate, also namely relatively whether the size in touch screen zone is approximate with the size in pushbutton recognition zone.
Concrete, can calculate difference between the long-diagonal in touch screen zone and regional two zones of pushbutton recognition or the difference between the diameter, wherein, diagonal line can refer to constitute the line of any point-to-point transmission non-adjacent in the each point on border in this touch screen zone (or pushbutton recognition zone); If the absolute value of difference, thinks then that two zones do not match more than or equal to the preset length threshold value, if the absolute value of difference thinks then that less than this preset length threshold value two zones are complementary.Should determine that the method for whether mating in two zones is a lot, enumerated no longer one by one herein.
If the size of the identified region of the size in touch screen zone and button is mated, then need not to adjust the size in current pushbutton recognition zone; If the size of the identified region of the size in touch screen zone and button does not match, then carry out next step.
Step 103 is complementary the size adjustment of the identified region of the described button size as for described touch screen zone.
If the touch screen zone is bigger than the identified region of button, and two area size differ above threshold value, then the identified region of button can be transferred big so that the size in pushbutton recognition zone and touch screen zone is complementary.If the identified region of button is regional bigger than touch screen, and two area size differ above threshold value, then the identified region of button can be turned down, so that the size in pushbutton recognition zone and touch screen zone is complementary, certainly, generally can not cause maloperation under this situation, therefore can the identified region of button not adjusted yet.
The process in this adjustment pushbutton recognition zone can be according to the size in touch screen zone according to default touch screen area size and the proportionate relationship of pushbutton recognition area size, the size of the identified region of real-time confirming button; Also can be the size in default a plurality of standby pushbutton recognition zone, select one with the immediate pushbutton recognition zone as electronic equipment of touch screen area size.
The embodiment of the invention is by adjusting the identified region size of the button on the touch-screen in the touch screen area size on the touch-screen according to the user, so that touch screen area size and pushbutton recognition zone are complementary, when having reduced user's touch screen, because the maloperation that the excessive grade in touch screen zone causes the pushbutton recognition mistake to produce, thereby promoted user's experience.
In another embodiment of the present invention, as shown in Figure 2, this judges the process whether size of the identified region of button on the size in touch screen zone and the touch-screen mates, and can comprise:
Step 201, the difference of the area of the area in calculating touch screen zone and the identified region of button.
Step 202 judges that whether the absolute value of this difference is more than or equal to area threshold.
If the absolute value of the area in touch screen zone and the difference of the area in pushbutton recognition zone, then can determine the size of the identified region of the size in touch screen zone and button more than or equal to area threshold and not match, execution in step 203 at this moment.
If the absolute value of difference, then can be determined the size in touch screen zone and the size coupling of the identified region of button less than area threshold, need not to adjust at this moment the pushbutton recognition zone.
Wherein, area threshold is preset value, and concrete numerical value can be determined as required, does not do restriction herein.
Step 203 is adjusted the size of the identified region of button, makes the absolute value of area difference of identified region of the area in touch screen zone and button less than area threshold.
If the touch screen region area is much larger than the area of the identified region of button, both differences are more than or equal to area threshold, then very easily cause misoperation of users, can enlarge the identified region of button this moment, increase its region area, thereby can be so that the difference of the area of the identified region of the area in touch screen zone and button less than this area threshold, makes two zones to be complementary.If the identified region area of button is much larger than the area in touch screen zone, both differences are more than or equal to area threshold, also can dwindle the identified region of button this moment, reduce its region area, thereby can be so that the difference of the area in the area of the identified region of button and touch screen zone less than this area threshold, makes two zones to be complementary.
In another embodiment of the present invention, the button viewing area can have certain incidence relation with the identified region of button, for example, the viewing area of button can enlarge with the expansion of the identified region of button, and/or the viewing area of button can dwindling and dwindle with the identified region of button, when the size of the identified region of the size in touch screen zone and button did not match, this method can also comprise:
Adjust the size of the viewing area of button.
The step of the viewing area of this adjustment button can be carried out simultaneously or successively carry out with the step of the identified region of adjusting button, and sequencing is not done restriction.
If it is the viewing area of electronic equipment is less, when being not suitable for enlarging the viewing area of button, perhaps excessive and when blocking other displaying contents of electronic equipment, the identified region that can only enlarge button gets final product for fear of the button viewing area; If the button viewing area of electronic equipment is unrestricted, also can when adjusting the identified region of button, adjust the viewing area of button simultaneously, for example enlarge the identified region of button simultaneously, and the viewing area of button.
In another embodiment of the present invention, behind the identified region of adjusting button, can also further preserve the identified region size of the button after adjusting, so that in this user's subsequent operation, keep the size of the identified region of the button after this adjustment always, and whether the size of avoiding repeating judging the identified region of button on user's the size in touch screen zone and the touch-screen mates, and the adjustment action that repeats the pushbutton recognition zone.
In another embodiment of the present invention, when electronic apparatus application is in multi-user's scene, obtaining the user before or after the touch screen zone on the touch-screen, can also comprise: after receiving decision instruction, carry out the step whether size of the identified region of the above-mentioned size of judging the touch screen zone and the button on the touch-screen mates again, so that a plurality of user operates use.
More than be the description to the inventive method embodiment, below the device of realizing said method be introduced.
Referring to Fig. 3, be the structural representation of the adjusting gear in a kind of pushbutton recognition of embodiment of the invention zone.
This device can comprise:
Zone acquiring unit 301 obtains the touch screen zone of user on touch-screen.
Whether judging unit 302 mates for the size of the identified region of button on the size of judging described touch screen zone and the described touch-screen.
Adjustment unit 303 is used for when the size of the identified region of button on the size in the described touch screen of described judging unit 302 judgements zone and the described touch-screen does not match, and the size that the size of the identified region of described button is adjusted to described touch screen zone is complementary.
This device is by adjusting the identified region size of the button on the touch-screen in the touch screen area size on the touch-screen according to the user, so that touch screen area size and pushbutton recognition zone are complementary, when having reduced user's touch screen, because the maloperation that the excessive grade in touch screen zone causes the pushbutton recognition mistake to produce, thereby promoted user's experience.
In another embodiment of the present invention, as shown in Figure 4, this judging unit 302 may further include again:
Computation subunit 401 be used for to be calculated the difference of area of the identified region of the area in described touch screen zone and described button;
Judgment sub-unit 402, be used for judging that whether the absolute value of described difference is more than or equal to area threshold, if the absolute value of described difference is more than or equal to described area threshold, then the size of the identified region of the size in described touch screen zone and described button does not match, if the absolute value of described difference is less than described area threshold, then the size in described touch screen zone is mated with the size of the identified region of described button.
In another embodiment, this adjustment unit specifically can be used for be adjusted the size of the identified region of described button, makes the absolute value of area difference of identified region of the area in described touch screen zone and described button less than described area threshold.
Adjustment unit, can also be used for when the size of the identified region of the size in described touch screen zone and described button does not match, adjust the size of the viewing area of described button, wherein, the viewing area of described button enlarges with the expansion of the identified region of described button, and/or the viewing area of described button dwindling and dwindle with the identified region of described button.
The embodiment of the invention also provides a kind of electronic equipment, comprises touch-screen, storer and processor, stores one section program in the described storer, and described processor is used for reading the described program of described storer, carries out following steps:
Obtain the touch screen zone of user on touch-screen;
Whether the size of judging the identified region of button on the size in described touch screen zone and the described touch-screen mates;
If do not match, the size that then size of the identified region of described button is adjusted to described touch screen zone is complementary.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for using distinct methods to realize described function to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the concrete course of work of the system of foregoing description, device and unit can not repeat them here with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provides, should be understood that disclosed system, apparatus and method can realize by other mode.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of unit to realize the purpose of present embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.
If described function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.