Patent Description:
With the development of terminal technologies, a touch operation manner for edges of a mobile terminal appears. For example, an edge touch function is provided on a mobile phone, so that an operable region of the mobile phone extends from a screen to both sides of a border of the mobile phone. A user can start a shutter by touching the side border of the mobile phone when taking a photo, and can quickly return by touching the borders of the phone twice in succession when browsing a webpage.

In the related art, <CIT> provides an anti-mistouch method of a curved screen and an electronic device, which can implement anti-mistouch on a side edge of a curved screen, and improve accuracy of anti-mistouch. A specific solution includes: An electronic device obtains an included angle between a touchscreen (a curved screen with a radian on a side edge) and a horizontal plane; starts a camera in response to the included angle between the touchscreen and the horizontal plane falling within a first preset angle range; obtains a distance between the electronic device and a user and a face yaw degree of the user in response to the camera collecting a face image; and performs anti-mistouch processing on a preset mistouch operation of the user on the touchscreen in response to the distance between the electronic device and the user being less than a first distance threshold and the face yaw degree falling within a second preset angle range. When the user performs the preset mistouch operation, a contact surface between a hand and the touchscreen is: a first contact surface in a radian region on one side of the touchscreen and x second contact surfaces in a radian region on the other side of the touchscreen, where <NUM> ≤ x ≤ <NUM>, and x is a positive integer.

In the related art, <CIT> provides a touch region adjustment method. The touch region adjustment method includes: determining a region on a touch display of a terminal device and in which a sensing parameter changes, to further determine a grasping gesture of a user for the terminal device; and then, adjusting a location of a touch response region on the touch display based on the grasping gesture of the user for the electronic device, to avoid an accidental touch caused by the grasping gesture of the user for the screen of the terminal device, thereby improving user experience.

The disclosure provides an edge anti-false-touch method, an electronic device, and a computer-readable storage medium to solve the deficiencies in the related art.

According to a first aspect of an example of the disclosure, an edge anti-false-touch method is provided. The method includes:.

Obtaining, by a mobile terminal, a face direction of a user of the mobile terminal, and obtaining gesture data of the mobile terminal, where the face direction includes a first included angle between a human face direction in a current image and a first coordinate axis in a coordinate system where the mobile terminal is located;.

Optionally, obtaining the face direction of the user of the mobile terminal, includes:.

Optionally, determining, according to the face direction and the gesture data, the screen display state of the mobile terminal, includes:.

Optionally, obtaining, according to the gesture data, the orientation of the mobile terminal, includes:
obtaining, according to the gesture data, a second included angle between a second coordinate axis in the coordinate system where the mobile terminal is located and a horizontal plane, and determining the second included angle as the orientation of the mobile terminal. The second coordinate axis is perpendicular to the first coordinate axis.

Optionally, determining, according to the face direction and the orientation, the screen display state of the display screen of the mobile terminal, includes:.

Optionally, determining, based on the face direction and the motion state, the screen display state of the mobile terminal, includes:.

Optionally, the adjusting, based on the screen display state, the size of the anti-false-touch region of the mobile terminal to trigger the anti-false-touch response for the anti-false-touch region, includes:.

According to a second aspect of an example of the disclosure, an edge anti-false-touch apparatus is provided, and applied to a mobile terminal. The apparatus includes:.

Optionally, the face direction obtaining module includes:.

Optionally, the screen state obtaining module includes:.

Optionally, the terminal orientation obtaining sub-module includes:
a second included angle obtaining sub-module, configured to obtain, according to the gesture data, a second included angle between a second coordinate axis in the coordinate system where the mobile terminal is located and a horizontal plane, and determine the second included angle as the orientation of the mobile terminal. The second coordinate axis is perpendicular to the first coordinate axis.

Optionally, the screen state obtaining sub-module includes:.

Optionally, the region size adjusting module includes:.

According to a third aspect of an example of the disclosure, an electronic device is provided, and includes:.

The processor is configured to implement any method as described above.

According to a fourth aspect of an example of the disclosure, a non-transitory computer-readable storage medium on which a computer-executable program is stored is provided. When the computer-executable program is executed by a processor, the steps of any method as described above are implemented.

The technical solution provided by the examples of the disclosure may include the following beneficial effects:
As can be seen from the above examples, the technical solution provided by the examples of the disclosure can obtain the face direction of the user of the mobile terminal, and obtain the gesture data of the mobile terminal, where the face direction includes the first included angle between the human face direction in the current image and the first coordinate axis in the coordinate system where the mobile terminal is located; then, the screen display state of the mobile terminal is determined according to the face direction and the gesture data; and then, the size of the anti-false-touch region of the mobile terminal is adjusted based on the screen display state to trigger the anti-false-touch response of the anti-false-touch region. In this way, in the examples, the included angle between the human face direction and the first coordinate axis of the mobile terminal can be determined by obtaining the face direction of the user, that is, the relative positional relationship between the human face and the display screen of the mobile terminal can be obtained, so the screen display state when the user is in a sports state or a side-lying state can be accurately obtained, the accuracy of obtaining the anti-false-touch region can be improved, and thus an effect of accurately executing an anti-false-touch operation is achieved. It can be seen that the examples can improve the efficiency of touch on the edges of the mobile terminal and optimize the user experience.

It should be understood that the above general descriptions and the following detailed descriptions are exemplary and explanatory only, and are not intended to limit the disclosure.

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate examples consistent with the disclosure and together with the specification serve to explain the principles of the disclosure.

Some examples will be described in detail herein, instances of which are illustrated in accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different accompanying drawings represent the same or similar elements unless otherwise indicated. Implementations described in the following examples do not represent all implementations consistent with the disclosure. On the contrary, they are merely instances of an apparatus and a method consistent with some aspects of the disclosure as detailed in appended claims.

Terms used in the disclosure are for the purpose of describing particular examples only and are not intended to limit the disclosure. As used in the disclosure and the appended claims, singular forms "a", "the" and "this" are intended to include plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more of associated listed items.

It should be understood that although the terms first, second, third, etc. may be used in the disclosure to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the disclosure. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

The terms "module," "sub-module," "circuit," "sub-circuit," "circuitry," "sub-circuitry," "unit," or "sub-unit" may include memory (shared, dedicated, or group) that stores code or instructions that can be executed by one or more processors. A module may include one or more circuits with or without stored code or instructions. The module or circuit may include one or more components that are directly or indirectly connected. These components may or may not be physically attached to, or located adjacent to, one another.

<FIG> is a schematic diagram of edge touch according to some related examples. As shown in <FIG>, edge sensing regions (gray parts in <FIG>) <NUM> are located on edges of both sides of a mobile phone <NUM>. A user can trigger the mobile phone <NUM> to perform corresponding operations by touching the edge sensing regions <NUM>. For example, the user can start a shutter by touching the edge sensing regions <NUM> when using the mobile phone <NUM> to take a photo, and can quickly return to a previous page by touching the edge sensing regions <NUM> when using the mobile phone <NUM> to browse web pages.

In order to avoid misoperations, in the related art, an anti-false-touch region may be set at an edge where a grip is located to improve the experience of the mobile phone <NUM>. In the related art, a sensor (such as a gravity sensor, a three-axis gyroscope, and an acceleration sensor) is disposed in the mobile phone <NUM>, and gesture data (also referred to as orientation data) of the mobile phone <NUM> are collected through the sensor to determine whether the mobile phone <NUM> is displayed in a portrait mode or a landscape mode.

However, when the mobile phone <NUM> is used in some scenarios (for example, the user is in a side-lying state or a sports state), only using the sensor to determine whether the mobile phone <NUM> is displayed in the portrait mode or the landscape mode may result in misjudgment. For example, when the user is in the side-lying state and uses the mobile phone <NUM> in the portrait orientation, the sensor determines that a Y-axis of a coordinate system where the mobile phone <NUM> is located is parallel to the horizontal plane, and determines that the mobile phone <NUM> is displayed in the landscape orientation, resulting in false operations on the edge sensing regions <NUM>, which may cause inconvenience to the user and affect user experience.

In order to solve the above technical problems, the disclosure provides an edge anti-false-touch method. The inventive concept is that a face image of the user is collected through a camera in a mobile terminal, an included angle between a human face direction in the face image and a first coordinate axis in a coordinate system where the mobile terminal is located is determined, and the relative positional relationship between the human face and the mobile terminal may be determined, for example, the human face direction is parallel to the first coordinate axis or the human face direction is perpendicular to the first coordinate axis. An orientation of the mobile terminal is determined in combination with data collected by a sensor in the mobile terminal, and finally a screen display state of the mobile terminal may be determined, so the problem of misjudgment caused by only using the sensor may be avoided. A detailed description is given below with reference to the examples.

<FIG> is a flow chart of an edge anti-false-touch method according to an example. Referring to <FIG>, the method may be applied to the mobile terminal, and includes steps <NUM> to <NUM>.

In step <NUM>, a face direction of a user of the mobile terminal is obtained, and gesture data of the mobile terminal are obtained. The face direction includes a first included angle between a human face direction in a current image and a first coordinate axis in a coordinate system where the mobile terminal is located.

In the example, a (front-facing) camera is disposed in the mobile terminal, such as a low-power camera, so that power consumption may be reduced while images are collected. The mobile terminal may control the camera to collect the images to obtain the face direction of the user. Referring to <FIG>, steps <NUM> to <NUM> are included.

In step <NUM>, the mobile terminal may obtain the current image of the mobile terminal in a current use state. For example, in response to determining the mobile terminal is in a use state, the mobile terminal may control the camera to collect the current image in the current use state according to a preset period. It can be understood that since the user is using the mobile terminal, the head of the user may enter the viewing range of the camera, so that the current image includes a face region of the user.

In step <NUM>, the mobile terminal may input the current image to a preset human face recognition model, and obtain the face region of the current image output by the human face recognition model. The human face recognition model may include but is not limited to: convolutional neural networks, recurrent neural networks, deep belief networks, generative adversarial networks, etc., which may be set according to specific scenarios. Corresponding solutions fall within the protection scope of the disclosure in the case where the face region may be determined. It can be understood that the human face direction may be determined from the face region in the current image, namely, a direction parallel to a connecting line between the top and bottom of a face, or a direction of the height of the user. In addition, in the example, the posture of the user may be represented through the human face direction in the above face region.

In step <NUM>, the mobile terminal may obtain the first included angle between the human face direction in the face region and the first coordinate axis in the coordinate system where the mobile terminal is located, and determine the first included angle as the face direction. The coordinate system where the mobile terminal is located is as shown in <FIG>. The coordinate system is established with a center point of the mobile terminal as a coordinate origin, a width direction as an X-axis, a height direction as a Y-axis, and a direction perpendicular to a display screen as a Z-axis. The first coordinate axis may be the X-axis or the Y-axis in the coordinate system. A second coordinate axis described below may be the X-axis or the Y-axis in the coordinate system, and is perpendicular to the first coordinate axis. For convenience of description, in the disclosure, the first coordinate axis is implemented by the Y-axis, and the second coordinate axis is implemented by the X-axis.

In step <NUM>, in response to determining the human face direction and the first coordinate axis are known, an included angle between the human face direction and the first coordinate axis, namely, the first included angle may be figured out. It can be understood that the process of obtaining the first included angle may be converted into obtaining an included angle of two straight lines in a plane in mathematics. The calculation process may refer to the related art, which will not be repeated here.

In the example, a sensor, such as a gravity sensor, a three-axis gyroscope and an acceleration sensor, may be disposed in the mobile terminal. The above sensor may control to collect the gesture data of the mobile terminal in a set period.

In step <NUM>, the screen display state of the mobile terminal is determined according to the face direction and the gesture data.

In the example, the mobile terminal may determine the screen display state of the mobile terminal according to the face direction and the gesture data. Referring to <FIG>, steps <NUM> to <NUM> are included.

In step <NUM>, the mobile terminal may obtain the orientation of the mobile terminal according to the gesture data. For example, the mobile terminal may obtain a second included angle between a second coordinate axis in the coordinate system where the mobile terminal is located and the horizontal plane according to the gesture data, and determine the second included angle as the orientation of the mobile terminal. The second coordinate axis is perpendicular to the first coordinate axis. In response to determining the gesture data are collected by the three-axis gyroscope, an offset of the Y-axis may be directly read, and a projection angle of the offset on an XY plane may be used as the above second included angle. It can be understood that the process of obtaining the second included angle may be converted into obtaining an included angle of two straight lines in space in mathematics. The calculation process may refer to the related art, which will not be repeated here.

In step <NUM>, the mobile terminal may determine the screen display state of the display screen of the mobile terminal based on the face direction and the orientation. For example, the mobile terminal may compare the face direction with a preset first face direction range and a preset second face direction range, and compare the orientation with a preset first orientation range and a preset second orientation range. The first face direction range may be -<NUM>-<NUM> degrees, the second face direction range may be <NUM>-<NUM> degrees, the first orientation range may be <NUM>-<NUM> degrees, and the second orientation range may be -<NUM>-<NUM> degrees. In response to determining the face direction is within the first face direction range and the orientation is within the first orientation range, the mobile terminal may determine that the screen display state of the mobile terminal is a portrait state. In response to determining the face direction is within the second face direction range and the orientation is within the second orientation range, the mobile terminal may determine that the screen display state of the mobile terminal is a landscape state.

It should be noted that when the face direction is within the first face direction range, it indicates that the face direction is parallel to the Y-axis of the mobile terminal, and the mobile terminal may be in the portrait state at this time. When the orientation is within the first orientation range, it indicates that the X-axis of the mobile terminal is perpendicular to the horizontal plane, and the mobile terminal is in the landscape state (that is, the width direction is perpendicular to the horizontal plane) at this time. When the above two conditions are met at the same time, it indicates that the user is lying on the side and the screen display state is the portrait state, and the effect is as shown in <FIG>.

When the face direction is within the second face direction range, it indicates that the face direction is perpendicular to the Y axis of the mobile terminal, and the mobile terminal may be in the landscape state at this time. When the orientation is within the second orientation range, it indicates that the X-axis of the mobile terminal is parallel to the horizontal plane, and the mobile terminal is in the portrait state (that is, the height direction is perpendicular to the horizontal plane) at this time. When the above two conditions are met at the same time, it indicates that the user is lying on the side and the screen display state is the landscape state, and at this time, the direction of the mobile terminal may be obtained by rotating by <NUM> degrees from the position shown in <FIG>.

It should also be noted that, "perpendicular" in the content of step <NUM> does not strictly mean that the angle between the two must be <NUM> degrees, and when the angle is within the range of <NUM>-<NUM> degrees, it may be understood as perpendicular. Similarly, "parallel" does not strictly mean that the angle between the two must be <NUM> degree, and when the angle is within the range of -<NUM>-<NUM> degrees, it may be understood as parallel. The above angle range may be set according to the specific scene, for example, -<NUM>-<NUM> degrees, and <NUM>-<NUM> degrees. The solution of the disclosure may be implemented in the case where it may be roughly judged that the two are parallel or tend to be parallel, vertical or tend to be vertical. The above solution also falls within the protection scope of the disclosure.

The above examples shown in <FIG> are suitable for a scenario where the mobile terminal is used in a side-lying scenario. In a sports scenario, the mobile terminal obtains the screen display state. Referring to <FIG>, steps <NUM> to <NUM> are included.

In step <NUM>, the mobile terminal may obtain a motion state of the mobile terminal according to the gesture data. The mobile terminal includes one or more sensors such as a gravity sensor, an acceleration sensor or a GPS device, and the gesture data are collected by using the above sensors. Taking the acceleration sensor as an example, the mobile terminal may obtain acceleration data output by the acceleration sensor, and may determine that the user is in a walking, jogging, race walking, or other motion state according to a direction (such as up, down, up, down, etc., and having a forward component) of the acceleration data. For convenience of description, in this step, the motion state such as walking, jogging, and race walking that is suitable for viewing the mobile terminal are referred to as a target state. It should be noted that determining the motion state of the mobile terminal according to the gesture data collected by the sensor may also be implemented by other solutions in the related art, and the corresponding solutions also fall within the protection scope of the disclosure.

In step <NUM>, the mobile terminal may determine the screen display state of the mobile terminal based on the face direction and the motion state. For example, the mobile terminal may compare the face direction with the preset first face direction range and the second face direction range, and determine whether the motion state is the target state. In response to determining the face direction is within the first face direction range and the motion state is the target state, it is determined that the screen display state of the mobile terminal is the portrait state. In response to determining the face direction is within the second face direction range and the motion state is the target state, it is determined that the screen display state of the mobile terminal is the landscape state.

It should be noted that, in step <NUM>, in response to determining the face direction is within the first face direction range, it indicates that the face direction is parallel to the Y axis of the mobile terminal, and the mobile terminal may be in the portrait state at this time. The motion state of the mobile terminal is the target state, and an implicit condition is that the user is in a standing state or the height direction is perpendicular to the horizontal plane. In response to determining the above two conditions are met at the same time, it indicates that the user is in the sports scenario and the screen display state is the portrait state, and the effect is as shown in <FIG>.

In response to determining the face direction is within the second face direction range, it indicates that the face direction is perpendicular to the Y-axis of the mobile terminal, and the mobile terminal may be in the landscape state at this time. The motion state of the mobile terminal is the target state, and the implicit condition is that the user is in the standing state or the height direction is perpendicular to the horizontal plane. In response to determining the above two conditions are met at the same time, it indicates that the user is in the sports scenario and the screen display state is the landscape state. At this time, the direction of the mobile terminal is obtained by rotating by <NUM> degrees from the position shown in <FIG>.

It should also be noted that "perpendicular" and "parallel" in the content of step <NUM> have the same meanings as in step <NUM>. For details, see step <NUM>, which will not be repeated here.

In step <NUM>, a size of an anti-false-touch region of the mobile terminal is adjusted based on the screen display state to trigger an anti-false-touch response of the anti-false-touch region.

In an example, referring to <FIG>, in step <NUM>, the mobile terminal may determine the position of the anti-false-touch region in the display screen of the mobile terminal based on the screen display state. It can be understood that, in response to determining the screen display state is known, the position of the anti-false-touch region in the display screen may be directly obtained. For example, in response to determining the screen display state is the portrait state, the position of the anti-false-touch region is located at edges of left and right sides (that is, both sides in the width direction) of the display screen of the mobile terminal. In response to determining the screen display state is the landscape state, the position of the anti-false-touch region is located at the edges of the top and bottom (that is, both sides in the height direction) of the display screen of the mobile terminal. In step <NUM>, the mobile terminal may adjust a width of the anti-false-touch region from a first width to a second width, where the second width is greater than the first width. In other words, since the user is in the side-lying state or in the sports state, the contact area between a palm and the mobile terminal is increased because the user may grip the mobile terminal vigorously. In this step, the width of the anti-false-touch region is increased to avoid the misoperations.

In another example, referring to <FIG>, in step <NUM>, the mobile terminal may determine the position of the anti-false-touch region in the display screen of the mobile terminal based on the screen display state, which may refer to the content of step <NUM>, and may not be repeated here. In step <NUM>, the mobile terminal may determine which palm holds the mobile terminal according to touch data of the mobile terminal in the current use state. The palm includes a left palm or a right palm, that is, whether the mobile terminal is held with the left palm or the right palm is determined. For example, the mobile terminal may obtain the touch data in the current use state. Since a contact region between a thumb and the display screen is a region with a large area, and contact regions between the remaining four fingers and the display screen are a plurality of adjacent regions with small areas. The mobile terminal may obtain an area of a touch region. A region with an area that exceeds a first area threshold is used as the contact region of the thumb, and regions with areas smaller than a second area threshold are used as the contact regions of the other four fingers. Whether it is the left palm or the right palm is determined according to the relative position relationship between the thumb and the other four fingers. Technicians may also select a solution for determining the palm according to a specific scenario, such as a neural network. In the case where the left palm or the right palm may be determined, a corresponding solution falls within the protection scope of the disclosure.

In step <NUM>, the mobile terminal may adjust a width of an anti-false-touch region close to the palm from the first width to a third width, and adjust a width of an anti-false-touch region away from the palm from the first width to the second width. The second width is greater than the first width and smaller than the third width. In this way, in this step, by increasing the width of the anti-false-touch region corresponding to the other four fingers and further increasing the width of the anti-false-touch region corresponding to the thumb, the misoperations may be avoided.

It should be noted that, after determining the anti-false-touch region, the mobile terminal may realize the anti-false-touch response, for example, the touch operation in the anti-false-touch region is an effective touch operation after exceeding a set duration, or after a touch area of the anti-false-touch region exceeds a set area threshold, etc. The technician may select an appropriate solution for anti-false-touch response according to the specific scenario, and the corresponding solution falls within the protection scope of the disclosure.

On the basis of the above edge anti-false-touch method, an example of the disclosure further provides an edge anti-false-touch apparatus. Referring to <FIG>, the apparatus is applied to a mobile terminal, and includes:.

In an example, the face direction obtaining module includes:.

In an example, the screen state obtaining module includes:.

In an example, the terminal orientation obtaining sub-module includes:
a second included angle obtaining sub-module, configured to obtain, according to the gesture data, a second included angle between a second coordinate axis in the coordinate system where the mobile terminal is located and the horizontal plane, and determine the second included angle as the orientation of the mobile terminal. The second coordinate axis is perpendicular to the first coordinate axis.

In an example, the screen state obtaining sub-module includes:.

In an example, the region size adjusting module includes:.

It should be noted that the apparatus and devices shown in this example match the content of the method example, and may refer to the content of the above method example, which will not be repeated here.

<FIG> is a block diagram of an electronic device according to an example. For example, the electronic device <NUM> may be a smart phone, a computer, a digital broadcasting terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc..

Referring to <FIG>, the electronic device <NUM> may include one or more of the following components: a processing component <NUM>, a memory <NUM>, a power component <NUM>, a multimedia component <NUM>, an audio component <NUM>, an input/output (I/O) interface <NUM>, a sensor component <NUM>, a communication component <NUM>, and an image collection component <NUM>.

The processing component <NUM> generally controls the overall operations of the electronic device <NUM>, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component <NUM> may include one or more processors <NUM> to execute computer programs. In addition, the processing component <NUM> may include one or more modules to facilitate the interaction between the processing component <NUM> and other components. For example, the processing component <NUM> may include a multimedia module to facilitate the interaction between the multimedia component <NUM> and the processing component <NUM>.

The memory <NUM> is configured to store various types of data to support the operations of the electronic device <NUM>. Instances of such data include computer programs of any application or method operating on the electronic device <NUM>, contact data, phone book data, messages, pictures, videos, etc. The memory <NUM> may be implemented by any type of volatile or non-volatile storage device or their combination, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or a compact disc.

The power component <NUM> provides power for various components of the electronic device <NUM>. The power component <NUM> may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing the power to the electronic device <NUM>. The power component <NUM> may include a power supply chip, and a controller may communicate with the power supply chip to control the power supply chip to turn on or off a switch device, so that a battery supplies power to a mainboard circuit or not.

The multimedia component <NUM> includes a screen that provides an output interface between the electronic device <NUM> and a target object. In some examples, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen may be implemented as a touch screen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or swiping action, but also detect the duration and pressure related to the touch or swiping operation.

The audio component <NUM> is configured to output and/or input audio file information. For example, the audio component <NUM> includes a microphone (MIC), and when the electronic device <NUM> is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio file information. The received audio file information may be further stored in the memory <NUM> or transmitted via the communication component <NUM>. In some examples, the audio component <NUM> further includes a loudspeaker configured to output the audio file information.

The I/O interface <NUM> provides an interface between the processing component <NUM> and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, buttons, and the like.

The sensor component <NUM> includes one or more sensors configured to provide the electronic device <NUM> with various aspects of state assessment. For example, the sensor component <NUM> may detect the on/off state of the electronic device <NUM>, and the relative positioning of components, such as a display screen and a keypad of the electronic device <NUM>. The sensor component <NUM> may also detect the position change of the electronic device <NUM> or a component, the presence or absence of contact between the target object and the electronic device <NUM>, the orientation or acceleration/deceleration of the electronic device <NUM>, and the temperature change of the electronic device <NUM>. In the instance, the sensor component <NUM> may include a magnetic sensor, a gyroscope and a magnetic field sensor. The magnetic field sensor includes at least one of the following: a Hall sensor, a thin film magnetoresistive sensor, or a magnetic liquid acceleration sensor.

The communication component <NUM> is configured to facilitate wired or wireless communications between the electronic device <NUM> and other devices. The electronic device <NUM> may have an access to a wireless network based on a communication standard, such as WiFi, <NUM>, <NUM>, <NUM>, <NUM>, or a combination of them. In an example, the communication component <NUM> receives a broadcast message or broadcast related messages from an external broadcast management system via a broadcast channel. In an example, the communication component <NUM> further includes a near field communication (NFC) device to facilitate short-range communications. For example, the NFC device may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultrawideband (UWB) technology, a Bluetooth (BT) technology and other technologies.

In an example, the electronic device <NUM> may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.

Claim 1:
An edge anti-false-touch method, comprising:
obtaining (S21), by a mobile terminal, a face direction of a user of the mobile terminal, and obtaining orientation data of the mobile terminal, wherein the face direction comprises a first included angle between a human face direction in a current image and a first coordinate axis in a coordinate system where the mobile terminal is located;
characterized in that the method further comprises:
determining (S22), by the mobile terminal according to the face direction and the orientation data, a screen display state of the mobile terminal; the screen display state of the mobile terminal is a landscape state or a portrait state; and
adjusting (S23), by the mobile terminal based on the screen display state, a size of an anti-false-touch region of the mobile terminal to trigger an anti-false-touch response of the anti-false-touch region.