CN108932101A - interface control method, electronic device and computer readable storage medium - Google Patents
interface control method, electronic device and computer readable storage medium Download PDFInfo
- Publication number
- CN108932101A CN108932101A CN201710392520.5A CN201710392520A CN108932101A CN 108932101 A CN108932101 A CN 108932101A CN 201710392520 A CN201710392520 A CN 201710392520A CN 108932101 A CN108932101 A CN 108932101A
- Authority
- CN
- China
- Prior art keywords
- display area
- interface
- electronic device
- trace
- control method
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Abstract
A kind of interface control method, the method includes the steps:Obtain the first gesture operation of user on the touchscreen;Analyze the first operation trace of the first gesture operation;The second display area if judging first operation trace for arching trajectory, on the outside of the first display area that the operation interface that the touch screen is shown is divided on the inside of the arching trajectory and the arching trajectory;And the use contextual model current according to the electronic device, the display content of first display area Yu second display area is controlled respectively.The present invention also provides a kind of electronic devices, computer readable storage medium.The present invention can simple and quick control operation interface.
Description
Technical field
The present invention relates to technical field of data processing, more particularly, to a kind of interface control method, electronic device and calculating
Machine readable storage medium storing program for executing.
Background technique
Existing gesture manipulation, can be used family that intuitively and easily the devices such as mobile phone or plate are operated and controlled.
However in use, it often will appear following problems:User merely desires to obtain time or battery electricity from device
A small amount of information such as amount, but whole screens must be lighted every time to watch, it operates unfriendly;Outdoors under strong light, screen is shown
Content can not be seen by force very much because of light, cause user that need to often watch the continuous conversion angle of device;Soft using communicating
When part, message picture is easy to be seen by other people, and lack secret protection, user need to be moved to the range that no one can peep, cause to use
Family is inconvenient for use.
Summary of the invention
In view of the foregoing, it is necessary to a kind of interface control method, electronic device and computer readable storage medium are provided,
It can simple and quick control operation interface.
Embodiment of the present invention provides a kind of interface control method, including step:Obtain first of user on the touchscreen
Gesture operation;Analyze the first operation trace of the first gesture operation;If judge first operation trace for arching trajectory,
Outside the first display area that the operation interface that the touch screen is shown is divided on the inside of the arching trajectory and the arching trajectory
Second display area of side;And the use contextual model current according to the electronic device, first viewing area is controlled respectively
The display content in domain and second display area.
Embodiment of the present invention also provides a kind of electronic device, and the electronic device includes memory, processor and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
The step of method such as the Interface Control is realized when row.
Further, embodiment of the present invention also provides a kind of computer readable storage medium, described computer-readable to deposit
It is stored with computer program on storage media, the method such as the Interface Control is realized when the computer program is executed by processor
The step of.
Compared to the prior art, the method for the Interface Control, electronic device and computer readable storage medium, can
It is simpler efficiently to control operation interface, same inconvenient to Interface Control of user in the case where solving the problems, such as each contextual model
When, the crypticity of interface information is increased, the usage experience of user is improved.
Detailed description of the invention
Fig. 1 is the block diagram of the electronic device of the embodiment of the present invention.
Fig. 2 is the module map of the interface control system of the embodiment of the present invention.
Fig. 3 a- Fig. 3 c is the electronic device of the embodiment of the present invention from the interface put out when screen state is switched to bright screen state
Schematic diagram.
Fig. 4 is the interface schematic diagram when electronic device of the embodiment of the present invention is in outdoor strong light state.
Fig. 5 is the flow chart of the interface control method of the embodiment of the present invention.
Main element symbol description
Electronic device | 2 |
Interface control system | 10 |
Memory | 20 |
Processor | 30 |
Touch screen | 40 |
Obtain module | 100 |
Analysis module | 200 |
Judgment module | 300 |
Divide module | 400 |
Control module | 500 |
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
As shown in fig.1, being the block diagram of the electronic device 2 of the embodiment of the present invention.In the present embodiment, the electronics dress
Set includes interface control system 10, memory 20, processor 30 and touch screen 40 in 2.The electronic device 2 can be intelligent hand
Machine, tablet computer etc..
Wherein, the memory 20 includes at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes
Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), it is static with
Machine accesses memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable
Read memory (PROM), magnetic storage, disk, CD etc..The processor 30 can be central processing unit (Central
Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips etc., the touch screen
40 for showing the operation interface of the electronic device 2.
As shown in fig.2, being the module map of the interface control system 10 of the embodiment of the present invention.
The interface control system 10 includes obtaining module 100, analysis module 200, judgment module 300, segmentation module 400
And control module 500.The module is configured to be executed by one or more processors (the present embodiment is processor 30), with
Complete the present invention.The so-called module of the present invention is to complete the computer program code segments of a specific function.The memory 20 is for depositing
Store up the data such as the program code of the interface control system 10.The processor 30 is used to execute to store in the memory 20
Program code.
The module 100 that obtains is used to obtain first gesture operation of the user on the touch screen 40.
In the present embodiment, first gesture operation can operate for multiple point touching, and the multiple point touching operation can be with
For the touch operation for existing simultaneously at least two touch points, or the clicking operation of multiple touch points is quickly clicked, wherein
Interval time between two neighboring clicking operation is necessarily less than a preset interval time, the preset interval time can by with
Family sets itself is also possible to 0.3 second of default.
In another embodiment, the first gesture operation can be slide.
The analysis module 200 is used to analyze first operation rail of the first gesture operation on the touch screen 40
Mark.
In the present embodiment, if first gesture operation is that the multiple point touching operates, the analysis module 200 is obtained
Multiple touch points in the multiple point touching operation, and carry out curve fitting to the multiple touch point, generate first behaviour
Make track.
In another embodiment, if first gesture operation is the slide, the analysis module 200 obtains institute
The sliding trace for stating slide, using the sliding trace as first operation trace.
The judgment module 300 is for judging whether first operation trace is arching trajectory.
It is in the present embodiment, described to judge whether first operation trace is that the method for the arching trajectory be,
Multiple sampled points are taken in first operation trace, generate the interior method of each sampled point in the multiple sampled point respectively
Line, if all intersection points of the multiple inter normals generated judge first behaviour all in the same side of first operation trace
Making track is arching trajectory, otherwise judges that first operation trace is not arching trajectory.
The segmentation module 400 is used for when judging first operation trace for arching trajectory, by the operation interface
It is divided into the first display area and the second display area, first display area is the region on the inside of the arching trajectory, described
Second display area is the region on the outside of the arching trajectory.
In another embodiment, if first operation trace does not run through the operation interface, the segmentation module 400 is also
For extending first operation trace up to the boundary of the operation interface, extending direction is the end of first operation trace
Point tangential direction.
The segmentation module 400 is divided into described according to first operation trace after extension, by the operation interface
One display area and second display area.Wherein, first display area is the arching trajectory inside and the behaviour
As the region that interface boundary surrounds, second display area is to surround on the outside of the arching trajectory with the operation interface boundary
Region.
The control module 500 be used for according to the electronic device 2 it is current use contextual model, control described the respectively
The display content of one display area and second display area.It is described to use contextual model including putting out screen state, outdoor strong light
State, chat state etc..
In one embodiment, if the electronic device 2 is in screen state of putting out, the first gesture behaviour using contextual model
The purpose of work is that the electronic device 2 is switched to bright screen state from screen state is put out.At this point, the control module 500 is also used to
Calculate the area of first display area.
When the area of first display area is less than the one third of the operation interface area, the electronic device
2 are switched to bright screen state, and the control module 500 controls and shows important information in first display area, the important money
News can be the information such as date, time, weather forecast and battery dump energy, as shown in Figure 3a.
When first display area area be greater than or equal to the operation interface area one third and be less than or
Equal to the operation interface area 2/3rds when, the electronic device 2 is switched to bright screen state, the control module 500
It controls and shows common information in first display area, the common information includes that the important information and application program push
Notice etc., as shown in Figure 3b.
When the area of first display area is greater than 2/3rds of the operation interface area, the control module
500 light the touch screen 40 of the electronic device 2, and normally show the operation interface, as shown in Figure 3c.
In the present embodiment, the control module 500 is also used to control second display area, makes second display
Region does not show any content.
In another embodiment, if the electronic device 2 is in outdoor strong light state, the control using contextual model
Module 500 is also used to enhance the screen intensity of first display area, can be refering to Fig. 4.Specifically, when the electronic device
2 in outdoor strong light state when, the control module 500 is also used to obtain the first gesture operation on the touch screen
Pressure value, according to the corresponding relationship (pressure value is bigger, and screen intensity is higher) between preset pressure value and screen intensity, control
The screen intensity of first display area is adjusted to the corresponding screen intensity of the pressure value.
In another embodiment, a default privacy application program table is arranged in the electronic device 2, if the electronic device 2
Using contextual model be in chat state, the control module 500 is also used to obtain currently to be shown in the operation interface
First application program.Then judge first application program whether in the default privacy application program table.If described
One application program is in the default privacy application program table, and the control module 500 is further by first application program
Display picture move in first display area and show, and control second display area and do not show any content.
As shown in fig.5, being the flow chart of the interface control method of the embodiment of the present invention.The interface control method application
In the electronic device 2, the program code stored in the memory 20 is executed by the processor 30 and is realized.
Step S302 obtains first gesture operation of the user on the touch screen 40.
Step S304 analyzes the first gesture and operates the first operation trace on the touch screen 40.
Step S305 judges whether first operation trace is arching trajectory.If so, thening follow the steps S306, otherwise
Process terminates.
The operation interface that the touch screen 40 is shown is divided into the first display area and the second display area by step S306,
First display area is the region on the inside of the arching trajectory, and second display area is on the outside of the arching trajectory
Region.
Step S308 controls first display area according to the current use contextual model of the electronic device 2 respectively
With the display content of second display area.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to preferred embodiment to this hair
It is bright to be described in detail, those skilled in the art should understand that, it can modify to technical solution of the present invention
Or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of interface control method, in the electronic device with touch screen, which is characterized in that the method includes steps
Suddenly:
Obtain first gesture operation of the user on the touch screen;
Analyze the first operation trace of the first gesture operation;
Judge whether first operation trace is arching trajectory;
If first operation trace is arching trajectory, the operation interface that the touch screen is shown is divided into the arching trajectory
The first display area and the second display area on the outside of the arching trajectory of side;And
According to the current use contextual model of the electronic device, first display area and second display are controlled respectively
The display content in region.
2. interface control method as described in claim 1, which is characterized in that the first gesture operation is that multiple point touching is grasped
Make, the step of the first operation trace of analysis first gesture operation includes:
Multiple touch points in the multiple point touching operation are obtained, are carried out curve fitting to the multiple touch point, to generate
State the first operation trace.
3. interface control method as described in claim 1, which is characterized in that the first gesture operation is slide, institute
Stating the step of analyzing the first operation trace that the first gesture operates includes:
The sliding trace for obtaining the slide, using the sliding trace as first operation trace.
4. interface control method as described in claim 1, which is characterized in that it is described judge first operation trace whether be
The step of arching trajectory includes:
Multiple sampled points are taken in first operation trace;
The inter normal of each sampled point in the multiple sampled point is generated respectively;
If all intersection points of the multiple inter normals generated all in the same side of first operation trace, judge first behaviour
Making track is arching trajectory, otherwise judges that first operation trace is not arching trajectory.
5. interface control method as described in claim 1, which is characterized in that the operation interface for showing the touch screen
Being divided into the first display area on the inside of the arching trajectory with the step of the second display area on the outside of the arching trajectory includes:
If first operation trace does not run through the operation interface, extend first operation trace until the operation interface
Boundary, extending direction be first operation trace endpoint tangential direction;
According to first operation trace after extension, the operation interface is divided into first display area and described second
Display area.
6. interface control method as described in claim 1, which is characterized in that the use current according to the electronic device
Contextual model, the step of controlling the display content of first display area and second display area respectively include:
If the electronic device is in screen state of putting out, the area of first display area is calculated;
When the area of first display area is less than the one third of the operation interface area, in first viewing area
Important information is shown in domain;
When the area of first display area is greater than or equal to the one third of the operation interface area and is less than or equal to
The operation interface area 2/3rds when, common information is shown in first display area;
When the area of first display area is greater than 2/3rds of the operation interface area, the touch is normally lighted
Shield and shows the operation interface.
7. interface control method as described in claim 1, which is characterized in that the use current according to the electronic device
Contextual model, the step of controlling the display content of first display area and second display area respectively include:
If the electronic device is in outdoor strong light state, obtains the first gesture and operate the pressure on the touch screen
Value;
According to the corresponding relationship between preset pressure value and screen intensity, the screen intensity tune of first display area is controlled
It is whole to arrive the corresponding screen intensity of the pressure value.
8. interface control method as described in claim 1, which is characterized in that the scene current according to the electronic device
Mode, the step of controlling the display content of first display area and second display area respectively include:
Obtain the first application program shown in the operation interface;
Judge first application program whether in default privacy application program table;
If first application program is in the default privacy application program table, by the display picture of first application program
It moves in first display area and shows.
9. a kind of electronic device, which is characterized in that the electronic device includes:Memory, processor and it is stored in the storage
On device and the computer program that can run on the processor, realized such as when the computer program is executed by the processor
The step of interface control method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes such as interface control method described in any item of the claim 1 to 8 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710392520.5A CN108932101B (en) | 2017-05-27 | 2017-05-27 | Interface control method, electronic device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710392520.5A CN108932101B (en) | 2017-05-27 | 2017-05-27 | Interface control method, electronic device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108932101A true CN108932101A (en) | 2018-12-04 |
CN108932101B CN108932101B (en) | 2020-08-28 |
Family
ID=64448253
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710392520.5A Expired - Fee Related CN108932101B (en) | 2017-05-27 | 2017-05-27 | Interface control method, electronic device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932101B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279303A (en) * | 2013-05-31 | 2013-09-04 | 东莞宇龙通信科技有限公司 | Method and device for processing event message |
CN103885675A (en) * | 2014-02-20 | 2014-06-25 | 联想(北京)有限公司 | Control method and electronic device |
CN104346094A (en) * | 2013-08-07 | 2015-02-11 | 联想(北京)有限公司 | Display processing method and display processing equipment |
US20160026236A1 (en) * | 2014-07-24 | 2016-01-28 | Samsung Electronics Co., Ltd. | Method for displaying items in an electronic device when the display screen is off |
CN105589651A (en) * | 2015-11-19 | 2016-05-18 | 深圳市金立通信设备有限公司 | Interface adjustment method and terminal |
CN106249943A (en) * | 2016-07-13 | 2016-12-21 | 广东欧珀移动通信有限公司 | A kind of method for information display, device and terminal |
-
2017
- 2017-05-27 CN CN201710392520.5A patent/CN108932101B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279303A (en) * | 2013-05-31 | 2013-09-04 | 东莞宇龙通信科技有限公司 | Method and device for processing event message |
CN104346094A (en) * | 2013-08-07 | 2015-02-11 | 联想(北京)有限公司 | Display processing method and display processing equipment |
CN103885675A (en) * | 2014-02-20 | 2014-06-25 | 联想(北京)有限公司 | Control method and electronic device |
US20160026236A1 (en) * | 2014-07-24 | 2016-01-28 | Samsung Electronics Co., Ltd. | Method for displaying items in an electronic device when the display screen is off |
CN105589651A (en) * | 2015-11-19 | 2016-05-18 | 深圳市金立通信设备有限公司 | Interface adjustment method and terminal |
CN106249943A (en) * | 2016-07-13 | 2016-12-21 | 广东欧珀移动通信有限公司 | A kind of method for information display, device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108932101B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10996834B2 (en) | Touchscreen apparatus user interface processing method and touchscreen apparatus | |
CN106201170B (en) | A kind of the footmark processing method and terminal of application icon | |
CN102830900B (en) | Control method to set up and terminal unit | |
US10254960B2 (en) | Electronic device that operates under one of a plurality of input modes, and method of controlling an electronic device | |
US9134833B2 (en) | Electronic apparatus, method, and non-transitory computer-readable storage medium | |
EP3002664A1 (en) | Text processing method and touchscreen device | |
CN103513869A (en) | Method and device for displaying terminal lock screen interface and Widget | |
WO2018152734A1 (en) | Method and device for clearing application task list of terminal, and terminal | |
CN105378753A (en) | Permanent synchronisation system for handwriting input | |
KR20140018639A (en) | Mobile terminal and control method thereof | |
CN107037971A (en) | Application management device, mobile terminal and method | |
CN104298434B (en) | A kind of information processing method and electronic equipment | |
CN103389873A (en) | Electronic device, and handwritten document display method | |
CN103809853A (en) | Information processing method and electronic device | |
WO2017032193A1 (en) | User interface layout adjustment method and apparatus | |
CN103390011A (en) | Electronic device and handwritten document search method | |
CN106250109A (en) | A kind of multipad display packing, device and mobile terminal | |
CN101482799A (en) | Method for controlling electronic equipment through touching type screen and electronic equipment thereof | |
CN104898880A (en) | Control method and electronic equipment | |
CN113835580A (en) | Application icon display method and device, electronic equipment and storage medium | |
CN103294175A (en) | Electronic device and method for electronic device to automatically switch input modes | |
KR20150039552A (en) | Display manipulating method of electronic apparatus and electronic apparatus thereof | |
CN107943359A (en) | A kind of method, terminal and the computer-readable medium of the control of application program | |
CN107734138A (en) | The display methods and device of notification message, computer installation and storage medium | |
WO2016145827A1 (en) | Terminal control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200828 |
|
CF01 | Termination of patent right due to non-payment of annual fee |