CN108984090A - touch operation method, device, storage medium and electronic equipment - Google Patents

touch operation method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108984090A
CN108984090A CN201810680801.5A CN201810680801A CN108984090A CN 108984090 A CN108984090 A CN 108984090A CN 201810680801 A CN201810680801 A CN 201810680801A CN 108984090 A CN108984090 A CN 108984090A
Authority
CN
China
Prior art keywords
touch command
touch
electronic equipment
state
sliding distance
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
CN201810680801.5A
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 CN201810680801.5A priority Critical patent/CN108984090A/en
Publication of CN108984090A publication Critical patent/CN108984090A/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Abstract

It includes: when detecting the slide on display screen, to obtain the sliding distance of the slide that the embodiment of the present application, which provides a kind of touch operation method, device, storage medium and electronic equipment, the touch operation method,;The display state of the display screen is obtained, the display state includes main screen state and application interface state;Touch command is obtained according to the sliding distance and the display state;Touch control operation is carried out to the electronic equipment according to the touch command.In the touch operation method, electronic equipment can obtain touch command according to the display state of the sliding distance of user's slide and display screen, and touch control operation is carried out to electronic equipment, so that the operating efficiency of electronic equipment can be improved with quick execution to the touch control operation of electronic equipment in user.

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 electronic equipment, and the electronic equipment includes display Screen, the touch operation method include:
When detecting the slide on display screen, the sliding distance of the slide is obtained;
The display state of the display screen is obtained, the display state includes main screen state and application interface state;
Touch command is obtained according to the sliding distance and the display state;
Touch control operation is carried out to the electronic equipment according to the touch command.
The embodiment of the present application also provides a kind of touch control operation device, is applied to electronic equipment, and the electronic equipment includes aobvious Display screen, the touch control operation device include:
Detection module, for obtaining the sliding distance of the slide when detecting the slide on display screen;
State acquisition module, for obtaining the display state of the display screen, the display state includes main screen state With application interface state;
Instruction acquisition module, for obtaining touch command according to the sliding distance and the display state;
Touch-control module, for carrying out touch control operation to the electronic equipment according to 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.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment includes display screen and processor, described aobvious Display screen and the processor are electrically connected, in which:
The display screen is used for when detecting slide, obtains the sliding distance of the slide;
The display screen is also used to obtain the display state of the display screen, the display state include main screen state and Application interface state;
The processor is used to obtain touch command according to the sliding distance and the display state, and according to the touching Control instruction carries out touch control operation to the electronic equipment.
Touch operation method provided by the embodiments of the present application, comprising: when detecting the slide on display screen, obtain institute State the sliding distance of slide;The display state of the display screen is obtained, the display state includes main screen state and answers Use interface state;Touch command is obtained according to the sliding distance and the display state;According to the touch command to described Electronic equipment carries out touch control operation.In the touch operation method, electronic equipment can according to the sliding of user's slide away from From and display screen display state to obtain touch command, and touch control operation is carried out to electronic equipment, so that user can With quick execution to the touch control operation of electronic equipment, the operating efficiency of electronic equipment can be improved.
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 that touch control operation is carried out to electronic equipment.
Fig. 2 is the first flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 3 is second of flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 4 is the third flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 5 is the 4th kind of flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 6 is the 5th kind of flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 7 is the 6th kind of flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 8 is the 7th kind of flow diagram of touch operation method provided by the embodiments of the present application.
Fig. 9 is the 8th kind of flow diagram of touch operation method provided by the embodiments of the present application.
Figure 10 is the application scenarios schematic diagram of touch operation method provided by the embodiments of the present application.
Figure 11 is the structural schematic diagram of touch control operation device provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 13 is another 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 includes display screen.Wherein, the display screen can be touch screen or touch screen.User can be to institute It states display screen and carries out touch control operation.The electronic equipment can be smart phone, tablet computer, game station, AR (Augmented Reality, augmented reality) equipment, automobile, data storage device, audio playing apparatus, video play device, Notebook, Desktop computing device etc..
In some embodiments, as shown in Fig. 2, the touch operation method may comprise steps of:
110, when detecting the slide on display screen, obtain the sliding distance of the slide.
Wherein, electronic equipment includes display screen.The display screen is that touch screen or touch screen namely user can pass through institute It states display screen and touch control operation is carried out to electronic equipment.User may include that clicking operation and sliding are grasped to the touch control operation of display screen Make.It should be understood that in clicking operation, the operations such as user can click display screen, double-click;In slide, user Continued depression display screen, while pressing position is slided during pressing.
When user carries out slide to display screen, sliding trace can be formed on a display screen.The sliding trace includes Each press points during user's slide on a display screen.
When electronic equipment detects the slide on display screen, namely detect that user carries out slide to display screen When, electronic equipment obtains the sliding distance of the slide.Wherein, the sliding distance is sliding in the slide of user The distance between dynamic starting point extremely sliding terminal, it is understood that be the length of the sliding trace.
In some embodiments, the display screen includes display area.The display area is for showing image, text etc. Information.The slide can be the slide namely the slide that user carries out in the display area bottom Sliding starting point be located at the bottom of the display area.Wherein, when the bottom of display area is the display on-screen-display message, The bottom of display area.
When electronic equipment detects the slide of the display area bottom of display screen, the slide is obtained Sliding distance.
120, the display state of the display screen is obtained, the display state includes main screen state and application interface shape State.
After electronic equipment gets the sliding distance of the slide, the display shape of the display screen is further obtained State.The display state includes main screen state and application interface state.
Wherein, main screen is the desktop of the electronic equipment in being generally understood.Main screen state indicates display screen display electricity The main screen of sub- equipment, or it can be appreciated that show the desktop of electronic equipment.At this point, not applying in electronic equipment preceding Platform operation, electronic equipment are in standby.
Application interface state indicates have in electronic equipment using just in front stage operation, and display screen shows to be front stage operation The application interface of application program.For example, when electronic equipment foreground is currently running social application, shopping application etc. in application, electronics What the display screen of equipment was shown is application interface, and the display state of display screen is application interface state at this time.
It should be noted that electronic equipment obtains sliding distance and the acquisition of the slide in the embodiment of the present application Strict sequence is had no between the display state of display screen.That is, when electronic equipment detects that the sliding on display screen is grasped After work, the sliding distance of the slide can be first obtained, then obtain the display state of the display screen;It can also first obtain The display state of the display screen, then obtain the sliding distance of the slide;Alternatively, the sliding can also be obtained simultaneously The display state of the sliding distance of operation and the display screen.
130, touch command is obtained according to the sliding distance and the display state.
It, can be according to described after electronic equipment gets the sliding distance of slide and the display state of display screen respectively Sliding distance and the display state obtain touch command.Wherein, the touch command is used to indicate electronic equipment and carries out accordingly Operation.For example, the touch command may include turn on notice center, screen locking, exit the fingers such as application, opening control centre It enables.
Wherein, when the sliding distance difference, the touch command got be can be different.The display state of display screen When different, the touch command got is also possible to different.
140, touch control operation is carried out to the electronic equipment according to the touch command.
After electronic equipment gets touch command, touch-control behaviour can be carried out to the electronic equipment according to the touch command Make.
For example, the touch command that electronic equipment is got is opens notice center, then electronic equipment breathes out notice center, uses Family can operate notice center.For another example the touch command that electronic equipment is got is screen locking, then electronic equipment locks Screen simultaneously puts out screen.For another example the touch command that electronic equipment is got is to exit application, then electronic equipment control current foreground is transported Capable application is exited.
In some embodiments, as shown in figure 3, step 130, according to the sliding distance and the display state obtaining touching Control instruction, comprising the following steps:
131, judge whether the sliding distance is greater than pre-determined distance threshold value;
132, if the sliding distance is greater than the pre-determined distance threshold value, touch-control is obtained according to the display state and is referred to It enables.
Wherein, a pre-determined distance threshold value can be preset in electronic equipment.The pre-determined distance threshold value can be one A length value.For example, pre-determined distance threshold value can be 20mm (millimeter).
In some embodiments, the pre-determined distance threshold value can also be related to the size of display screen, and a not tool The length value of body.It for example, pre-determined distance threshold value can be the one third of display screen length, or may be that display screen is wide The one third of degree, or may be the half, etc. of display screen width.
Wherein, the different display states in electronic equipment for display screen can preset a corresponding touch-control respectively Instruction.For example, the corresponding touch command of main screen state can be to open notice center, the corresponding touch-control of application interface state refers to Order can be to exit application.
After electronic equipment gets the sliding distance of slide, the sliding distance that can will acquire and it is described it is default away from It is compared from threshold value, to judge whether the sliding distance is greater than the pre-determined distance threshold value.If the sliding distance is greater than The pre-determined distance threshold value, then electronic equipment obtains touch command according to the display state of the display screen.For example, when display When state is main screen state, the touch command got can be opening notice center;When display state is application interface shape When state, the touch command got can be to exit the application of current foreground operation.
In addition, if the sliding distance is less than or equal to no more than the pre-determined distance threshold value namely the sliding distance When the pre-determined distance threshold value, then it is assumed that slide at this time is invalid operation, and electronic equipment can be refused to the sliding Operation is responded.
In some embodiments, as shown in figure 4, step 130, according to the sliding distance and the display state obtaining touching Control instruction, comprising the following steps:
133, it determines locating for the sliding distance apart from section;
134, touch command menu is obtained apart from section according to described;
135, touch command is obtained from the touch command menu according to the display state.
Wherein it is possible to be arranged in the electronic device in advance multiple apart from section.For example, can be set (5mm, 10mm], (10mm, 15mm], (15mm, 20mm] etc. it is multiple apart from section.
After electronic equipment gets the sliding distance of slide, distance regions locating for the sliding distance can be determined Between.Specifically, the sliding distance can be compared with each endpoint value apart from section by electronic equipment respectively, with true Apart from section locating for the fixed sliding distance.For example, the sliding distance that gets of electronic equipment is 12mm, then the sliding away from With a distance from locating section be (10mm, 15mm].
In addition, in electronic equipment a corresponding touch command menu can be preset apart from section for each.Its In, it include multiple instruction in each touch command menu.For example, apart from section (5mm, 10mm] corresponding touch command dish List can be touch command menu A, (10mm, 15mm] corresponding touch command menu can be touch command menu B, (15mm, 20mm] corresponding touch command menu can be touch command menu C.
Wherein, it in each described touch command menu, can be set in advance respectively for the different display state of display screen Set a corresponding touch command.For example, referring in touch command menu A for the corresponding touch-control of main screen state of display screen Enabling to be A1, and the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, needle It can be B1 to the corresponding touch command of main screen state of display screen, for the corresponding touch-control of application interface state of display screen Instruction can be B2;In touch command menu C, the corresponding touch command of main screen state for display screen can be C1, needle It can be C2 to the corresponding touch command of application interface state of display screen.
Electronic equipment is determined locating for the sliding distance behind section, can be touched according to described obtain apart from section Command menu is controlled, touch command is then obtained from the touch command menu according to the display state.
For example, locating for the sliding distance apart from section be (10mm, 15mm], the display state of electronic equipment display screen For main screen state, then the touch command menu that electronic equipment is got is touch command menu B, and subsequent electronic equipment is from touch-control The touch command got in command menu B is touch command B1.
In some embodiments, as shown in figure 5, step 130, according to the sliding distance and the display state obtaining touching It is further comprising the steps of before control instruction:
160, obtain the glide direction of the slide;
Step 130 obtains touch command according to the sliding distance and the display state, comprising the following steps:
136, touch command is obtained according to the sliding distance, the glide direction and the display state.
After electronic equipment gets the sliding distance of the slide, the cunning of the slide can be further obtained Dynamic direction.Wherein, glide direction is that the sliding starting point of the slide is directed toward the direction of sliding terminal.For example, electronics is set The standby glide direction got can be for upwards, downwards, to the left, to the right, etc..
Then, electronic equipment is according to the display state of the sliding distance of the slide, glide direction and display screen To obtain touch command.
In some embodiments, as shown in fig. 6, step 136, according to the sliding distance, the glide direction and institute It states display state and obtains touch command, comprising the following steps:
1361, judge whether the sliding distance is greater than pre-determined distance threshold value;
1362, if the sliding distance is greater than the pre-determined distance threshold value, touch-control is obtained according to the glide direction and is referred to Enable menu;
1363, touch command is obtained from the touch command menu according to the display state.
Each glide direction in electronic equipment for the slide can preset a touch command dish It is single.For example, corresponding touch command menu is touch command menu A, glide direction corresponding touch-control downwards to glide direction upwards Command menu is touch command menu B.It wherein, include multiple touch commands in each described touch command menu.
In addition, the different display states in each described touch command menu for display screen can be preset respectively One corresponding touch command.For example, in touch command menu A, for the corresponding touch command of main screen state of display screen It can be A1, the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, for The corresponding touch command of main screen state of display screen can be B1, refer to for the corresponding touch-control of application interface state of display screen Order can be B2.
Electronic equipment may determine that whether the sliding distance got is greater than pre-determined distance threshold value.If the sliding distance is big In the pre-determined distance threshold value, then electronic equipment obtains touch-control corresponding with the glide direction according to the glide direction got Command menu.Then, electronic equipment is obtained from the touch command menu and the display according to the display state of display screen The corresponding touch command of state.
For example, the glide direction that electronic equipment is got be it is upward, the display state of display screen is main screen state, is such as schemed Shown in 10, then the touch command menu that electronic equipment is got is touch command menu A, is then obtained from touch command menu A The touch command taken is touch command A1.
In some embodiments, as shown in fig. 7, step 136, according to the sliding distance, the glide direction and institute It states display state and obtains touch command, comprising the following steps:
1364, it determines locating for the sliding distance apart from section;
1365, touch command menu is obtained apart from section according to described;
1366, touch command submenu is obtained from the touch command menu according to the glide direction;
1367, touch command is obtained from the touch command submenu according to the display state.
Wherein, it can be preset in electronic equipment multiple apart from section.For example, can be set (5mm, 10mm], (10mm, 15mm], (15mm, 20mm] etc. it is multiple apart from section.Also, a phase can be preset apart from section for each The touch command menu answered.It wherein, include multiple touch command submenus in each touch command menu.For example, distance Section (5mm, 10mm] corresponding touch command menu can be touch command menu A, (10mm, 15mm] corresponding touch command Menu can be touch command menu B, (15mm, 20mm] corresponding touch command menu can be touch command menu C.
In addition, in each described touch command menu, it can be preparatory respectively for the different glide directions of slide One corresponding touch command submenu is set.It wherein, include multiple touch commands in each described touch command submenu. For example, corresponding touch command submenu is touch command submenu Aa, sliding to glide direction upwards in touch command menu A Corresponding touch command submenu is Ab downwards in direction;In touch command menu B, corresponding touch command is sub upwards for glide direction Menu is touch command submenu Ba, and corresponding touch command submenu is Bb to glide direction downwards;In touch command menu C, Corresponding touch command submenu is touch command submenu Ca, glide direction corresponding touch command downwards to glide direction upwards Submenu is Cb.
In addition, in each described touch command submenu, it can be preparatory respectively for the different display states of display screen One corresponding touch command is set.For example, the corresponding touch-control of main screen state of display screen refers in touch command submenu Aa Enabling to be Aa1, and the corresponding touch command of application interface state of display screen can be Aa2;In touch command submenu Bb, show The corresponding touch command of main screen state of display screen can be Bb1, and the corresponding touch command of application interface state of display screen can Think Bb2, etc..
After electronic equipment gets the sliding distance of slide, distance regions locating for the sliding distance can be determined Between.Then, according to determining to obtain apart from section with described apart from the corresponding touch command menu in section.Then, according to institute The glide direction for stating slide obtains the sub- dish of touch command corresponding with the glide direction from the touch command menu It is single.Finally, being obtained from the touch command submenu according to the display state of display screen and the touch command submenu pair The touch command answered.
For example, the sliding distance that gets of electronic equipment is 12mm, glide direction be it is downward, the display state of display screen is Application interface state, then locating for the sliding distance apart from section be (10mm, 15mm].Then, electronic equipment is got Touch command menu is touch command menu B, and the touch command submenu got from touch command menu B is touch command Submenu Bb, the touch command got from the touch command submenu Bb are Bb2.
In some embodiments, as shown in figure 8, step 130, according to the sliding distance and the display state obtaining touching It is further comprising the steps of before control instruction:
170, obtain the location information of the sliding terminal of the slide;
Step 130 obtains touch command according to the sliding distance and the display state, comprising the following steps:
137, touch command is obtained according to the sliding distance, the location information and the display state.
After electronic equipment gets the sliding distance of the slide, the cunning of the slide can be further obtained The location information of dynamic terminal.Wherein, the location information includes that the sliding terminal is locating on the display screen of electronic equipment Position.
Then, electronic equipment is according to the sliding distance of the slide, the position for sliding terminal of the slide Information and the display state of display screen obtain touch command.
In some embodiments, as shown in figure 9, step 137, according to the sliding distance, the location information and institute It states display state and obtains touch command, comprising the following steps:
1371, judge whether the sliding distance is greater than pre-determined distance threshold value;
1372, if the sliding distance is greater than the pre-determined distance threshold value, the cunning is determined according to the positional information The location type of dynamic terminal, the location type includes display area and non-display area;
1373, touch command menu is obtained according to the location type;
1374, touch command is obtained from the touch command menu according to the display state.
The display screen of electronic equipment may include display area and non-display area.Wherein, non-display area can be set It can be set around display area in the upper and lower part of display area, or also.Display area is for executing display screen Display function, for showing the information such as image, text.Non-display area can be used for being arranged range sensor, receiver, show The functional units such as display screen touch control electrode.
Electronic equipment may determine that whether the sliding distance got is greater than pre-determined distance threshold value.If the sliding distance is big In the pre-determined distance threshold value, then the position of the sliding terminal is determined according to the location information of the sliding terminal of the slide Set type.Wherein, the location type includes display area and non-display area.When the sliding terminal is located at the aobvious of display screen When showing region, the location type of the sliding terminal is display area;When the sliding terminal is located at the non-display area of display screen When domain, the location type of the sliding terminal is non-display area.
Wherein, sensor has can be set in the non-display area of electronic equipment display screen, and the touch-control for incuding user is grasped Make.For example, the sensor of the types such as pressure sensor, capacitance sensor can be set in the non-display area bottom of display screen, To which the non-display area of display screen can also sense the touch control operation of user.
Wherein, in electronic equipment for slide sliding terminal location type can preset respectively one it is right The touch command menu answered.It include multiple touch commands in each described touch command menu.For example, location type is aobvious Show when region that corresponding touch command menu is touch command menu A, location type when being non-display area corresponding touch-control refer to Enabling menu is touch command menu B.
In addition, the different display states in each described touch command menu for display screen can be preset respectively One corresponding touch command.For example, in touch command menu A, for the corresponding touch command of main screen state of display screen It can be A1, the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, for The corresponding touch command of main screen state of display screen can be B1, refer to for the corresponding touch-control of application interface state of display screen Order can be B2.
After electronic equipment determines the location type of sliding terminal of the slide, is obtained and touched according to the location type Control command menu.Then, electronic equipment is obtained from the touch command menu according to the display state of display screen shows with described Show the corresponding touch command of state.
For example, the location type of the sliding terminal of slide is non-display area, the display state of display screen is main screen Tentiform state, then the touch command menu that electronic equipment is got are touch command menu B, and subsequent electronic equipment refers to from the touch-control Enabling the touch command got in menu B is touch command B1.
When it is implemented, the application is not limited by the execution sequence of described each step, conflict is not being generated In the case of, certain steps can also be carried out using other sequences or be carried out simultaneously.
From the foregoing, it will be observed that touch operation method provided by the embodiments of the present application, comprising: detect the slide on display screen When, obtain the sliding distance of the slide;The display state of the display screen is obtained, the display state includes main screen State and application interface state;Touch command is obtained according to the sliding distance and the display state;Referred to according to the touch-control It enables and touch control operation is carried out to the electronic equipment.In the touch operation method, electronic equipment can be according to user's slide Sliding distance and display screen display state to obtain touch command, and touch control operation is carried out to electronic equipment, to make The operating efficiency of electronic equipment can be can be improved with quick execution to the touch control operation of electronic equipment by obtaining user.
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 includes display screen.Wherein, the display screen can be touch screen or touch screen.User can be to institute It states display screen and carries out touch control operation.The electronic equipment can be smart phone, tablet computer, game station, AR (Augmented Reality, augmented reality) equipment, automobile, data storage device, audio playing apparatus, video play device, Notebook, Desktop computing device etc..
As shown in figure 11, touch control operation device 200 may include: detection module 201, state acquisition module 202, instruct and obtain Modulus block 203, touch-control module 204.
Detection module 201, for when detecting the slide on display screen, obtain the sliding of the slide away from From.
Wherein, electronic equipment includes display screen.The display screen is that touch screen or touch screen namely user can pass through institute It states display screen and touch control operation is carried out to electronic equipment.User may include that clicking operation and sliding are grasped to the touch control operation of display screen Make.It should be understood that in clicking operation, the operations such as user can click display screen, double-click;In slide, user Continued depression display screen, while pressing position is slided during pressing.
When user carries out slide to display screen, sliding trace can be formed on a display screen.The sliding trace includes Each press points during user's slide on a display screen.
When detection module 201 detects the slide on display screen, namely detect that user slides display screen When operation, the sliding distance of the slide is obtained.Wherein, the sliding distance is and slides in the slide of user The distance between point extremely sliding terminal, it is understood that be the length of the sliding trace.
In some embodiments, the display screen includes display area.The display area is for showing image, text etc. Information.The slide can be the slide namely the slide that user carries out in the display area bottom Sliding starting point be located at the bottom of the display area.Wherein, when the bottom of display area is the display on-screen-display message, The bottom of display area.
When detection module 201 detects the slide of the display area bottom of display screen, the sliding is obtained The sliding distance of operation.
State acquisition module 202, for obtaining the display state of the display screen, the display state includes main screen tentiform State and application interface state.
After detection module 201 gets the sliding distance of the slide, state acquisition module 202 further obtains institute State the display state of display screen.The display state includes main screen state and application interface state.
Wherein, main screen is the desktop of the electronic equipment in being generally understood.Main screen state indicates display screen display electricity The main screen of sub- equipment, or it can be appreciated that show the desktop of electronic equipment.At this point, not applying in electronic equipment preceding Platform operation, electronic equipment are in standby.
Application interface state indicates have in electronic equipment using just in front stage operation, and display screen shows to be front stage operation The application interface of application program.For example, when electronic equipment foreground is currently running social application, shopping application etc. in application, electronics What the display screen of equipment was shown is application interface, and the display state of display screen is application interface state at this time.
It should be noted that detection module 201 obtains the sliding distance and shape of the slide in the embodiment of the present application Strict sequence is had no between the display state of the state acquisition acquisition display screen of module 202.That is, when detection module 201 is examined After measuring the slide on display screen, the sliding distance of the slide can be first obtained, then obtain the display screen Display state;The display state of the display screen can also be first obtained, then obtains the sliding distance of the slide;Alternatively, The sliding distance of the slide and the display state of the display screen can also be obtained simultaneously.
Instruction acquisition module 203, for obtaining touch command according to the sliding distance and the display state.
Detection module 201 gets the sliding distance of slide and state acquisition module 202 gets display screen After display state, instruction acquisition module 203 can obtain touch command according to the sliding distance and the display state.Its In, the touch command is used to indicate electronic equipment and carries out corresponding operation.For example, the touch command may include turn on it is logical Know center, screen locking, exit the instructions such as application, opening control centre.
Wherein, when the sliding distance difference, the touch command got be can be different.The display state of display screen When different, the touch command got is also possible to different.
Touch-control module 204, for carrying out touch control operation to the electronic equipment according to the touch command.
After instruction acquisition module 203 gets touch command, touch-control module 204 can be according to the touch command to described Electronic equipment carries out touch control operation.
For example, the touch command that instruction acquisition module 203 is got is opens notice center, then touch-control module 204 breathes out Notice center, user can operate notice center.For another example the touch command that instruction acquisition module 203 is got is Screen locking then 204 lock-screen of touch-control module and puts out screen.For another example the touch command that instruction acquisition module 203 is got is to exit Using the application that then touch-control module 204 controls current foreground operation is exited.
In some embodiments, instruction acquisition module 203 is for executing following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command is obtained according to the display state.
Wherein, a pre-determined distance threshold value can be preset in electronic equipment.The pre-determined distance threshold value can be one A length value.For example, pre-determined distance threshold value can be 20mm (millimeter).
In some embodiments, the pre-determined distance threshold value can also be related to the size of display screen, and a not tool The length value of body.It for example, pre-determined distance threshold value can be the one third of display screen length, or may be that display screen is wide The one third of degree, or may be the half, etc. of display screen width.
Wherein, the different display states in electronic equipment for display screen can preset a corresponding touch-control respectively Instruction.For example, the corresponding touch command of main screen state can be to open notice center, the corresponding touch-control of application interface state refers to Order can be to exit application.
After detection module 201 gets the sliding distance of slide, cunning that instruction acquisition module 203 can will acquire Dynamic distance is compared with the pre-determined distance threshold value, to judge whether the sliding distance is greater than the pre-determined distance threshold value. If the sliding distance is greater than the pre-determined distance threshold value, instruction acquisition module 203 is according to the display state of the display screen To obtain touch command.For example, the touch command got can be in opening notice when the state of display is main screen state The heart;When the state of display is application interface state, the touch command got can be to exit the application of current foreground operation.
In addition, if the sliding distance is less than or equal to no more than the pre-determined distance threshold value namely the sliding distance When the pre-determined distance threshold value, then it is assumed that slide at this time is invalid operation, and instruction acquisition module 203 can be refused to institute Slide is stated to be responded.
In some embodiments, instruction acquisition module 203 is for executing following steps:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command is obtained from the touch command menu according to the display state.
Wherein it is possible to be arranged in the electronic device in advance multiple apart from section.For example, can be set (5mm, 10mm], (10mm, 15mm], (15mm, 20mm] etc. it is multiple apart from section.
After detection module 201 gets the sliding distance of slide, instruction acquisition module 203 can determine the sliding Apart from locating apart from section.Specifically, instruction acquisition module 203 can be by the sliding distance respectively with each apart from section Endpoint value be compared, with locating for the determination sliding distance apart from section.For example, what detection module 201 was got Sliding distance is 12mm, then locating for the sliding distance apart from section be (10mm, 15mm].
In addition, in electronic equipment a corresponding touch command menu can be preset apart from section for each.Its In, it include multiple instruction in each touch command menu.For example, apart from section (5mm, 10mm] corresponding touch command dish List can be touch command menu A, (10mm, 15mm] corresponding touch command menu can be touch command menu B, (15mm, 20mm] corresponding touch command menu can be touch command menu C.
Wherein, it in each described touch command menu, can be set in advance respectively for the different display state of display screen Set a corresponding touch command.For example, referring in touch command menu A for the corresponding touch-control of main screen state of display screen Enabling to be A1, and the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, needle It can be B1 to the corresponding touch command of main screen state of display screen, for the corresponding touch-control of application interface state of display screen Instruction can be B2;In touch command menu C, the corresponding touch command of main screen state for display screen can be C1, needle It can be C2 to the corresponding touch command of application interface state of display screen.
Instruction acquisition module 203 determines locating for the sliding distance behind section, can be according to the distance regions Between obtain touch command menu, touch command is then obtained from the touch command menu according to the display state.
For example, locating for the sliding distance apart from section be (10mm, 15mm], the display state of electronic equipment display screen For main screen state, then the touch command menu that instruction acquisition module 203 is got is touch command menu B, then from touch-control The touch command got in command menu B is touch command B1.
In some embodiments, detection module 201 is also used to execute following steps:
Obtain the glide direction of the slide;
When obtaining touch command according to the sliding distance and the display state, instruction acquisition module 203 is for executing Following steps:
Touch command is obtained according to the sliding distance, the glide direction and the display state.
After detection module 201 gets the sliding distance of the slide, the slide can be further obtained Glide direction.Wherein, glide direction is that the sliding starting point of the slide is directed toward the direction of sliding terminal.For example, inspection Surveying the glide direction that gets of module 201 can be for upwards, downwards, to the left, to the right, etc..
Then, instruction acquisition module 203 is according to the aobvious of the sliding distance of the slide, glide direction and display screen Show state to obtain touch command.
In some embodiments, touch-control is obtained according to the sliding distance, the glide direction and the display state When instruction, instruction acquisition module 203 is for executing following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command dish is obtained according to the glide direction It is single;
Touch command is obtained from the touch command menu according to the display state.
Each glide direction in electronic equipment for the slide can preset a touch command dish It is single.For example, corresponding touch command menu is touch command menu A, glide direction corresponding touch-control downwards to glide direction upwards Command menu is touch command menu B.It wherein, include multiple touch commands in each described touch command menu.
In addition, the different display states in each described touch command menu for display screen can be preset respectively One corresponding touch command.For example, in touch command menu A, for the corresponding touch command of main screen state of display screen It can be A1, the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, for The corresponding touch command of main screen state of display screen can be B1, refer to for the corresponding touch-control of application interface state of display screen Order can be B2.
Instruction acquisition module 203 may determine that whether the sliding distance got is greater than pre-determined distance threshold value.If the cunning Dynamic distance is greater than the pre-determined distance threshold value, then instruction acquisition module 203 obtains and the cunning according to the glide direction got The dynamic corresponding touch command menu in direction.Then, instruction acquisition module 203 refers to according to the display state of display screen from the touch-control It enables and obtains touch command corresponding with the display state in menu.
For example, the glide direction that detection module 201 is got be it is upward, the display state of display screen is main screen state, The touch command menu that then instruction acquisition module 203 is got is touch command menu A, is then obtained from touch command menu A The touch command taken is touch command A1.
In some embodiments, touch-control is obtained according to the sliding distance, the glide direction and the display state When instruction, instruction acquisition module 203 is for executing following steps:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command submenu is obtained from the touch command menu according to the glide direction;
Touch command is obtained from the touch command submenu according to the display state.
Wherein, it can be preset in electronic equipment multiple apart from section.For example, can be set (5mm, 10mm], (10mm, 15mm], (15mm, 20mm] etc. it is multiple apart from section.Also, a phase can be preset apart from section for each The touch command menu answered.It wherein, include multiple touch command submenus in each touch command menu.For example, distance Section (5mm, 10mm] corresponding touch command menu can be touch command menu A, (10mm, 15mm] corresponding touch command Menu can be touch command menu B, (15mm, 20mm] corresponding touch command menu can be touch command menu C.
In addition, in each described touch command menu, it can be preparatory respectively for the different glide directions of slide One corresponding touch command submenu is set.It wherein, include multiple touch commands in each described touch command submenu. For example, corresponding touch command submenu is touch command submenu Aa, sliding to glide direction upwards in touch command menu A Corresponding touch command submenu is Ab downwards in direction;In touch command menu B, corresponding touch command is sub upwards for glide direction Menu is touch command submenu Ba, and corresponding touch command submenu is Bb to glide direction downwards;In touch command menu C, Corresponding touch command submenu is touch command submenu Ca, glide direction corresponding touch command downwards to glide direction upwards Submenu is Cb.
In addition, in each described touch command submenu, it can be preparatory respectively for the different display states of display screen One corresponding touch command is set.For example, the corresponding touch-control of main screen state of display screen refers in touch command submenu Aa Enabling to be Aa1, and the corresponding touch command of application interface state of display screen can be Aa2;In touch command submenu Bb, show The corresponding touch command of main screen state of display screen can be Bb1, and the corresponding touch command of application interface state of display screen can Think Bb2, etc..
After detection module 201 gets the sliding distance of slide, instruction acquisition module 203 can determine the sliding Apart from locating apart from section.Then, according to determining to obtain apart from section with described apart from the corresponding touch command in section Menu.Then, it is obtained from the touch command menu according to the glide direction of the slide and the glide direction pair The touch command submenu answered.Finally, obtained from the touch command submenu according to the display state of display screen with it is described The corresponding touch command of touch command submenu.
For example, the sliding distance that detection module 201 is got is 12mm, glide direction is downward, the display shape of display screen State be application interface state, then locating for the sliding distance apart from section be (10mm, 15mm].Then, instruction acquisition module The 203 touch command menus got are touch command menu B, the sub- dish of touch command got from touch command menu B Single is touch command submenu Bb, and the touch command got from the touch command submenu Bb is Bb2.
In some embodiments, detection module 201 is also used to execute following steps:
Obtain the location information of the sliding terminal of the slide;
When obtaining touch command according to the sliding distance and the display state, instruction acquisition module 203 is for executing Following steps:
Touch command is obtained according to the sliding distance, the location information and the display state.
After detection module 201 gets the sliding distance of the slide, the slide can be further obtained Sliding terminal location information.Wherein, the location information includes sliding terminal institute on the display screen of electronic equipment The position at place.
Then, instruction acquisition module 203 is according to the sliding distance of the slide, the sliding terminal of the slide Location information and the display state of display screen obtain touch command.
In some embodiments, touch-control is obtained according to the sliding distance, the location information and the display state When instruction, instruction acquisition module 203 is for executing following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, the sliding terminal is determined according to the positional information Location type, the location type includes display area and non-display area;
Touch command menu is obtained according to the location type;
Touch command is obtained from the touch command menu according to the display state.
The display screen of electronic equipment may include display area and non-display area.Wherein, non-display area can be set It can be set around display area in the upper and lower part of display area, or also.Display area is for executing display screen Display function, for showing the information such as image, text.Non-display area can be used for being arranged range sensor, receiver, show The functional units such as display screen touch control electrode.
Instruction acquisition module 203 may determine that whether the sliding distance got is greater than pre-determined distance threshold value.If the cunning Dynamic distance is greater than the pre-determined distance threshold value, then determines the sliding according to the location information of the sliding terminal of the slide The location type of terminal.Wherein, the location type includes display area and non-display area.It is shown when the sliding terminal is located at When the display area of display screen, the location type of the sliding terminal is display area;When the sliding terminal is located at display screen When non-display area, the location type of the sliding terminal is non-display area.
Wherein, in electronic equipment for slide sliding terminal location type can preset respectively one it is right The touch command menu answered.It include multiple touch commands in each described touch command menu.For example, location type is aobvious Show when region that corresponding touch command menu is touch command menu A, location type when being non-display area corresponding touch-control refer to Enabling menu is touch command menu B.
In addition, the different display states in each described touch command menu for display screen can be preset respectively One corresponding touch command.For example, in touch command menu A, for the corresponding touch command of main screen state of display screen It can be A1, the corresponding touch command of application interface state for display screen can be A2;In touch command menu B, for The corresponding touch command of main screen state of display screen can be B1, refer to for the corresponding touch-control of application interface state of display screen Order can be B2.
After instruction acquisition module 203 determines the location type of sliding terminal of the slide, according to the position class Type obtains touch command menu.Then, instruction acquisition module 203 is according to the display state of display screen from the touch command menu It is middle to obtain touch command corresponding with the display state.
For example, the location type of the sliding terminal of slide is non-display area, the display state of display screen is main screen Tentiform state, then the touch command menu that instruction acquisition module 203 is got are touch command menu B, subsequent instruction acquisition module 203 touch commands got from the touch command menu B are touch command B1.
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 200 provided by the embodiments of the present application, by detection module 201 detect it is aobvious When slide in display screen, the sliding distance of the slide is obtained;State acquisition module 202 obtains the display screen Display state, the display state include main screen state and application interface state;Instruction acquisition module 203 is according to the sliding Distance and the display state obtain touch command;Touch-control module 204 carries out the electronic equipment according to the touch command Touch control operation.In the touch control operation device, electronic equipment can be according to the sliding distance and display screen of user's slide Display state to obtain touch command, and touch control operation is carried out to electronic equipment, so that user can be with quick execution pair The operating efficiency of electronic equipment can be improved in the touch control operation of electronic equipment.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart phone, tablet computer, trip Play equipment, AR (Augmented Reality, augmented reality) equipment, automobile, data storage device, audio playing apparatus, video Playing device, notebook, Desktop computing device etc..
As shown in figure 12, electronic equipment 300 includes processor 301 and memory 302.Wherein, processor 301 and memory 302 are electrically connected.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the entire electronic equipment of connection Various pieces, by running or calling the computer program being stored in memory 302, and calling to be stored in memory 302 Interior data execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to following step, by one or one with On the corresponding instruction of process of computer program be loaded into memory 302, and run by processor 301 and be stored in storage Computer program in device 302, to realize various functions:
When detecting the slide on display screen, the sliding distance of the slide is obtained;
The display state of the display screen is obtained, the display state includes main screen state and application interface state;
Touch command is obtained according to the sliding distance and the display state;
Touch control operation is carried out to the electronic equipment according to the touch command.
In some embodiments, when obtaining touch command according to the sliding distance and the display state, processor 301 Execute following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command is obtained according to the display state.
In some embodiments, when obtaining touch command according to the sliding distance and the display state, processor 301 Execute following steps:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command is obtained from the touch command menu according to the display state.
In some embodiments, before obtaining touch command according to the sliding distance and the display state, processor 301 also execute following steps:
Obtain the glide direction of the slide;
When obtaining touch command according to the sliding distance and the display state, processor 301 executes following steps:
Touch command is obtained according to the sliding distance, the glide direction and the display state.
In some embodiments, touch-control is obtained according to the sliding distance, the glide direction and the display state When instruction, processor 301 executes following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command dish is obtained according to the glide direction It is single;
Touch command is obtained from the touch command menu according to the display state.
In some embodiments, touch-control is obtained according to the sliding distance, the glide direction and the display state When instruction, processor 301 executes following steps:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command submenu is obtained from the touch command menu according to the glide direction;
Touch command is obtained from the touch command submenu according to the display state.
In some embodiments, before obtaining touch command according to the sliding distance and the display state, processor 301 also execute following steps:
Obtain the location information of the sliding terminal of the slide;
When obtaining touch command according to the sliding distance and the display state, processor 301 executes following steps:
Touch command is obtained according to the sliding distance, the location information and the display state.
In some embodiments, the display screen includes display area and non-display area, according to the sliding distance, institute When stating location information and display state acquisition touch command, processor 301 executes following steps:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, the sliding terminal is determined according to the positional information Location type, the location type includes display area and non-display area;
Touch command menu is obtained according to the location type;
Touch command is obtained from the touch command menu according to the display state.
Memory 302 can be used for storing computer program and data.Include in the computer program that memory 302 stores The instruction that can be executed in the processor.Computer program can form various functional modules.Processor 301 is stored in by calling The computer program of memory 302, thereby executing various function application and data processing.
In some embodiments, as shown in figure 13, electronic equipment 300 further include: radio circuit 303, display screen 304, control Circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 respectively with penetrate Frequency circuit 303, display screen 304, control circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 It is electrically connected.
Radio circuit 303 is used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electronic equipments into Row communication.
Display screen 304 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, the display screen 304 is also used to when detecting slide, obtains the sliding behaviour The sliding distance of work.The display screen 304 is also used to obtain the display state of the display screen, and the display state includes main screen Tentiform state and application interface state.
In addition, the processor 301 is used to obtain touch command, and root according to the sliding distance and the display state Touch control operation is carried out to the electronic equipment according to the touch command.
Control circuit 305 and display screen 304 are electrically connected, and show information for controlling display screen 304.
Input unit 306 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 306 may include fingerprint recognition mould group.
Voicefrequency circuit 307 can provide the audio interface between user and electronic equipment by loudspeaker, microphone.
Sensor 308 is for acquiring external environmental information.Sensor 308 may include ambient light sensor, acceleration One of sensors such as sensor, gyroscope are a variety of.
All parts of the power supply 309 for electron equipment 300 are powered.In some embodiments, power supply 309 can pass through Power-supply management system and processor 301 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 300 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, the electronic equipment executes following steps: detection When slide on to display screen, the sliding distance of the slide is obtained;Obtain the display state of the display screen, institute Stating display state includes main screen state and application interface state;Touch-control is obtained according to the sliding distance and the display state Instruction;Touch control operation is carried out to the electronic equipment according to the touch command.The electronic equipment can be slided according to user The sliding distance of operation and the display state of display screen carry out touch control operation to electronic equipment to obtain touch command, from And make user can touch control operation with quick execution to electronic equipment, the operating efficiency of electronic equipment can be improved.
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. a kind of touch operation method is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen, described Touch operation method includes:
When detecting the slide on display screen, the sliding distance of the slide is obtained;
The display state of the display screen is obtained, the display state includes main screen state and application interface state;
Touch command is obtained according to the sliding distance and the display state;
Touch control operation is carried out to the electronic equipment according to the touch command.
2. touch operation method according to claim 1, which is characterized in that described according to the sliding distance and described aobvious Show that the step of state obtains touch command includes:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command is obtained according to the display state.
3. touch operation method according to claim 1, which is characterized in that described according to the sliding distance and described aobvious Show that the step of state obtains touch command includes:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command is obtained from the touch command menu according to the display state.
4. touch operation method according to any one of claims 1 to 3, which is characterized in that it is described according to it is described sliding away from Before the step of obtaining touch command with the display state, further includes:
Obtain the glide direction of the slide;
It is described to include: according to the step of sliding distance and display state acquisition touch command
Touch command is obtained according to the sliding distance, the glide direction and the display state.
5. touch operation method according to claim 4, which is characterized in that described according to the sliding distance, the cunning The step of dynamic direction and the display state obtain touch command include:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, touch command menu is obtained according to the glide direction;
Touch command is obtained from the touch command menu according to the display state.
6. touch operation method according to claim 4, which is characterized in that described according to the sliding distance, the cunning The step of dynamic direction and the display state obtain touch command include:
It determines locating for the sliding distance apart from section;
Touch command menu is obtained apart from section according to described;
Touch command submenu is obtained from the touch command menu according to the glide direction;
Touch command is obtained from the touch command submenu according to the display state.
7. touch operation method according to any one of claims 1 to 3, which is characterized in that it is described according to it is described sliding away from Before the step of obtaining touch command with the display state, further includes:
Obtain the location information of the sliding terminal of the slide;
It is described to include: according to the step of sliding distance and display state acquisition touch command
Touch command is obtained according to the sliding distance, the location information and the display state.
8. touch operation method according to claim 7, which is characterized in that the display screen includes display area and non-aobvious Show region, described the step of obtaining touch command according to the sliding distance, the location information and the display state wraps It includes:
Judge whether the sliding distance is greater than pre-determined distance threshold value;
If the sliding distance is greater than the pre-determined distance threshold value, the position of the sliding terminal is determined according to the positional information Type is set, the location type includes display area and non-display area;
Touch command menu is obtained according to the location type;
Touch command is obtained from the touch command menu according to the display state.
9. a kind of touch control operation device is applied to electronic equipment, which is characterized in that the electronic equipment includes display screen, described Touch control operation device includes:
Detection module, for obtaining the sliding distance of the slide when detecting the slide on display screen;
State acquisition module, for obtaining the display state of the display screen, the display state includes main screen state and answers Use interface state;
Instruction acquisition module, for obtaining touch command according to the sliding distance and the display state;
Touch-control module, for carrying out touch control operation to the electronic equipment according to the touch command.
10. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey When sequence is run on computers, so that the computer perform claim requires 1 to 8 described in any item touch operation methods.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory Computer program is contained, the processor is used for right of execution by calling the computer program stored in the memory Benefit requires 1 to 8 described in any item touch operation methods.
12. a kind of electronic equipment, which is characterized in that the electronic equipment includes display screen and processor, the display screen and institute State processor electric connection, in which:
The display screen is used for when detecting slide, obtains the sliding distance of the slide;
The display screen is also used to obtain the display state of the display screen, and the display state includes main screen state and application Interface state;
The processor is used to obtain touch command according to the sliding distance and the display state, and is referred to according to the touch-control It enables and touch control operation is carried out to the electronic equipment.
CN201810680801.5A 2018-06-27 2018-06-27 touch operation method, device, storage medium and electronic equipment Pending CN108984090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810680801.5A CN108984090A (en) 2018-06-27 2018-06-27 touch operation method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810680801.5A CN108984090A (en) 2018-06-27 2018-06-27 touch operation method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN108984090A true CN108984090A (en) 2018-12-11

Family

ID=64538574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810680801.5A Pending CN108984090A (en) 2018-06-27 2018-06-27 touch operation method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108984090A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779987A (en) * 2019-01-15 2022-07-22 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for displaying content

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164124A (en) * 2011-12-16 2013-06-19 天津三星电子有限公司 Display device using sliding touch mode to control
CN104850328A (en) * 2015-04-27 2015-08-19 深圳市欧珀通信软件有限公司 Method and device for selecting object of smartwatch
CN106210289A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Information processing method, device and mobile terminal
US20170300223A1 (en) * 2014-12-31 2017-10-19 Huawei Technologies Co., Ltd. Method and Terminal for Controlling Multimedia File Play Progress
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 touch operation method, device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164124A (en) * 2011-12-16 2013-06-19 天津三星电子有限公司 Display device using sliding touch mode to control
US20170300223A1 (en) * 2014-12-31 2017-10-19 Huawei Technologies Co., Ltd. Method and Terminal for Controlling Multimedia File Play Progress
CN104850328A (en) * 2015-04-27 2015-08-19 深圳市欧珀通信软件有限公司 Method and device for selecting object of smartwatch
CN106210289A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Information processing method, device and mobile terminal
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 touch operation method, device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114779987A (en) * 2019-01-15 2022-07-22 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for displaying content

Similar Documents

Publication Publication Date Title
CN103294366B (en) A kind of screen unlock method and electronic equipment
CN108089795A (en) touch operation method, device, storage medium and electronic equipment
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
CN106096349A (en) A kind of method quickly opening application based on screen locking and mobile terminal
KR20100093293A (en) Mobile terminal with touch function and method for touch recognition using the same
CN108958627A (en) touch operation method, device, storage medium and electronic equipment
CN108920055A (en) touch operation method, device, storage medium and electronic equipment
CN108984096A (en) touch operation method, device, storage medium and electronic equipment
CN106951143B (en) Method and device for hiding application icons
CN108932057A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN109144447A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN107479785A (en) A kind of control method of control, device, computer installation and readable storage medium storing program for executing
CN107577349A (en) Man-machine interaction method and device, mobile terminal, computer-readable recording medium
CN105278862A (en) Light-sensation detection-based misoperation prevention method, device and mobile terminal
CN104182161A (en) Method and device for opening screen functional area
CN108958628A (en) touch operation method, device, storage medium and electronic equipment
CN109002339A (en) touch operation method, device, storage medium and electronic equipment
CN102693064B (en) Method and system for quitting protection screen by terminal
CN104380241A (en) Activation of an application on a programmable device using gestures on an image
CN109085983A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN108984097B (en) Touch operation method and device, storage medium and electronic equipment
CN108984090A (en) touch operation method, device, storage medium and electronic equipment
CN109600514B (en) Unlocking control method and device, mobile terminal and storage medium
CN111596815B (en) Application icon display method and electronic equipment

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

RJ01 Rejection of invention patent application after publication