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, completeSite preparation description.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based onEmbodiment in the application, those skilled in the art's every other implementation obtained under that premise of not paying creative laborExample, belongs to the protection scope of the application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second ", " third " etc.(if present) is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be appreciated that thisThe object of sample description is interchangeable under appropriate circumstances.In addition, term " includes " and " having " and their any deformation, meaningFigure, which is to cover, non-exclusive includes.For example, containing the process, method of series of steps or containing a series of modules or listThe device of member, electronic equipment, system those of are not necessarily limited to be clearly listed step or module or unit, can also include not havingThe step of being clearly listed or module or unit also may include for these process, methods, device, electronic equipment or systemIntrinsic other steps or module or unit.
In order to realize user to the setting function of electronic equipment, to meet the individual demand of different user, electronic equipmentSystem menu in be usually provided with various control instruction, such as standby mode, internetwork connection mode, the notification bar of electronic equipmentSetting, alerting pattern setting, storage space management, application permission setting etc..In the various control instruction of electronic equipment, haveIt is some to be that user's frequency of use is higher, such as standby mode, the internetwork connection mode of electronic equipment;And having some is that user makesIt is lower with frequency, such as notification bar setting, storage space management.
Control instruction higher for user's frequency of use can be set in the electronic device for the ease of the operation of userExhalation menu is set, as shown in Figure 1.Wherein, breathing out in menu may include the highest several control instructions of user's frequency of use, exampleInternetwork connection mode, the standby mode of such as electronic equipment.User can breathe out the exhalation dish by shirtsleeve operationIt is single, such as user carries out upper sliding operation in the display screen of electronic equipment can breathe out the exhalation menu.
The embodiment of the present application provides a kind of touch operation method, and the touch operation method can be applied to electronic equipmentIn.The electronic equipment can be the equipment such as smart phone, tablet computer.
With reference to Fig. 2, electronic equipment may include touching display screen S, and touching display screen S may include main touch-control viewing areaDomain S1 and side touch display area S2, main touch display area S1 are connected with side touch display area S2.Main touch-control is shownThere is region S1 touch function and display function namely electronic equipment can show information such as text in main touch display area S1Word, picture etc., in addition, user can also carry out touch control operation such as clicking operation, slide etc. in main touch display area S2Deng, with realize electronic equipment is controlled etc..
As shown in Fig. 2, right side when side touch display area S2 is located at display screen S vertical screen display information, side touchingControl display area S2 can have touch function and display function, and user can carry out touch-control behaviour in the touch display area S2 of sideMake such as clicking operation, slide.
With reference to Fig. 3, in some embodiments, the touching display screen S of electronic equipment can only include one or two sideTouch display area such as only includes left side touch display area or right edge touch display area;It for another example can be simultaneouslyIncluding left side touch display area and right edge touch display area.
In some embodiments, touch display area S2 in side can not have display function namely side touch-control is shownRegion S1 only has touch function, the auxiliary touch area as main touch display area S1.
In some embodiments, touch display area S2 in side also can have display function namely side touch-control is shownRegion S2 can be side touch display area.That is, electronic equipment can show information by side touch display area S2Such as text, picture.At this point, side touch display area S2 can the touch display area S1 based on secondary display area.
Wherein, the shape of side touch display area S2 can be set according to actual needs;For example, in some embodimentsIn, touching display screen S can be curved surface touching display screen, and side touch display area S2 can be with arc area, electronic equipmentThere can be function identical with main touch display area S1 in side touch display area S2, user can show in main touch-controlRegion S1 or side touch display area S2 carries out touch control operation etc..
Based on above-mentioned electronic equipment, in some embodiments, as shown in figure 4, the touch operation method, may includeFollowing steps:
101, clicking operation information of the detection user on touching display screen.
Wherein, clicking operation information can click the click information of touching display screen for user using finger, may includeClick location information, number of clicks, click duration, click force on touching display screen etc. information.
When user carries out clicking operation to touching display screen, touch point can be formed on touching display screen.Click location letterBreath can be location information of the touch point on touching display screen.
102, operating area of the clicking operation on touching display screen is determined according to clicking operation information.
For example, in one embodiment, can determine the clicking operation on touching display screen with the location information of clicking operationOperating area.
It, can be with when user is when touching display screen carries out clicking operation for example, can establish the coordinate system of touching display screen(such as horizontal axis coordinate x, ordinate of orthogonal axes y) then construct point based on coordinate information to the coordinate information of detection or record clicking operationOperation is hit in the operating area of touching display screen.
For example, operating area can be constructed based on the coordinate of click location edge, i.e., by the positional value of edge (as satScale value) surround made of region as operating area.Furthermore it is also possible to will click on the work of minimum unit region corresponding to positionFor the operating area.
103, when operating area is located in the touch display area of side, whether judgement detects use within a preset period of timeSlide information of the family in the touch display area of side;If so, step 104 is executed, if it is not, terminating process.
Wherein, preset time period can be set according to those skilled in the art.In addition, in order to adapt to different userUse habit, the preset time period can also be configured by user.For example, the preset time period can be set to 1s to 3s itBetween.
In some embodiments, slide information of the user on touching display screen may include:The position of slideConfidence ceases (such as location information of slide starting point, terminal), sliding distance, glide direction.
When user carries out slide to touching display screen, sliding trace can be formed on touching display screen.Sliding traceIt is made of each press points on display screen in sliding process.When user carries out slide to touching display screen, electronics is setThe standby each pressing dot position information that can detect sliding trace of the user on touching display screen, such as starting point, final position letterBreath etc..Wherein, starting point is user in slide, first press points on touching display screen.Terminal is to useThe last one press points of family in slide, on touching display screen.
In the embodiment of the present application, need to predefine whether operating area falls into the touch display area of side.?That is, judging after determining operating area of the clicking operation on touching display screen according to clicking operation information in preset timeUser whether is detected before the slide information in the touch display area of side in section, can also include following below scheme:
Obtain the overlapping area between the area and the operating area and side touch display area of operating area;
Judge whether the ratio of the area of overlapping area and operating area is greater than preset threshold;
If so, determining that the operating area is located at side touch display area.
Wherein, preset threshold can be configured by those skilled in the art, such as 1/2,2/3.
In addition, other than area ratio, it can also be directly using size as decision condition.Such as, when overlapping area reachesWhen to preset area, it is possible to determine that operating area is located at side touch display area.
In some embodiments, touch display area S2 in side may include multiple successively adjacent sub- touch display areas,Think that gesture operation realizes that more touch commands do basis in electronic equipment.For example, continuing to refer to figure 1 to Fig. 3, side touch-controlDisplay area S2 includes three successively adjacent sub- touch display areas, the respectively first son touching display control region S21, the second sonTouching display control region S22 and third touching display control region S23.Wherein, the first son touching display control region S21, the second son touching are aobviousShow that control region S22 and third touching display control region S23 can be arranged for homalographic.Alternatively, it is also possible to right according to actual needsSuitable area is arranged in each sub- touch display area, is not especially limited to this.That is, step is " when operating area is located at sideWhen in the touch display area of side, whether judgement detects sliding of the user in the touch display area of side within a preset period of timeOperation information " may include following below scheme:
When the operating area is located in the touch display area of side, operating space is determined from multiple sub- touch display areasThe sub- touch display area of the corresponding target in domain;
Judgement is within a preset period of time, if detects slide letter of the user in the sub- touch display area of targetBreath.
In the embodiment of the present application, corresponding one or more touch command in each part.Electronic equipment display screen is shown notWhen with interface, the top, middle part, the corresponding touch command in lower part be can be different.
In some embodiments it is contemplated that clicking operation region will not be exactly in certain when user's actual click operatesIn one sub- touch display area, when practical operation, the operating area of clicking operation can generally be located at two adjacent sub- touch-controlsDisplay area causes to miss at this point, will be unable to get correct touch command based on above-mentioned instruction acquisition modes electronic equipmentOperation.Therefore, it in order to improve the accuracy of touch control operation, is shown when determining the operating area while being in adjacent sub- touch-controlWhen showing region, optimization processing can be made.
In the embodiment of the present application, determine that the mode of the sub- touch display area of target can be with from multiple sub- touch display areasThere are many.For example, can by obtaining the size of the lap area between operating area and different sub- touch display areas,To determine the sub- touch display area of target.
In practical application, area meter only can be carried out to the sub- touch display area for having lap with the operating areaIt calculates, to reduce the power consumption of electronic equipment.It, can also directly will be multiple specifically, the comparison of area value size can be carried out directlyThe image of overlapping region is compared, to choose Maximum overlap area from multiple overlapping region areas.Overlapping area is bigger,I.e. operating area fall into corresponding sub- touch display area part it is more, the region that user wants to click is that the touch-control is shownThe probability in region is higher.
In some embodiments, the centre distance between operating area and each sub- touch display area can also be obtained, withFrom multiple sub- touch display areas, the smallest sub- touch display area of centre distance between determining and operating area, as behaviourMake the sub- touch display area of the corresponding target in region.
104, the glide direction of slide is determined according to slide information.
In one embodiment, slide information may include the glide direction of slide, at this point it is possible to directly extractThe glide direction of the slide.
Wherein, the glide direction of slide can be glide direction of the user on touching display screen, specifically slideDirection can define according to actual needs, cunning, downslide, left cunning, right cunning as above etc..For example, the direction display screen under display screenTop sliding, to display screen left slide, to sliding etc. below display screen.
In one embodiment, glide direction can be determined based on the change in location of the press points of slide, for example, slidingWhen the position of the press points y direction of operation is gradually increased, it can determine that glide direction is upward sliding.
In some embodiments, slide information includes sliding trace, then step " is determined according to slide information and slidedThe glide direction of dynamic operation ", may include following below scheme:
Obtain the first location information of the starting point of sliding trace and the second location information of terminal;
According to first location information and second location information, determine starting point to terminal direction of displacement;
The direction offset between direction of displacement and multiple sample orientations is calculated, multiple directions offset is obtained;
Determine minimum direction offset from multiple directions offset, and by the corresponding sample side of minimum direction offsetTo glide direction as slide.
Specifically, with reference to Fig. 5 and Fig. 6.Fig. 5 is a kind of application scenarios of touch operation method provided by the embodiments of the present applicationSchematic diagram.Fig. 6 is glide direction and sample glide direction in M area shown in Fig. 5 (for example, first son touching display control region S21)Comparison schematic diagram.
Such as Fig. 5 and Fig. 6, sample orientation includes upper and lower, left and right four direction, the starting point a and terminal b of sliding trace LDirection of displacement be f.Direction of displacement f is compared with four, upper and lower, left and right sample orientation, calculates direction of displacement f and everyThe direction offset of one sample orientation.
In some embodiments, direction offset can be deviation angle.Such as in Fig. 6, direction of displacement f and sample orientationThe direction offset of "upper" is α 1, and the direction offset on direction of displacement f and sample orientation " right side " is α 2, direction of displacement f and sampleThe direction offset of direction "lower" is α 3, and the direction offset on direction of displacement f and sample orientation " left side " is α 4.It therefrom chooses minimumThe corresponding sample orientation of deviation angle is then the glide direction of slide.
It should be noted that deviation angle is the angle value less than 180 °.
In practical application, since side touch display area is located at the side of touching display screen, and side touch-control viewing areaThe region area in domain is limited.Therefore it when executing slide, for the side touch display area for being located at left side, can only setSet effective glide directions such as cunning, downslide, right cunning;For be located at right side side touch display area, can only be arranged upper cunning,Effective glide directions such as downslide, left cunning.
105, according to clicking operation information and glide direction, corresponding touch command is obtained.
Specifically, two factors of clicking operation information and glide direction need to be based on, corresponding touch command is obtained.
In some embodiments, step " according to clicking operation information and glide direction, obtaining corresponding touch command ", canTo include following below scheme:
According to the corresponding command function type of clicking operation acquisition of information;
The corresponding multiple candidate touch commands of acquisition instruction function type;
Corresponding touch command is chosen from multiple candidate touch commands according to glide direction.
Wherein, different clicking operation information corresponds to the touch command of different function type, for example, return type instructs(including return to upper level instruction, the instruction of return desktop, return to application instruction), (such as quick screenshotss instruct, are fixed screenshotss type instructionWhen screenshotss instruction etc.), the instruction of screen locking type (such as quick screen locking instruction, timing screen locking instruction).
In some embodiments, same to click the touch-control that the corresponding candidate touch command of operation information be same typeInstruction for example, being return type instruction, such as returns to upper level instruction, returns to desktop instruction, returns to application instruction.
In some embodiments, clicking operation information may include:Click duration and/or number of clicks;Step is " according to pointHit the corresponding command function type of operation information acquisition ", it may include following below scheme:
It is long when clicked to be less than preset duration, and when number of clicks is less than preset times, obtain the first command function type;Following below scheme
It is long when clicked to be less than preset duration, and when number of clicks reaches preset times, obtain the second command function type;
It is long when clicked to reach preset duration, and when number of clicks is less than preset times, obtain third command function type.
Wherein, number of clicks can be directed to the number of the same position adopting consecutive click chemical reaction of touching display screen for user, click secondaryNumber can be primary (such as clicking), or (such as double-click) twice.And duration is clicked for single clicing on, such as clickDuration is more than that this can then be clicked event as long-pressing by certain time length, and duration is no more than certain time length and this is then clicked eventAs clicking.
For example, long when clicked be less than preset duration, and when number of clicks is less than preset times, it is possible to determine that click,Can correspond at this time obtain the first command function type, as return type instruction (including return upper level instruction, return desktop refer toIt enables, return using instruction).It is long when clicked to be less than preset duration, and when number of clicks reaches preset times, it is possible to determine that it is doubleIt hits, minds the second command function type of corresponding acquisition at this time, as (such as quick screenshotss instruction, timing screenshotss refer to screenshotss type instructionEnable etc.).It is long when clicked to reach preset duration, and when number of clicks is less than preset times, it is can be determined that at this time as long-pressing, thisWhen can correspond to obtain third command function type, such as screen locking type instruction (such as quick screen locking instruction, timing screen locking instructionDeng).
In some embodiments, step " chooses corresponding touch-control from multiple candidate touch commands according to glide direction to refer toEnable ", it may include following below scheme:
Determine the instruction reorder of multiple candidate instructions;
When glide direction is default glide direction, the default corresponding instruction serial number of glide direction is obtained;
According to instruction serial number and instruction reorder, corresponding touch command is chosen from multiple candidate instructions.
In the embodiment of the present application, needs to preset default glide direction and instruct the mapping relations between serial number.Wherein,Default glide direction can be set in actual demand according to, for example, can be (i.e. upper to slide) from bottom to top, from top to bottom (under i.e.It is sliding), from left to right etc..
For example, the sequence of multiple candidate instructions is followed successively by:Touch command A, touch command B, touch command C.If default slideThe corresponding instruction serial number 2 in dynamic direction, then choose touch command B from touch command A, touch command B, touch command C;IfThe corresponding instruction serial number 3 of default glide direction, then choose touch-control from touch command A, touch command B, touch command C and refer toEnable C.
In one embodiment, it is the accuracy for promoting touch control operation, prevents maloperation, can be combined with sliding distance to obtainTouch command is taken, and executes corresponding touch control operation.For example, slide information may include the glide direction of slide withAnd sliding distance.At this point, when glide direction is default glide direction, and when the sliding distance is greater than pre-determined distance, obtain pre-If the corresponding touch command of glide direction.
In one embodiment, when sliding distance is not more than pre-determined distance, electronic equipment does not execute any operation, Ye Ji electricitySub- equipment does not provide any response to the slide of user.
Wherein, the sliding distance in the embodiment of the present application can be the starting point and the distance between terminal of slide,The distance can be linear distance or camber line distance etc..
106, corresponding touch control operation is executed to electronic equipment according to touch command.
For example, when touch command is return instruction, electronic equipment can return to an interface or previous menu etc..For another example, when touch command is screen locking instruction, electronic equipment can carry out screen locking operation.
For example, with reference to Fig. 7, electronic equipment shows application page P, when user clicks in side touch display area S2 executionAfter operation, then carry out slide upwards immediately, electronic equipment can detecte slide information, and electronic equipment is availableThe i.e. upper sliding direction in the direction of slide, it is assumed that when preset direction is upper sliding direction, at this point it is possible to determine the direction of slideTo preset glide direction, the corresponding return instruction of the available upper cunning of electronic equipment, electronic equipment returns aobvious according to return instructionShow that application page P's applies Q before.For a user, it need to only can be realized in side touch display area S2 upward slidingReturn to function.
From the foregoing, it will be observed that clicking operation information of the embodiment of the present application by detection user on touching display screen;According to pointIt hits operation information and determines operating area of the clicking operation on touching display screen;When operating area is located at side touch display areaWhen interior, whether judgement detects slide information of the user in the touch display area of side within a preset period of time;If so,The glide direction of slide is then determined according to slide information;According to clicking operation information and glide direction, obtains and correspond toTouch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme can make user quickThe touch control operation to electronic equipment is executed, the operating efficiency of electronic equipment is promoted.
In some embodiments, a kind of touch operation method is additionally provided, with reference to Fig. 8, detailed process is as follows:
201, clicking operation information of the electronic equipment detection user on touching display screen.
Wherein, clicking operation information can click the click information of touching display screen for user using finger, may includeClick location information, number of clicks, click duration, click force on touching display screen etc. information.
202, electronic equipment determines operating area of the clicking operation on touching display screen according to clicking operation information.
For example, in one embodiment, can determine the clicking operation on touching display screen with the location information of clicking operationOperating area.
It, can be with when user is when touching display screen carries out clicking operation for example, can establish the coordinate system of touching display screen(such as horizontal axis coordinate x, ordinate of orthogonal axes y) then construct point based on coordinate information to the coordinate information of detection or record clicking operationOperation is hit in the operating area of touching display screen.
For example, operating area can be constructed based on the coordinate of click location edge, i.e., by the positional value of edge (as satScale value) surround made of region as operating area.Furthermore it is also possible to will click on the work of minimum unit region corresponding to positionFor the operating area.
203, electronic equipment judges whether operating area is located in the touch display area of side;If so, thening follow the steps204, if it is not, then terminating process.
Wherein, touching display screen includes main touch display area and side touch display area, side touch-control viewing areaDomain is connect with the main display area, and the side touch display area includes multiple successively adjacent sub- touch display areas.
204, electronic equipment determines the corresponding sub- touch-control viewing area of target of operating area from multiple sub- touch display areasDomain.
In the embodiment of the present application, corresponding one or more touch command in each part.Electronic equipment display screen is shown notWhen with interface, the top, middle part, the corresponding touch command in lower part be can be different.
In some embodiments it is contemplated that clicking operation region will not be exactly in certain when user's actual click operatesIn one sub- touch display area, when practical operation, the operating area of clicking operation can generally be located at two adjacent sub- touch-controlsDisplay area causes to miss at this point, will be unable to get correct touch command based on above-mentioned instruction acquisition modes electronic equipmentOperation.Therefore, it in order to improve the accuracy of touch control operation, is shown when determining the operating area while being in adjacent sub- touch-controlWhen showing region, optimization processing can be made.
In the embodiment of the present application, determine that the mode of the sub- touch display area of target can be with from multiple sub- touch display areasThere are many.For example, can by obtaining the size of the lap area between operating area and different sub- touch display areas,To determine the sub- touch display area of target.
In practical application, area meter only can be carried out to the sub- touch display area for having lap with the operating areaIt calculates, to reduce the power consumption of electronic equipment.It, can also directly will be multiple specifically, the comparison of area value size can be carried out directlyThe image of overlapping region is compared, to choose Maximum overlap area from multiple overlapping region areas.Overlapping area is bigger,I.e. operating area fall into corresponding sub- touch display area part it is more, the region that user wants to click is that the touch-control is shownThe probability in region is higher.
In some embodiments, the centre distance between operating area and each sub- touch display area can also be obtained, withFrom multiple sub- touch display areas, the smallest sub- touch display area of centre distance between determining and operating area, as behaviourMake the sub- touch display area of the corresponding target in region.
205, electronic equipment judges within a preset period of time, if detects user in the sub- touch display area of targetSlide information;If so, step 206 is executed, if it is not, terminating process.
Wherein, preset time period can be set according to those skilled in the art.In addition, in order to adapt to different userUse habit, the preset time period duration can also be configured by user.For example, the preset time period can be set to 1s extremelyBetween 3s.
In some embodiments, slide information of the user on touching display screen may include:The position of slideConfidence ceases (such as location information of slide starting point, terminal), sliding distance, glide direction.
206, electronic equipment determines the glide direction of slide according to slide information.
In one embodiment, slide information may include the glide direction of slide, at this point it is possible to directly extractThe glide direction of the slide.
Wherein, the glide direction of slide can be glide direction of the user on touching display screen, specifically slideDirection can define according to actual needs, cunning, downslide, left cunning, right cunning as above etc..For example, the direction display screen under display screenTop sliding, to display screen left slide, to sliding etc. below display screen.
In one embodiment, glide direction can be determined based on the change in location of the press points of slide, for example, slidingWhen the position of the press points y direction of operation is gradually increased, it can determine that glide direction is upward sliding.
In some embodiments, slide information includes sliding trace.Sliding is then being determined according to slide informationWhen the glide direction of operation, the first location information of the starting point of available sliding trace and the second location information of terminal,Then.According to first location information and second location information, determine that starting point to the direction of displacement of terminal, then calculates direction of displacementDirection offset between multiple sample orientations, obtains multiple directions offset, finally determines from multiple directions offsetMinimum direction offset out, and the glide direction by the corresponding sample orientation of minimum direction offset, as slide.
207, electronic equipment is according to the corresponding command function type of clicking operation acquisition of information.
Wherein, different clicking operation information corresponds to the touch command of different function type, for example, return type instructs(including return to upper level instruction, the instruction of return desktop, return to application instruction), (such as quick screenshotss instruct, are fixed screenshotss type instructionWhen screenshotss instruction etc.), the instruction of screen locking type (such as quick screen locking instruction, timing screen locking instruction).
In some embodiments, clicking operation information may include:Click duration and/or number of clicks.Wherein, it clicks secondaryNumber can be directed to the number of the same position adopting consecutive click chemical reaction of touching display screen for user, and number of clicks can be primary (such as singleHit), or it (such as double-clicks) twice.And duration is clicked for single clicing on, such as clicking duration is more than certain time lengthThis can then be clicked to event and be used as long-pressing, duration is no more than certain time length then using this click event as clicking.
For example, long when clicked be less than preset duration, and when number of clicks is less than preset times, it is possible to determine that click,Can correspond at this time obtain the first command function type, as return type instruction (including return upper level instruction, return desktop refer toIt enables, return using instruction).It is long when clicked to be less than preset duration, and when number of clicks reaches preset times, it is possible to determine that it is doubleIt hits, minds the second command function type of corresponding acquisition at this time, as (such as quick screenshotss instruction, timing screenshotss refer to screenshotss type instructionEnable etc.).It is long when clicked to reach preset duration, and when number of clicks is less than preset times, it is can be determined that at this time as long-pressing, thisWhen can correspond to obtain third command function type, such as screen locking type instruction (such as quick screen locking instruction, timing screen locking instructionDeng).
208, electronic equipment obtains the corresponding multiple candidate touch commands of the command function type.
In some embodiments, same to click the touch-control that the corresponding candidate touch command of operation information be same typeInstruction for example, being return type instruction, such as returns to upper level instruction, returns to desktop instruction, returns to application instruction.
209, electronic equipment chooses corresponding touch command from multiple candidate touch commands according to according to glide direction.
In the embodiment of the present application, needs to preset default glide direction and instruct the mapping relations between serial number.Wherein,Default glide direction can be set in actual demand according to, for example, can be (i.e. upper to slide) from bottom to top, from top to bottom (under i.e.It is sliding), from left to right etc..When it is implemented, the instruction reorder of multiple candidate instructions can be determined, when glide direction is default slidingWhen direction, the default corresponding instruction serial number of glide direction is obtained;According to instruction serial number and instruction reorder, from multiple candidate instructionsChoose corresponding touch command.
For example, the sequence of multiple candidate instructions is followed successively by:Touch command A, touch command B, touch command C.If default slideThe corresponding instruction serial number 2 in dynamic direction, then choose touch command B from touch command A, touch command B, touch command C.
210, electronic equipment executes corresponding touch control operation to electronic equipment according to touch command.
For example, touch control operation is when returning to upper level interface operation, then at this point, electronic equipment can execute return desktopOr the touch control operation of main interface;In another example when touch control operation is that screen locking operates, then electronic equipment can execute unlock operation.
From the foregoing, it will be observed that clicking operation information of the embodiment of the present application by detection user on touching display screen;According to pointIt hits operation information and determines operating area of the clicking operation on touching display screen;When operating area is located at side touch display areaWhen interior, whether judgement detects slide information of the user in the touch display area of side within a preset period of time;If so,The glide direction of slide is then determined according to slide information;According to clicking operation information and glide direction, obtains and correspond toTouch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme can make user quickThe touch control operation to electronic equipment is executed, the operating efficiency of electronic equipment is promoted.
The embodiment of the present application also provides a kind of touch control operation device, and the touch control operation device can integrate in electronic equipmentIn, the electronic equipment can be the equipment such as smart phone, tablet computer.
In some embodiments, with reference to Fig. 9, touch control operation device 300 may include:Detection module 31, region determine mouldBlock 32, judgment module 33, direction determining mould 34, instruction acquisition module 35 and processing module 36.It is as follows:
Detection module 31, for detecting clicking operation information of the user on touching display screen;
Area determination module 32, for determining clicking operation in the touching display screen according to the clicking operation informationOperating area;
Judgment module 33, for judging in preset time when the operating area is located in the touch display area of sideSlide information of the user in the side touch display area whether is detected in section;
Direction determining mould 34 is, determines the cunning according to slide information if being determined as judgment module 33The glide direction of dynamic operation;
Instruction acquisition module 35, for obtaining corresponding touch-control according to the clicking operation information and the glide directionInstruction;
Processing module 36, for executing corresponding touch control operation to the electronic equipment based on the touch command.
In some embodiments, with reference to Figure 10, instruction acquisition module 35 may include:Type acquisition submodule 351, instructionAcquisition submodule 352 and selection submodule 353.It is as follows:
Type acquisition submodule 351, for according to the corresponding command function type of the clicking operation acquisition of information;
Acquisition submodule 352 is instructed, for obtaining the corresponding multiple candidate touch commands of described instruction function type;
Submodule 353 is chosen, it is corresponding for being chosen from the multiple candidate touch command according to the glide directionTouch command.
In some embodiments, with reference to Figure 11, direction determining mould 34 may include:Position acquisition submodule 341, firstDetermine submodule 342, computational submodule 343 and the second determining submodule 344.It is as follows:
Position acquisition submodule 341, for obtaining the first location information and terminal of the starting point of the sliding traceSecond location information;
First determines submodule 342, for determining that the starting point is arrived according to first location information and second location informationThe direction of displacement of the terminal;
Computational submodule 343 is obtained for calculating the direction offset between the direction of displacement and multiple sample orientationsMultiple directions offset;
Second determines submodule 344, for determining minimum direction offset from multiple directions offset, and will be describedThe corresponding sample orientation of minimum direction offset, the glide direction as the slide.
The description of the function of above each module each step during reference can be made to the above method embodiment.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is madeIt is realized for same or several entities.
From the foregoing, it will be observed that touch control operation device 300 provided by the embodiments of the present application, detects user by detection module 31 and is touchingControl the clicking operation information on display screen;Area determination module 32 determines that clicking operation is shown in touch-control according to clicking operation informationOperating area on screen;Judgment module 33 judges when operating area is located in the touch display area of side in preset time periodInside whether detect slide information of the user in the touch display area of side;Direction determining mould 34 is in judgment module 33When being judged to being, the glide direction of slide is determined according to slide information;Instruction acquisition module 35 is according to clicking operationInformation and glide direction obtain corresponding touch command;Processing module 36 is based on touch command and executes accordingly to electronic equipmentTouch control operation.This programme can make user can quick execution to the touch control operation of electronic equipment, promote the operation of electronic equipmentEfficiency.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart phone, tablet computer etc.Equipment.As shown in figure 12, electronic equipment 400 includes processor 401, memory 402 and touching display screen 403.Wherein, processor401 are electrically connected with memory 402, touching display screen 403 respectively.
Processor 401 is the control centre of electronic equipment 400, utilizes various interfaces and the entire electronic equipment of connectionVarious pieces, by running or calling the computer program being stored in memory 402, and calling to be stored in memory 402Interior data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
Display screen 403 can be used for showing information input by user or be supplied to user information and electronic equipment it is eachKind graphical user interface, these graphical user interface can be made of image, text, icon, video and any combination thereof.?In the embodiment of the present application, display screen 403 can input the touch-control of operation (such as clicking operation, slide) for receivable userDisplay screen.The touching display screen may include main touch display area and side touch display area.Wherein, side touch-control is shownRegion is connect with the main display area, and side touch display area includes multiple successively adjacent sub- touch display areas.
In the present embodiment, processor 401 in electronic equipment 400 can according to following step, by one or one withOn the corresponding instruction of process of computer program be loaded into memory 402, and run by processor 401 and be stored in storageComputer program in device 402, to realize various functions:
Detect clicking operation information of the user on touching display screen;
Operating area of the clicking operation on the touching display screen is determined according to the clicking operation information;
When the operating area is located in the touch display area of side, whether judgement detects use within a preset period of timeSlide information of the family in the side touch display area;
If so, determining the glide direction of the slide according to the slide information;
According to the clicking operation information and the glide direction, corresponding touch command is obtained;
Corresponding touch control operation is executed to the electronic equipment based on the touch command.
In some embodiments, the side touch display area includes multiple successively adjacent sub- touch display areas.When the operating area is located in the touch display area of side, whether judgement detects user described within a preset period of timeWhen slide information in the touch display area of side, processor 401 also executes following steps:
When the operating area is located in the touch display area of side, from multiple sub- touch display areas described in determinationThe sub- touch display area of the corresponding target of operating area;
Judgement is within a preset period of time, if detects slide of the user in the sub- touch display area of the targetInformation.
In some embodiments, it according to the clicking operation information and the glide direction, obtains corresponding touch-control and refers toWhen enabling, processor 401 also executes following steps:
According to the corresponding command function type of the clicking operation acquisition of information;
Obtain the corresponding multiple candidate touch commands of described instruction function type;
Corresponding touch command is chosen from the multiple candidate touch command according to the glide direction.
In some embodiments, the clicking operation information includes:Click duration and/or number of clicks.According toWhen the corresponding command function type of clicking operation acquisition of information, processor 401 executes following steps:
It is long when clicked to be less than preset duration, and when number of clicks is less than preset times, obtain the first command function type;
It is long when clicked to be less than preset duration, and when number of clicks reaches preset times, obtain the second command function type;
It is long when clicked to reach preset duration, and when number of clicks is less than preset times, obtain third command function type.
In some embodiments, corresponding touch-control is chosen from the multiple candidate touch command according to the glide directionWhen instruction, processor 401 can execute following steps:
Determine the instruction reorder of the multiple candidate instruction;
When the glide direction is default glide direction, the corresponding instruction serial number of the default glide direction is obtained;
It is sorted according to described instruction serial number and described instruction, corresponding touch-control is chosen from the multiple candidate instruction and is referred toIt enables.
In some embodiments, the slide information includes sliding trace.True according to the slide informationWhen the glide direction of the fixed slide, processor 401 can execute following steps:
Obtain the first location information of the starting point of the sliding trace and the second location information of terminal;
According to first location information and second location information, determine the starting point to the terminal direction of displacement;
The direction offset between the direction of displacement and multiple sample orientations is calculated, multiple directions offset is obtained;
Determine minimum direction offset from multiple directions offset, and by the corresponding sample of the minimum direction offsetThis direction, the glide direction as the slide.
In some embodiments, determining the clicking operation in the touching display screen according to the clicking operation informationOn operating area after, judgement whether detect cunning of the user in the side touch display area within a preset period of timeBefore dynamic operation information, processor 401 can execute following steps:
Obtain the weight between the area and the operating area and the side touch display area of the operating areaFolded area;
Judge whether the ratio of the area of the overlapping area and the operating area is greater than preset threshold;
If so, determining that the operating area is located at the side touch display area.
Memory 402 can be used for storing computer program and data.Include in the computer program that memory 402 storesThe instruction that can be executed in the processor.Computer program can form various functional modules.Processor 401 is stored in by callingThe computer program of memory 402, thereby executing various function application and data processing.
In some embodiments, as shown in figure 13, electronic equipment 400 further includes:Radio circuit 404, control circuit 405,Input unit 406, voicefrequency circuit 407, sensor 408 and power supply 409.Wherein, processor 401 respectively with radio circuit 404,Display screen 403, control circuit 405, input unit 406, voicefrequency circuit 407, sensor 408 and power supply 409 are electrically connected.
Radio circuit 404 is used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electronic equipments intoRow communication.
Control circuit 405 and display screen 403 are electrically connected, and show information for controlling display screen 403.
Input unit 406 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, andGenerate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.Wherein,Input unit 406 may include fingerprint recognition mould group.
Voicefrequency circuit 407 can provide the audio interface between user and electronic equipment by loudspeaker, microphone.
Sensor 408 is for acquiring external environmental information.Sensor 408 may include ambient light sensor, accelerationOne of sensors such as sensor, gyroscope are a variety of.
All parts of the power supply 409 for electron equipment 400 are powered.In some embodiments, power supply 409 can pass throughPower-supply management system and processor 401 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management systemThe functions such as consumption management.
Although being not shown in Figure 13, electronic equipment 400 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, through detection user on touching display screenClicking operation information;Operating area of the clicking operation on touching display screen is determined according to clicking operation information;Work as operating areaWhen in the touch display area of side, whether judgement detects user in the touch display area of side within a preset period of timeSlide information;If so, determining the glide direction of slide according to slide information;According to clicking operation informationAnd glide direction, obtain corresponding touch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programmeCan make user can quick execution to the touch control operation of electronic equipment, promote the operating efficiency of electronic equipment.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when describedWhen computer program is run on computers, the computer executes touch operation method described in any of the above-described embodiment.
It should be noted that those of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment orPart steps are relevant hardware can be instructed to complete by computer program, and the computer program can store in meterIn calculation machine readable storage medium storing program for executing, the storage medium be can include but is not limited to:Read-only memory (ROM, Read OnlyMemory), random access memory (RAM, Random Access Memory), disk or CD etc..
Touch operation method, device provided by the embodiment of the present application, storage medium and electronic equipment are carried out aboveIt is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodimentsIllustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to thisThe thought of application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answeredIt is interpreted as the limitation to the application.