CN117917623A - Anti-false touch method of touch screen, electronic equipment and storage medium - Google Patents

Anti-false touch method of touch screen, electronic equipment and storage medium Download PDF

Info

Publication number
CN117917623A
CN117917623A CN202211293419.1A CN202211293419A CN117917623A CN 117917623 A CN117917623 A CN 117917623A CN 202211293419 A CN202211293419 A CN 202211293419A CN 117917623 A CN117917623 A CN 117917623A
Authority
CN
China
Prior art keywords
touch
false touch
false
electronic device
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211293419.1A
Other languages
Chinese (zh)
Inventor
骆红霞
李航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211293419.1A priority Critical patent/CN117917623A/en
Publication of CN117917623A publication Critical patent/CN117917623A/en
Pending legal-status Critical Current

Links

Abstract

The application is applied to the technical field of touch screens, and provides an anti-false touch method of a touch screen, electronic equipment and a storage medium, wherein the anti-false touch method of the touch screen comprises the following steps: acquiring first relative position information between touch screens of the first electronic equipment and the second electronic equipment, and determining whether a false touch condition exists or not by adopting a first false touch condition; acquiring second relative position information between touch screens of the first electronic device and the second electronic device, and determining whether a false touch condition exists or not by adopting a second false touch condition; wherein the first relative position information and the second relative position information include at least one parameter of a distance and an angle, and the first false touch condition and the second false touch condition are different. The touch screen anti-false touch method can help the electronic equipment to more accurately identify false touch under different scenes, improves the flexibility and accuracy of judging false touch by the electronic equipment, and further improves the working efficiency and the use satisfaction of users.

Description

Anti-false touch method of touch screen, electronic equipment and storage medium
Technical Field
The present application relates to the field of touch screens, and in particular, to a method for preventing false touch on a touch screen, an electronic device, and a storage medium.
Background
When a user uses a stylus pen to write strokes on a touch screen of an electronic device, if a conductor other than the stylus pen, for example, a certain part of a hand is touched by mistake, so that the touch screen detects the point data corresponding to the touch of the conductor such as the hand, the touch screen may respond to the mistake touch of the conductor such as the hand, for example, a trace of the mistake touch is displayed on the touch screen or an incorrect application program interface is opened, and bad use experience is brought to the user.
In the prior art, in order to reduce the influence of the false Touch situation, an electronic device with a Touch screen generally determines whether the Touch situation is a false Touch situation according to related conditions, for example, a Touch Panel (TP) algorithm of the electronic device with a capacitive Touch screen determines whether the Touch situation is a false Touch according to conditions such as the number of certain nodes in an area where a large change occurs in capacitance value on the capacitive Touch screen, and if the Touch situation is a false Touch, the electronic device does not respond to the operation determined as the false Touch. However, when the user uses the stylus pen, the palm side or the limbs such as the fingers serving as the supporting points may mistouch the capacitive touch screen, and the area of the capacitive touch screen that is touched by mistake is smaller, so that the number of some nodes in the corresponding area where the capacitance value changes greatly is relatively smaller, and if the prior art is adopted to make mistouch judgment, it is often difficult for the electronic device with the capacitive touch screen to accurately identify the mistouch condition.
Disclosure of Invention
The application provides an anti-false touch method of a touch screen, electronic equipment and a storage medium, which can enable the electronic equipment to identify false touch conditions under different scenes by setting corresponding false touch conditions according to different distances between the pen point of a handwriting pen and the touch screen and different included angles between the handwriting pen and the touch screen, thereby improving the flexibility and the accuracy of judging the false touch conditions by the electronic equipment and improving the working efficiency and the using satisfaction of a user when using the handwriting pen and the touch screen.
In a first aspect, a method for preventing a touch screen from being touched by a user by mistake is provided, which includes obtaining first relative position information between touch screens of a first electronic device and a second electronic device, and determining whether a touch condition exists by using a first touch condition by mistake; acquiring second relative position information between touch screens of the first electronic device and the second electronic device, and determining whether a false touch condition exists or not by adopting a second false touch condition; wherein the first relative position information and the second relative position information include at least one parameter of a distance and an angle, and the first false touch condition and the second false touch condition are different.
In the above scheme, the false touch judgment can be performed according to the first relative position information or the second relative position information, that is, according to different distances or angles, different false touch conditions are adopted, and compared with the existing false touch conditions, the flexibility is stronger, and the targeted false touch judgment can be performed according to different scenes, so that the working efficiency and the use satisfaction of the user are improved.
In combination with the first aspect, the first electronic device includes a stylus, and the second electronic device obtains the first relative position information and the second relative position information through the first electronic device.
In the above scheme, after detecting the first relative position information and the second relative position information between the stylus and the touch screen of the second electronic device, the stylus may send the first relative position information and the second relative position information to the second electronic device. In some embodiments, the first electronic device may also be another electronic device that needs to interact with the second electronic device.
With reference to the first aspect, in some implementations, the first relative position information includes a distance between the first electronic device and the touch screen, and determining whether a false touch condition exists using a first false touch condition includes: if the distance belongs to the mth interval, determining whether a false touch condition exists according to a first sub false touch condition corresponding to the mth interval, wherein the first false touch condition comprises a first sub false touch condition; the first sub-false touch condition is that the touch corresponding to a row or column node with the number of nodes greater than or equal to k m nodes in a region with a large change of capacitance value is judged to be false touch, k m nodes correspond to an mth interval, m and k m are natural numbers greater than or equal to 1, and the number of nodes in the first sub-false touch condition corresponding to an interval with a smaller distance is smaller.
In the above scheme, the distance between the first electronic device and the touch screen is divided into different sections, and each section corresponds to a first sub-false touch condition. Through carrying out the settlement of different first sub mistake conditions to different intervals, can judge the mistake in the in-process of using first electronic equipment and second electronic equipment more accurately and touch the condition, compare in the condition of judging mistake now, more nimble and accurate, promoted user's use experience.
It should be understood that the number of intervals, the first false touch condition and the parameter values in the first sub-false touch condition may be set according to actual situations, and the present application is not limited as long as the number of nodes in the first sub-false touch condition corresponding to the interval closer to each other is satisfied.
With reference to the first aspect, in some implementations, the second relative position information includes a distance between the first electronic device and the touch screen, and an included angle between the first electronic device and the touch screen, and determining whether the false touch condition exists using a second false touch condition includes: if the distance belongs to the nth interval, the included angle belongs to the jth included angle range, and whether the false touch condition exists or not is determined according to a second false touch condition corresponding to the jth included angle range, wherein the second false touch condition comprises a sub second false touch condition; the second sub-false touch condition is that the touch corresponding to a certain row or column of nodes with the number of nodes larger than or equal to k j nodes in a region with larger change of capacitance value is judged to be false touch, k j nodes correspond to the j-th included angle range of the n-th interval, n, j and k j are natural numbers larger than or equal to 1, and the larger the possibility that the pen holding gesture corresponding to the included angle range in the n-th interval generates false touch is, the smaller the number of nodes in the second sub-false touch condition corresponding to the included angle range is.
In the above scheme, under the same interval, the included angle between the first electronic device and the touch screen is divided into different included angle ranges, and each included angle range corresponds to a second sub-false touch condition. By setting different second sub false touch conditions according to different included angle ranges in the same section, the false touch condition can be accurately and flexibly judged according to the use condition of the first electronic equipment in the same section, and the use experience of a user is further improved.
With reference to the first aspect, in some implementations, the first false touch condition and the second false touch condition correspond to report data, where the report data includes touch coordinates, touch pressure, touch area morphology, and capacitance values.
It can be appreciated that the second electronic device may determine the situation of the false touch according to the point data, and may set different false touch conditions corresponding to different contents of the point data, for example, may set different false touch conditions according to the touch coordinates, may set different false touch conditions according to the touch pressure, and so on.
With reference to the first aspect, in some implementations, the first relative position information includes a distance between the first electronic device and the touch screen, and determining whether a false touch condition exists using a first false touch condition includes: if the distance belongs to the a-th interval, determining whether a false touch condition exists according to a first sub false touch condition corresponding to the a-th interval, wherein the first false touch condition comprises a first sub false touch condition; wherein a is a natural number greater than or equal to 1, and the first sub-false touch condition corresponding to the interval with smaller distance is stricter.
In the above scheme, the first false touch condition and the first sub-false touch condition may be set according to the parameter content in the report point data, for example, if the first false touch condition set according to the touch pressure is that the touch of F 1 n is false touch, the first sub-false touch condition corresponding to different areas may be set correspondingly, so long as the smaller the value of the touch pressure in the first sub-false touch condition corresponding to the area with smaller distance is satisfied.
With reference to the first aspect, in some implementations, the second relative position information includes a distance between the first electronic device and the touch screen, and an included angle between the first electronic device and the touch screen, and determining whether the false touch condition exists using a second false touch condition includes: if the distance belongs to the b interval, the included angle belongs to the c included angle range, and whether the false touch condition exists or not is determined according to a second sub false touch condition corresponding to the c included angle range, wherein the second false touch condition comprises a second sub false touch condition; wherein b and c are natural numbers greater than or equal to 1, and the greater the possibility that the pen holding gesture corresponding to the included angle range in the b-th interval generates false touch, the more strict the second sub false touch condition corresponding to the included angle range.
In the above scheme, the second false touch condition and the second sub-false touch condition may be set according to the parameter content in the report point data, for example, if the second false touch condition set according to the touch pressure is that the touch of F 1 n is the false touch, the second sub-false touch condition corresponding to different included angle ranges in the same interval may be set, so long as the greater possibility that the gesture corresponding to the included angle range in the same interval generates the false touch is satisfied, the smaller the value of the touch pressure in the corresponding second sub-false touch condition is.
With reference to the first aspect, in some implementations, the point data is data generated by a touch operation.
It is understood that the point data is data corresponding to a touch position generated when the second electronic device detects a touch operation on the touch screen.
In a second aspect, the application provides an electronic device comprising a processor and a memory, the memory being for storing instructions, the processor being for executing the instructions, which when executed by the processor, perform the method as described in the first aspect.
In a third aspect, the application provides a computer readable storage medium having instructions stored therein which, when executed on an electronic device, perform a method as described in the first aspect.
In a fourth aspect, the application provides a computer program product, characterized in that the computer program product comprises computer instructions which, when executed by an electronic device, performs the method as described in the first aspect.
In summary, according to the method for preventing false touch of the touch screen provided by the application, different false touch conditions are set for different distances between the pen tip of the stylus and the touch screen and different included angles between the stylus and the touch screen in the same interval.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 illustrates a schematic diagram of the interaction of a stylus and an electronic device, according to some embodiments of the application;
FIG. 2 illustrates a schematic diagram of a stylus and touch screen duty cycle according to some embodiments of the application;
FIG. 3 illustrates a schematic view of a scene written using a stylus, according to some embodiments of the application;
FIG. 4 illustrates a schematic diagram of a point-of-report on a touch screen, according to some embodiments of the application;
FIG. 5 illustrates a software architecture diagram of an electronic device, according to some embodiments of the application;
FIG. 6 illustrates a software architecture diagram of a stylus, according to some embodiments of the application;
FIG. 7 is a schematic diagram showing the change in capacitance on a stylus after the stylus is held by the hand, according to some embodiments of the application;
FIG. 8 is a schematic diagram illustrating interaction flow between modules in a touch screen and stylus according to some embodiments of the application;
FIG. 9 is a flow chart of an anti-false touch method of a touch screen according to some embodiments of the application;
FIG. 10 illustrates a hardware architecture diagram of an electronic device, according to some embodiments of the application;
FIG. 11 is a schematic diagram of a hardware architecture of a stylus according to some embodiments of the application.
Detailed Description
Various aspects of the illustrative embodiments will be described using terms commonly employed by those skilled in the art.
It is to be understood that the illustrative embodiments of the present application include, but are not limited to, a method for preventing false touches of a touch screen, an electronic device, and a storage medium.
The service scenario described in the embodiment of the present application is for more clearly describing the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application, and as a person of ordinary skill in the art can know that, with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided by the embodiment of the present application is applicable to similar technical problems.
The technical solutions provided by the embodiments of the present disclosure are applied to various electronic devices, and are not limited to the tablet pc 100. For example, the electronic device may include, but is not limited to, a User Equipment (UE), a terminal (terminal), etc., for example, the electronic device may be a tablet (portable android device, PAD), a personal digital assistant (personal DIGITAL ASSISTANT, PDA), a handheld device with wireless communication function, a computing device, an in-vehicle device, or a wearable device, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (SELF DRIVING), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (SMART GRID), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (SMART CITY), a mobile terminal or a fixed terminal with a touch screen in smart home (smart home), etc., and may further include an electronic device with both a touch screen and physical buttons. The form of the terminal device in the embodiment of the application is not particularly limited.
In order to more clearly understand the schemes in the embodiments of the present application, some terms related to the embodiments of the present application will be explained first.
Writing pen: or as a stylus, may be used to write, draw or replace a mouse operation on the touch screen of the corresponding terminal device.
Touch screen: also called "touch screen" and "touch panel", is an inductive liquid crystal display device that can receive input signals from a pen tip, such as a stylus pen, and when the graphic buttons on the screen are released, the haptic feedback system on the touch screen can drive various connecting devices according to a preprogrammed program. Touch screens can be broadly classified into infrared type touch screens, resistive type touch screens, surface acoustic wave type touch screens, and capacitive type touch screens according to the type of sensor.
Capacitive touch screen technology: is a touch screen technology which works by utilizing the capacitance induction of a human body. The principle is that when a finger touches the touch screen, a coupling capacitance is formed between the user and the surface of the touch screen due to the electric field of the human body, and the finger sucks a small capacitance signal from a contact point. The capacitance signals flow out of the detection nodes on the four corners of the touch screen respectively, the capacitance signals flowing through the four detection nodes are in direct proportion to the distances from the finger to the four corners, and then the processor can obtain the position of the touch point through accurate calculation of capacitance detection of the four electrodes, so that the electronic equipment can change according to the capacitance value of the touch position in the whole screen, and the touch operation of a user can be monitored.
Refresh rate of electronic device: the number of refreshes of a display per second, also known as the display frequency or display frame rate, of an electronic device. The refresh rate of the electronic device may include 60Hz, 90Hz, 120Hz, etc.
The electronic equipment and the handwriting pen work synchronously: the handwriting pen decodes the uplink synchronous signal of the electronic equipment, and sends a downlink signal according to a corresponding parameter value in a communication protocol negotiated with the electronic equipment after decoding is successful, and the electronic equipment receives and decodes the downlink signal to obtain the position information of the handwriting pen.
As described in the background art, taking an electronic device as a tablet computer and a touch screen as a capacitive touch screen as an example, an interworking process of the electronic device 100 with the touch screen 101 and the stylus 200 is first described with reference to fig. 1 to 4. As shown in fig. 1 and 2, after the touch panel 101 and the stylus 200 are connected, the stylus 200 approaches the touch panel 101 from a distance, and the touch panel 101 transmits an uplink synchronization signal to the stylus 200 every operation cycle. The uplink synchronization signal is used to synchronize the stylus 200 and the electronic device 100. The time between two adjacent uplink synchronous signals sent by the touch screen 101 is one working period. For example, if the refresh rate of the touch screen 101 is 60Hz, then the duty cycle of the touch screen 101 is 16.6ms. The stylus 200 searches for an uplink synchronization signal in each working period, if the stylus 200 searches for the uplink synchronization signal successfully, the stylus 200 will perform coding according to the parameter values specified in the communication protocols of the touch screen 101 and the stylus 200 in the remaining time of the working period, that is, send a downlink signal, that is, the n+1th working period shown in fig. 2 starts, if the stylus 200 decodes the uplink synchronization signal successfully, the stylus 200 codes the touch screen 101. The touch screen 101 collects mutual capacitance, self capacitance, noise, and the like on its screen in each duty cycle. In the prior art, the stylus 200 may search for the uplink synchronization signal at a distance of 20cm or less from the touch screen 101, and the touch screen 101 may need to stably acquire the downlink signal at a shorter distance, for example, 10mm, so the touch screen shown in fig. 2 may acquire the code signal of the stylus 200 in one working period after the n+2th working period. After the amount of the collected downlink signal is greater than the threshold, the touch screen 101 will switch from the previous operation mode, such as the simultaneous stylus mode, to the pen mode. The stylus simultaneous mode, i.e., the mode in which touch screen 101 may respond to signals from both the stylus and the hand, and the pen mode, i.e., the mode in which touch screen 101 responds only to signals from stylus 200. As described above, the ability of the stylus pen 200 to search for an uplink synchronization signal is greater than the ability of the touch screen 101 to search for a downlink signal, and the distance between the stylus pen 200 and the touch screen 101 can be more conveniently determined by the way the stylus pen 200 searches for an uplink synchronization signal.
As in fig. 3, when the user clicks the touch screen 101 of the tablet computer 100 using the stylus 200, on the input interface of the touch screen 101, three areas, i.e., the stylus 200, the little finger of the user, and the side of the palm of the pen are all in contact with three areas A1, B1, and C1 of the touch screen 101. Fig. 4 shows a full screen capacitance value of a certain frame detected by a touch sensor on the touch screen 101 in a life cycle from when a stylus or a hand is brought into contact with the touch screen 101 to when the touch screen 101 is separated. As shown in fig. 4, 16×34 touch sensors are disposed on the touch screen 101, 16 is the number of touch sensors in each row on the touch screen 101, 34 is the number of touch sensors in each column on the touch screen 101, and each data corresponds to a capacitance value detected by one touch sensor. The touch screen 101 detects a large capacitance change on the sensor nodes in the three dashed boxes A2, B2 and C2 corresponding to the three areas A1, B1 and C1, respectively. It will be appreciated that the number of touch sensors per row and column on the touch screen 101 may be adjusted according to the particular situation. The capacitance detected by the touch sensor in the dashed boxes of the three areas A2, B2 and C2 in fig. 4 is larger than that of the area outside the dashed boxes that is not touched. Thus, the processor of the electronic device 100 may generate the report point data according to the data corresponding to the three dashed boxes A2, B2, and C2, such as the capacitance value, etc., where each dashed box may correspond to one report point, each report point corresponds to a set of report point data, and the report point data includes information of touch coordinates, touch pressure, touch area shape, capacitance value, etc. Then, the electronic device 100 performs a corresponding operation according to the point data, such as opening a corresponding application, displaying a corresponding handwriting, and the like.
In fig. 4, the three dashed boxes A2, B2, and C2 have the sizes of 4×3,5×4, and 6×5, respectively, that is, three areas A1, B1, and C1 on the touch screen 101 have 4×3 touch sensors, and 5×4 touch sensors and 6×5 touch sensors have large capacitance changes due to the contact of the three areas of the stylus 200, the small finger of the user, and the side of the palm of the pen. It will be appreciated that the three dashed boxes A2, B2 and C2 are rectangular, however in a practical scenario, since the shape of the conductors touching the touch screen 101, the duration of the touch, etc. are not uniform, the shape of the area of the sensor node on the touch screen where the instantaneous capacitance value changes significantly will also vary, and may not be regular. In some embodiments, the touch corresponding to the case where the number of nodes in a certain row or column in the dashed box is greater than or equal to the preset threshold is generally determined as a false touch. For example, the preset threshold may be 10 nodes, and corresponds to three dashed boxes A2, B2 and C2, since the area of the side surfaces of the small finger and the pen-holding palm of the user contacting the touch screen 101 in fig. 4 is smaller, so that the sizes of the dashed boxes of the two areas B and C in fig. 4 are only 5×4 and 6×5, and therefore the number of nodes in the dashed boxes of the two areas B and C does not meet the condition of determining that the touch is false, the touch screen 101 will respond to the false touch of the side surfaces of the small finger and the pen-holding palm of the user, for example, extra handwriting is displayed in the two areas B and C of the touch screen 101, which affects the user experience. It will be appreciated that the above-mentioned preset threshold may be adjusted according to practical situations, and is not specifically limited herein.
Therefore, in order to help the touch screen to more accurately distinguish the situation of false touch, the application provides an anti-false touch method of the touch screen, when the situation that false touch is likely to happen is determined, for example, the handwriting pen is held by limbs such as hands, and the distance between the pen point of the handwriting pen and the touch screen meets a first threshold (in the first threshold, the handwriting pen can search an uplink synchronous signal sent by the electronic equipment), different false touch conditions are correspondingly set according to the distances between the pen point of different handwriting pens and the touch screen and the angles between different handwriting pens and the touch screen, so that the electronic equipment can be helped to more accurately identify the false touch under different scenes, the flexibility and the accuracy of judging the false touch by the electronic equipment are improved, and the working efficiency and the using satisfaction of users are further improved.
Specifically, the distance between the pen tip of the stylus and the touch screen may be divided into a first section and a second section when it is determined that the touch is likely to be touched by mistake, wherein the distance between the pen tip of the stylus and the touch screen in the second section is closer than that in the first section, so that there is a greater likelihood that a part of the body such as the user's hand will be touched by mistake in the second section than in the first section. Therefore, setting the false touch condition corresponding to the second section is more strict than setting the false touch condition corresponding to the first section.
Then, under the same interval, the included angle range of the handwriting pen and the touch screen can be set to be a first included angle range and a second included angle range, in the first included angle range, a user may be in a state that the handwriting pen is held by hand to write normally on the touch screen, a part of the body such as a hand has the greatest possibility of touching the touch screen by mistake, and in the second included angle range, the user does not hold the handwriting pen to write normally, namely, compared with the first included angle range, the part of the body such as the hand has the smaller possibility of touching the touch screen by mistake. Therefore, the false touch condition corresponding to the first included angle range needs to be stricter than the false touch condition corresponding to the second included angle range when the same interval is set.
For example, if the first threshold is set to 15cm, then the first interval may be set to [5,15] cm, the second interval to [0, 5] cm, the first range of angles set to [20 °,55 ° ], the second range of angles set to [0 °,20 ° ], and (55 °,90 ° ]. If the original false touch condition of the electronic device is that the touch corresponding to a certain row or a certain column of nodes with the larger capacitance value variation is judged to be false touch, the false touch condition corresponding to the first section can be set to judge the touch corresponding to a certain row or a certain column of nodes with the larger capacitance value variation is larger than 8 nodes to be false touch, and the false touch condition corresponding to the second section is set to judge the touch corresponding to a certain row or a certain column of nodes with the larger capacitance value variation is larger than 7 nodes to be false touch.
In the first section, the false touch condition corresponding to the first included angle range is that the touch corresponding to a certain row or column of the area with larger change of the capacitance value, the number of which is larger than 7, is judged to be false touch, and the false touch condition corresponding to other included angle ranges is that the touch corresponding to a certain row or column of the area with larger change of the capacitance value, the number of which is larger than 8, is judged to be false touch; in the first section, the false touch condition corresponding to the first angle range may be that the touch corresponding to a row or column of the area with the larger change of the capacitance value with the number of nodes larger than 5 nodes is judged to be false touch, and the false touch condition corresponding to the other angle range may be that the touch corresponding to a row or column of the area with the larger change of the capacitance value with the number of nodes larger than 7 nodes is judged to be false touch.
It can be understood that the content and the value of the parameters in the original false touch condition, the false touch condition of different intervals, and the false touch condition of different included angle ranges of the same interval can be set according to the report point data or other data and signals which can be used for judging the false touch, and the number and the value of the intervals can also be adjusted according to different conditions, so long as the condition that the false touch condition corresponding to the interval with the closer distance is more strict than the false touch condition corresponding to the interval with the farther distance under different intervals, the false touch condition corresponding to the included angle range with the greater possibility of generating the false touch condition under the same interval is more strict, and the false touch condition corresponding to the certain included angle range under a certain interval can be the same as or more strict than the false touch condition corresponding to the interval.
Further, the report data may be data including information such as touch coordinates, touch pressure, touch area shape, and capacitance value. For example, if the original false touch condition is that the touch pressure is less than or equal to F 1 n, the false touch condition corresponding to the first section may be set to be less than or equal to F 2 n, the false touch condition corresponding to the second section may be set to be less than or equal to F 3 n, the distance between the pen tip of the stylus pen and the touch screen represented by the second section is closer than that of the first section, where F 1、F2 and F 3 are real numbers, and F 2 is greater than F 3. Meanwhile, under the first interval, the false touch condition corresponding to the first included angle range is that the contact of F 4 cattle is false touch, the false touch condition corresponding to the second included angle range is that the contact of F 5 cattle is false touch, the possibility of false touch in the first included angle range is higher than the possibility of false touch in the second included angle range, F 1、F4 and F 5 are real numbers, and F 5 is higher than F 4. Here, the content and the numerical value of the parameters in the original false touch condition, the false touch condition of different intervals, and the false touch condition of different included angle ranges of the same interval are not specifically limited to the number and the value range of the intervals.
The following describes a touch screen error touch prevention method according to an embodiment of the present application in detail with reference to a specific technical scheme.
Before describing in detail an anti-false touch method of a touch screen according to an embodiment of the present application, an electronic device is taken as an example of a tablet pc 100, and a software structure of the tablet pc 100 is described.
The software system of the tablet 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. Taking an Android (Android) system with a layered architecture as an example, the embodiment of the invention illustrates the software architecture of the tablet computer 100.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. Fig. 5 shows a software architecture diagram of a tablet computer 100 according to an embodiment of the present application. Referring to FIG. 5, in some embodiments, the Android system is divided into four layers, from top to bottom, an application layer 01, an application framework layer 02, a system library and runtime library 03, and a Linux kernel layer 04, respectively.
The application layer 01 may comprise a series of application packages. The application packages may include camera, gallery, calendar, talk, map, navigation, etc. applications.
The application framework layer 02 provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer 01. The application framework layer includes a number of predefined functions.
The application framework layer 02 may include a content provider, a view system, a window manager, a resource manager, a state manager, a false touch prevention module, and the like.
The content provider is used to store and retrieve data and make such data accessible to the application. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The state manager is configured to manage a display state, a touch state, etc. of the display 130, for example, the state manager may set the state of the display to a bright screen state or a dead screen state, and the state manager may enable or disable a touch function of the display.
The anti-false touch module is used for calling a function in the system library or the core library, acquiring point reporting data triggered by touch operation from the core layer, and judging whether the touch operation is false touch operation according to the point reporting data, wherein the point reporting data can be data containing information such as touch coordinates, touch pressure, touch area morphology, capacitance value and the like.
The system library and runtime library layer 03 may include:
And the android running library is responsible for scheduling and managing an android system and comprises a core library and a virtual machine. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer 01 and the application framework layer 02 run in a virtual machine. The virtual machine executes the java files of the application layer 01 and the application framework layer 02 as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library comprises a plurality of functional modules. For example: an image rendering library, an image synthesis library, a function library, a media library, an input database and the like.
The image rendering library is used for rendering two-dimensional or three-dimensional images.
The image composition library is used for composition of two-dimensional or three-dimensional images.
The function library provides macros, type definitions, string operation functions, mathematical computation functions, input-output functions, and the like used in the C language.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: motion picture expert group (moving picture experts group, MPEG) 4, h.264, motion picture expert group audio layer 3 (moving picture experts group audio layer III, MP 3), advanced audio coding (advanced audio coding, AAC), adaptive multi-rate (adaptive multirate, AMR), joint picture expert group (joint photographic experts group, JPG) and portable network graphics (portable network graphics, PNG).
The input processing library is used for processing the library of the input device, and can realize mouse, keyboard, touch input processing and the like.
The Linux kernel 04 is a layer between hardware and software. The Linux kernel 04 at least includes power management, bluetooth driver, touch screen driver, display driver, sensor driver, etc.
The touch screen driver is used to process touch signals generated by the touch screen TP (e.g., the combination of the touch sensor 180K and the display screen 194), for example, to convert the touch signals into point data. When TP is a capacitive touch screen, the touch signal may be data containing a capacitance value.
The display driver is used to convert data containing window contents into an electrical signal recognizable by the display screen 130, and control the display screen 130 to display the window contents by the electrical signal.
The sensor driver may include a corresponding driver of a touch sensor or the like for enabling acquisition and generation of touch signals corresponding to contacts on the touch screen TP.
Bluetooth drivers are used to enable wireless connections between electronic devices and other hardware devices.
It should be understood that the software architecture of the tablet computer 100 shown in fig. 5 is only an example, and in other embodiments, the software architecture of the tablet computer 100 may adopt other architectures, which are not limited herein.
Before describing a touch screen error touch prevention method according to an embodiment of the present application in detail, a software structure of the stylus 200 will be described.
Fig. 6 is a schematic software structure of a stylus 200 according to an embodiment of the present application. Referring to fig. 6, the software system of the stylus 200 may include a main control module 210, an uplink decoding module 220, a coding module 230, a touch module 240, a gesture module 250, a transmission module 260, and the like.
The main control module 210 is used for controlling the stylus 200 to work, for example, controlling the stylus to decode an uplink synchronization signal, controlling the stylus to send a distance signal, an attitude signal, and the like, and controlling the stylus to communicate through the transmission module 260 and the like;
The uplink decoding module 220 is configured to search for an uplink synchronization signal in each working period according to a communication protocol between the touch screen and the stylus pen, and obtain a distance signal between the pen tip including the stylus pen 200 and the touch screen 101 by decoding the uplink synchronization signal;
The coding module 230 is configured to transmit information such as a position signal, a pressure signal, a key of the handwriting pen, and the like to the electronic device through other wireless transmission modes such as the coding module 230;
The touch module 240 is configured to sense whether a user holds the pen body and recognize an operation gesture, and when the stylus 200 is an active capacitive stylus, the touch module 240 is configured to detect parameters such as a capacitance value on the stylus 200;
the gesture module 250 is configured to sense a gesture of the pen, and accurately obtain a gesture change of the pen, where when the stylus 200 is an active capacitive stylus, the gesture module 250 is configured to detect a gesture, such as an angle, of the stylus 200 relative to the touch screen 101;
The transmission module 260 is used for communicating with the electronic device and transmitting information such as distance signals, gesture signals, pressure signals, position signals, keys, etc.
Taking the stylus 200 as an active capacitive stylus as an example, when a user holds the stylus with his or her hands, the touch module 240 will collect the capacitance value on the stylus 200 and detect a larger capacitance value change in a D, E dotted frame area, where the D dotted frame area includes a row of 3 touch sensor nodes, the E dotted frame area also includes a row of 3 touch sensor nodes, and the 6 touch sensor nodes in the D, E dotted frame have larger capacitance values than other surrounding sensor nodes, and each sensor node corresponds to one touch sensor. If there is a row or column of nodes on the stylus body that is greater than or equal to the original threshold, such as the original threshold is equal to 3 nodes, the stylus 200 will send a signal including the capacitance value to the electronic device 100 through the transmission module 260, and the processor 110 of the electronic device 100 may determine that the stylus 200 is in the palm-pen mode. It will be appreciated that the above-mentioned original threshold value may be adjusted according to practical situations, and is not specifically limited herein.
It is understood that the stylus 200 further includes other modules such as a pressure sensing module and an acceleration module.
It will be appreciated that the form of the stylus in the embodiments of the present application is not particularly limited.
The following embodiments may be implemented on tablet computer 100 and stylus 200 with capacitive touch screen 101 having the above-described hardware/software structures. The following embodiments will take a tablet pc 100 and a stylus 200 with a capacitive touch screen 101 as an example, and describe a method for preventing false touch of a touch screen.
In the following description, with reference to fig. 6 and fig. 7, a schematic diagram of an interaction workflow between an electronic device with a touch screen and a handwriting pen in the process of implementing an anti-false touch method of a touch screen according to an embodiment of the present application is described, which may be used, by way of example and not limitation, in the anti-false touch method of the touch screen, and a specific interaction flow is shown in fig. 8, and may include the following steps:
S1001, a communication connection is established.
In some embodiments, the electronic device may establish a communication connection with the stylus through a bluetooth drive. For example, the bluetooth functions of the electronic device and the stylus may be turned on by a bluetooth on button on the electronic device and the stylus, and the electronic device may be communicatively connected to the stylus by a bluetooth on button including a wireless local area network (wireless local area networks, WLAN), a global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), a short-range wireless communication technology (NEAR FIELD communication, NFC), an infrared technology (IR), and the like, which are not repeated herein.
S1002, an uplink synchronization signal is transmitted.
The electronic equipment sends the uplink synchronous signal to the handwriting pen through the touch screen drive, and the handwriting pen synchronously works with the electronic equipment through decoding the uplink synchronous signal.
S1003, searching for an uplink synchronous signal to obtain distance information.
The handwriting pen can receive and decode the uplink synchronous signal, and the distance between the pen point of the handwriting pen and the touch screen of the electronic equipment is obtained through the uplink synchronous signal.
S1004, transmitting distance information.
The stylus may send distance information to the electronic device through the coding module 230.
It will be appreciated that the stylus may also transmit the distance information to the electronic device by other wired or wireless means, and the specific transmission means is not specifically limited herein.
S1005, detecting hand contact information.
The stylus may detect the stylus contact information through the touch module 240, for example, when the stylus is an active capacitive stylus, the stylus may detect a change in a capacitance value on the stylus through the touch module 240. The type of the stylus and the corresponding hand contact information in the embodiments of the present application are not particularly limited.
S1006, detecting attitude information.
The stylus pen can detect the gesture information of the stylus pen through the gesture module 250, and when the stylus pen is an active capacitive stylus pen, the stylus pen detects the angle of the stylus pen relative to the touch screen and the like through the gesture module 250. The type of the handwriting pen and the corresponding gesture information in the embodiment of the application are not particularly limited.
It will be appreciated that the sequence of steps S1003, S1005 and S1006 is not particularly limited, i.e., step S1003, step S1005 and step S1006 may be performed at the same time or at different times.
S1007, hand contact information and posture information are transmitted.
After the handwriting pen detects the hand contact information and the gesture information, the handwriting pen sends the hand contact information and the gesture information to the electronic device through the transmission module 260, and it can be understood that a mode and a sequence of sending the distance information, the hand contact information and the gesture information by the handwriting pen are not particularly limited, that is, the handwriting pen can send the distance information, the hand contact information and the gesture information at the same time or at different times through any possible wired or wireless mode.
S1008, a touch signal is generated.
After a conductor such as a stylus or a user's hand contacts or approaches a touch screen of an electronic device, for example, a capacitive touch screen, a touch sensor on the touch screen may generate a touch signal that includes a capacitance value.
S1009, report point data is generated.
The touch screen drive of the electronic equipment generates corresponding report point data from the touch signal, wherein the report point data comprise touch coordinates, touch pressure, touch area morphology, capacitance value and the like.
S1010, judging whether the touch is false, if so, turning to step S1010 to continue the next judgment, and if not, turning to step S1011.
The method for judging whether the touch signal corresponding to the point data is the touch signal of the false touch by the false touch prevention module is described in detail in the following flow of a method for preventing the false touch of the touch screen.
S1011, responding to the report point data.
If the anti-false touch module of the electronic equipment judges that the touch signal corresponding to the point data is not from false touch but from normal touch, the anti-false touch module of the electronic equipment converts the point data into a touch event comprising information such as touch coordinates and sends the touch event to the window manager. After converting the touch event into a system touch event, the window manager sends the system touch event to the window. The system touch event comprises touch coordinates and event types, wherein the event types comprise pressing, sliding, lifting, canceling and the like. After receiving a system touch event, an application program corresponding to a window sends the system touch event to a control of a touch area, the control of the touch area generates User Interface (UI) change content and transmits the UI change content to a view system of an application program framework layer, and the view system calls processing such as system library, retrograde drawing, rendering synthesis and the like according to the UI change content to generate a frame, and then sends the frame to a display screen to display through a display driver, namely responds to report data display handwriting, opens a corresponding application program and the like.
The following embodiments provide a touch screen error touch prevention method based on the tablet pc 100 and the stylus 200 with the capacitive touch screen 101 having the above-mentioned software structure, and the method will be described in detail below.
As shown in fig. 9, after the handwriting pen and the electronic device with the touch screen are successfully connected in communication, on one hand, the handwriting pen can search an uplink synchronous signal sent by the electronic device, after the searching is successful, distance information between a pen point of the handwriting pen and the touch screen of the electronic device is obtained, the distance information is sent to the electronic device, on the other hand, the handwriting pen can detect whether a limb such as a hand holds the handwriting pen through the touch module, and the obtained hand contact information is also sent to the electronic device, and in addition, the handwriting pen can also detect the gesture of the handwriting pen through the gesture module and send the gesture information to the electronic device. In order to help the electronic device to more flexibly and accurately identify the false touch, the embodiment of the application provides a method for preventing the false touch of the touch screen as shown in fig. 9, and the input may specifically include the following steps, wherein for convenience of description, the execution subject of the following steps is the electronic device with the capacitive touch screen, and the stylus is an active capacitive stylus.
S1101, determining that the first situation is present.
The electronic device judges whether the current situation is in a first situation according to the received distance information and hand contact information of the handwriting pen, wherein the first situation is that the situation of false touch possibly occurs, namely that conductors such as hands possibly touch the touch screen by mistake to cause the touch screen to respond, for example, the first situation is that the handwriting pen is held by the hands or limbs, and the distance between the pen point of the handwriting pen and the touch screen is smaller than or equal to a first threshold value. Within the first threshold, the stylus may search for an uplink synchronization signal sent by the touch screen, where the value of the first threshold may be set according to a specific situation, for example, the first threshold may be set according to a height of a user, the first threshold may be equal to 15cm for a user with a height range of [160,180] cm, the first threshold may be set to 10cm for a user with a height range of [140,160 ] cm, the first threshold may be equal to 20cm for a user with a height range of greater than 180cm, the first threshold may be set to 7cm for a user with a height range of less than 140cm, and so on.
It can be understood that the value of the first threshold may be set by different users according to actual situations, and may be adjusted according to the actual usage data in the later period, which is not limited herein.
S1102, setting a false touch condition according to the distance.
After the electronic device determines that the distance between the pen tip of the handwriting pen and the touch screen is smaller than or equal to the first threshold, the distance between the pen tip of the handwriting pen and the touch screen can be further set to be N sections, wherein N is a natural number larger than or equal to 1.
For example, if the first threshold is set to 15cm, the first interval may be set to [5,15] cm, and the second interval may be set to [0, 5] cm, where the pen tip of the stylus pen is closer to the touch screen, so that the conductors such as the hand may have a greater likelihood of touching the touch screen, i.e., a greater likelihood of false touching.
If the touch area, that is, the area with larger capacitance value change on the touch screen, has a touch with a certain row or a certain column greater than or equal to a preset threshold node, for example, 10 nodes, in the original false touch condition, the false touch is judged, and then according to the existing setting, the first false touch condition corresponding to the first interval, for example, the first false touch condition is strictly limited to 8 nodes, is smaller than 10 nodes, is more strict than the original false touch condition, and is more suitable for the situation that the touch screen is mistakenly touched in a small area such as a finger, a side of the hand or the like in the hand holding handwriting pen mode, that is, if the number of the nodes with a certain row or a certain column in the touch area is greater than or equal to 8 nodes in the first interval, the touch is judged to be the false touch.
Meanwhile, the second false touch condition corresponding to the second section is strictly limited to 7 nodes, is smaller than 8 nodes and is more strict than the first false touch condition, and the method is more suitable for the condition that the hand holding handwriting pen mode has larger than the first section and possibly has small-area false touch screens such as fingers, hand sides and the like. That is, in the second section, if the number of nodes in a certain row or a certain column in the touch area is 7 or more, the touch is judged as a false touch.
It can be understood that the value of N may be set according to actual needs, in an actual situation, the distance between the pen tip of the handwriting pen and the touch screen may be set to other number of sections, and the specific number may be set according to actual needs, so long as the situation that under different sections, the error touch condition corresponding to the section closer to the section is more strict than the error touch condition corresponding to the section farther to the section, and the number of sections is not particularly limited. Meanwhile, the preset threshold value of the original false touch condition can be other values, and the magnitude and difference of the strictness degree of the original false touch condition and the false touch condition corresponding to different areas can be limited according to actual needs, so that the method is not limited specifically.
S1103, setting a false touch condition according to the included angle in the same interval.
After the electronic device determines that the handwriting pen is in a certain interval, the included angle between the handwriting pen and the touch screen can be further set to M ranges according to the gesture information, wherein M is a natural number greater than or equal to 1.
For example, setting M equal to 2, setting a first angle range of [20 °,55 ° ], setting a second angle range of [0 °,20 ° ] and (55 °,90 ° ], in the first angle range, the user may be in a state where the right-hand or left-hand stylus is normally writing, and there is a greater possibility that a part of the body such as a hand may erroneously touch the touch screen than in other angle ranges.
If the first false touch condition corresponding to the first interval is that the touch area, that is, a touch corresponding to 8 or more nodes exists in a certain row or a certain column in an area with larger change of the capacitance value on the touch screen, is currently in the first interval, and if the false touch condition is judged to be false touch, the third false touch condition corresponding to the first included angle range can be set according to the existing setting, for example, the third false touch condition is strictly limited to 5 nodes, is smaller than 8 nodes and is more strict than the first false touch condition, and the touch device is more suitable for the situation that a small area such as a finger or a hand side can be used for false touch the touch screen in a hand holding handwriting pen mode, that is, when the distance between the pen point of the handwriting pen and the touch screen is within the range of [5,15] cm, and the included angle between the handwriting pen and the touch screen is within the first included angle range, if the number of nodes in a certain row or a certain column is greater than or equal to 5 nodes, the touch is judged to be false touch. Meanwhile, the fourth false touch condition corresponding to the second included angle range is strictly limited to 7 nodes, is larger than 5 nodes and smaller than 8 nodes, is more relaxed than the third false touch condition, is more strict than the first false touch condition, and is more suitable for the condition that a hand holds a handwriting pen mode and a touch screen is in false touch with smaller areas such as fingers, sides of hands and the like in a smaller range than the first included angle range in the same interval. That is, when the distance between the pen tip of the stylus pen and the touch screen is within the range of [5,15] cm and the included angle between the stylus pen and the touch screen is within the second included angle range, if the number of nodes in a certain row or a certain column in the touch area is greater than or equal to 7, the touch is judged to be the false touch.
It can be understood that under the same interval, the false touch conditions of different included angle ranges should be set according to the possibility of generating the false touch condition, and the false touch conditions corresponding to the included angle ranges with the greater possibility of generating the false touch condition are the same as the false touch conditions corresponding to the included angle ranges with the same possibility of generating the false touch condition. However, the error touch condition corresponding to the angle range may be equal to the error touch condition corresponding to the interval, for example, the fourth error touch condition corresponding to the second angle range may be strictly limited to 8 nodes, and is larger than 5 nodes, and is more relaxed than the third error touch condition, but the error touch condition is the same as the first error touch condition, that is, when the distance between the pen tip of the stylus and the touch screen is within the range of [5,15] cm, and the angle between the stylus and the touch screen is within the second angle range, if the number of nodes in a certain row or a certain column in the touch area is greater than or equal to 8 nodes, the touch is judged to be the error touch.
It can be understood that in a specific practical situation, the included angle between the handwriting pen and the touch screen in the same section can be set to be included angle ranges of other numbers and values, and the specific numbers and values can be set according to practical needs, so long as the situation that the more the possibility of generating the false touch condition is greater in the same section, the more strict the false touch condition corresponding to the included angle range is met, and the number and the value of the included angle range are not limited specifically. Meanwhile, the preset threshold value of the original false touch condition can be other values, and the magnitude and difference of the strictness degree of the false touch condition corresponding to the original false touch condition and different included angle ranges can be set according to actual requirements, so that the method is not limited specifically. Meanwhile, the magnitude and the difference of the strictness degree between the false touch conditions of different sections corresponding to the same included angle range can be set according to actual needs, and the method is not particularly limited.
It can be understood that in the prior art, the electronic device determines whether the touch is a false touch according to the point data, where the point data includes information such as touch coordinates, touch pressure, touch area shape, and capacitance value. In the above embodiment, the number of nodes in a certain row or column in the touch area form is greater than or equal to the preset threshold as the original false touch condition, it may be understood that if the original false touch condition uses other information in the report point data as the judgment condition or uses other data or signals as the judgment condition, by adopting the above method for preventing false touch of a touch screen, the false touch conditions of different sections and the actual parameters in the false touch conditions of different included angle ranges in the same section can be adjusted according to specific situations, for example, the actual parameters may correspond to the touch coordinates, the touch pressure, the capacitance value and the like in the original false touch condition, so long as the false touch condition corresponding to the section closer to the different sections is more strict than the false touch condition corresponding to the section farther from the same section, the gesture of the handwriting pen can cause the possibility that the limbs such as hands touch the touch screen, and the false touch condition is more strict in the same section, and the false touch condition corresponding to the gesture of the handwriting pen can be the same as or more strict than the false touch condition corresponding to the section.
For example, if the original false touch condition is that the touch pressure is equal to or less than F 1 n, the false touch condition corresponding to the first section may be set to be equal to or less than F 2 n, the false touch condition corresponding to the second section may be set to be equal to or less than F 3 n, the distance between the pen tip of the stylus pen and the touch screen represented by the second section is closer than that of the first section, where F 1、F2 and F 3 are real numbers, and F 2 is greater than F 3. Meanwhile, under the first interval, the false touch condition corresponding to the first included angle range is that the contact of F 4 cattle is false touch, the false touch condition corresponding to the second included angle range is that the contact of F 5 cattle is false touch, the possibility of false touch in the first included angle range is higher than the possibility of false touch in the second included angle range, F 1、F4 and F 5 are real numbers, and F 5 is higher than F 4.
Here, the content and the numerical value of the parameters in the original false touch condition, the false touch condition of different intervals, and the false touch condition of different included angle ranges of the same interval are not specifically limited to the number and the value range of the intervals.
In summary, according to the method for preventing false touch on the touch screen, after the condition that the stylus is held and used and false touch is possible, the condition of judging false touch is adjusted according to the distances between the pen point of different styluses and the touch screen and the angles between different styluses and the touch screen, so that the electronic device can be helped to more accurately recognize false touch in different scenes, the flexibility and the accuracy of judging false touch by the electronic device are improved, and the working efficiency and the using satisfaction of a user are further improved.
Next, a hardware structure of the above-described electronic device will be described with reference to fig. 10.
As shown in fig. 10, the tablet 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (Application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from the aforementioned memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system. In some embodiments, the processor 110 may call and execute the execution instruction of the touch screen touch error preventing method provided by the embodiments of the present application stored in the memory, so as to implement the touch screen touch error preventing method provided by the embodiments of the present application.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the tablet computer 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the aforementioned I2S interface and the aforementioned PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the camera function of tablet computer 100. The processor 110 and the display screen 194 communicate through a DSI interface to implement the display function of the tablet computer 100, such as for displaying the track of the handwriting pen or the conductor after touching the touch screen in the present embodiment.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the tablet pc 100, and may also be used to transfer data between the tablet pc 100 and peripheral devices. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the tablet pc 100. In other embodiments of the present application, the tablet 100 may also use different interfacing manners, or a combination of interfacing manners in the above embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charging management module 140 may also supply power to the tablet pc 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the tablet computer 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in tablet 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the tablet computer 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits receipt for a loan the resulting low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in one device with the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied on the tablet computer 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of tablet computer 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that tablet computer 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The foregoing GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
Tablet 100 implements display functions through a GPU, display screen 194, and application processor, among other things. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-OLED, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, tablet 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
Tablet 100 may implement shooting functionality through an ISP, camera 193, video codec, GPU, display 194, application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, tablet 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the tablet 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. Tablet 100 may support one or more video codecs. In this way, tablet 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the tablet pc 100 can be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the tablet 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code that includes instructions. The internal memory 121 may include a program memory area and a data memory area. The program storage area may store an application program required by at least one function of the operating system (such as an application program corresponding to a function related to the touch screen touch error preventing method provided by the embodiment of the present application). The data storage area may store data created during use of the tablet computer 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 executes various functional applications of the tablet computer 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110.
Tablet 100 may implement audio functionality through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, and an application processor, among others. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. Tablet 100 may listen to music, or to hands-free conversations, through speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When tablet 100 is answering a phone call or voice message, voice may be received by placing receiver 170B close to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The tablet 100 may be provided with at least one microphone 170C. In other embodiments, the tablet pc 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the tablet 100 may further be provided with three, four or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The tablet pc 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the tablet pc 100 detects the intensity of the touch operation according to the pressure sensor 180A. The tablet pc 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions.
The gyro sensor 180B may be used to determine a motion gesture of the tablet computer 100. In some embodiments, the angular velocity of tablet 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, tablet 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The tablet pc 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the tablet pc 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the tablet 100 is stationary. The method can also be used for recognizing the gesture of the tablet personal computer 100, and is applied to the applications of horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The tablet 100 may measure distance by infrared or laser. In some embodiments, shooting a scene, tablet 100 may range using distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The tablet pc 100 emits infrared light outward through the light emitting diode. Tablet 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the tablet computer 100. When insufficient reflected light is detected, the tablet computer 100 may determine that there is no object in the vicinity of the tablet computer 100. The tablet computer 100 can detect that the user holds the tablet computer 100 close to the ear to talk by using the proximity light sensor 180G, so as to automatically extinguish the screen to achieve the purpose of saving electricity. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The tablet 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect if tablet 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The tablet computer 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like. For example, the fingerprint sensor may be disposed on the front side of the tablet 100 (below the display 194) or on the back side of the tablet 100 (below the rear camera). In addition, the fingerprint recognition function may also be implemented by configuring a fingerprint sensor in the touch screen, that is, the fingerprint sensor may be integrated with the touch screen to implement the fingerprint recognition function of the tablet computer 100.
The temperature sensor 180J is for detecting temperature. In some embodiments, tablet 100 performs a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, tablet 100 performs a reduction in the performance of a processor located near temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the tablet 100 heats the battery 142 to avoid the low temperature causing the tablet 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the tablet 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor 180K may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the tablet pc 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound part vibration bone block obtained by the bone conduction sensor 180M, so as to implement the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. Tablet computer 100 may receive key inputs, generating key signal inputs related to user settings and function controls of tablet computer 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation of the tablet computer 100. Tablet 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The tablet computer 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, tablet 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the tablet 100 and cannot be separated from the tablet 100.
Although not shown in fig. 5, the tablet computer 100 may further include a bluetooth device, a positioning device, a flash, a micro-projection device, a Near Field Communication (NFC) device, etc., which will not be described herein.
It will be appreciated that the hardware structure of the tablet computer 100 shown in the embodiment of the present application does not constitute a specific limitation of the tablet computer 100. In other embodiments of the application, tablet 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The hardware structure of the stylus pen is described below with reference to fig. 11.
Fig. 11 is a schematic hardware structure of a stylus 200 according to an embodiment of the present application. Referring to fig. 7, as shown in fig. 6, the stylus 200 may include a processor 201. Processor 201 may include storage and processing circuitry to support operation of stylus 200. The storage and processing circuitry may include storage devices such as non-volatile memory (e.g., flash memory or other electrically programmable read-only memory configured as a solid state drive), volatile memory (e.g., static or dynamic random access memory), and the like. Processing circuitry in processor 201 may be used to control the operation of stylus 200. The processing circuitry may be based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, application specific integrated circuits, and the like.
In the embodiment of the present application, the processor 201 may be configured to search for an uplink synchronization signal and code the control electrode 206, i.e. send information such as a pressure signal, a position signal, and a key of the handwriting pen to the electronic device.
One or more sensors may be included in stylus 200. For example, the sensor may include a touch sensor 202. The touch sensor 202 may detect whether there is a hand holding the stylus and recognize an operation gesture.
The sensors may also include an attitude sensor 203. The gesture sensor 203 may be used to detect the angle of the stylus 200 relative to the touch screen. The sensors may also include additional sensors such as temperature sensors, ambient light sensors, light-based proximity sensors, contact sensors, magnetic sensors, pressure sensors, and/or other sensors. The pressure sensor may be used to collect a tip pressure signal of the stylus 200 and send the pressure signal to the processor 201.
Status indicators 204 such as light emitting diodes and buttons 205 may be included in stylus 200. Status indicator 204 is used to alert the user of the status of stylus 200. The buttons 205 may include mechanical buttons and non-mechanical buttons, and the buttons 205 may be used to collect button press information from a user.
In embodiments of the present application, one or more electrodes 206 may be included in stylus 200, where electrodes 206 may be located at the writing end of stylus 200 or may be located within the nib. The electrodes 206 may include transmitting electrodes TX1, TX2, TX3 and receiving electrode RX1. The transmitting electrodes TX1 and TX2 are used to transmit a downlink signal to the electronic device 100, where the downlink signal is an electrical signal including parameter values such as frequency and voltage. The transmitting electrode TX1 is used to transmit nib position information of the stylus pen, and the transmitting electrode TX2 is used to transmit tilt angle information of the stylus pen 200 and correction information of the nib position information. The transmitting electrode TX3 is used for transmitting nib pressure information of the stylus 200, and the receiving electrode RX1 is used for receiving an uplink synchronization signal transmitted by the electronic device 100.
A sensing circuit 207 may be included in stylus 200. The sensing circuitry 207 may sense capacitive coupling between the electrodes 206 and the drive lines of the capacitive touch sensor panel that interact with stylus 200. The sensing circuit 207 may include an amplifier to receive the capacitance readings from the capacitive touch sensor panel, a clock to generate a demodulation signal, a phase shifter to generate a phase shifted demodulation signal, a mixer to demodulate the capacitance readings using in-phase demodulation frequency components, a mixer to demodulate the capacitance readings using quadrature demodulation frequency components, and the like. The result of the mixer demodulation may be used to determine an amplitude proportional to the capacitance so that stylus 200 may sense contact with the capacitive touch sensor panel.
It will be appreciated that the stylus 200 may include a microphone, speaker, audio generator, vibrator, camera, data port, and other devices, as desired. A user may control the operation of stylus 200 and electronic device 100 interacting with stylus 200 by providing commands with these devices, and receive status information and other outputs.
Processor 201 may be used to run software on stylus 200 that controls the operation of stylus 200. During operation of stylus 200, software running on processor 201 may process sensor inputs, button inputs, and inputs from other devices to monitor movement of stylus 200 and other user inputs. Software running on the processor 201 may detect user commands and may communicate with the electronic device 100.
To support wireless communication of stylus 200 with electronic device 100, stylus 200 may include a wireless communication module 208. The wireless communication module 208 may provide solutions for wireless communication including wireless local area networks (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) networks), bluetooth (BT), global navigation satellite systems (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (NEAR FIELD communication, NFC), infrared technology (IR), and the like. Bluetooth may include radio frequency transceivers, such as transceivers. Bluetooth may also include one or more antennas. The transceiver may transmit and/or receive wireless signals using an antenna, which may be based on the type of wireless module, bluetooth signals, wireless local area network signals, remote signals such as cellular telephone signals, near field communication signals, or other wireless signals.
In one embodiment, the stylus 200 and the electronic device 100 may be further interconnected by magnetic attraction, so as to implement interaction of wireless signals.
Stylus 200 may also include a charging module 209, where charging module 209 may support charging of stylus 200 to provide power to stylus 200.
It is understood that stylus 200 in embodiments of the present application may be, but is not limited to, inductive pens and capacitive pens. Capacitive pens may include passive capacitive pens and active capacitive pens. Passive capacitive pens may be referred to as passive capacitive pens and active capacitive pens may be referred to as active capacitive pens. When stylus 200 is an active capacitive stylus, an integrated electrical column is required on touch screen 101 that interacts with stylus 200. After the electronic device 100 and the stylus 200 are wirelessly connected, the electronic device 100 may send an uplink synchronization signal to the stylus 200 through the electrode array. When the pen tip of the stylus 200 contacts the electronic device 100 with the touch screen 101, the capacitance value at the corresponding position of the touch screen 101 may change, and the electronic device 100 may determine the position of the pen tip of the stylus 200 on the touch screen 101 based on the capacitance value on the touch screen 101. The form of the stylus in the embodiment of the application is not particularly limited.
Optionally, in some embodiments, the present embodiment further provides a computer-readable storage medium having instructions stored therein, which when run on a computer or processor, cause the computer or processor to perform one or more steps of any of the methods described above.
Optionally, in some embodiments, embodiments of the application further provide a computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform one or more steps of any of the methods described above.
Optionally, in some embodiments, embodiments of the present application further provide a chip system, which may include a processor coupled with the memory, the processor executing a computer program stored in the memory to implement one or more steps of any of the methods described above. The chip system can be a single chip or a chip module formed by a plurality of chips.
Optionally, in some embodiments, an electronic device is further provided in the embodiments of the present application, including: one or more processors, memory, and a display screen; a memory, a display screen coupled to the one or more processors, the memory for storing computer program code, the computer program code comprising computer instructions; the computer instructions, when executed by one or more processors, cause the electronic device to perform one or more steps of any of the methods described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that some of the specific details presented above with respect to the electronic device 100 may not be required to practice a particular described embodiment or equivalent thereof. Similarly, other electronic devices may include a greater number of subsystems, modules, components, etc. Some of the sub-modules may be implemented as software or hardware, where appropriate. It should be understood, therefore, that the foregoing description is not intended to be exhaustive or to limit the disclosure to the precise form described herein. On the contrary, many modifications and variations will be apparent to those of ordinary skill in the art in light of the above teachings.
Embodiments of the present disclosure may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code that is executed on a programmable system comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to floppy diskettes, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random Access Memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) in an electrical, optical, acoustical or other form of propagated signal using the internet. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the application.

Claims (10)

1. An anti-false touch method of a touch screen is characterized by comprising the following steps:
Acquiring first relative position information between touch screens of the first electronic equipment and the second electronic equipment, and determining whether a false touch condition exists or not by adopting a first false touch condition;
Acquiring second relative position information between the touch screens of the first electronic device and the second electronic device, and determining whether a false touch condition exists by adopting a second false touch condition;
Wherein the first relative position information and the second relative position information include at least one parameter of a distance and an angle, and the first false touch condition and the second false touch condition are different.
2. The method for preventing false touch on a touch screen according to claim 1, wherein the first electronic device includes a handwriting pen, and the second electronic device obtains the first relative position information and the second relative position information through the first electronic device.
3. The method of claim 1, wherein the first relative location information includes a distance between the first electronic device and the touch screen, and wherein determining whether a false touch condition exists using a first false touch condition comprises:
If the distance belongs to an mth interval, determining whether a false touch condition exists according to a first sub false touch condition corresponding to the mth interval, wherein the first false touch condition comprises the first sub false touch condition;
The first sub-false touch condition is that the touch corresponding to a row or column of nodes with the number of nodes greater than or equal to k m nodes in a region with larger change of capacitance value is judged to be false touch, k m nodes correspond to the m-th interval, m and k m are natural numbers greater than or equal to 1, and the number of nodes in the first sub-false touch condition corresponding to the interval with smaller distance is smaller.
4. The method of claim 1, wherein the second relative position information includes a distance between the first electronic device and the touch screen, and an angle between the first electronic device and the touch screen, and wherein determining whether a touch error condition exists using a second touch error condition comprises:
If the distance belongs to an nth interval, the included angle belongs to a jth included angle range, and whether a false touch condition exists or not is determined according to a second false touch condition corresponding to the jth included angle range, wherein the second false touch condition comprises the sub second false touch condition;
the second sub-false touch condition is that the touch corresponding to a certain row or column of nodes with the number greater than or equal to k j nodes in a region with a larger change of capacitance value is judged to be false touch, k j nodes correspond to the jth included angle range of the nth interval, n, j and k j are natural numbers greater than or equal to 1, and the probability that the pen holding gesture corresponding to the included angle range in the nth interval generates false touch is higher, and the number of nodes in the second sub-false touch condition corresponding to the included angle range is lower.
5. The method of claim 1, wherein the first and second false touch conditions correspond to report data including touch coordinates, touch pressure, touch area morphology, capacitance value.
6. The method of claim 5, wherein the first relative location information includes a distance between the first electronic device and the touch screen, and wherein determining whether a false touch condition exists using a first false touch condition comprises:
If the distance belongs to an a-th interval, determining whether a false touch condition exists according to a first sub false touch condition corresponding to the a-th interval, wherein the first false touch condition comprises the first sub false touch condition;
Wherein a is a natural number greater than or equal to 1, and the first sub-false touch condition corresponding to the section with smaller distance is stricter.
7. The method of claim 5, wherein the second relative position information includes a distance between the first electronic device and the touch screen, and an angle between the first electronic device and the touch screen, and wherein determining whether a touch error condition exists using a second touch error condition comprises:
If the distance belongs to the b interval, the included angle belongs to the c included angle range, and whether a false touch condition exists or not is determined according to a second sub false touch condition corresponding to the c included angle range, wherein the second false touch condition comprises the second sub false touch condition;
And b and c are natural numbers greater than or equal to 1, wherein the greater the possibility of false touch of the pen holding gesture corresponding to the included angle range in the b-th interval, the more strict the second sub false touch condition corresponding to the included angle range.
8. The method for preventing false touch of a touch screen according to claim 5, wherein the point data is data generated by a touch operation.
9. An electronic device comprising a processor and a memory;
The memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1 to 8.
CN202211293419.1A 2022-10-21 2022-10-21 Anti-false touch method of touch screen, electronic equipment and storage medium Pending CN117917623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211293419.1A CN117917623A (en) 2022-10-21 2022-10-21 Anti-false touch method of touch screen, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211293419.1A CN117917623A (en) 2022-10-21 2022-10-21 Anti-false touch method of touch screen, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117917623A true CN117917623A (en) 2024-04-23

Family

ID=90729680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211293419.1A Pending CN117917623A (en) 2022-10-21 2022-10-21 Anti-false touch method of touch screen, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117917623A (en)

Similar Documents

Publication Publication Date Title
US11553078B2 (en) Touchscreen response method and electronic device
KR102470275B1 (en) Voice control method and electronic device
JP7391102B2 (en) Gesture processing methods and devices
CN110910872B (en) Voice interaction method and device
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN110798552A (en) Volume adjusting method and electronic equipment
CN113994317A (en) User interface layout method and electronic equipment
JP7397861B2 (en) Stylus pen detection method, system and related equipment
CN113805487B (en) Control instruction generation method and device, terminal equipment and readable storage medium
WO2021000943A1 (en) Method and apparatus for managing fingerprint switch
WO2020024108A1 (en) Application icon display method and terminal
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
EP4228233A1 (en) Method for adding operation sequence, electronic device, and system
CN115914461B (en) Position relation identification method and electronic equipment
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
WO2022095983A1 (en) Gesture misrecognition prevention method, and electronic device
CN113380240B (en) Voice interaction method and electronic equipment
CN114995715A (en) Control method of floating ball and related device
CN114740986A (en) Handwriting input display method and related equipment
CN117917623A (en) Anti-false touch method of touch screen, electronic equipment and storage medium
CN116048236B (en) Communication method and related device
CN113050864B (en) Screen capturing method and related equipment
CN116450026B (en) Method and system for identifying touch operation
CN116048681B (en) Icon display method, electronic device, and computer-readable storage medium
WO2022166550A1 (en) Data transmission method and electronic device

Legal Events

Date Code Title Description
PB01 Publication