WO2017166209A1 - 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质 - Google Patents

设置勿触区域的方法、装置、电子设备、显示界面以及存储介质 Download PDF

Info

Publication number
WO2017166209A1
WO2017166209A1 PCT/CN2016/078148 CN2016078148W WO2017166209A1 WO 2017166209 A1 WO2017166209 A1 WO 2017166209A1 CN 2016078148 W CN2016078148 W CN 2016078148W WO 2017166209 A1 WO2017166209 A1 WO 2017166209A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
touch
touchable
information
user
Prior art date
Application number
PCT/CN2016/078148
Other languages
English (en)
French (fr)
Inventor
刘笃劼
张海波
周涛
陈磊
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/078148 priority Critical patent/WO2017166209A1/zh
Priority to CN201680006457.0A priority patent/CN107438823A/zh
Publication of WO2017166209A1 publication Critical patent/WO2017166209A1/zh

Links

Images

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]

Definitions

  • the present invention relates to a method, device, electronic device, display interface and storage medium for setting a touch-free area, and more particularly to a method, device, electronic device, display interface and storage medium for setting a false touch area for an electronic device having a touch screen .
  • the sensitivity of the touch screen has also increased. Therefore, users often accidentally touch the touch screen, resulting in misoperation. Therefore, the electronic device will take specific measures to prevent the user from accidentally touching the touch screen, resulting in misoperation. happening.
  • the user equipment can determine whether the contact between the user and the touch screen causes the user to accidentally touch the touch screen according to the contact area of the hand and the touch screen, and if the user touches the touch screen to determine that the user touches the touch screen by mistake, The electronic device will not respond to user misuse.
  • the invention provides a method, a device, an electronic device, a display interface and a storage medium for setting a touch-free area, which can reduce the possibility of the electronic device performing an erroneous operation, thereby improving the user experience.
  • an embodiment of the present invention provides a method for setting a touch-free area, which is applied to an electronic device having a touch screen, the method comprising:
  • Determining that the touch action is in place when a touch action on the touch screen is detected The operation to be responded to in the touchable area or the misoperation in the non-touch area;
  • the touchable area is an area responsive to the touch action, and the touch-free area is an area that does not respond to the touch action; and the to-be-response operation is performed.
  • the step of determining that the touch action is a pending operation in the touchable area or a step of erroneous operation in the non-touch area further includes:
  • the first possible implementation manner of the first aspect by using a message input by the user, can set a touchable area or a touch-free area on the touch screen according to the user's instruction, that is, can set the touchable on the touch screen according to the current needs of the user.
  • the area or the area is not touched, so that the accuracy of setting the touchable area or the touched area can be improved, thereby improving the user experience.
  • the first information includes area shape information
  • the step of setting the touchable area or the touch-free area on the touch screen according to the first information input by the user includes:
  • the area shape information is obtained by using the first information, and the touchable area or the touch-free area can be set on the touch screen, that is, the user can use the touchable area or the touch-free area according to the user at this time.
  • the shape requirement, the touchable area of the corresponding shape or the touch-free area is set, so that the accuracy of setting the touchable area or the touch-free area can be further improved, thereby improving the user experience.
  • the first information further includes: transparency information
  • the method further includes:
  • the user can distinguish the touchable area from the touch screen by setting different transparency between the touchable area and other areas on the touch screen or setting different transparency between the touch-free area and other areas. Other areas of the area, or do not touch areas and other areas on the touch screen, can further enhance the user experience.
  • the method further includes:
  • the second information is used to cancel the user on the touch screen
  • the fourth possible implementation manner of the first aspect by receiving the information of the touchable area or the non-touch area set by the user input, withdrawing the set area, so that the user can set the self according to his own needs again.
  • the user's experience can be further enhanced by the touchable area of the demand or the area that is not touched.
  • the first information further includes: size information of the area shape;
  • the method further includes:
  • the shape of the area of the touchable area or the touch-free area on the touch screen according to the shape information of the area the size of the area of the touchable area or the touch-free area can be adjusted according to the user's needs or the current application scene, thereby improving the setting.
  • the accuracy of the touchable area or the area that is not touched can further enhance the user experience.
  • an embodiment of the present invention provides a device for setting a touch-free area, which is applied to an electronic device having a touch screen, the device comprising:
  • a determining unit configured to determine, when a touch action on the touch screen is detected, the touch action to be a response operation in a touchable area or an erroneous operation in a touch-free area;
  • touchable area is an area responsive to the touch action
  • touch-free area is an area that does not respond to the touch action
  • An execution unit configured to perform the operation to be responded.
  • the implementation of the device can refer to the implementation of the method, and the repeated description is not repeated.
  • an embodiment of the present invention provides an electronic device with a touch screen, including:
  • a processor configured to determine, when a touch action on the touch screen is detected, the touch action to be a response operation in a touchable area or an erroneous operation in a touch-free area;
  • touchable area is an area responsive to the touch action
  • touch-free area is an area that does not respond to the touch action
  • the processor is further configured to perform the to-be-response operation.
  • the processor calls an instruction stored in the memory to implement the first aspect described above
  • the schemes in the method design are not repeated here.
  • an embodiment of the present invention provides a display interface of an electronic device having a touch screen, where the electronic device with the touch screen includes a display, a memory, and a processor for executing instructions stored in the memory, where The display has a touch sensitive surface:
  • the touchable area and the touch-free area are displayed on a display interface of the electronic device.
  • an embodiment of the present invention provides a non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs include instructions, and the instructions are used by an electronic device.
  • the execution causes the electronic device to perform the following events:
  • the touch action is an operation to be responded in the touchable area or an erroneous operation in a touch-free area, wherein the touchable area is a response
  • the area of the touch action, the touch-free area is an area that does not respond to the touch action; and the to-be-response operation is performed.
  • the method, device, electronic device, display interface and storage medium provided by the invention are applied to an electronic device with a touch screen. Firstly, when a touch action on the touch screen is detected, the touch action is determined as The operation to be responded in the touchable area is an erroneous operation in the touch-free area, wherein the touchable area is an area responsive to the touch action, and the touch-free area is an area that does not respond to the touch action, and then the operation to be responded is performed.
  • the present invention can better meet the user's operating habits, thereby reducing the possibility of the electronic device performing a misoperation, thereby improving the user experience.
  • 1 is a schematic structural view of an electronic device having a touch screen
  • FIG. 2 is a flow chart of a method for setting a touch-free area according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a method for setting a second touch-free area according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a user setting a touchable area or a touch-free area on a touch screen according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a third method for setting a touch-free area according to an embodiment of the present invention.
  • FIG. 6 is a flow chart of a fourth method for setting a touch-free area according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a fifth method for setting a touch-free area according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a device for setting a non-touch area according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a second apparatus for setting a non-touch area according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an electronic device with a touch screen according to an embodiment of the present invention.
  • the embodiment of the present invention is exemplified by the portable electronic device 100 including the touch-sensitive display unit.
  • the embodiment of the present invention is equally applicable to other devices, such as a handheld device, an in-vehicle device, and the like.
  • UE User Equipment
  • MS Mobile Station
  • Terminal Terminal Equipment
  • the electronic device 100 can support a variety of applications, such as video, games, etc.; the touch sensitive display unit of the electronic device 100 can intuitively present a user interface of the application, and is executed by the touch sensitive display unit of the electronic device 100 Various applications.
  • FIG. 1 is a schematic diagram of an internal structure of a portable electronic device 100 according to an embodiment of the present invention.
  • the electronic device 100 can include a touch-sensitive display unit 130, a memory 120, a processor 190, Acceleration sensor 151, proximity light sensor 152, ambient light sensor 153, radio frequency unit 110, audio circuit 160, speaker 161, microphone 162, WiFi (wireless fidelity) module 170, Bluetooth module 180, power supply 193, external interface 197 And other components.
  • FIG. 1 is merely an example of an electronic device having a touch screen, does not constitute a limitation on a portable electronic device, may include more or less components than illustrated, or may combine certain components, or different. Parts.
  • the touch-sensitive display unit 130 is sometimes referred to as a "touch screen" for convenience, and may also be referred to as or referred to as a touch-sensitive display system, and may also be referred to as a display having a touch-sensitive surface.
  • the display having a touch-sensitive surface includes a touch-sensitive surface and a display screen; the screen interface can be displayed, and a touch action can also be received.
  • the touch sensitive display unit 130 provides an input interface and an output interface between the device and the user.
  • the touch sensitive display unit 130 can collect touch operations on or near the user, such as operations by the user on the touch sensitive display unit or near the touch sensitive display unit using any suitable object such as a finger 202, a joint, a stylus, or the like.
  • the touch sensitive display unit can detect a touch action on the touch sensitive display unit, a grid capacitance value of the touch sensitive display unit, and contact coordinates, and send the touch action, the grid capacitance value of the touch sensitive display unit, and the contact coordinate information.
  • the processor 190 is provided and can receive commands from the processor 190 and execute them.
  • the touch sensitive display unit 130 displays a visual output.
  • Visual output can include graphics, text, icons, video, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some visual output or all of the visual output may correspond to a user interface object.
  • Touch sensitive display unit 130 may use LCD (Liquid Crystal Display) technology, LPD (Light Emitting Polymer Display) technology, or LED (Light Emitting Diode) technology, although other display technologies may be used in other embodiments.
  • Touch sensitive display unit 130 may utilize any of a variety of touch sensing techniques now known or later developed, as well as other proximity sensor arrays or for determining one or more points in contact with touch sensitive display unit 130.
  • Other elements to detect contact and any movement or interruption thereof include, but are not limited to, capacitive, resistive, infrared, and surface acoustic wave techniques. In an exemplary embodiment, a projected mutual capacitance sensing technique is used.
  • device 100 in addition to the touch-sensitive display unit, device 100 can include a touchpad (not shown) for activating or deactivating a particular function.
  • the touchpad is a touch sensitive area of the device that is different from the touch sensitive display unit in that it does not display a visual output.
  • Touch The board may be a touch sensitive surface separate from the touch sensitive display unit 130 or an extension of the touch sensitive surface formed by the touch sensitive display unit.
  • the acceleration sensor 151 can detect the magnitude of acceleration in each direction (typically three axes). At the same time, the acceleration sensor 151 can also be used to detect the magnitude and direction of gravity when the terminal is stationary, and can be used for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as step counting) , tapping, etc.
  • FIG. 1 shows an acceleration sensor, it is understood that it does not belong to the essential configuration of the electronic device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the electronic device 100 may also include one or more proximity light sensors 152 for turning off and disabling the touch function of the touch-sensitive surface when the electronic device 100 is closer to the user (eg, close to the ear when the user is making a call) Avoid user misuse of the touch sensitive display unit.
  • the electronic device 100 may further include one or more ambient light sensors 153 for keeping the touch-sensitive display unit off when the electronic device 100 is located in a user's pocket or other dark area to prevent the electronic device 100 from consuming unnecessary when in the locked state. Battery power consumption is incorrectly operated.
  • the proximity light sensor and the ambient light sensor can be integrated into one component or as two separate components.
  • FIG. 1 shows the proximity photosensor and the ambient light sensor, it is understood that it does not belong to the essential configuration of the electronic device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the memory 120 can be used to store instructions and data.
  • the memory 120 may mainly include a storage instruction area and a storage data area.
  • the storage instruction area can store an operating system, instructions required for at least one function, and the like.
  • the instructions may cause the processor 190 to perform the following method.
  • the specific method includes: firstly, when detecting a touch action on the touch screen, determining that the touch action is a pending operation in the touchable area or is located in the touch-free area.
  • the erroneous operation wherein the touchable area is an area responsive to the touch action, the touch-free area is an area that does not respond to the touch action, and then the pending response operation is performed.
  • the method for solving the problem is similar to the method for setting the ringtone of the incoming call in the method embodiment of the present invention. Therefore, the implementation of the electronic device may refer to the implementation of the method, and the repeated description is not repeated.
  • the processor 190 is a control center of the electronic device 100, and is connected by various interfaces and lines.
  • the various portions of the handset perform overall monitoring of the handset by executing or executing instructions stored in the memory 120 and invoking data stored in the memory 120 to perform various functions and processing data of the electronic device 100.
  • the processor 190 may include one or more processing units; preferably, the processor 190 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 190.
  • the processors, memories can be implemented on a single chip; in some embodiments, they can also be implemented separately on separate chips.
  • the processor 190 is further configured to invoke an instruction in the memory to first determine that when the touch action on the touch screen is detected, the touch action is a pending operation located in the touchable area or is located in the The erroneous operation in the touch area, wherein the touchable area is an area responsive to the touch action, the touch-free area is an area that does not respond to the touch action, and then the pending response operation is performed.
  • the method for solving the problem is similar to the method for setting the ringtone of the incoming call in the method embodiment of the present invention. Therefore, the implementation of the electronic device may refer to the implementation of the method, and the repeated description is not repeated.
  • the radio frequency unit 110 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is performed by the processor 190. In addition, the uplink data is designed to be sent to the base station.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (English name: Low Noise Amplifier, LNA), a duplexer, and the like.
  • the radio unit 110 can also communicate with network devices and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to a global mobile communication system (English full name: Global System of Mobile communication, English abbreviation: GSM), general packet radio service (English full name: General Packet Radio Service, English abbreviation: GPRS), code division multiple access (English full name: Code Division Multiple Access, English abbreviation: CDMA), wideband code division multiple access (English full name: Wideband Code Division Multiple Access, WCDMA), long-term evolution (English full name: Long Term Evolut ion, English abbreviation: LTE), e-mail, short message service (English full name: Short Messaging Service, English abbreviation: SMS).
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolut ion
  • SMS Short Messaging Service
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide the user and the electronic device 100.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 190, sent to the terminal, for example, via the radio frequency unit 110, or outputted to the memory 120 for further processing.
  • the audio circuit may also include a headphone jack. 163, used to provide a connection interface between the audio circuit and the earphone.
  • WiFi is a short-range wireless transmission technology
  • the electronic device 100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 1 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the electronic device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Bluetooth is a short-range wireless communication technology. Using Bluetooth technology to effectively simplify communication between mobile communication terminal devices such as handheld computers, notebook computers and mobile phones, and successfully simplify communication between these devices and the Internet (English name: Internet), the electronic device 100 passes the Bluetooth module. 180 enables data transmission between the electronic device 100 and the Internet to be more rapid and efficient, broadening the road for wireless communication. Bluetooth technology is an open solution for wireless transmission of voice and data.
  • FIG. 1 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the electronic device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the electronic device 100 also includes a power source 193 (such as a battery) that powers the various components.
  • a power source 193 such as a battery
  • the power source can be logically coupled to the processor 190 via the power management system 194 to manage charge, discharge, and power management through the power management system 194. And other functions.
  • the electronic device 100 further includes an external interface 197, which may be a standard Micro USB interface, or a multi-pin connector, which may be used to connect the electronic device 100 to communicate with other devices, or may be used to connect the charger to The electronic device 100 is charged.
  • an external interface 197 which may be a standard Micro USB interface, or a multi-pin connector, which may be used to connect the electronic device 100 to communicate with other devices, or may be used to connect the charger to The electronic device 100 is charged.
  • the electronic device 100 may further include a camera, a flash, and the like, and details are not described herein.
  • an electronic device 100 having a touch screen will be taken as an example to describe a method for setting a false touch area.
  • Low electronic devices can perform the possibility of misoperation, which in turn can enhance the user experience.
  • FIG. 2 is a flowchart of a method for setting a touch-free area according to an embodiment of the present invention; as shown in FIG. 2, the method includes:
  • the electronic device determines that the touch action is a pending operation located in the touchable area or an erroneous operation located in the touch-free area.
  • the touchable area is an area that responds to the touch action, and the touched area is an area that does not respond to the touch action.
  • the user can define a touchable area or a touch-free area on the touch screen.
  • the electronic device determines that the contact coordinates are located in the touchable area or the touch-free area according to the contact coordinates of the touch action.
  • the electronic device collects a touch action acting on the touch-sensitive surface through the touch-sensitive display unit, and when the touch-sensitive display unit collects the touch action acting on the touch-sensitive surface, the touch information of the collected touch action is acquired. Passed to the processor.
  • the touch information may include one or more signals of contact coordinates, a grid capacitance value of the touch-sensitive display unit, and a touch action.
  • Touch actions can include actions such as pressing, moving, and lifting.
  • the electronic device performs a pending operation.
  • the touch operation acting on the touchable area is an effective touch operation that can be responded to by the electronic device, or an operation to be responded; the touch operation acting on the touch-free area may be unresponsive by the electronic device. Invalid touch operation, or misoperation.
  • the electronic device performs the operation to be responded; if the touch action that the electronic device has collected is located in the touch-free area When the operation is touched, the electronic device does not respond to the touch action.
  • the electronic device collects touch action on the touch-sensitive surface through the touch-sensitive display unit, and transmits the touch information of the touch action to the operating system module.
  • the touch information may include one or more signals of contact coordinates, a grid capacitance value of the touch-sensitive display unit, and a touch action; the touch action may include an action of pressing, moving, and lifting; the operating system module according to the Touch the information to determine the type of touch of the touch action, such as click Control, touch gestures, etc.
  • the operating system module sends the touch information to the system application module, and the system application module defines a touchable area or a touch-free area.
  • the system application module determines, according to the touch information, that the touch action occurs in the touchable area or the touch-free area, and transmits the determination result to the operating system module.
  • the operating system module performs the corresponding operations according to the judgment result of the system application module:
  • the operating system module transmits the touch information to the application module requesting the touch information, and the application module performs a corresponding operation; when the touch action occurs in the touch-free area, the operating system module does not Responding to the touch action or not passing the touch action to the application module.
  • the method for setting a touch-free area is applied to an electronic device with a touch screen.
  • the touch action is determined to be a response operation in the touchable area.
  • an erroneous operation in the non-touch area wherein the touchable area is an area responsive to the touch action, and the touch-free area is an area that does not respond to the touch action, and then the pending operation is performed.
  • the embodiment of the present invention can better meet the user's operating habits, thereby reducing the possibility that the electronic device performs an erroneous touch operation, thereby improving the user experience.
  • step 201 when detecting a touch action on the touch screen, the electronic device determines that the touch action is located in the touchable area. Steps 301-32 as shown in FIG. 3 are also included before the responsive operation or the erroneous operation in the non-touch area.
  • FIG. 3 is a flowchart of a method for setting a second touch-free area according to an embodiment of the present invention:
  • the electronic device receives the first information input by the user.
  • the first information is used to set a touchable area or a touch-free area on the touch screen.
  • the first information may include: area shape information and/or transparency information.
  • the electronic device may set the shape, size, and/or transparency of the area in which the touchable area or the touch-free area matches according to the area shape information and/or the transparency information in the first information.
  • the touch screen display interface of the electronic device displays translucent Floating button.
  • FIG. 4 is a schematic diagram of a user setting a touchable area or a touch-free area on a touch screen according to an embodiment of the present invention
  • a display button of an electronic device touch screen is provided with a draggable or clickable floating button, and the user may
  • the setting window 1 is called by dragging or clicking the floating button or the user calls the setting window 1 by clicking the setting option in the menu, as shown in FIG. 4b, which includes setting the shape of the touchable area or the non-touch area.
  • Graphics and undoing the last set button, wherein the shape of the touchable area or the non-touch area may include: a circle, a matrix or other custom shape graphic; or as shown in FIG.
  • the setting window 2 includes a setting window 1
  • the button in the middle may also include a touchable area and a selection button of the touch-free area, and a transparency slider; when the user selects the touchable area or does not touch the shape graphic of the area, such as a rectangle, the user can set the touch according to the shape graphic Area or do not touch area; for example: you can set the selected shape graphic to an area and set the shape ruler with the shape
  • the matching touch area is a touchable area or a touch-free area; the size of the touchable area or the touch-free area can be adjusted by adjusting the size of the shape graphic matching the shape of the touchable area or the touch-free area, as shown in FIG.
  • the setting window 3 can be called by clicking the above floating button, and the setting window 3 includes: a selection button for setting a touchable area and a non-touch area, and a transparency slider, as shown in FIG. 4e, wherein the setting window can be the view of FIG. 4b.
  • the setting window 1 and the setting window 3 shown in Fig. 4e may also be the setting window 2 shown in Fig. 4c.
  • the user can also directly click the setting option in the menu to pop up the setting window 1 and the setting window 3 or the user directly clicks the setting option in the menu to pop up the setting window 2.
  • the electronic device sets a touchable area or a touch-free area on the touch screen according to the first information input by the user.
  • the electronic device sets a touchable area or a touch-free area on the touch screen by the above operation of the user.
  • the setting window may further include: setting a button in which the area covered by the shape graphic is a touchable area or a touch-free area, so the user may also set the shape graphic to be covered while the shape graphic is selected.
  • the area is a touchable area or a non-touch area.
  • the electronic device can be selected by receiving a user drag.
  • the shape pattern to the touch area command sets the touchable area or the touch-free area, and the touch area covered by the shape graphic is a touchable area or a touch-free area.
  • the attributes such as the position, size or shape of the shape graphic covering the touchable area or the non-touch area may be changed according to the adjustment of the user, when the shape of the shape is
  • the position, size or shape of the touchable area or the touch-free area is adaptively adjusted so that the position, size or shape of the touchable area or the touch-free area is covered by the shape graphic.
  • the position, size or shape of the touch area matches.
  • the properties such as the transparency and the color of the shape graphic covering the touchable area or the non-touch area can be changed according to the user's adjustment after the touchable area or the non-touch area is set.
  • the touch area that is not set as the touchable area is the touch-free area; when the touch-free area is set, the touch area that is not set as the touch-free area is touchable. region.
  • the touchable area or the touch-free area may be selected first in the touch area, and then the shape, position, size, color or transparency of the selected touchable area or the touch-free area may be set. information.
  • a plurality of touchable areas or a plurality of non-touch areas can be set on the touch screen.
  • the user can set the touchable area or the touch-free area according to the current application scenario. For example, if the user is currently editing a short message, the user can set the send button area to not touch the area or set the edit area as the touchable area; for example, if the user is currently playing the game, the user can set the return button area to Do not touch the area or set the game area as a touchable area; for example, if the user is currently watching a video, the user can set the video display area to the touch-free area, and set the menu or pause button to the touchable area.
  • the send button area to not touch the area or set the edit area as the touchable area
  • the user can set the return button area to Do not touch the area or set the game area as a touchable area
  • the user can set the video display area to the touch-free area, and set the menu or pause button to the touchable area.
  • the electronic device can set a touchable area or a touch-free area on the touch screen according to the user's instruction through the message input by the user, that is, the touchable area can be set on the touch screen or not touched according to the current needs of the user.
  • the area which can improve the accuracy of setting the touchable area or not touching the area, thereby improving the user experience.
  • step 201 when detecting a touch action on the touch screen, the electronic device determines that the touch action is located in the touchable area.
  • FIG. 5 is a flowchart of a third method for setting a false touch area according to an embodiment of the present invention.
  • the electronic device sets a coverage area of the touchable area or the touch-free area on the touch screen according to the shape of the area specified by the area shape information in the first information.
  • the first information includes area shape information.
  • the first information input by the user carries the area shape information
  • the area shape information is used to indicate the coverage area of the touchable area or the touch-free area on the touch screen.
  • the size of the coverage area of the touchable area or the touch-free area on the touch screen can be adjusted by the stretched pattern.
  • the coverage area of the touchable area or the touch-free area on the touch screen is a circular area, and, for example, the area shape information in the first information is specified.
  • the shape of the area is a rectangle, and the coverage area of the touchable area or the touch-free area on the touch screen is a rectangle.
  • the electronic device obtains the area shape information through the first information, and can set the touchable area or the touch-free area on the touch screen, that is, according to the shape requirement of the user for the touchable area or the touch-free area at this time.
  • the touchable area of the corresponding shape or the touch-free area is set, so that the accuracy of setting the touchable area or the touch-free area can be further improved, thereby improving the user experience.
  • step 501 the electronic device sets the touchable area or the touch-free area according to the transparency information in the first information.
  • the transparency information corresponding to the coverage area of the area on the touch screen; and then includes step 601 as shown in FIG. 6, wherein:
  • FIG. 6 is a flowchart of a fourth method for setting a false touch area according to an embodiment of the present invention.
  • the electronic device sets, according to the transparency information in the first information, the transparency of the reachable area or the coverage area of the touch-free area on the touch screen.
  • the first information further includes: transparency information.
  • the user can set a transparency slider on the touch screen display interface, and the user can change the transparency of the shape graphic covering the touchable area or the non-touch area by sliding the transparency slider; understandably, You can change the value by entering the value of the transparency The transparency of the shape graphic that covers the touchable area or the touch-free area.
  • the electronic device can set different transparency between the touchable area and other areas on the touch screen or set different transparency between the touch-free area and other areas, so that the user can distinguish the touchable area from other areas of the touch screen. , or do not touch the area and other areas on the touch screen, which can further enhance the user experience.
  • step 202 the electronic device sets a touchable area or a touch-free area on the touch screen according to the first information input by the user, and further includes step 701 shown in FIG. 7 702, where:
  • FIG. 7 is a flowchart of a fifth method for setting a false touch area according to an embodiment of the present invention.
  • the electronic device receives the second information input by the user when the user does not need the touchable area that has been set or the touched area that has been set.
  • the second information is used to cancel the touchable area that the user has set on the touch screen or the touched area that has been set.
  • the electronic device cancels the touchable area that the user has set on the touch screen or the set touchable area according to the second information input by the user.
  • the setting window includes: canceling the button of the last operation, the electronic device detects that the user clicks the button, and the electronic device cancels the touchable area or the touch-free area that the user last set.
  • the electronic device cancels the touchable area or the touch-free area that the user last set.
  • the electronic device withdraws the set area by receiving the information of the touchable area or the touch-free area set by the user input last time, so that the user can set the touchable according to his own needs according to his own needs.
  • the area or the area is not touched, which further enhances the user experience.
  • the electronic device can set a touchable area or a touch-free area on the touch screen according to the user's instruction through the message input by the user, that is, the touchable area can be set on the touch screen or not touched according to the current needs of the user.
  • Area which can improve the accuracy of setting the touchable area or not touching the area, thereby improving the user experience;
  • the electronic device passes the first information
  • the area shape information is obtained, and the touchable area or the touch-free area can be set on the touch screen, that is, the touchable area or the touch-free area of the corresponding shape can be set according to the shape requirement of the user for the touchable area or the touch-free area at this time.
  • the electronic device can set different transparency between the touchable area and other areas on the touch screen or set the touch-free area differently from other areas. Transparency, so that the user can distinguish between the touchable area and other areas of the touch screen, or the touch area and other areas on the touch screen, thereby further improving the user experience; the electronic device can receive the user input by canceling the last setting. Touching the area or not touching the area information, withdrawing the above-mentioned set area, so that the user can set the touchable area or the touch-free area according to his own needs according to his own needs, thereby further improving the user experience.
  • the embodiment of the present invention further provides a device for setting a non-touch area for reducing misoperation of an electronic device.
  • the possibility in turn, can enhance the user experience.
  • FIG. 8 is a schematic diagram of a device for setting a touch-free area according to an embodiment of the present invention. As shown in FIG. 8, the device includes: a determining unit 81 and an executing unit 82.
  • the determining unit 81 is configured to determine, when the touch action on the touch screen is detected, the touch action to be a response operation in the touchable area or an erroneous operation in the touch-free area.
  • the touchable area is an area that responds to the touch action, and the touched area is an area that does not respond to the touch action.
  • the executing unit 82 is configured to perform an operation to be responded.
  • FIG. 9 is a schematic diagram of a second device for setting a non-touch area according to an embodiment of the present invention. As shown in FIG. 9, the device further includes: a receiving unit 91 and a setting unit 92.
  • the receiving unit 91 is configured to receive first information input by the user.
  • the first information is used to set a touchable area or a touch-free area on the touch screen.
  • the setting unit 92 is configured to set a touchable area or a touch-free area on the touch screen according to the first information input by the user.
  • the first information further includes area shape information.
  • the setting unit 92 is specifically configured to set a coverage area of the touchable area or the touch-free area on the touch screen according to the shape of the area specified by the area shape information in the first information.
  • the first information further includes: transparency information.
  • the setting unit 92 is further configured to set transparency information corresponding to the coverage area of the touchable area or the touch-free area on the touch screen according to the transparency information in the first information.
  • the receiving unit 91 is further configured to receive second information input by the user when the user does not need the set touchable area or the set touchable area, and the second information is used to cancel the touchable area that the user has set on the touch screen. Or the touched area that has been set;
  • the apparatus further includes: an undo unit 93.
  • the undo unit 93 is configured to cancel the touchable area that the user has set on the touch screen or the set touch-free area according to the second information input by the user.
  • the device for setting a touch-free area provided by the embodiment of the present invention is applied to an electronic device with a touch screen.
  • the touch action is determined to be a response operation in the touchable area.
  • an erroneous operation in the non-touch area wherein the touchable area is an area responsive to the touch action, and the touch-free area is an area that does not respond to the touch action, and then the pending operation is performed.
  • the embodiment of the present invention can better meet the user's operating habits, thereby reducing the possibility that the electronic device performs an erroneous touch operation, thereby improving the user experience.
  • the embodiment of the present invention provides another device for setting a touch-free area.
  • the electronic device can set a touchable area or a touch-free area on the touch screen according to a user input by using a message input by the user, that is, according to the current user.
  • the requirement is that the touchable area or the touch-free area is set on the touch screen, so that the accuracy of setting the touchable area or the touch-free area can be improved, thereby improving the user experience; the electronic device can obtain the shape information of the area through the first information, and can The touchable area or the touch-free area is set on the touch screen, that is, the touchable area or the touch-free area of the corresponding shape can be set according to the shape requirement of the user for the touchable area or the touch-free area at this time, so that the touchable area can be further improved.
  • the electronic device can set the transparency of the touchable area and other areas on the touch screen or the transparency of the touch-free area and other areas, so that the user can distinguish Touchable area and other areas of the touch screen, or Touching the area and other areas on the touch screen, thereby further improving the user experience; the electronic device withdraws the set area by receiving the information of the touchable area or the touch-free area that was previously set by the user input, thereby enabling the user to According to your own needs, you can set the touchable area that meets your own needs or touch the area, which can further enhance the user experience.
  • an embodiment of the present invention further provides an electronic device with a touch screen
  • FIG. 10 is a schematic structural diagram of an electronic device with a touch screen according to an embodiment of the present invention; as shown in FIG. 10, the device includes: a processor 1001, a transceiver 1002, and a memory 1003, and the transceiver 1002 and the memory 1003 and the processor respectively 1001 is connected,
  • FIG. 10 is a diagram showing the structure of an electronic device with a touch screen provided by another embodiment of the present invention for performing the touch screen with the embodiments described in the foregoing FIGS. 2, 3, 5, 6, and 7.
  • Authorization method for electronic device implementation is a schematic structural diagram of an electronic device with a touch screen according to an embodiment of the present invention; as shown in FIG. 10, the device includes: a processor 1001, a transceiver 1002, and a memory 1003, and the transceiver 1002 and the memory 1003 and the processor respectively 1001 is connected,
  • FIG. 10 is a diagram showing the structure of an electronic device with a touch screen provided by another embodiment of the present invention for performing the touch screen with the embodiments described
  • the processor 1001 is configured to determine, when a touch action on the touch screen is detected, the touch action to be a response operation in a touchable area or an erroneous operation in a touch-free area.
  • the touchable area is an area that responds to the touch action, and the touched area is an area that does not respond to the touch action.
  • the processor 1001 is further configured to perform an operation to be responded to.
  • the transceiver 1002 is configured to receive first information input by a user.
  • the first information is used to set a touchable area or a touch-free area on the touch screen.
  • the processor 1001 is further configured to set a touchable area or a touch-free area on the touch screen according to the first information input by the user.
  • the first information includes area shape information.
  • the processor 1001 is specifically configured to set a coverage area of the touchable area or the touch-free area on the touch screen according to the shape of the area specified by the area shape information in the first information.
  • the first information further includes: transparency information.
  • the processor 1001 is further configured to set, according to the transparency information in the first information, transparency information corresponding to the coverage area of the touchable area or the touch-free area on the touch screen.
  • the transceiver 1002 is further configured to: when the user does not need the touchable area that has been set or has not been set When the area is touched, the second information input by the user is received.
  • the second information is used to cancel the touchable area that the user has set on the touch screen or the touched area that has been set.
  • the transceiver can be a touch screen.
  • the processor 1001 is further configured to cancel the touchable area that the user has set on the touch screen or the set touch-free area according to the second information input by the user.
  • An electronic device with a touch screen provided by an embodiment of the present invention is applied to an electronic device having a touch screen.
  • the touch action is determined to be a response operation in a touchable area or
  • the erroneous operation is located in the non-touch area, wherein the touchable area is an area responsive to the touch action, the touch-free area is an area that does not respond to the touch action, and then the pending response operation is performed.
  • the embodiment of the present invention can better meet the user's operating habits, thereby reducing the possibility that the electronic device performs an erroneous touch operation, thereby improving the user experience.
  • the embodiment of the present invention provides another electronic device with a touch screen.
  • the electronic device can set a touchable area or a touch-free area on the touch screen according to the user's instruction, that is, according to the user's current In the demand, the touchable area or the touch-free area is set on the touch screen, so that the accuracy of setting the touchable area or the touch-free area can be improved, thereby improving the user experience; the electronic device can obtain the shape information of the area through the first information, and can be on the touch screen.
  • the touchable area or the touch-free area is set on the top, that is, the touchable area or the touch-free area of the corresponding shape can be set according to the shape requirement of the user for the touchable area or the touch-free area at this time, thereby further improving the set touchable area. Or you can not touch the accuracy of the area, which can enhance the user experience; the electronic device can set different transparency between the touchable area and other areas on the touch screen or set different transparency between the touch-free area and other areas, so that the user can be distinguished.
  • the electronic device withdraws the above-set area by receiving the information of the touchable area or the non-touch area set by the user input, thereby making the user You can further set the touchable area or the touch-free area according to your own needs, which can further enhance the user experience.
  • the settings provided in the embodiments of the present invention are not touched.
  • the method for solving the problem in the area of the electronic device is similar to the method for setting the touch-free area in the method embodiment of the present invention. Therefore, the implementation of the electronic device can refer to the implementation of the method, and can refer to FIG. 2, FIG. 3, FIG. 4, FIG. Corresponding descriptions in FIG. 7 are not described herein again.
  • an embodiment of the present invention further provides a display interface of an electronic device having a touch screen, the electronic device with a touch screen including a display, a memory, and a processor for executing instructions stored in the memory, wherein
  • the display has a touch-sensitive surface:
  • the touchable area and the touch-free area are displayed on a display interface of the electronic device.
  • the display interface provided by the embodiment of the present invention is applied to an electronic device having a touch screen.
  • the touch action is determined to be a response operation in the touchable area or is located in the The erroneous operation in the touch area, wherein the touchable area is an area responsive to the touch action, the touch-free area is an area that does not respond to the touch action, and then the pending response operation is performed.
  • the embodiment of the present invention can better meet the user's operating habits, thereby reducing the possibility of the electronic device performing a misoperation, thereby improving the user experience.
  • embodiments of the present invention also provide a non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs include instructions that are electronically
  • the device causes the electronic device to perform the following events when executed:
  • the touch action is an operation to be responded in the touchable area or an erroneous operation in a touch-free area, wherein the touchable area is a response In the area of the touch action, the touch-free area is an area that does not respond to the touch action;
  • the pending response operation is performed.
  • the electronic device, the display interface, and the storage medium provided by the embodiment of the present invention may be applicable to the user to set the touchable area or the touch-free area on the display interface of the touch screen of the electronic device, but is not limited thereto.
  • the processes in the foregoing embodiments are only schematic, and can be completed by hardware, or can be completed by a computer program to instruct related hardware.
  • the computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the methods of the various embodiments of the present invention. step.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

一种设置勿触区域的方法、装置、电子设备、显示界面以及存储介质,涉及信息技术领域,可以降低电子设备执行误操作的可能性,进而可以提升用户体验。所述方法包括:应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作(201),执行待响应操作(202),其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域。

Description

设置勿触区域的方法、装置、电子设备、显示界面以及存储介质 技术领域
本发明涉及一种设置勿触区域的方法、装置、电子设备、显示界面以及存储介质,特别涉及一种为具有触摸屏的电子设备设置误触区域的方法、装置、电子设备、显示界面以及存储介质。
背景技术
随着电子设备的发展,触摸屏的灵敏度也随之提升,因此,用户经常出现误触触摸屏,导致误操作的情况,因此电子设备会采取特定的措施,以避免用户误触触摸屏,导致误操作的情况。目前,用户设备可以根据手与触摸屏的接触面积以及接触时间,确定每次用户与触摸屏的接触是否造成了用户误触触摸屏情况的出现,若确定用户与触摸屏接触为用户误触触摸屏的情况,则电子设备将不响应用户的误操作。
然而,在用户设备根据手与触摸屏的接触面积和以及触摸时间来确定误操作的过程中,由于每个用户的操作习惯不同,因而不同用户在操作时手与触摸屏的接触面积以及触摸时间并不同,并且每次操作中手与触摸屏所需要的接触面积和接触时间也不同,这样会造成用户设备很难识别出不同用户的误操作,进而导致电子设备执行误操作的可能性增大,影响用户正常使用。
发明内容
本发明提供一种设置勿触区域的方法、装置、电子设备、显示界面以及存储介质,可以降低电子设备执行误操作的可能性,进而可以提升用户体验。
第一方面,本发明实施例提供了一种设置勿触区域的方法,应用于一种具有触摸屏的电子设备上,所述方法包括:
当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位 于可触区域内的待响应操作或者为位于勿触区域内的误操作;
其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;执行所述待响应操作。
结合第一方面,在第一方面的第一种可能的实现方式中,
所述确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作的步骤之前,还包括:
接收所述用户输入的第一信息,所述第一信息用于在所述触摸屏上设置可触区域或者勿触区域;
根据所述用户输入的所述第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域。
第一方面的第一种可能的实现方式,通过用户输入的消息,能够根据用户的指示,在触摸屏上设置可触区域或者勿触区域,即能够根据用户当前的需求,在触摸屏上设置可触区域或者勿触区域,从而可以提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,
所述第一信息包括区域形状信息;
根据所述用户输入的第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域的步骤,具体包括:
根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域。
第一方面的第二种可能的实现方式,通过第一信息中得到区域形状信息,能够在触摸屏上设置可触区域或者勿触区域,即可以根据用户此时用于可触区域或者勿触区域的形状需求,设置相应形状的可触区域或者勿触区域,从而可以进一步的提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,
所述第一信息还包括:透明度信息;
根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域的步骤之后,还包括:
根据所述第一信息中的透明度信息,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域对应的透明度信息。
第一方面的第三种可能的实现方式,通过将可触区域与触摸屏上其它区域设置不同的透明度或者将勿触区域与其它区域设置不同的透明度,从而可以使用户区别开可触区域与触摸屏的的其它区域,或者勿触区域与触摸屏上的其它区域,进而可以进一步地提升用户体验。
结合第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,
所述根据所述用户输入的第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域的步骤之后,还包括:
当所述用户不需要已设置的所述可触区域或者已设置的所述勿触区域时,接收所述用户输入的第二信息,所述第二信息用于撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域;
根据所述用户输入的第二信息,撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域。
第一方面的第四种可能的实现方式,通过接收用户输入的撤销上次设置的可触区域或者勿触区域的信息,撤出上述设置的区域,从而使用户可以根据自身需求再次设置符合自身需求的可触区域或者勿触区域,进而可以进一步提升用户体验。
在一种可能的设计中,所述第一信息还包括:区域形状的尺寸信息;
根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区 域或者所述勿触区域在所述触摸屏上的覆盖区域的步骤之后,还包括:
根据所述区域形状的尺寸信息,调整所述可触区域或者勿触区域在所述触摸屏上的覆盖区域的区域大小。通过根据区域形状信息,调整可触区域或者勿触区域在触摸屏上的区域形状大小,能够按照用户的需求或者当前的应用场景,调整可触区域或者勿触区域的区域形状大小,从而可以提高设置可触区域或者勿触区域的准确度,进而可以进一步的提升用户体验。
第二方面,本发明实施例提供了一种设置勿触区域的装置,应用于一种具有触摸屏的电子设备上,所述装置包括:
确定单元,用于当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作;
其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
执行单元,用于执行所述待响应操作。
基于同一发明构思,由于该装置解决问题的原理与第一方面的方法设计中的方案对应,因此该装置的实施可以参见方法的实施,重复之处不再赘述。
第三方面,本发明实施例提供了一种具有触摸屏的电子设备,其特征在于,包括:
处理器,用于当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作;
其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
所述处理器,还用于执行所述待响应操作。
所述处理器调用存储在所述存储器中的指令以实现上述第一方面的 方法设计中的方案,重复之处不再赘述。
第四方面,本发明实施例提供了一种具有触摸屏的电子设备的显示界面,所述具有触摸屏的电子设备包括显示器、存储器以及用于执行存储在所述存储器中的指令的处理器,其中,所述显示器具有触敏表面:
当接收到用户输入的第一信息时,在所述触摸屏上设置所述可触区域或者所述勿触区域;
在所述电子设备的显示界面显示所述可触区域和所述勿触区域。
第五方面,本发明实施例提供了一种存储一个或多个程序的非易失性计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行以下事件:
当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;执行所述待响应操作。
本发明提供的设置勿触区域的方法、装置、电子设备、显示界面以及存储介质,应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。本发明相比于现有技术更能符合用户的操作习惯,从而可以降低电子设备执行误操作的可能性,进而可以提升用户体验。
附图说明
为了更清楚地说明本发明或现有技术中的技术方案,下面将对本发明或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为具有触摸屏的电子设备的结构示意图;
图2为本发明实施例中第一种设置勿触区域的方法流程图;
图3为本发明实施例中第二种设置勿触区域的方法流程图;
图4为本发明实施例中用户在触摸屏上设置可触区域或者勿触区域的示意图;
图5为本发明实施例中第三种设置勿触区域的方法流程图;
图6为本发明实施例中第四种设置勿触区域的方法流程图;
图7为本发明实施例中第五种设置勿触区域的方法流程图;
图8为本发明实施例中第一种设置勿触区域的装置示意图;
图9为本发明实施例中第二种设置勿触区域的装置示意图;
图10为本发明实施例中具有触摸屏的电子设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
为便于说明,本发明实施例以包括触敏显示单元的便携式电子设备100作示例性说明,本领域技术人员可以理解地,本发明实施例同样适用于其他装置,例如手持设备、车载设备、可穿戴设备、计算设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile station,MS),终端(terminal),终端设备(Terminal Equipment)等等。
所述电子设备100可以支持多种应用,例如视频,游戏等;所述电子设备100的触敏显示单元可以直观的呈现所述应用的用户界面,通过所述电子设备100的触敏显示单元执行各种应用。
图1为本发明实施例提供的便携式电子设备100的内部结构示意图。所述电子设备100可以包括触敏显示单元130、存储器120、处理器190、 加速度传感器151、接近光传感器152、环境光传感器153、射频单元110、音频电路160、扬声器161、麦克风162、WiFi(wireless fidelity,无线保真)模块170、蓝牙模块180、电源193、外部接口197等部件。
本领域技术人员可以理解,图1仅仅是具有触摸屏的电子设备的举例,并不构成对便携式电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件。
所述触敏显示单元130有时为了方便被称为“触摸屏”,并且也可被称为是或者被叫做触敏显示器***,也可以被称为具有触敏表面(touch-sensitive surface)的显示器。所述具有触敏表面的显示器包括触敏表面和显示屏;可以显示屏幕界面、也可以接收触摸动作。
触敏显示单元130提供设备与用户之间的输入接口和输出接口。所述触敏显示单元130可收集用户在其上或附近的触摸操作,例如用户使用手指202、关节、触笔等任何适合的物体在触敏显示单元上或在触敏显示单元附近的操作。触敏显示单元可以检测对触敏显示单元的触摸动作、触敏显示单元的网格电容值、触点坐标,将所述触摸动作、触敏显示单元的网格电容值、触点坐标信息发送给所述处理器190,并能接收所述处理器190发来的命令并加以执行。触敏显示单元130显示视觉输出。视觉输出可包括图形、文本、图标、视频及它们的任何组合(统称为“图形”)。在一些实施例中,一些视觉输出或全部的视觉输出可对应于用户界面对象。
触敏显示单元130可使用LCD(液晶显示器)技术、LPD(发光聚合物显示器)技术、或LED(发光二极管)技术,但是在其他实施例中可使用其他显示技术。触敏显示单元130可以利用现在已知的或以后将开发出的多种触摸感测技术中的任何技术,以及其他接近传感器阵列或用于确定与触敏显示单元130接触的一个或多个点的其他元件来检测接触及其任何移动或中断,该多种触摸感测技术包括但不限于电容性的、电阻性的、红外线的、和表面声波技术。在一示例性实施例中,使用投射式互电容感测技术。
在一些实施例中,除了触敏显示单元之外,设备100可包括用于激活或解除激活特定功能的触控板(未示出)。在一些实施例中,触控板是设备的触敏区域,该触敏区域与触敏显示单元不同,其不显示视觉输出。触控 板可以是与触敏显示单元130分开的触敏表面,或者是由触敏显示单元形成的触敏表面的延伸部分。
所述加速度传感器151可检测各个方向上(一般为三轴)加速度的大小。同时,所述加速度传感器151还可用于检测终端静止时重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准),振动识别相关功能(比如计步器、敲击)等。虽然图1示出了加速度传感器,但是可以理解地是,其并不属于电子设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
电子设备100还可以包括一个或多个接近光传感器152,用于当所述电子设备100距用户较近时(例如当用户正在打电话时靠近耳朵)关闭并禁用触敏表面的触摸功能,以避免用户对触敏显示单元的误操作。电子设备100还可以包括一个或多个环境光传感器153,用于当电子设备100位于用户口袋里或其他黑暗区域时保持触敏显示单元关闭,以防止电子设备100在锁定状态时消耗不必要的电池功耗或被误操作。在一些实施例中,接近光传感器和环境光传感器可以集成在一颗部件中,也可以作为两个独立的部件。至于电子设备100还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。虽然图1示出了接近光传感器和环境光传感器,但是可以理解地是,其并不属于电子设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
所述存储器120可用于存储指令和数据。存储器120可主要包括存储指令区和存储数据区。存储指令区可存储操作***、至少一个功能所需的指令等。所述指令可使处理器190执行以下方法,具体方法包括:首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。基于同一发明构思,由于该电子设备解决问题的原理与本发明方法实施例中的设置来电铃声的方法相似,因此该电子设备的实施可以参见方法的实施,重复之处不再赘述。
处理器190是电子设备100的控制中心,利用各种接口和线路连接整 个手机的各个部分,通过运行或执行存储在存储器120内的指令以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器190可包括一个或多个处理单元;优选的,处理器190可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解地是,上述调制解调处理器也可以不集成到处理器190中。在一些实施例中,处理器、存储器、可以在单一芯片上实现;在一些实施例中,他们也可以在独立的芯片上分别实现。在本发明实施例中,处理器190还用于调用存储器中的指令以实现首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。基于同一发明构思,由于该电子设备解决问题的原理与本发明方法实施例中的设置来电铃声的方法相似,因此该电子设备的实施可以参见方法的实施,重复之处不再赘述。
所述射频单元110可用于收发信息或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,给处理器190处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(英文全称:Low Noise Amplifier,英文缩写:LNA)、双工器等。此外,射频单元110还可以通过无线通信与网络设备和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(英文全称:Global System of Mobile communication,英文缩写:GSM)、通用分组无线服务(英文全称:General Packet Radio Service,英文缩写:GPRS)、码分多址(英文全称:Code Division Multiple Access,英文缩写:CDMA)、宽带码分多址(英文全称:Wideband Code Division Multiple Access,WCDMA)、长期演进(英文全称:Long Term Evolut ion,英文缩写:LTE)、电子邮件、短消息服务(英文全称:Short Messaging Service,英文缩写:SMS)等。
音频电路160、扬声器161、麦克风162可提供用户与电子设备100 之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器190处理后,经射频单元110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理,音频电路也可以包括耳机插孔163,用于提供音频电路和耳机之间的连接接口。
WiFi属于短距离无线传输技术,电子设备100通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块170,但是可以理解地是,其并不属于电子设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
蓝牙是一种短距离无线通讯技术。利用蓝牙技术,有效地简化掌上电脑、笔记本电脑和手机等移动通信终端设备之间的通信,也成功地简化以上这些设备与因特网(英文全称:Internet)之间的通信,电子设备100通过蓝牙模块180使电子设备100与因特网之间的数据传输变得更加迅速高效,为无线通信拓宽道路。蓝牙技术是实现语音和数据无线传输的开放性方案。然图1示出了WiFi模块170,但是可以理解地是,其并不属于电子设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
电子设备100还包括给各个部件供电的电源193(比如电池),优选的,电源可以通过电源管理***194与处理器190逻辑相连,从而通过电源管理***194实现管理充电、放电、以及功耗管理等功能。
电子设备100还包括外部接口197,所述外部接口可以是标准的Micro USB接口,也可以使多针连接器,可以用于连接电子设备100与其他装置进行通信,也可以用于连接充电器为电子设备100充电。
尽管未示出,电子设备100还可以包括摄像头、闪光灯等,在此不再赘述。
以下以具有触摸屏的电子设备100为例说明设置误触区域的方法,降 低电子设备执行误操作的可能性,进而可以提升用户体验。
图2为本发明实施例中第一种设置勿触区域的方法流程图;如图2所示,所述方法包括:
201、当检测到作用于触摸屏上的触摸动作时,电子设备确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作。
其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域。
对于本发明实施例,用户可以在触摸屏上定义可触区域或者勿触区域。在本发明实施例中,电子设备根据触摸动作的触点坐标,确定该触点坐标位于可触区域或者勿触区域。
对于本发明实施例,电子设备通过触敏显示单元采集作用于触敏表面的触摸动作,当触敏显示单元采集到作用于触敏表面的触摸动作后,将所采集到的触摸动作的触摸信息传递给处理器。
其中,触摸信息可以包括触点坐标、触敏显示单元的网格电容值、触摸动作中的一种或多种信号。触摸动作可以包括按下、移动以及抬起等动作。
202、电子设备执行待响应操作。
对于本发明实施例,作用于可触区域的触摸操作为可以被电子设备响应的有效的触摸操作,或称为待响应的操作;作用于勿触区域的触摸操作可以为不被电子设备响应的无效的触摸操作,或称为误操作。
对于本发明实施例,若电子设备已采集到的触摸动作为位于可触区域内的待响应操作,则电子设备执行该待响应操作;若电子设备已采集的触摸动作为位于勿触区域内的触摸操作,则电子设备不响应该触摸动作。
本领域普通技术人员可以理解地,当有触摸动作作用于电子设备时,电子设备通过触敏显示单元采集到作用于触敏表面的触摸动作,将触摸动作的触摸信息传递给操作***模块。
其中,触摸信息可以包括触点坐标、触敏显示单元的网格电容值、触摸动作中的一种或多种信号;触摸动作可以包括按下、移动以及抬起等动作;操作***模块根据该触摸信息判断该触摸动作的触摸类型,如单击触 控,触控手势等。
对于本发明实施例,操作***模块将所述触摸信息发送给***应用模块,***应用模块定义了可触区域或勿触区域。在本发明实施例中,***应用模块根据触摸信息判断该触摸动作发生在可触区域或勿触区域,并将判断结果传递给操作***模块。
操作***模块根据***应用模块的判断结果执行相应操作:
示例性地,当该触摸动作发生在可触区域,、操作***模块将触摸信息传递给请求触摸信息的应用模块,应用模块执行相应操作;当该触摸动作发生在勿触区域,操作***模块不响应该触摸动作或不将触摸动作传递给应用模块。
本发明实施例提供的设置勿触区域的方法,应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。本发明实施例相比于现有技术更能符合用户的操作习惯,从而可以降低电子设备执行误触摸操作的可能性,进而可以提升用户体验。
本发明实施例的另一种可能的实现方式,在如图2所示的基础上,步骤201、当检测到作用于触摸屏上的触摸动作时,电子设备确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作之前还包括如图3所示的步骤301-302。
图3为本发明实施例中第二种设置勿触区域的方法流程图:
301、电子设备接收用户输入的第一信息。
其中,第一信息用于在触摸屏上设置可触区域或者勿触区域。
对于本发明实施例,第一信息可以包括:区域形状信息和/或透明度信息。在本发明实施例中,电子设备可以根据第一信息中的区域形状信息和/或透明度信息设置可触区域或者勿触区域匹配的区域形状、大小和/或透明度。
对于本发明可选实施例,电子设备的触摸屏显示界面上显示半透明的 悬浮按钮。
图4为本发明实施例中用户在触摸屏上设置可触区域或者勿触区域的示意图;如图4a所示,电子设备触摸屏的显示界面上设置有可拖动或可点击的悬浮按钮,用户可通过拖动或点击该悬浮按钮调用设置窗口1或者用户通过点击菜单中的设置选项,调用该设置窗口1,如图4b所示,该设置窗口1中包括设置可触区域或者勿触区域的形状图形以及撤销上次设置的按钮,其中,可触区域或者勿触区域的形状可以包括:圆形、矩阵或者其它自定义形状图形;或者如图4c所示,该设置窗口2除了包括设置窗口1中的按钮,还可以包括可触区域以及勿触区域的选择按钮,以及透明度滑块;当用户选择可触区域或者勿触区域的形状图形之后,例如矩形,用户可以根据该形状图形设置可触区域或勿触区域;例如:可以将选定的形状图形设置到某一区域,并设置与该形状图形尺寸匹配的触摸区域为可触区域或勿触区域;可以通过调整与可触区域或勿触区域形状匹配的形状图形的尺寸调整可触区域或勿触区域的尺寸,如图4d所示;用户还可通过点击上述悬浮按钮,调用设置窗口3,该设置窗口3中包括:设置可触区域以及勿触区域的选择按钮,以及透明度滑块,如图4e所示,其中设置窗口可以为图4b的设置窗口1以及图4e所示的设置窗口3,也可以为图4c所示的设置窗口2。
对于本发明实施例,用户也可以直接点击菜单中的设置选项,弹出上述设置窗口1以及设置窗口3或者用户直接点击菜单中的设置选项,弹出上述设置窗口2。
302、电子设备根据用户输入的第一信息,在触摸屏上设置可触区域或者勿触区域。
对于本发明实施例,电子设备通过用户上述操作,在触摸屏上设置可触区域或者勿触区域。
对于本发明可选实施例,该设置窗口中还可以包括:设置形状图形所覆盖区域为可触区域或勿触区域的按钮,因此用户也可以在选取形状图形的同时,设置该形状图形所覆盖区域为可触区域或勿触区域。
本领域技术人员可以理解地,电子设备可以通过接收用户拖动所选择 的形状图形到触控区域的指令设置可触区域或勿触区域,形状图形所覆盖的触控区域则为可触区域或勿触区域。
可以理解地,当设置完可触区域或勿触区域后,覆盖该可触区域或勿触区域的形状图形的位置、尺寸或形状等属性可以随用户的调整而改变,当形状图形的位置、尺寸或形状等属性改变后,可触区域或勿触区域的位置、尺寸或形状等属性随之自适应调整,使该可触区域或勿触区域的位置、尺寸或形状与该形状图形所覆盖的触控区域的位置、尺寸或形状匹配。
可以理解地,当设置完可触区域或勿触区域后,覆盖该可触区域或勿触区域的形状图形的透明度以及颜色等属性可以随用户的调整而改变。
可以理解地,当设置完可触区域后,未被设置为可触区域的触控区域为勿触区域;当设置完勿触区域后,未被设置为勿触区域的触控区域为可触区域。
作为本发明另一种实施方式,也可以先在触控区域选定可触区域或勿触区域,之后设置已选定的可触区域或勿触区域的形状,位置,尺寸,颜色或透明度等信息。
可以理解地,可以在触控屏幕上设置多个可触区域或多个勿触区域。
对于本发明实施例,用户可以根据当前的应用场景,设置可触区域或者勿触区域。例如,若用户当前在编辑短信,则用户可以将发送按钮区域设置为勿触区域或者将编辑区域设置为可触区域;又如,若用户当前在玩游戏,则用户可将返回按钮区域设置为勿触区域或者将游戏区域设置为可触区域;再如,若用户当前在观看视频,则用户可将视频显示区域设置为勿触区域,将菜单或暂停按钮等设置为可触区域。
对于本发明实施例,电子设备通过用户输入的消息,能够根据用户的指示,在触摸屏上设置可触区域或者勿触区域,即能够根据用户当前的需求,在触摸屏上设置可触区域或者勿触区域,从而可以提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验。
本发明实施例中另一种可能的实现方式,在如图2所示的基础上,步骤201、当检测到作用于触摸屏上的触摸动作时,电子设备确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,具体包 括如图5所示的步骤501;
图5为本发明实施例中第三种设置误触区域的方法流程图。
501、电子设备根据第一信息中区域形状信息指定的区域形状,设置可触区域或者勿触区域在触摸屏上的覆盖区域。
其中,第一信息包括区域形状信息。
对于本发明实施例,用户输入的第一信息中携带有区域形状信息,该区域形状信息用于指示可触区域或者勿触区域在触摸屏上的覆盖区域。在本发明实施例中,可触区域或者勿触区域在触摸屏上的覆盖区域的大小可以通过拉伸图形实现覆盖区域尺寸调整。
例如,第一信息中的区域形状信息指定的区域形状为圆形,则可触区域或者勿触区域在触摸屏上的覆盖区域为圆形区域,又如,第一信息中的区域形状信息指定的区域形状为矩形,则可触区域或者勿触区域在触摸屏上的覆盖区域为矩形。
对于本发明实施例,电子设备通过第一信息中得到区域形状信息,能够在触摸屏上设置可触区域或者勿触区域,即可以根据用户此时用于可触区域或者勿触区域的形状需求,设置相应形状的可触区域或者勿触区域,从而可以进一步的提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验。
本发明实施例的另一种可能的实现方式,在如图5所示的基础上,步骤501、电子设备根据所述第一信息中的透明度信息,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域对应的透明度信息;之后还包括如图6所示的步骤601,其中:
图6为本发明实施例中第四种设置误触区域的方法流程图。
601、电子设备根据第一信息中的透明度信息,设置可触区域或者勿触区域在触摸屏上的覆盖区域的透明度。
其中,第一信息还包括:透明度信息。
对于本发明可选实施例,用户可以在触摸屏显示界面上设置透明度滑块,用户可以通过滑动透明度的滑块改变覆盖在可触区域或勿触区域上的形状图形的透明度;可以理解地,也可以通过输入透明度的数值以改变覆 盖在可触区域或者勿触区域上的形状图形的透明度。
对于本发明实施例,电子设备可以将可触区域与触摸屏上其它区域设置不同的透明度或者将勿触区域与其它区域设置不同的透明度,从而可以使用户区别开可触区域与触摸屏的的其它区域,或者勿触区域与触摸屏上的其它区域,进而可以进一步地提升用户体验。
本发明实施例的另一种可能的实现方式,步骤202、电子设备根据用户输入的第一信息,在触摸屏上设置可触区域或者勿触区域,之后还包括如图7所示的步骤701-702,其中:
图7为本发明实施例中第五种设置误触区域的方法流程图。
701、当用户不需要已设置的可触区域或者已设置的勿触区域时,电子设备接收用户输入的第二信息。
其中,第二信息用于撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域。
702、电子设备根据用户输入的第二信息,撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域。
对于本发明实施例,上述设置窗口中包括:撤销上次操作的按钮,电子设备检测到用户点击该按钮,电子设备则撤销用户上次设置的可触区域或者勿触区域。
对于本发明实施例,菜单中存在撤销操作的功能。在本发明实施例中,当用户设备检测到用户点击菜单中的撤销功能按钮时,电子设备则撤销用户上次设置的可触区域或者勿触区域。
对于本发明实施例,电子设备通过接收用户输入的撤销上次设置的可触区域或者勿触区域的信息,撤出上述设置的区域,从而使用户可以根据自身需求再次设置符合自身需求的可触区域或者勿触区域,进而可以进一步提升用户体验。
对于本发明实施例,电子设备通过用户输入的消息,能够根据用户的指示,在触摸屏上设置可触区域或者勿触区域,即能够根据用户当前的需求,在触摸屏上设置可触区域或者勿触区域,从而可以提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备通过第一信息 中得到区域形状信息,能够在触摸屏上设置可触区域或者勿触区域,即可以根据用户此时用于可触区域或者勿触区域的形状需求,设置相应形状的可触区域或者勿触区域,从而可以进一步的提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备可以将可触区域与触摸屏上其它区域设置不同的透明度或者将勿触区域与其它区域设置不同的透明度,从而可以使用户区别开可触区域与触摸屏的的其它区域,或者勿触区域与触摸屏上的其它区域,进而可以进一步地提升用户体验;电子设备通过接收用户输入的撤销上次设置的可触区域或者勿触区域的信息,撤出上述设置的区域,从而使用户可以根据自身需求再次设置符合自身需求的可触区域或者勿触区域,进而可以进一步提升用户体验。
进一步地,作为对图2、图3、图5、图6及图7所示方法的实现,本发明实施例还提供了一种设置勿触区域的装置,用于降低电子设备执行误操作的可能性,进而可以提升用户体验。
图8为本发明实施例中第一种设置勿触区域的装置示意图;如图8所示,装置包括:确定单元81、执行单元82。
确定单元81,用于当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作。
其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域。
执行单元82,用于执行待响应操作。
图9为本发明实施例中第二种设置勿触区域的装置示意图;如图9所示,装置还包括:接收单元91、设置单元92。
接收单元91,用于接收用户输入的第一信息。
其中,第一信息用于在触摸屏上设置可触区域或者勿触区域。
设置单元92,用于根据用户输入的第一信息,在触摸屏上设置可触区域或者勿触区域。
其中,第一信息还包括区域形状信息。
设置单元92,具体用于根据第一信息中区域形状信息指定的区域形状,设置可触区域或者勿触区域在触摸屏上的覆盖区域。
其中,第一信息还包括:透明度信息。
设置单元92,还用于根据第一信息中的透明度信息,设置可触区域或者勿触区域在触摸屏上的覆盖区域对应的透明度信息。
接收单元91,还用于当用户不需要已设置的可触区域或者已设置的勿触区域时,接收用户输入的第二信息,第二信息用于撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域;
进一步地,如图9所示,装置还包括:撤销单元93。
撤销单元93,用于根据用户输入的第二信息,撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域。
本发明实施例提供的设置勿触区域的装置,应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。本发明实施例相比于现有技术更能符合用户的操作习惯,从而可以降低电子设备执行误触摸操作的可能性,进而可以提升用户体验。
进一步地,本发明实施例提供了另一种设置勿触区域的装置,电子设备通过用户输入的消息,能够根据用户的指示,在触摸屏上设置可触区域或者勿触区域,即能够根据用户当前的需求,在触摸屏上设置可触区域或者勿触区域,从而可以提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备通过第一信息中得到区域形状信息,能够在触摸屏上设置可触区域或者勿触区域,即可以根据用户此时用于可触区域或者勿触区域的形状需求,设置相应形状的可触区域或者勿触区域,从而可以进一步的提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备可以将可触区域与触摸屏上其它区域设置不同的透明度或者将勿触区域与其它区域设置不同的透明度,从而可以使用户区别开可触区域与触摸屏的的其它区域,或者勿触区域与触摸屏上的其它区域,进而可以进一步地提升用户体验;电子设备通过接收用户输入的撤销上次设置的可触区域或者勿触区域的信息,撤出上述设置的区域,从而使用户可以 根据自身需求再次设置符合自身需求的可触区域或者勿触区域,进而可以进一步提升用户体验。
需要说明的是,基于同一发明构思,本发明实施例中提供的设置误触区域的装置解决问题的原理与本发明方法实施例中的设置勿触区域的方法相似,因此该装置的实施可以参见方法的实施,,可以参考图2、图3、图4、图6以及图7中的对应描述,在此不再赘述。再进一步地,本发明实施例还提供了一种具有触摸屏的电子设备;
图10为本发明实施例中具有触摸屏的电子设备的结构示意图;如图10所示,该装置包括:处理器1001、收发器1002及存储器1003,所述收发器1002、存储器1003分别与处理器1001相连接,图10描述了本发明另一个实施例提供的具有触摸屏的电子设备的结构,用于执行前述图2、图3、图5、图6以及图7所述实施例的具有触摸屏的电子设备实施的授权方法。
处理器1001,用于当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作。
其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域。
处理器1001,还用于执行待响应操作。
收发器1002,用于接收用户输入的第一信息。
其中,第一信息用于在触摸屏上设置可触区域或者勿触区域。
处理器1001,还用于根据用户输入的第一信息,在触摸屏上设置可触区域或者勿触区域。
其中,第一信息包括区域形状信息。
处理器1001,具体用于根据第一信息中区域形状信息指定的区域形状,设置可触区域或者勿触区域在触摸屏上的覆盖区域。
其中,第一信息还包括:透明度信息。
处理器1001,还用于根据第一信息中的透明度信息,设置可触区域或者勿触区域在触摸屏上的覆盖区域对应的透明度信息。
收发器1002,还用于当用户不需要已设置的可触区域或者已设置的勿 触区域时,接收用户输入的第二信息。
其中,第二信息用于撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域。
其中,收发器可以为触摸屏。
处理器1001,还用于根据用户输入的第二信息,撤销用户在触摸屏上已设置的可触区域或者已设置的勿触区域。
本发明实施例提供的具有触摸屏的电子设备,应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。本发明实施例相比于现有技术更能符合用户的操作习惯,从而可以降低电子设备执行误触摸操作的可能性,进而可以提升用户体验。
进一步地,本发明实施例提供了另一种具有触摸屏的电子设备,电子设备通过用户输入的消息,能够根据用户的指示,在触摸屏上设置可触区域或者勿触区域,即能够根据用户当前的需求,在触摸屏上设置可触区域或者勿触区域,从而可以提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备通过第一信息中得到区域形状信息,能够在触摸屏上设置可触区域或者勿触区域,即可以根据用户此时用于可触区域或者勿触区域的形状需求,设置相应形状的可触区域或者勿触区域,从而可以进一步的提高设置可触区域或者勿触区域的准确度,进而可以提升用户体验;电子设备可以将可触区域与触摸屏上其它区域设置不同的透明度或者将勿触区域与其它区域设置不同的透明度,从而可以使用户区别开可触区域与触摸屏的的其它区域,或者勿触区域与触摸屏上的其它区域,进而可以进一步地提升用户体验;电子设备通过接收用户输入的撤销上次设置的可触区域或者勿触区域的信息,撤出上述设置的区域,从而使用户可以根据自身需求再次设置符合自身需求的可触区域或者勿触区域,进而可以进一步提升用户体验。
需要说明的是,基于同一发明构思,本发明实施例中提供的设置勿触 区域的电子设备解决问题的原理与本发明方法实施例中的设置勿触区域的方法相似,因此该电子设备的实施可以参见方法的实施,可以参考图2、图3、图4、图6以及图7中的对应描述,在此不再赘述。
再进一步地,本发明实施例还提供了一种具有触摸屏的电子设备的显示界面,所述具有触摸屏的电子设备包括显示器、存储器以及用于执行存储在所述存储器中的指令的处理器,其中,所述显示器具有触敏表面:
当接收到用户输入的第一信息时,在所述触摸屏上设置所述可触区域或者所述勿触区域;
在所述电子设备的显示界面显示所述可触区域和所述勿触区域。
本发明实施例提供的显示界面,应用于一种具有触摸屏的电子设备上,首先当检测到作用于触摸屏上的触摸动作时,确定触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,可触区域为响应触摸动作的区域,勿触区域为不响应触摸动作的区域,然后执行待响应操作。本发明实施例相比于现有技术更能符合用户的操作习惯,从而可以降低电子设备执行误操作的可能性,进而可以提升用户体验。
再进一步地,本发明实施例还提供了一种存储一个或多个程序的非易失性计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行以下事件:
当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
执行所述待响应操作。
本发明实施例提供的设置勿触区域的、电子设备、显示界面以及存储介质可以适用于用户在电子设备触摸屏的显示界面上设置可触区域或者勿触区域,但不仅限于此。
进一步地,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程仅仅是示意性的,可以通过硬件来完成,也可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于非易失性 (non-transitory)计算机可读取存储介质中,基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (17)

  1. 一种设置勿触区域的方法,应用于一种具有触摸屏的电子设备上,其特征在于,所述方法包括:
    当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作;
    其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
    执行所述待响应操作。
  2. 根据权利要求1所述的设置勿触区域的方法,其特征在于,所述确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作的步骤之前,还包括:
    接收所述用户输入的第一信息,所述第一信息用于在所述触摸屏上设置可触区域或者勿触区域;
    根据所述用户输入的所述第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域。
  3. 根据权利要求2所述的设置勿触区域的方法,其特征在于,所述第一信息包括区域形状信息;
    根据所述用户输入的第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域的步骤,具体包括:
    根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域。
  4. 根据权利要求3所述的设置勿触区域的方法,其特征在于,所述第一信息还包括:透明度信息;
    根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域的步骤之后,还包括:
    根据所述第一信息中的透明度信息,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域对应的透明度信息。
  5. 根据权利要求2-4任一项所述的设置勿触区域的方法,其特征在于,所述根据所述用户输入的第一信息,在所述触摸屏上设置所述可触区域或 者所述勿触区域的步骤之后,还包括:
    当所述用户不需要已设置的所述可触区域或者已设置的所述勿触区域时,接收所述用户输入的第二信息,所述第二信息用于撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域;
    根据所述用户输入的第二信息,撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域。
  6. 一种设置勿触区域的装置,应用于一种具有触摸屏的电子设备上,其特征在于,所述装置包括:
    确定单元,用于当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作;
    其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
    执行单元,用于执行所述待响应操作。
  7. 根据权利要求6所述的设置勿触区域的装置,其特征在于,所述装置还包括:接收单元、设置单元;
    所述接收单元,用于接收所述用户输入的第一信息,所述第一信息用于在所述触摸屏上设置可触区域或者勿触区域;
    所述设置单元,用于根据所述用户输入的所述第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域。
  8. 根据权利要求7所述的设置勿触区域的装置,其特征在于,所述第一信息包括区域形状信息;
    所述设置单元,具体用于根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域。
  9. 根据权利要求8所述的设置勿触区域的装置,其特征在于,所述第一信息还包括:透明度信息;
    所述设置单元,还用于根据所述第一信息中的透明度信息,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域对应的透明度信息。
  10. 根据权利要求7-9任一项所述的设置勿触区域的方法,其特征在于,
    所述接收单元,还用于当所述用户不需要已设置的所述可触区域或者已设置的所述勿触区域时,接收所述用户输入的第二信息,所述第二信息用于撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域;
    进一步地,所述装置还包括:撤销单元;
    所述撤销单元,用于根据所述用户输入的第二信息,撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域。
  11. 一种具有触摸屏的电子设备,其特征在于,包括:
    处理器,用于当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作;
    其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
    所述处理器,还用于执行所述待响应操作。
  12. 根据权利要求11所述的具有触摸屏的电子设备,其特征在于,所述具有触摸屏的电子设备还包括:收发器;
    所述收发器,用于接收所述用户输入的第一信息,所述第一信息用于在所述触摸屏上设置可触区域或者勿触区域;
    所述处理器,还用于根据所述用户输入的所述第一信息,在所述触摸屏上设置所述可触区域或者所述勿触区域。
  13. 根据权利要求12所述的具有触摸屏的电子设备,其特征在于,所述第一信息包括区域形状信息;
    所述处理器,具体用于根据所述第一信息中区域形状信息指定的区域形状,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域。
  14. 根据权利要求13所述的具有触摸屏的电子设备,其特征在于,所述第一信息还包括:透明度信息;
    所述处理器,还用于根据所述第一信息中的透明度信息,设置所述可触区域或者所述勿触区域在所述触摸屏上的覆盖区域对应的透明度信息。
  15. 根据权利要求12-14任一项所述的设置勿触区域的方法,其特征在于,
    所述收发器,还用于当所述用户不需要已设置的所述可触区域或者已设置的所述勿触区域时,接收所述用户输入的第二信息,所述第二信息用于撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域;
    所述处理器,还用于根据所述用户输入的第二信息,撤销所述用户在所述触摸屏上已设置的所述可触区域或者已设置的所述勿触区域。
  16. 一种具有触摸屏的电子设备的显示界面,其特征在于,所述具有触摸屏的电子设备包括显示器、存储器以及用于执行存储在所述存储器中的指令的处理器,其中,所述显示器具有触敏表面:
    当接收到用户输入的第一信息时,在所述触摸屏上设置所述可触区域或者所述勿触区域;
    在所述电子设备的显示界面显示所述可触区域和所述勿触区域。
  17. 一种存储一个或多个程序的非易失性计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行以下事件:
    当检测到作用于所述触摸屏上的触摸动作时,确定所述触摸动作为位于可触区域内的待响应操作或者为位于勿触区域内的误操作,其中,所述可触区域为响应所述触摸动作的区域,所述勿触区域为不响应所述触摸动作的区域;
    执行所述待响应操作。
PCT/CN2016/078148 2016-03-31 2016-03-31 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质 WO2017166209A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/078148 WO2017166209A1 (zh) 2016-03-31 2016-03-31 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质
CN201680006457.0A CN107438823A (zh) 2016-03-31 2016-03-31 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/078148 WO2017166209A1 (zh) 2016-03-31 2016-03-31 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质

Publications (1)

Publication Number Publication Date
WO2017166209A1 true WO2017166209A1 (zh) 2017-10-05

Family

ID=59962498

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078148 WO2017166209A1 (zh) 2016-03-31 2016-03-31 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质

Country Status (2)

Country Link
CN (1) CN107438823A (zh)
WO (1) WO2017166209A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334234A (zh) * 2018-02-09 2018-07-27 北京小米移动软件有限公司 一种控制触摸位置上报的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117140A (zh) * 2009-12-30 2011-07-06 联想(北京)有限公司 一种触摸处理方法及移动终端
CN102830844A (zh) * 2012-08-17 2012-12-19 北京小米科技有限责任公司 一种触摸屏防误操作方法、触摸屏及移动终端
CN104714691A (zh) * 2015-01-30 2015-06-17 深圳市中兴移动通信有限公司 移动终端防误触控方法及装置
CN104932788A (zh) * 2015-06-24 2015-09-23 青岛海信移动通信技术股份有限公司 一种自适应触屏控制方法和设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346596B (zh) * 2011-11-14 2013-11-13 宇龙计算机通信科技(深圳)有限公司 触摸操作处理方法和终端
CN103365588B (zh) * 2012-04-11 2015-04-22 华为终端有限公司 一种触屏操作的处理方法及触控设备
CN103176738A (zh) * 2013-02-01 2013-06-26 深圳桑菲消费通信有限公司 一种手机触屏的扩展使用方法、***和手机
TWI608407B (zh) * 2013-11-27 2017-12-11 緯創資通股份有限公司 觸控裝置及其控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117140A (zh) * 2009-12-30 2011-07-06 联想(北京)有限公司 一种触摸处理方法及移动终端
CN102830844A (zh) * 2012-08-17 2012-12-19 北京小米科技有限责任公司 一种触摸屏防误操作方法、触摸屏及移动终端
CN104714691A (zh) * 2015-01-30 2015-06-17 深圳市中兴移动通信有限公司 移动终端防误触控方法及装置
CN104932788A (zh) * 2015-06-24 2015-09-23 青岛海信移动通信技术股份有限公司 一种自适应触屏控制方法和设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334234A (zh) * 2018-02-09 2018-07-27 北京小米移动软件有限公司 一种控制触摸位置上报的方法和装置

Also Published As

Publication number Publication date
CN107438823A (zh) 2017-12-05

Similar Documents

Publication Publication Date Title
US10642483B2 (en) Quick screen splitting method, apparatus, and electronic device, display UI, and storage medium
US11307760B2 (en) Terminal interface display method and terminal
US11243657B2 (en) Icon display method, and apparatus
WO2019174611A1 (zh) 应用程序的设置方法及移动终端
WO2019024056A1 (zh) 一种防误触方法及终端
CN110069178B (zh) 界面控制方法及终端设备
KR20130141209A (ko) 근접 터치 감지 장치 및 방법
CN110908579B (zh) 触控响应方法及电子设备
KR102446587B1 (ko) 태스크 전환 방법 및 단말기
CN108681427B (zh) 一种访问权限控制的方法及终端设备
EP3764254B1 (en) Fingerprint unlocking method, and terminal
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
CN108073405B (zh) 一种应用程序卸载方法及移动终端
CN111338524A (zh) 应用程序控制方法及电子设备
WO2017031647A1 (zh) 一种检测触摸方式的方法及装置
CN107479799B (zh) 一种显示窗口的方法和装置
KR102015349B1 (ko) 통화 전환 방법 및 휴대 단말
WO2018039914A1 (zh) 一种数据复制方法及用户终端
CN111443860A (zh) 触控方法和电子设备
WO2017166209A1 (zh) 设置勿触区域的方法、装置、电子设备、显示界面以及存储介质
US11520481B2 (en) Touch display screen operation method and user equipment
WO2017035740A9 (zh) 一种选择文本的方法
EP3674867B1 (en) Human-computer interaction method and electronic device
WO2017035794A1 (zh) 显示器操作的方法、装置、用户界面及存储介质
CN105700762B (zh) 一种显示选择项信息的方法和装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16895989

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895989

Country of ref document: EP

Kind code of ref document: A1