[go: up one dir, main page]

CN108920055A - Touch operation method, device, storage medium and electronic device - Google Patents

Touch operation method, device, storage medium and electronic device Download PDF

Info

Publication number
CN108920055A
CN108920055A CN201810726477.6A CN201810726477A CN108920055A CN 108920055 A CN108920055 A CN 108920055A CN 201810726477 A CN201810726477 A CN 201810726477A CN 108920055 A CN108920055 A CN 108920055A
Authority
CN
China
Prior art keywords
touch
touch display
area
sliding
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810726477.6A
Other languages
Chinese (zh)
Inventor
宁梦琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810726477.6A priority Critical patent/CN108920055A/en
Publication of CN108920055A publication Critical patent/CN108920055A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a touch operation method, a touch operation device, a storage medium and electronic equipment. The touch operation method comprises the steps of detecting click operation information of a user on a touch display screen; determining an operation area of the clicking operation on the touch display screen according to the clicking operation information; when the operation area is located in the side touch display area, judging whether sliding operation information of a user on the side touch display area is detected within a preset time period; if so, determining the sliding direction of the sliding operation according to the sliding operation information; acquiring a corresponding touch instruction according to the click operation information and the sliding direction; and executing corresponding touch operation on the electronic equipment based on the touch instruction. According to the scheme, the user can quickly execute the touch operation on the electronic equipment, and the operation efficiency of the electronic equipment is improved.

Description

Touch operation method, device, storage medium and electronic equipment
Technical field
This application involves technical field of electronic equipment, in particular to a kind of touch operation method, device, storage medium and electricity Sub- equipment.
Background technique
With the fast development of electronic technology, the function of the electronic equipments such as smart phone is more and more.For example, user It can choose network connection mode, the standby mode etc. of electronic equipment, the various applications on electronic equipment also can be used in user To realize different functions.
During user uses electronic equipment, it is often necessary to issue various instructions to electronic equipment.And user is usual It needs to select required instruction from the setting menu for the application installed on the System menu or electronic equipment of electronic equipment. The mode of this selection instruction is cumbersome, low efficiency.
Summary of the invention
The embodiment of the present application provides a kind of touch operation method, device, storage medium and electronic equipment, and electronics can be improved The operating efficiency of equipment.
The embodiment of the present application provides a kind of touch operation method, is applied to touching display screen, and the touching display screen includes Main touch display area and side touch display area, the touch operation method include:
Clicking operation information of the user on touching display screen is detected, clicking operation is determined according to the clicking operation information Operating area on the touching display screen;
When the operating area is located in the touch display area of side, whether judgement detects use within a preset period of time Slide 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.
The embodiment of the present application also provides a kind of touch control operation device, is applied to touching display screen, the touching display screen packet Main touch display area and side touch display area are included, the touch control operation device includes:
Detection module, for detecting clicking operation information of the user on touching display screen;
Area determination module, for determining clicking operation on the touching display screen according to the clicking operation information Operating area;
Judgment module, for judging in preset time period when the operating area is located in the touch display area of side Inside whether detect slide information of the user in the side touch display area;
Direction determining mould is to determine the cunning according to the slide information if being determined as judgment module The glide direction of dynamic operation;
Module is obtained, for obtaining corresponding touch command according to the clicking operation information and the glide direction;
Processing module, for executing corresponding touch control operation to the electronic equipment based on the touch command.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers, so that the computer executes above-mentioned touch operation method.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, is stored in the memory Computer program, the processor is by calling the computer program stored in the memory, for executing above-mentioned touching Control operating method.
Touch operation method provided by the embodiments of the present application can detecte clicking operation letter of the user on touching display screen Breath;Operating area of the clicking operation on touching display screen is determined according to clicking operation information;When operating area is located at side touching When controlling in display area, whether judgement detects slide of the user in the touch display area of side within a preset period of time Information;If so, determining the glide direction of slide according to slide information;According to clicking operation information and sliding side To obtaining corresponding touch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme can make User can quick execution to the touch control operation of electronic equipment, promote the operating efficiency of electronic equipment.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the interface schematic diagram provided by the embodiments of the present application that touch control operation is carried out to electronic equipment.
Fig. 2 is the schematic diagram of touching display screen region division provided by the embodiments of the present application.
Fig. 3 is another schematic diagram of touching display screen region division provided by the embodiments of the present application.
Fig. 4 is a flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 5 is a kind of application scenarios schematic diagram of touch operation method provided by the embodiments of the present application.
Fig. 6 is the comparison schematic diagram of glide direction and sample glide direction in M area shown in Fig. 5.
Fig. 7 is the another application schematic diagram of a scenario of touch operation method provided by the embodiments of the present application.
Fig. 8 is another flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 9 is the first structural schematic diagram of touch control operation device provided by the embodiments of the present application.
Figure 10 is second of structural schematic diagram of touch control operation device provided by the embodiments of the present application.
Figure 11 is the third structural schematic diagram of touch control operation device provided by the embodiments of the present application.
Figure 12 is the first structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 13 is second of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
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.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained under that premise of not paying creative labor Example, 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 this The object of sample description is interchangeable under appropriate circumstances.In addition, term " includes " and " having " and their any deformation, meaning Figure, which is to cover, non-exclusive includes.For example, containing the process, method of series of steps or containing a series of modules or list The 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 having The step of being clearly listed or module or unit also may include for these process, methods, device, electronic equipment or system Intrinsic 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 equipment System menu in be usually provided with various control instruction, such as standby mode, internetwork connection mode, the notification bar of electronic equipment Setting, alerting pattern setting, storage space management, application permission setting etc..In the various control instruction of electronic equipment, have It 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 makes It 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 user Exhalation 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, example Internetwork connection mode, the standby mode of such as electronic equipment.User can breathe out the exhalation dish by shirtsleeve operation It 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 equipment In.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 area Domain S1 and side touch display area S2, main touch display area S1 are connected with side touch display area S2.Main touch-control is shown There is region S1 touch function and display function namely electronic equipment can show information such as text in main touch display area S1 Word, picture etc., in addition, user can also carry out touch control operation such as clicking operation, slide etc. in main touch display area S2 Deng, 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 touching Control 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 side Make 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 side Touch display area such as only includes left side touch display area or right edge touch display area;It for another example can be simultaneously Including 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 shown Region 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 shown Region S2 can be side touch display area.That is, electronic equipment can show information by side touch display area S2 Such 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 embodiments In, touching display screen S can be curved surface touching display screen, and side touch display area S2 can be with arc area, electronic equipment There can be function identical with main touch display area S1 in side touch display area S2, user can show in main touch-control Region 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 include Following 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 include Click 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 letter Breath 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 operation Operating 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 operation Operation 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 sat Scale 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 position For 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 time Slide 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 user Use habit, the preset time period can also be configured by user.For example, the preset time period can be set to 1s to 3s it Between.
In some embodiments, slide information of the user on touching display screen may include:The position of slide Confidence 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 trace It is made of each press points on display screen in sliding process.When user carries out slide to touching display screen, electronics is set The standby each pressing dot position information that can detect sliding trace of the user on touching display screen, such as starting point, final position letter Breath etc..Wherein, starting point is user in slide, first press points on touching display screen.Terminal is to use The 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 time User 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 reaches When 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-control Display area S2 includes three successively adjacent sub- touch display areas, the respectively first son touching display control region S21, the second son Touching 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 aobvious Show 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 needs Suitable 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 side When 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 time Operation 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 areas The 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 target Breath.
In the embodiment of the present application, corresponding one or more touch command in each part.Electronic equipment display screen is shown not When 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 operates In one sub- touch display area, when practical operation, the operating area of clicking operation can generally be located at two adjacent sub- touch-controls Display area causes to miss at this point, will be unable to get correct touch command based on above-mentioned instruction acquisition modes electronic equipment Operation.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-control When 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 areas There 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 area It 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 directly The 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 shown The probability in region is higher.
In some embodiments, the centre distance between operating area and each sub- touch display area can also be obtained, with From multiple sub- touch display areas, the smallest sub- touch display area of centre distance between determining and operating area, as behaviour Make 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 extract The glide direction of the slide.
Wherein, the glide direction of slide can be glide direction of the user on touching display screen, specifically slide Direction can define according to actual needs, cunning, downslide, left cunning, right cunning as above etc..For example, the direction display screen under display screen Top 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, sliding When 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 slided The 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 offset To 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 application Schematic 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 L Direction 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 every The 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 orientation The 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 sample The 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 minimum The 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 area The 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 set Set 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 ", can To 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 instruction When 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 type Instruction 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 point Hit 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 secondary Number can be primary (such as clicking), or (such as double-click) twice.And duration is clicked for single clicing on, such as click Duration 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 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 to It 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 double It 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 instruction Enable 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, this When can correspond to obtain third command function type, such as screen locking type instruction (such as quick screen locking instruction, timing screen locking instruction Deng).
In some embodiments, step " chooses corresponding touch-control from multiple candidate touch commands according to glide direction to refer to Enable ", 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 slide The corresponding instruction serial number 2 in dynamic direction, then choose touch command B from touch command A, touch command B, touch command C;If The 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 to Enable C.
In one embodiment, it is the accuracy for promoting touch control operation, prevents maloperation, can be combined with sliding distance to obtain Touch command is taken, and executes corresponding touch control operation.For example, slide information may include the glide direction of slide with And 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 electricity Sub- 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 execution After operation, then carry out slide upwards immediately, electronic equipment can detecte slide information, and electronic equipment is available The 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 slide To preset glide direction, the corresponding return instruction of the available upper cunning of electronic equipment, electronic equipment returns aobvious according to return instruction Show 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 sliding Return 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 point It hits operation information and determines operating area of the clicking operation on touching display screen;When operating area is located at side touch display area When 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 to Touch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme can make user quick The 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 include Click 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 operation Operating 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 operation Operation 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 sat Scale 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 position For the operating area.
203, electronic equipment judges whether operating area is located in the touch display area of side;If so, thening follow the steps 204, 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 area Domain 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 areas Domain.
In the embodiment of the present application, corresponding one or more touch command in each part.Electronic equipment display screen is shown not When 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 operates In one sub- touch display area, when practical operation, the operating area of clicking operation can generally be located at two adjacent sub- touch-controls Display area causes to miss at this point, will be unable to get correct touch command based on above-mentioned instruction acquisition modes electronic equipment Operation.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-control When 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 areas There 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 area It 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 directly The 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 shown The probability in region is higher.
In some embodiments, the centre distance between operating area and each sub- touch display area can also be obtained, with From multiple sub- touch display areas, the smallest sub- touch display area of centre distance between determining and operating area, as behaviour Make 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 target Slide 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 user Use habit, the preset time period duration can also be configured by user.For example, the preset time period can be set to 1s extremely Between 3s.
In some embodiments, slide information of the user on touching display screen may include:The position of slide Confidence 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 extract The glide direction of the slide.
Wherein, the glide direction of slide can be glide direction of the user on touching display screen, specifically slide Direction can define according to actual needs, cunning, downslide, left cunning, right cunning as above etc..For example, the direction display screen under display screen Top 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, sliding When 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 information When 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 displacement Direction offset between multiple sample orientations, obtains multiple directions offset, finally determines from multiple directions offset Minimum 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 instruction When 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 secondary Number 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 single Hit), or it (such as double-clicks) twice.And duration is clicked for single clicing on, such as clicking duration is more than certain time length This 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 to It 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 double It 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 instruction Enable 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, this When can correspond to obtain third command function type, such as screen locking type instruction (such as quick screen locking instruction, timing screen locking instruction Deng).
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 type Instruction 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 sliding When direction, the default corresponding instruction serial number of glide direction is obtained;According to instruction serial number and instruction reorder, from multiple candidate instructions Choose 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 slide The 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 desktop Or 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 point It hits operation information and determines operating area of the clicking operation on touching display screen;When operating area is located at side touch display area When 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 to Touch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme can make user quick The 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 equipment In, 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 mould Block 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 information Operating area;
Judgment module 33, for judging in preset time when the operating area is located in the touch display area of side Slide 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 33 The glide direction of dynamic operation;
Instruction acquisition module 35, for obtaining corresponding touch-control according to the clicking operation information and the glide direction Instruction;
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, instruction Acquisition 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 direction Touch command.
In some embodiments, with reference to Figure 11, direction determining mould 34 may include:Position acquisition submodule 341, first Determine 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 trace Second location information;
First determines submodule 342, for determining that the starting point is arrived according to first location information and second location information The direction of displacement of the terminal;
Computational submodule 343 is obtained for calculating the direction offset between the direction of displacement and multiple sample orientations Multiple directions offset;
Second determines submodule 344, for determining minimum direction offset from multiple directions offset, and will be described The 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 made It 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 touching Control the clicking operation information on display screen;Area determination module 32 determines that clicking operation is shown in touch-control according to clicking operation information Operating area on screen;Judgment module 33 judges when operating area is located in the touch display area of side in preset time period Inside whether detect slide information of the user in the touch display area of side;Direction determining mould 34 is in judgment module 33 When being judged to being, the glide direction of slide is determined according to slide information;Instruction acquisition module 35 is according to clicking operation Information and glide direction obtain corresponding touch command;Processing module 36 is based on touch command and executes accordingly to electronic equipment Touch control operation.This programme can make user can quick execution to the touch control operation of electronic equipment, promote the operation of electronic equipment Efficiency.
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, processor 401 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 connection Various pieces, by running or calling the computer program being stored in memory 402, and calling to be stored in memory 402 Interior 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 each Kind 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 user Display screen.The touching display screen may include main touch display area and side touch display area.Wherein, side touch-control is shown Region 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 with On the corresponding instruction of process of computer program be loaded into memory 402, and run by processor 401 and be stored in storage Computer 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 time Slide 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 time When 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 determination The 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 target Information.
In some embodiments, it according to the clicking operation information and the glide direction, obtains corresponding touch-control and refers to When 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 to When 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 direction When 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 to It enables.
In some embodiments, the slide information includes sliding trace.True according to the slide information When 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 offset This direction, the glide direction as the slide.
In some embodiments, determining the clicking operation in the touching display screen according to the clicking operation information On operating area after, judgement whether detect cunning of the user in the side touch display area within a preset period of time Before 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 area Folded 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 stores The instruction that can be executed in the processor.Computer program can form various functional modules.Processor 401 is stored in by calling The 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 into Row 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, and Generate 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, acceleration One 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 through Power-supply management system and processor 401 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The 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 screen Clicking operation information;Operating area of the clicking operation on touching display screen is determined according to clicking operation information;Work as operating area When in the touch display area of side, whether judgement detects user in the touch display area of side within a preset period of time Slide information;If so, determining the glide direction of slide according to slide information;According to clicking operation information And glide direction, obtain corresponding touch command;Corresponding touch control operation is executed to electronic equipment based on touch command.This programme Can 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 described When 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 or Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can store in meter In 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 Only Memory), 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 above It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments Illustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to this The 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 answered It is interpreted as the limitation to the application.

Claims (12)

1.一种触控操作方法,应用于触控显示屏,其特征在于,所述触控显示屏包括主触控显示区域以及侧边触控显示区域,所述触控操作方法包括:1. A touch operation method, which is applied to a touch display, wherein the touch display includes a main touch display area and a side touch display area, and the touch operation method includes: 检测用户在触控显示屏上的点击操作信息,根据所述点击操作信息确定点击操作在所述触控显示屏上的操作区域;Detecting the click operation information of the user on the touch display screen, and determining the operation area of the click operation on the touch display screen according to the click operation information; 当所述操作区域位于侧边触控显示区域内时,判断在预设时间段内是否检测到用户在所述侧边触控显示区域上的滑动操作信息;When the operation area is located in the side touch display area, determine whether the user's sliding operation information on the side touch display area is detected within a preset time period; 若是,则根据所述滑动操作信息确定所述滑动操作的滑动方向;If yes, then determine the sliding direction of the sliding operation according to the sliding operation information; 根据所述点击操作信息和所述滑动方向,获取对应的触控指令;Acquiring a corresponding touch instruction according to the click operation information and the sliding direction; 基于所述触控指令对所述电子设备执行相应的触控操作。A corresponding touch operation is performed on the electronic device based on the touch instruction. 2.根据权利要求1所述的触控操作方法,其特征在于,所述侧边触控显示区域包括多个依次相邻的子触控显示区域;2. The touch operation method according to claim 1, wherein the side touch display area includes a plurality of sequentially adjacent sub-touch display areas; 所述当所述操作区域位于侧边触控显示区域内时,判断在预设时间段内是否检测到用户在所述侧边触控显示区域上的滑动操作信息,包括:When the operation area is located in the side touch display area, judging whether the user’s sliding operation information on the side touch display area is detected within a preset time period includes: 当所述操作区域位于侧边触控显示区域内时,从多个子触控显示区域中确定所述操作区域对应的目标子触控显示区域;When the operation area is located in the side touch display area, determining a target sub-touch display area corresponding to the operation area from a plurality of sub-touch display areas; 判断在预设时间段内,是否检测到用户在所述目标子触控显示区域上的滑动操作信息。It is judged whether the user's sliding operation information on the target sub-touch display area is detected within a preset time period. 3.根据权利要求1所述的触控操作方法,其特征在于,所述根据所述点击操作信息和所述滑动方向,获取对应的触控指令,包括:3. The touch operation method according to claim 1, wherein said acquiring a corresponding touch instruction according to said click operation information and said sliding direction comprises: 根据所述点击操作信息获取对应的指令功能类型;Acquiring the corresponding instruction function type according to the click operation information; 获取所述指令功能类型对应的多个候选触控指令;Obtaining multiple candidate touch commands corresponding to the command function type; 根据所述滑动方向从所述多个候选触控指令中选取对应的触控指令。Selecting a corresponding touch command from the plurality of candidate touch commands according to the sliding direction. 4.根据权利要求3所述的触控操作方法,其特征在于,所述点击操作信息包括:点击时长和/或点击次数;4. The touch operation method according to claim 3, wherein the click operation information includes: click duration and/or number of clicks; 所述根据所述点击操作信息获取对应的指令功能类型,包括:The acquiring the corresponding instruction function type according to the click operation information includes: 当点击时长小于预设时长,且点击次数小于预设次数时,获取第一指令功能类型;When the click duration is less than the preset duration and the number of clicks is less than the preset number of times, the first instruction function type is obtained; 当点击时长小于预设时长,且点击次数达到预设次数时,获取第二指令功能类型;When the click duration is less than the preset duration and the number of clicks reaches the preset number of times, obtain the second instruction function type; 当点击时长达到预设时长,且点击次数小于预设次数时,获取第三指令功能类型。When the click duration reaches the preset duration and the number of clicks is less than the preset number of times, the third instruction function type is acquired. 5.根据权利要求3所述的触控操作方法,其特征在于,所述根据所述滑动方向从所述多个候选触控指令中选取对应的触控指令,包括:5. The touch operation method according to claim 3, wherein the selecting a corresponding touch command from the plurality of candidate touch commands according to the sliding direction comprises: 确定所述多个候选指令的指令排序;determining an instruction ordering of the plurality of candidate instructions; 当所述滑动方向为预设滑动方向时,获取所述预设滑动方向对应的指令序号;When the sliding direction is a preset sliding direction, acquiring an instruction sequence number corresponding to the preset sliding direction; 根据所述指令序号和所述指令排序,从所述多个候选指令中选取对应的触控指令。Selecting a corresponding touch command from the plurality of candidate commands according to the command serial number and the order of the commands. 6.根据权利要求1至5任一项所述的触控操作方法,其特征在于,所述滑动操作信息包括滑动轨迹;所述根据所述滑动操作信息确定所述滑动操作的滑动方向,包括:6. The touch operation method according to any one of claims 1 to 5, wherein the sliding operation information includes a sliding track; determining the sliding direction of the sliding operation according to the sliding operation information includes : 获取所述滑动轨迹的起始点的第一位置信息和终点的第二位置信息;Acquiring the first position information of the starting point and the second position information of the end point of the sliding track; 根据第一位置信息和第二位置信息,确定所述起始点到所述终点的位移方向;determining a displacement direction from the starting point to the end point according to the first position information and the second position information; 计算所述位移方向与多个样本方向之间的方向偏移量,得到多个方向偏移量;calculating directional offsets between the displacement direction and multiple sample directions to obtain multiple directional offsets; 从多个方向偏移量中确定出最小方向偏移量,并将所述最小方向偏移量对应的样本方向,作为所述滑动操作的滑动方向。The minimum direction offset is determined from the plurality of direction offsets, and the sample direction corresponding to the minimum direction offset is used as the sliding direction of the sliding operation. 7.根据权利要求1至5任一项所述的触控操作方法,其特征在于,在根据所述点击操作信息确定所述点击操作在所述触控显示屏上的操作区域之后,判断在预设时间段内是否检测到用户在所述侧边触控显示区域上的滑动操作信息之前,还包括:7. The touch operation method according to any one of claims 1 to 5, characterized in that, after determining the operation area of the click operation on the touch display screen according to the click operation information, it is judged that Before the user's sliding operation information on the side touch display area is detected within the preset time period, it also includes: 获取所述操作区域的面积、以及所述操作区域与所述侧边触控显示区域之间的重叠面积;Obtaining the area of the operation area and the overlapping area between the operation area and the side touch display area; 判断所述重叠面积与所述操作区域的面积的比值是否大于预设阈值;judging whether the ratio of the overlapping area to the area of the operating region is greater than a preset threshold; 若是,则判定所述操作区域位于所述侧边触控显示区域。If yes, it is determined that the operation area is located in the side touch display area. 8.一种触控操作装置,应用触控显示屏,其特征在于,所述触控显示屏包括主触控显示区域以及侧边触控显示区域,所述触控操作装置包括:8. A touch operation device using a touch display, characterized in that the touch display includes a main touch display area and a side touch display area, and the touch operation device includes: 检测模块,用于检测用户在触控显示屏上的点击操作信息;The detection module is used to detect the user's click operation information on the touch display screen; 区域确定模块,用于根据所述点击操作信息确定点击操作在所述触控显示屏上的操作区域;an area determination module, configured to determine an operation area of the click operation on the touch display screen according to the click operation information; 判断模块,用于当所述操作区域位于侧边触控显示区域内时,判断在预设时间段内是否检测到用户在所述侧边触控显示区域上的滑动操作信息;A judging module, configured to judge whether the user's sliding operation information on the side touch display area is detected within a preset time period when the operation area is located in the side touch display area; 方向确定模块,用于若判断模块判定为是,则根据所述滑动操作信息确定所述滑动操作的滑动方向;A direction determining module, configured to determine the sliding direction of the sliding operation according to the sliding operation information if the judging module judges yes; 指令获取模块,用于根据所述点击操作信息和所述滑动方向,获取对应的触控指令;An instruction acquisition module, configured to acquire a corresponding touch instruction according to the click operation information and the sliding direction; 处理模块,用于基于所述触控指令对所述电子设备执行相应的触控操作。A processing module, configured to perform a corresponding touch operation on the electronic device based on the touch instruction. 9.根据权利要求8所述的触控操作装置,其特征在于,所述指令获取模块包括:9. The touch operation device according to claim 8, wherein the instruction obtaining module comprises: 类型获取子模块,用于根据所述点击操作信息获取对应的指令功能类型;A type acquisition submodule, configured to acquire the corresponding instruction function type according to the click operation information; 指令获取子模块,用于获取所述指令功能类型对应的多个候选触控指令;An instruction acquisition submodule, configured to acquire multiple candidate touch instructions corresponding to the instruction function type; 选取子模块,用于根据所述滑动方向从所述多个候选触控指令中选取对应的触控指令。The selection sub-module is used to select a corresponding touch command from the plurality of candidate touch commands according to the sliding direction. 10.根据权利要求8所述的触控操作装置,其特征在于,所述方向确定模块包括:10. The touch operation device according to claim 8, wherein the direction determining module comprises: 位置获取子模块,用于获取所述滑动轨迹的起始点的第一位置信息和终点的第二位置信息;A position acquisition submodule, configured to acquire the first position information of the starting point and the second position information of the end point of the sliding track; 第一确定子模块,用于根据第一位置信息和第二位置信息,确定所述起始点到所述终点的位移方向;The first determination submodule is used to determine the displacement direction from the starting point to the end point according to the first position information and the second position information; 计算子模块,用于计算所述位移方向与多个样本方向之间的方向偏移量,得到多个方向偏移量;A calculation sub-module is used to calculate the directional offset between the displacement direction and multiple sample directions to obtain multiple directional offsets; 第二确定子模块,用于从多个方向偏移量中确定出最小方向偏移量,并将所述最小方向偏移量对应的样本方向,作为所述滑动操作的滑动方向。The second determining submodule is configured to determine a minimum direction offset from the plurality of direction offsets, and use the sample direction corresponding to the minimum direction offset as the sliding direction of the sliding operation. 11.一种存储介质,其特征在于,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1至7任一项所述的触控操作方法。11. A storage medium, characterized in that a computer program is stored in the storage medium, and when the computer program is run on a computer, the computer is made to perform the touch control according to any one of claims 1 to 7. How to do it. 12.一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行权利要求1至7任一项所述的触控操作方法。12. An electronic device, characterized in that the electronic device comprises a processor and a memory, a computer program is stored in the memory, and the processor is used to execute the computer program by calling the computer program stored in the memory The touch operation method described in any one of claims 1 to 7.
CN201810726477.6A 2018-07-04 2018-07-04 Touch operation method, device, storage medium and electronic device Pending CN108920055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810726477.6A CN108920055A (en) 2018-07-04 2018-07-04 Touch operation method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810726477.6A CN108920055A (en) 2018-07-04 2018-07-04 Touch operation method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN108920055A true CN108920055A (en) 2018-11-30

Family

ID=64423909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810726477.6A Pending CN108920055A (en) 2018-07-04 2018-07-04 Touch operation method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108920055A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781480A (en) * 2019-10-17 2020-02-11 珠海格力电器股份有限公司 Information input method, device and storage medium
CN110851099A (en) * 2019-11-11 2020-02-28 维沃移动通信有限公司 Adjusting method and electronic equipment
CN111127780A (en) * 2019-12-25 2020-05-08 福建新大陆支付技术有限公司 PIN input detection method of full-touch POS terminal
CN112817513A (en) * 2021-01-20 2021-05-18 歌尔科技有限公司 Audio playing device touch control method, audio playing device and storage medium
CN114647349A (en) * 2020-12-17 2022-06-21 中移(苏州)软件技术有限公司 Expression information selection method and device, electronic equipment and storage medium
CN118466809A (en) * 2024-07-09 2024-08-09 深圳市亚米拉电子科技有限公司 Device adjusting method, device, medium and device based on touch pad triggering

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629185A (en) * 2012-02-29 2012-08-08 中兴通讯股份有限公司 Processing method of touch operation and mobile terminal
CN105100627A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 A camera control method and terminal
CN105549895A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN106325749A (en) * 2016-08-25 2017-01-11 维沃移动通信有限公司 Operation method of mobile terminal, and mobile terminal
CN106406656A (en) * 2016-08-30 2017-02-15 维沃移动通信有限公司 Application program toolbar control method and mobile terminal
CN107678674A (en) * 2017-09-30 2018-02-09 联想(北京)有限公司 Touch control method, electronic equipment and storage medium
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 Touch operation method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629185A (en) * 2012-02-29 2012-08-08 中兴通讯股份有限公司 Processing method of touch operation and mobile terminal
CN105100627A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 A camera control method and terminal
CN105549895A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN106325749A (en) * 2016-08-25 2017-01-11 维沃移动通信有限公司 Operation method of mobile terminal, and mobile terminal
CN106406656A (en) * 2016-08-30 2017-02-15 维沃移动通信有限公司 Application program toolbar control method and mobile terminal
CN107678674A (en) * 2017-09-30 2018-02-09 联想(北京)有限公司 Touch control method, electronic equipment and storage medium
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 Touch operation method and device, storage medium and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781480A (en) * 2019-10-17 2020-02-11 珠海格力电器股份有限公司 Information input method, device and storage medium
CN110851099A (en) * 2019-11-11 2020-02-28 维沃移动通信有限公司 Adjusting method and electronic equipment
CN111127780A (en) * 2019-12-25 2020-05-08 福建新大陆支付技术有限公司 PIN input detection method of full-touch POS terminal
CN114647349A (en) * 2020-12-17 2022-06-21 中移(苏州)软件技术有限公司 Expression information selection method and device, electronic equipment and storage medium
CN112817513A (en) * 2021-01-20 2021-05-18 歌尔科技有限公司 Audio playing device touch control method, audio playing device and storage medium
CN118466809A (en) * 2024-07-09 2024-08-09 深圳市亚米拉电子科技有限公司 Device adjusting method, device, medium and device based on touch pad triggering
CN118466809B (en) * 2024-07-09 2024-10-22 深圳市亚米拉电子科技有限公司 Device adjusting method, device, medium and device based on touch pad triggering

Similar Documents

Publication Publication Date Title
CN108920055A (en) Touch operation method, device, storage medium and electronic device
CN105824559B (en) False touch recognition and processing method and electronic equipment
CN108958627B (en) Touch operation method and device, storage medium and electronic equipment
CN105912260B (en) The startup method and mobile terminal of a kind of application program
WO2013161171A1 (en) Input device, input assistance method, and program
US9459704B2 (en) Method and apparatus for providing one-handed user interface in mobile device having touch screen
US20150077362A1 (en) Terminal with fingerprint reader and method for processing user input through fingerprint reader
US20130227419A1 (en) Apparatus and method for switching active application
CN107613203B (en) Image processing method and mobile terminal
EP2770423A2 (en) Method and apparatus for operating object in user device
CN107665434B (en) Payment method and mobile terminal
CN104808936B (en) Interface operation method and portable electronic device applying same
KR20150033508A (en) Icon moving method and touch-type portable terminal to which the method is applied
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN107395871B (en) Method and device for opening application, storage medium and terminal
CN104714637B (en) Polygonal gesture detection and interaction method, device and computer program product
US9477398B2 (en) Terminal and method for processing multi-point input
JPWO2014034031A1 (en) Information input device and information display method
CN101123445A (en) Portable terminal and user interface control method
CN108984096A (en) Touch operation method, device, storage medium and electronic device
CN109933252A (en) A kind of icon moving method and terminal device
KR100848272B1 (en) Method of displaying an icon of a mobile terminal having a touch screen
CN108984097B (en) Touch operation method, device, storage medium and electronic device
CN109002339A (en) Touch operation method and device, storage medium and electronic equipment
JP6411067B2 (en) Information processing apparatus and input method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication