CN105373323B - Method of operating an electronic device, operating device and electronic equipment - Google Patents

Method of operating an electronic device, operating device and electronic equipment Download PDF

Info

Publication number
CN105373323B
CN105373323B CN201410421587.3A CN201410421587A CN105373323B CN 105373323 B CN105373323 B CN 105373323B CN 201410421587 A CN201410421587 A CN 201410421587A CN 105373323 B CN105373323 B CN 105373323B
Authority
CN
China
Prior art keywords
shape
touch
predetermined
predetermined shape
difference
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.)
Active
Application number
CN201410421587.3A
Other languages
Chinese (zh)
Other versions
CN105373323A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410421587.3A priority Critical patent/CN105373323B/en
Publication of CN105373323A publication Critical patent/CN105373323A/en
Application granted granted Critical
Publication of CN105373323B publication Critical patent/CN105373323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Provide a kind of method of operating an electronic device, operating device and electronic equipment.The method of the operation electronic equipment includes: the touch behavior for detecting operating body on the touch screen of electronic equipment;Touch area is determined based on touch behavior detected;Determine that the touch area is formed by whether touch shape is predetermined shape;When the touch shape is predetermined shape, determine the predetermined operation to be executed in the electronic device;Predetermined operation determined by executing.It using the technical solution of the embodiment of the present application, allows users to easily operate electronic equipment, to improve the usage experience of user.

Description

Method of operating an electronic device, operating device and electronic equipment
Technical field
The present invention relates to electronic technology fields, fill more particularly, to a kind of method of operating an electronic device, operation It sets and electronic equipment.
Background technique
A variety of different electronic equipments are widely used, and utilize mobile phone, computer, personal digital assistant (PDA, personal digital assistance), wearable device etc..The function of these electronic equipments is also with service kind Increasing for class and enhance constantly.For example, present electronic equipment also has newly other than traditional function of voice communication Hear the various functions such as browsing, game, video playing, text reading;It is more answered moreover, also having been merged in wearable device With, such as communicate, take pictures, record.
In general, user needs to operate electronic equipment with hand, this needs multiple steps.For example, wanting to put through phone in user When number, user needs first to open the display screen of electronic equipment, and communications applications are selected into application interface, opens communication and answers With then input telephone number or selection contact person put through.However, in the biggish situation of display screen of electronic equipment, it can Electronic equipment can be needed with the hands to hold, user is difficult to neatly operate electronic equipment with hand;In addition, being worn in wearable device In the case where being worn on the body of user, such as when wearable device is worn on wrist, user is also not easy to be grasped with hand Make.At this point, the pleasure that user uses electronic equipment can be greatly reduced if user needs to operate electronic equipment compared with multi-step Interest and enthusiasm.Accordingly, it is desired to provide a kind of technology for easily operating electronic equipment, allows users to advantageously operate electricity Sub- equipment, to improve the usage experience of user.
Summary of the invention
The embodiment of the present application provides a kind of method of operating an electronic device, operating device and electronic equipment, makes Electronic equipment can easily be operated by obtaining user, to improve the usage experience of user.
In a first aspect, providing a kind of method of operating an electronic device, which has touch screen, the side Method can include: touch behavior of the detection operating body on the touch screen;Petting Area is determined based on touch behavior detected Domain;Determine that the touch area is formed by whether touch shape is predetermined shape;When the touch shape is predetermined shape, really The fixed predetermined operation to be executed in the electronic device;Predetermined operation determined by executing.
With reference to first aspect, in a kind of implementation of first aspect, the detection operating body is on the touch screen Touch behavior can include: the touch screen of the electronic equipment display function close in the case where, detect the operating body Touch behavior on the touch screen.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the determination touching It touches region and is formed by whether touch shape is predetermined shape can include: determine that the profile of the outer ledge of the touch area is bent Line;Contour curve determined by calculating and the difference between the predetermined shape;When the difference be less than predetermined threshold, determine institute Stating touch area and being formed by touch shape is the predetermined shape.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the predetermined shape It may include the first predetermined shape and the second predetermined shape, it is described when the difference is less than predetermined threshold, determines the touch area Being formed by touch shape is the predetermined shape can include: when between identified contour curve and first predetermined shape Difference less than the first predetermined threshold, determining that the touch area is formed by touch shape is first predetermined shape;When Difference between identified contour curve and second predetermined shape determines the touch area less than the second predetermined threshold Being formed by touch shape is second predetermined shape, which is different from first predetermined threshold.
With reference to first aspect and its above-mentioned implementation is grasped in another implementation of first aspect in the detection Make body before the touch behavior on the touch screen, the method for operating an electronic device, which may also include that, to be stored in advance The predetermined shape;The corresponding relationship being set in advance between the predetermined shape and the predetermined operation.It is described in the touching It touches shape when being predetermined shape, determine the predetermined operation to be executed in the electronic device can include: in the touch shape be pre- When setting shape, the predetermined operation to be executed in the electronic device is determined based on the pre-set corresponding relationship.
With reference to first aspect and its above-mentioned implementation, in another implementation of first aspect, the electronic equipment It can also include memory, the method for operating an electronic device may also include that obtains operating body in the touch in advance Specific touch operation on screen;Determine that the touch area of specific touch operation on the touchscreen is formed by specific touch shape Shape;It is stored the specific touch shape as the predetermined shape in the memory, for determining the touch shape Whether shape is predetermined shape.
Second aspect, provides a kind of operating device for electronic equipment, which has touch screen, the behaviour Make device can include: detection unit, for detecting touch behavior of the operating body on the touch screen;Shape determining unit is used In determining touch area based on touch behavior detected, and determine that the touch area is formed by whether touch shape is pre- Shape shape;Operation determination unit, for when the touch shape is predetermined shape, determine to be executed in the electronic device it is pre- Fixed operation;Execution unit, for executing identified predetermined operation.
In conjunction with second aspect, in a kind of implementation of second aspect, the detection unit can be set in the electronics The display function of standby touch screen detects touch behavior of the operating body on the touch screen in the case where closing.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the shape is determined Unit can include: outer rim determines component, the contour curve of the outer ledge for determining the touch area;Calculating unit is used The contour curve determined by calculating and the difference between the predetermined shape compare the difference and predetermined threshold, and export one Comparison result;Shape determines component, when the difference is less than predetermined threshold, determines that the touch area is formed by touch shape Shape is the predetermined shape.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the predetermined shape It may include the first predetermined shape and the second predetermined shape, when the comparison result that the calculating unit is exported indicates identified wheel When difference between wide curve and first predetermined shape is less than the first predetermined threshold, described in the shape determines that component determines It is first predetermined shape that touch area, which is formed by touch shape,;When the comparison result that the calculating unit is exported indicates For difference between identified contour curve and second predetermined shape less than the second predetermined threshold, the shape determines component Determining that the touch area is formed by touch shape is second predetermined shape, which is different from described the One predetermined threshold.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the operating device It may also include that set parts, the corresponding relationship for being set in advance between the predetermined shape and the predetermined operation;Storage Device, for corresponding relationship set by the predetermined shape and the set parts to be stored in advance, wherein when the shape is true When order member determines that the touch shape is predetermined shape, the operation determination unit can be preset based on the set parts Corresponding relationship determine the predetermined operation to be executed in the electronic device.
In conjunction with second aspect and its above-mentioned implementation, in another implementation of second aspect, the detection unit Specific touch operation of the operating body on the touch screen can be obtained in advance, and the shape determining unit can determine the specific touch The touch area of operation on the touchscreen is formed by specific touch shape, and using the specific touch shape as described predetermined The memory of shape, the operation determination unit stores the predetermined shape, for determining whether the touch shape is pre- Shape shape.
The third aspect provides a kind of electronic equipment, including foregoing operating device.
In the method for operating an electronic device, operating device and electronic equipment according to the embodiment of the present application, pass through Determine that the touch operation of operating body is formed by touch shape in touch area to determine that is executed in the electronic device makes a reservation for Operation, allows users to easily operate electronic equipment, to improve the usage experience of user.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the application Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is to schematically illustrate the process of the method for operating an electronic device according to the application example embodiment Figure;
The step of Fig. 2 is the determination touch shape in the method for operating an electronic device for schematically illustrate Fig. 1 Flow chart;
The first predetermined shape that Fig. 3 (a) schematically illustrates as ear, it is the second of lip that Fig. 3 (b), which is schematically illustrated, Predetermined shape;
Fig. 4 is to schematically illustrate the block diagram of the operating device according to the application example embodiment;
Fig. 5 is the block diagram of the shape determining unit in the operating device for schematically illustrate Fig. 4;
Fig. 6 is to schematically illustrate the block diagram of another operating device according to the application example embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.
It can be applied to various electronic equipments according to the technical solution for operating electronic equipment of the embodiment of the present application, including But be not limited to smart phone, tablet computer, personal digital assistant, reader, audio player etc., the type of electronic equipment is not Constitute the limitation to the embodiment of the present application.The electronic equipment includes touch screen.The touch that the touch screen can receive operating body is dynamic Make, and operates the operation of electronic equipment according to touch action.The operating body is, for example, the finger of user, stylus etc., It can be any entity that the touch screen can respond thereto.In addition, being also equipped at least one in electronic equipment A application program, thus operation of the user via the touch screen control application program.
In existing electronic equipment, user usually requires multiple steps to execute specific operation.In the aobvious of electronic equipment The larger equal users of display screen curtain are difficult in the case where neatly operating electronic equipment with hand, can greatly reduce user and be set using electronics Standby enjoyment and enthusiasm.The technical solution of the embodiment of the present application allows users to advantageously operate electronic equipment.
Fig. 1 is to schematically illustrate the stream of the method for operating an electronic device 100 according to the application example embodiment Cheng Tu.As shown in Figure 1, the method for operating an electronic device 100 can include: touching of the detection operating body on the touch screen Touch behavior (S110);Touch area (S120) is determined based on touch behavior detected;Determine that the touch area is formed by Whether touch shape is predetermined shape (S130);When the touch shape is predetermined shape, determination to hold in the electronic device Capable predetermined operation (S140);Predetermined operation (S150) determined by executing.
In S110, touch behavior of the operating body on the touch screen is detected.The operating body can be appointing for human body What part, for example, lip, ear, one or more fingers etc., can also be felt pen etc..Typically, the touch screen example For example capacitive touch screen, operating body can change the capacitance of the capacitive touch screen when contacting with the touch screen, The change of the capacitance can change relevant signal parameter, so as to be determined on the touch screen according to the signal parameter Touch behavior.When the type difference of touch screen, the operating body may change.Specifically used touch screen and corresponding Operating body does not constitute the limitation to the embodiment of the present application.
In general, the touch screen not only has operating function, also there is display function, it can be as display screen display behaviour Work is completed to operate to be interacted with the touch operation of operating body.In portable, it is usually supplied using battery Electricity, when touch screen is shown as display screen, touch screen can consume a large amount of electricity.However, in the embodiment of the present application, The operation that user is carried out using operating body is simplified, it, can be by electronic equipment certainly after operating body issues a touch behavior Subsequent operation is completed dynamicly to determine and execute.It therefore, in this application can be in the display of the touch screen of the electronic equipment In the case that function is closed, touch behavior of the operating body on the touch screen is detected.This can greatly save electronics The electricity of equipment uses.
In the prior art, operating body usually requires accurately to be operated, touch area allusion quotation caused by touch behavior Strip region of the type ground on single dotted region or specific position, touch behavior is carried out according to the prompt on touch screen. In the embodiment of the present application, it is only necessary to execute shirtsleeve operation, operation hereafter can automatically carry out operating body.
Operating body is being detected after the touch behavior on the touch screen, in S120, is being based on touching detected Behavior is touched to determine touch area.
Operating body in the embodiment of the present application can be ear, lip etc., and being formed by the touchscreen is profile phase To fuzzy touch area.Irregular due to shapes such as ear, lips, touching the touch behavior of body, there may be include multiple Partial touch area in irregular shape.When operating body is the limbs of people, the difference of the touch strength of the touch behavior It may also lead to the variation of identified touch area.Moreover, the touch area being formed on is also when touch screen rotation Rotation.The position of the touch behavior of operating body on the touchscreen is also possible to any position on touch screen, as long as touch screen It is able to record that the whole of touch behavior touch trace, such as the touch behavior can be in the middle part of the touch screen Point, upper left, lower right-most portion etc..With the difference of the type of touch screen, the touching can be determined in different ways Region is touched, specifically determines that the mode of the touch area does not constitute the limitation to the embodiment of the present application.
In S130, determine that the touch area is formed by whether touch shape is predetermined shape.By the institute in S120 Determining touch area does not have irregular shape usually, and at the different different rotary angles for touching behavior, touch screen It can also be changed under degree, so needing to handle the touch shape to determine whether for predetermined shape.
The step of Fig. 2 is the determination touch shape in the method for operating an electronic device for schematically illustrate Fig. 1 Flow chart.As shown in Fig. 2, can determine that the touch area is formed by whether touch shape is predetermined shape by operating as follows: Determine the contour curve (S131) of the outer ledge of the touch area;Contour curve determined by calculating and the predetermined shape Between difference (S132);When the difference is less than predetermined threshold, determining that the touch area is formed by touch shape is institute State predetermined shape (S133).
It is in irregular shape due to touch area, and the outer ledge of touch area may become according to touch behavior Change, therefore determines the size that can suitably adjust the profile when contour curve in S131.Using predetermined shape as lip For shape, since the size of predetermined shape is fixed, and lip is when carrying out touch behavior, with mouth opening degree not Together, the contour curve can also change.In order to enable the difference in S132 more accurately reflect determined by contour curve with Similarity between the predetermined shape, so the adjustable contour curve in S131, is then compared.
It can be in difference calculated in S132 and directly subtract each other between identified contour curve and the predetermined shape The numerical value of acquisition can be the absolute value of the numerical value for subtracting each other acquisition, can also be contour curve and the predetermined shape it Between mean square deviation.It in various embodiments, can be using different mathematic parameters as the difference, as long as it can embody institute The degree of approximation between determining contour curve and the predetermined shape.
The predetermined shape can be one or more scheduled shapes.It can be S132 for different predetermined shapes In difference different threshold values is set.For example, when the difference between identified contour curve and first predetermined shape is small In the first predetermined threshold, determining that the touch area is formed by touch shape is first predetermined shape (S133a);Work as institute Difference between determining contour curve and second predetermined shape determines the touch area institute less than the second predetermined threshold The touch shape of formation is second predetermined shape, which is different from first predetermined threshold (S133b). This is because the fog-level of touch area can be different, and corresponding similarity degree can also change when operating body difference.
The first predetermined shape that Fig. 3 (a) schematically illustrates as ear, it is the second of lip that Fig. 3 (b), which is schematically illustrated, Predetermined shape.As shown in Fig. 3 (a), ear it is in irregular shape, also do not advised by the contour curve of touch area that ear generates Then, the predetermined threshold being used cooperatively with scheduled ear shape can be relatively large;As shown in Fig. 3 (b), the shape of lip is opposite to be advised Then, the contour curve of the touch area generated by lip also can comparison rule, be used cooperatively with scheduled lip shape predetermined Threshold value can be relatively small.
Alternatively, touch shape can be formed by touch area in S130 and carries out interpolation processing, is then based on interior Insert that treated that data judge whether institute's touch shape is predetermined shape.It, can be according to preboarding in embodiments herein The difference of shape takes different mode determinations to be formed by whether touch shape is predetermined shape, specific method of determination not structure The limitation of pairs of the embodiment of the present application.
Each predetermined shape can be pre-stored in the memory of electronic equipment, to read and to be formed at any time Touch shape compare.It for each predetermined shape, can be stored in advance in memory by operating as follows: be obtained in advance Specific touch operation of the operating body on the touch screen;Determine the touch area institute shape of specific touch operation on the touchscreen At specific touch shape;It is stored in the memory of electronic equipment using the specific touch shape as the predetermined shape, For determining whether the touch shape is predetermined shape.For example, utilizing the embodiment of the present application to operate electronic equipment for the first time Technical solution when, when user lip (i.e. operating body) contact the touch screen when, obtain lip on the touch screen Touch operation, and determine that this kisses the specific touch shape of the formation of the operation of screen on the touchscreen, and as predetermined Shape.The predetermined shape being thusly-formed is can be only limitted to the user for the predetermined shape of the specific user of the electronic equipment Use.In addition, the preparatory acquisition operating body can also be repeatedly carried out on the touch screen for specific operation body Specific touch operation;Determine that the touch area of specific touch operation on the touchscreen is formed by specific touch shape.In this way, Multiple specific touch shapes of the specific operation body can be formed, it is then for statistical analysis to multiple specific touch shape, To obtain the good predetermined shape of stability.
Alternatively, it can also be stored in advance in the electronic device based on the predetermined shape for combining multiple similar operating bodies. As an example, the lip of different people is no doubt different, but also there are certain common ground between each other, it is total to can use these The predetermined shape is formed with putting.In this way, lip shape may all be identified as when non-user-specific uses electronic equipment The predetermined shape, so that electronic equipment described in technical operation of multiple users all possibly also with the embodiment of the present application.
In S140, when the touch shape is predetermined shape, the predetermined operation to be executed in the electronic device is determined. The corresponding relationship of each predetermined shape Yu the predetermined operation to be executed in the electronic device can be preset in the electronic device. For example, scheduled lip shape is corresponding with the call of family members is dialed, by scheduled ear shape and play audio It is corresponding.In this way, electronic equipment just automatically determines operation to be performed when determining the touch shape is scheduled lip shape It is a call for dialing family members;When determining the touch shape is scheduled ear shape, electronic equipment is with regard to automatic Determine that operation to be performed is to play predetermined audio.
In order to determine the predetermined operation to be executed in the electronic device in S140, each preboarding can be stored in advance Shape;And it is set in advance in the corresponding relationship between the predetermined shape and the predetermined operation.In this way, when the touch has been determined When shape is predetermined shape, the predetermined behaviour to be executed in the electronic device can be determined based on the pre-set corresponding relationship Make.Corresponding relationship between the predetermined shape and the predetermined operation can be stored in advance in for executing the predetermined operation In, so as to when it is predetermined shape that touch shape, which has been determined, promptly determination to be executed in corresponding application Predetermined operation.For example, when predetermined operation is scheduled audio player operation, it can be pre- in the audio player of electronic equipment Corresponding relationship between each predetermined shape and predetermined operation is first set;It, can be with when predetermined operation is scheduled telephone operation The corresponding relationship between each predetermined shape and predetermined operation is preset in the address list of electronic equipment or call setting.
In S150, the determination predetermined operation to be executed in S140 is executed.The predetermined operation can be scheduled call Operation, scheduled audio player operation etc..It can be by transferring application program corresponding with the predetermined operation to be executed automatically come real The execution of the now predetermined operation.When the predetermined operation to be executed is scheduled telephone operation, electronic equipment can be transferred automatically Address list or dialing keyboard automatically turn on phone.When the predetermined operation to be executed is scheduled audio player operation, The audio player of electronic equipment can be transferred automatically to play the audio file of default.
It should be noted that touch screen usually requires and ear contacts when electronic equipment is smart phone, this be may cause to intelligence The maloperation of energy mobile phone.Therefore, for the predetermined shape of ear, operating condition can be set.For example, only mobile phone be in Machine state and when being connected to earphone, if it is ear shape that touch screen, which receives touch shape, just executes and the scheduled ear The corresponding audio player operation of shape.However, if electronic equipment is the tablet computer without call function, for ear Piece predetermined shape, operating condition can be not provided with.
It is as described above as can be seen that user it is only necessary to be touched on the touchscreen using touch body, then electric Sub- equipment can be automatically completed subsequent operation to execute scheduled operation, to greatly simplifie the operation of user.Therefore In the technical solution according to the method for operating an electronic device of the embodiment of the present application, by the touch operation for determining user Touch shape is formed by touch area to determine the predetermined operation to be executed in the electronic device, allows users to simplicity Ground operates electronic equipment, to improve the usage experience of user.
Fig. 4 is to schematically illustrate the block diagram of the operating device 400 according to the application example embodiment.The operating device 400 can be applied to the electronic equipment with touch screen.As shown in figure 4, the operating device 400 for electronic equipment can include: Detection unit 410, for detecting touch behavior of the operating body on the touch screen;Shape determining unit 420, for being based on institute The touch behavior of detection determines touch area, and determines that the touch area is formed by touch shape;Operation determination unit 430, for when the touch shape is predetermined shape, the determining predetermined operation to be executed in the electronic device;Execution unit 440, for executing identified predetermined operation.
Detection unit 410 can detect touch behavior of the operating body on the touch screen.The operating body can be human body Any part, for example, lip, ear, one or more finger etc. can also be felt pen etc..When touch screen type not Meanwhile the operating body may change.Specifically used touch screen and corresponding operating body are not constituted to the embodiment of the present application Limitation.
In general, the touch screen not only has operating function, also there is display function, it can be as display screen display behaviour Work is completed to operate to be interacted with the touch operation of operating body.In the embodiment of the present application, the detection unit 410 can be with Touching of the operating body on the touch screen is detected in the case where the display function of the touch screen of the electronic equipment is closed Touch behavior.This is because the technical solution of the embodiment of the present application simplifies the operation that user is carried out using operating body, in operating body After issuing a touch behavior, it can be automatically completed subsequent operation by electronic equipment and determine and execute, thus greatly The electricity for saving electronic equipment uses.
In the prior art, operating body usually requires accurately to be operated, touch area allusion quotation caused by touch behavior Strip region of the type ground on single dotted region or specific position, touch behavior is carried out according to the prompt on touch screen. In the embodiment of the present application, operating body it is only necessary to execute shirtsleeve operation, held automatically by operating device 400 by operation hereafter Row.
After detection unit 410 detects the touch behavior of operating body, shape determining unit 420 is based on touching detected Behavior is touched to determine touch area.Operating body in the embodiment of the present application can be ear, lip etc., shape determining unit 420 Identified touch area is the region of profile Relative Fuzzy.When operating body is the limbs of people, the touch of the touch behavior The difference of strength may also lead to the variation of touch area determined by shape determining unit 420.Moreover, when touch screen rotates When, the touch area detected of shape determining unit 420 is also rotation.Touch area determined by shape determining unit 420 Any position on touch screen can be located at, as long as touch screen is able to record that the whole of touch behavior touch trace, such as institute Stating touch behavior can be in the middle section of the touch screen, upper left, lower right-most portion etc..With touch screen type not Together, shape determining unit 420 can determine the touch area in different ways, specifically determine the touch area Mode do not constitute the limitation to the embodiment of the present application.
The touch area as determined by shape determining unit 420 does not have irregular shape usually, and in difference Touch behavior, touch screen different rotary angle under can also change, so shape determining unit 420 is also needed to the touching Shape is touched to be handled to determine whether for predetermined shape.
In order to determine that the touch area is formed by whether touch shape is predetermined shape, the shape determining unit 420 Such as it is embodied as block diagram shown in fig. 5.Fig. 5 is the block diagram of the shape determining unit in the operating device for schematically illustrate Fig. 4.Such as Shown in Fig. 5, which includes: that outer rim determines component 421, for determining the outside of the touch area The contour curve at edge;Calculating unit 422, for calculating the difference between identified contour curve and the predetermined shape, Compare the difference and predetermined threshold, and exports a comparison result;Shape determines component 423, when the difference is less than predetermined threshold When, determining that the touch area is formed by touch shape is the predetermined shape.
It is in irregular shape due to touch area, and the outer ledge of touch area may become according to touch behavior Change, therefore outer rim determines that component 421 can suitably adjust the size of the profile when determining the contour curve.With preboarding For shape is lip shape, since the size of predetermined shape is fixed, and lip is when carrying out touch behavior, with of mouth Degree difference is opened, the contour curve can also change.In order to enable the difference calculated of calculating unit 422 more accurately reflects institute Similarity between determining contour curve and the predetermined shape, so outer rim determines the adjustable contour curve of component 421, Then it is compared.
The numerical value that calculating unit 422 can directly subtract each other identified contour curve and the predetermined shape is as described in Difference can also make a reservation for contour curve with described using the absolute value of the numerical value for subtracting each other acquisition as the difference Mean square deviation between shape is as the difference.In various embodiments, calculating unit 422 can use different mathematics Parameter is as the difference, as long as it can embody the degree of approximation between identified contour curve and the predetermined shape.
The predetermined shape can be one or more scheduled shapes.It, can be with calculation part for different predetermined shapes Different threshold values is arranged in the difference calculated of part 422.For example, when the comparison result that the calculating unit 422 is exported indicates institute When difference between determining contour curve and first predetermined shape is less than the first predetermined threshold, the shape determines component It is first predetermined shape that the 423 determining touch areas, which are formed by touch shape,;When the calculating unit 422 is exported Comparison result indicate determined by difference between contour curve and second predetermined shape less than the second predetermined threshold, institute Stating shape and determining that component 423 determines that the touch area is formed by touch shape is second predetermined shape, this is second pre- Threshold value is determined different from first predetermined threshold.This is because the fog-level of touch area can be different when operating body difference, Corresponding similarity degree can also change.
Alternatively, shape determining unit 420 can be formed by touch shape to touch area and carry out interpolation processing, then Based on interpolation, treated that data judge whether institute's touch shape is predetermined shape.It, can basis in embodiments herein The difference of predetermined shape takes different mode determinations to be formed by whether touch shape is predetermined shape, specific determination side Formula does not constitute the limitation to the embodiment of the present application.
Each predetermined shape can be pre-stored in the memory of electronic equipment, to read and to be formed at any time Touch shape compare.For each predetermined shape, the predetermined shape, the detection can be obtained ahead of time by operating as follows Unit 410 obtains specific touch operation of the operating body on the touch screen in advance, and the shape determining unit 420 determines the spy Determine the touch area of touch operation on the touchscreen and be formed by specific touch shape, and using the specific touch shape as institute Predetermined shape is stated, the predetermined shape is stored in the memory of operating device 400, for whether determining the touch shape It is predetermined shape.This can for example be executed when utilizing the technical solution of the embodiment of the present application operation electronic equipment for the first time.So The predetermined shape of formation is can be only limitted to the use of the user for the predetermined shape of the specific user of the electronic equipment.This Outside, for specific operation body, following operation can also be repeatedly carried out: the detection unit 410 obtains operating body in institute in advance The specific touch operation on touch screen is stated, the shape determining unit 420 determines the touching of specific touch operation on the touchscreen It touches region and is formed by specific touch shape.In this way, multiple specific touch shapes of the specific operation body can be formed, it is then right Multiple specific touch shape is for statistical analysis, to obtain the good predetermined shape of stability.
Alternatively, it can also be stored in advance in the electronic device based on the predetermined shape for combining multiple similar operating bodies. The lip of different people is no doubt different, but also has certain common ground between each other, can use these common ground and is formed The predetermined shape.In this way, lip shape may all be identified as described predetermined when non-user-specific uses electronic equipment Shape, so that electronic equipment described in technical operation of multiple users all possibly also with the embodiment of the present application.
The operation determination unit 430 is when the touch shape is predetermined shape, determination will execute in the electronic device Predetermined operation.Each predetermined shape and the predetermined operation to be executed in the electronic device can be preset in the electronic device Corresponding relationship.For example, scheduled lip shape is corresponding with the call of family members is dialed, by scheduled ear shape It is corresponding with audio is played.In this way, electronic equipment is just automatically determined and is wanted when determining the touch shape is scheduled lip shape The operation of execution is to dial the call of family members;When determining the touch shape is scheduled ear shape, electronics It is to play predetermined audio that equipment, which just automatically determines operation to be performed,.
In order to which operation determination unit 430 determines the predetermined operation to be executed in the electronic device, operating device 400 can be with It include: set parts 450, the corresponding relationship for being set in advance between the predetermined shape and the predetermined operation;Storage Device 460, for corresponding relationship set by the predetermined shape and the set parts to be stored in advance (such as the dotted line institute in Fig. 4 Show).When the shape determining unit 420 determines that the touch shape is predetermined shape, the operation determination unit 430 can be with The predetermined operation to be executed in the electronic device is determined based on the pre-set corresponding relationship of the set parts 450.
Execution unit 440 executes the predetermined operation.The predetermined operation can be scheduled telephone operation, scheduled audio Play operation etc..Holding for the predetermined operation can be realized by transferring application program corresponding with the predetermined operation to be executed automatically Row.When the predetermined operation to be executed is scheduled telephone operation, execution unit 440 can transfer the communication of electronic equipment automatically Record or dialing keyboard automatically turn on phone.When the predetermined operation to be executed is scheduled audio player operation, list is executed Member 440 can transfer the audio player of electronic equipment automatically to play the audio file of default.
It should be noted that touch screen usually requires and ear contacts when electronic equipment is smart phone, this be may cause to intelligence The maloperation of energy mobile phone.Therefore, for the predetermined shape of ear, operating condition can be set.For example, only mobile phone be in Machine state and when being connected to earphone, if it is ear shape that touch screen, which receives touch shape, operating device 400 just execute with The corresponding audio player operation of the scheduled ear shape.However, if electronic equipment is the plate meter without call function Calculation machine can be not provided with operating condition then for the predetermined shape of ear.
As described above as can be seen that user is then grasped it is only necessary to be touched on the touchscreen using touch body Subsequent operation can be automatically completed to execute scheduled operation by making device 400, to greatly simplifie the operation of user.Cause This is in the technical solution according to the operating device of the embodiment of the present application, by determining the touch operation of user in touch area institute The touch shape of formation determines the predetermined operation to be executed in the electronic device, allows users to easily to operate electronics and sets It is standby, to improve the usage experience of user.
Fig. 6 is to schematically illustrate the block diagram of another operating device 600 according to the application example embodiment.Another behaviour Making device 600 includes: memory 610, for storing program code;Processor 620, for executing said program code to realize The method described in conjunction with Fig. 1-3.
Memory 610 may include at least one of read-only memory and random access memory, and to processor 620 Instruction and data is provided.The a part of of memory 610 can also include non-volatile row random access memory (NVRAM).
Processor 620 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group Part.General processor can be microprocessor or any conventional processor etc..
The step of method in conjunction with disclosed in the embodiment of the present application, which can be embodied directly in, executes completion by processor, or With in processor hardware and software module combination execute completion.Software module can be located at random access memory, flash memory, read-only deposit In the storage medium of this fields such as reservoir, programmable read only memory or electrically erasable programmable memory, register maturation. The storage medium is located in memory 610, and processor 620 reads the information in memory 610, completes above-mentioned side in conjunction with its hardware The step of method.
It is any to include after describing the message notifying device according to each embodiment of the application above in conjunction with Fig. 4 and 6 The electronic equipment of the operating device is also in the scope of the disclosure of the present application.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed unit and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another equipment, or some features can be ignored or not executed.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory, random access memory, magnetic or disk etc. are each Kind can store the medium of program code.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.

Claims (11)

1. a kind of method of operating an electronic device, which has touch screen, which comprises
In the case where the display function of the touch screen of the electronic equipment is closed, touching of the operating body on the touch screen is detected Touch behavior;
Touch area is determined based on touch behavior detected;The touch behavior generates the shape including multiple portions and does not advise Touch area then;
Determine that the touch area is formed by whether touch shape is predetermined shape, wherein when operating body difference, touch area Fog-level it is different, the similarity degree between the touch shape and the predetermined shape is also different;
When the touch shape is predetermined shape, the predetermined operation to be executed in the electronic device is determined;
Predetermined operation determined by executing.
2. the method according to claim 1, wherein the determination touch area is formed by whether touch shape is preboarding Shape includes:
Determine the contour curve of the outer ledge of the touch area;
Contour curve determined by calculating and the difference between the predetermined shape;
When the difference is less than predetermined threshold, determining that the touch area is formed by touch shape is the predetermined shape.
3. method according to claim 2, wherein the predetermined shape includes the first predetermined shape and the second predetermined shape, institute Stating when the difference is less than predetermined threshold, determines that the touch area is formed by touch shape is that the predetermined shape includes:
When the difference between identified contour curve and first predetermined shape is less than the first predetermined threshold, the touching is determined Touching region and being formed by touch shape is first predetermined shape;
When the difference between identified contour curve and second predetermined shape is less than the second predetermined threshold, the touching is determined Touching region and being formed by touch shape is second predetermined shape, which is different from the described first predetermined threshold Value.
4. the method according to claim 1, wherein in the detection operating body before the touch behavior on the touch screen, The method also includes:
The predetermined shape is stored in advance;
The corresponding relationship being set in advance between the predetermined shape and the predetermined operation,
It is described when the touch shape is predetermined shape, determine the predetermined operation to be executed in the electronic device include: in institute When to state touch shape be predetermined shape, determined based on the pre-set corresponding relationship to be executed in the electronic device it is predetermined Operation.
5. the method according to claim 1, wherein the electronic equipment further includes memory, the method also includes:
Specific touch operation of the operating body on the touch screen is obtained in advance;
Determine that the touch area of specific touch operation on the touchscreen is formed by specific touch shape;
It is stored the specific touch shape as the predetermined shape in the memory, for determining the touch shape Whether shape is predetermined shape.
6. a kind of operating device for electronic equipment, which has touch screen, and the operating device includes:
Detection unit, for detecting operating body in institute in the case where the closing of the display function of the touch screen of the electronic equipment State the touch behavior on touch screen;
Shape determining unit, for determining touch area based on touch behavior detected, the touch behavior generation includes The touch area in irregular shape of multiple portions;And determine that the touch area is formed by whether touch shape is preboarding Shape, wherein when operating body difference, the fog-level of touch area is different, between the touch shape and the predetermined shape Similarity degree it is also different;
Operation determination unit, for when the touch shape is predetermined shape, determining that is executed in the electronic device makes a reservation for Operation;
Execution unit, for executing identified predetermined operation.
7. operating device according to claim 6, wherein the shape determining unit includes:
Outer rim determines component, the contour curve of the outer ledge for determining the touch area;
Calculating unit compares the difference and pre- for contour curve determined by calculating and the difference between the predetermined shape Determine threshold value, and exports a comparison result;
Shape determines component, when the difference is less than predetermined threshold, determines that the touch area is formed by touch shape and is The predetermined shape.
8. operating device according to claim 7, wherein the predetermined shape includes the first predetermined shape and the second preboarding Shape,
When the comparison result that the calculating unit is exported indicates between identified contour curve and first predetermined shape Difference less than the first predetermined threshold when, it is institute that the shape, which determines that component determines that the touch area is formed by touch shape, State the first predetermined shape;
When the comparison result that the calculating unit is exported indicates between identified contour curve and second predetermined shape Difference less than the second predetermined threshold, it is described that the shape, which determines that component determines that the touch area is formed by touch shape, Second predetermined shape, second predetermined threshold are different from first predetermined threshold.
9. operating device according to claim 6, further includes:
Set parts, the corresponding relationship for being set in advance between the predetermined shape and the predetermined operation;
Memory, for corresponding relationship set by the predetermined shape and the set parts to be stored in advance;
Wherein, when the shape determining unit determines that the touch shape is predetermined shape, the operation determination unit is based on The pre-set corresponding relationship of set parts determines the predetermined operation to be executed in the electronic device.
10. operating device according to claim 6, wherein
The detection unit obtains specific touch operation of the operating body on the touch screen in advance,
The shape determining unit determines that the touch area of specific touch operation on the touchscreen is formed by specific touch shape Shape, and using the specific touch shape as the predetermined shape,
The memory of the operation determination unit stores the predetermined shape, for determining whether the touch shape is predetermined Shape.
11. a kind of electronic equipment, including the operating device as described in any one of claim 6-10.
CN201410421587.3A 2014-08-25 2014-08-25 Method of operating an electronic device, operating device and electronic equipment Active CN105373323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410421587.3A CN105373323B (en) 2014-08-25 2014-08-25 Method of operating an electronic device, operating device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410421587.3A CN105373323B (en) 2014-08-25 2014-08-25 Method of operating an electronic device, operating device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105373323A CN105373323A (en) 2016-03-02
CN105373323B true CN105373323B (en) 2019-07-26

Family

ID=55375566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410421587.3A Active CN105373323B (en) 2014-08-25 2014-08-25 Method of operating an electronic device, operating device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105373323B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095307B (en) * 2016-06-01 2019-05-31 努比亚技术有限公司 Rotate gesture identifying device and method
CN106095317B (en) * 2016-06-15 2020-07-10 海信视像科技股份有限公司 Touch screen response method and terminal
CN108196815B (en) * 2017-12-28 2020-01-03 维沃移动通信有限公司 Method for adjusting call sound and mobile terminal
CN109542279B (en) * 2018-10-30 2022-08-26 维沃移动通信有限公司 Terminal device control method and terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661373A (en) * 2009-09-29 2010-03-03 中兴通讯股份有限公司 Method and device for identifying unlocking by contact surface type
CN102866853A (en) * 2012-08-23 2013-01-09 广东欧珀移动通信有限公司 Method and device for operating and controlling application program of touch screen terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7855718B2 (en) * 2007-01-03 2010-12-21 Apple Inc. Multi-touch input discrimination
US9501694B2 (en) * 2008-11-24 2016-11-22 Qualcomm Incorporated Pictorial methods for application selection and activation
US20140099992A1 (en) * 2012-10-09 2014-04-10 Qualcomm Mems Technologies, Inc. Ear position and gesture detection with mobile device
CN103019387B (en) * 2012-12-25 2016-06-29 齐贸屋贸易(深圳)有限公司 Mobile terminal and solution locking method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661373A (en) * 2009-09-29 2010-03-03 中兴通讯股份有限公司 Method and device for identifying unlocking by contact surface type
CN102866853A (en) * 2012-08-23 2013-01-09 广东欧珀移动通信有限公司 Method and device for operating and controlling application program of touch screen terminal

Also Published As

Publication number Publication date
CN105373323A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN106527818B (en) Control method, device and the mobile terminal of touch operation on a kind of mobile terminal
CN108475112B (en) Method and apparatus for using friction sound
CN111488078B (en) Touch processing method and electronic device supporting same
CN104571922B (en) Touch-responsive method, apparatus and terminal
CN106681554B (en) A kind of control method of mobile terminal touch screen, device and mobile terminal
CN107463329B (en) Detection method, device, storage medium and the mobile terminal of blank screen gesture
CN106855783A (en) A kind of method of false-touch prevention, device and mobile terminal
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106855785A (en) Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
CN105373323B (en) Method of operating an electronic device, operating device and electronic equipment
EP3133473A1 (en) Method of sensing pressure by touch sensor and electronic device adapted thereto
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN106775407A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN109583356A (en) Fingerprint identification method and Related product
CN106775086A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
WO2018006374A1 (en) Function recommending method, system, and robot based on automatic wake-up
CN107479816A (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
WO2017161824A1 (en) Method and device for controlling terminal
CN106681636A (en) Method and device capable of preventing wrong touch, and mobile terminal
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN110245607A (en) Eyeball tracking method and Related product
CN109756818A (en) Dual microphone noise-reduction method, device, storage medium and electronic equipment
CN107402625A (en) Touch screen scanning method, device, terminal and computer-readable recording medium
CN106909250A (en) A kind of processing method of touch operation, device and mobile terminal
CN104182161A (en) Method and device for opening screen functional area

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant