CN107491214B - Touch screen control method and device and storage medium - Google Patents

Touch screen control method and device and storage medium Download PDF

Info

Publication number
CN107491214B
CN107491214B CN201710752730.0A CN201710752730A CN107491214B CN 107491214 B CN107491214 B CN 107491214B CN 201710752730 A CN201710752730 A CN 201710752730A CN 107491214 B CN107491214 B CN 107491214B
Authority
CN
China
Prior art keywords
touch
touch screen
radio frequency
condition
transmission
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.)
Active
Application number
CN201710752730.0A
Other languages
Chinese (zh)
Other versions
CN107491214A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710752730.0A priority Critical patent/CN107491214B/en
Publication of CN107491214A publication Critical patent/CN107491214A/en
Application granted granted Critical
Publication of CN107491214B publication Critical patent/CN107491214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10366Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications
    • G06K7/10376Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being adapted for being moveable
    • G06K7/10386Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being adapted for being moveable the interrogation device being of the portable or hand-handheld type, e.g. incorporated in ubiquitous hand-held devices such as PDA or mobile phone, or in the form of a portable dedicated RFID reader

Abstract

The disclosure relates to a touch screen control method, a touch screen control device and a storage medium, and relates to the technical field of terminals. The method comprises the following steps: determining radio frequency state information of a radio frequency signal to be output, wherein the radio frequency state information is used for describing the output state of the radio frequency signal, changing the touch condition of the touch screen based on the radio frequency state information, the touch condition refers to the condition which is met by the touch operation detected by the touch screen, and controlling the touch screen based on the changed touch condition. Therefore, the influence of the radio frequency signal on the touch screen can be avoided, and the abnormity of the touch screen can be avoided.

Description

Touch screen control method and device and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a touch screen control method and apparatus, and a storage medium.
Background
With the rapid development of terminal technology, the internal space of a terminal such as a mobile phone is gradually reduced. In order to save the internal space of the terminal, developers usually arrange some modules overlapping each other, for example, in some terminals, the rf antenna and the touch screen hardware circuit are arranged closely and overlap each other.
However, when the rf antenna and the touch screen hardware circuit are closely arranged, some devices (e.g., touch sensors) in the touch screen hardware circuit will operate within the range of the rf clearance, which easily causes the rf signal radiated by the rf antenna to interfere with the devices in the touch screen hardware circuit, thereby affecting the normal operation of the touch screen.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a touch screen control method, apparatus, and storage medium.
In a first aspect, a touch screen control method is provided, where the method includes:
determining radio frequency state information of a radio frequency signal to be output, wherein the radio frequency state information is used for describing the output state of the radio frequency signal;
changing the touch condition of the touch screen based on the radio frequency state information, wherein the touch condition is a condition which is met by the touch operation detected by the touch screen;
controlling the touch screen based on the changed touch condition.
Optionally, the radio frequency status information includes at least one of a transmission frequency, a transmission power, a transmission time interval, and a transmission duration.
Optionally, the changing the touch condition of the touch screen based on the radio frequency state information includes:
when the radio frequency state information comprises a transmitting frequency and a transmitting power, determining a target touch key in the touch screen, wherein the target touch key is a key influenced by a radio frequency signal of which the working frequency is the transmitting frequency and the maximum transmitting power is the transmitting power;
and changing the touch condition of the target touch key.
Optionally, based on the radio frequency state information, changing a touch condition of the touch screen includes:
and when the radio frequency state information comprises a transmission time interval and a transmission duration, changing the touch condition of the touch screen and maintaining the transmission duration at intervals of the transmission time interval.
Optionally, the changing the touch condition of the touch screen includes:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
In a second aspect, there is provided a touch screen control apparatus, the apparatus comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining radio frequency state information of a radio frequency signal to be output, and the radio frequency state information is used for describing the output state of the radio frequency signal;
the changing module is used for changing the touch condition of the touch screen based on the radio frequency state information, wherein the touch condition is a condition which is met by the touch operation detected by the touch screen;
and the control module is used for controlling the touch screen based on the changed touch condition.
Optionally, the radio frequency status information includes at least one of a transmission frequency, a transmission power, a transmission time interval, and a transmission duration.
Optionally, the altering module is configured to:
when the radio frequency state information comprises a transmitting frequency and a transmitting power, determining a target touch key in the touch screen, wherein the target touch key is a key influenced by a radio frequency signal of which the working frequency is the transmitting frequency and the maximum transmitting power is the transmitting power;
and changing the touch condition of the target touch key.
Optionally, the altering module is further configured to:
and when the radio frequency state information comprises a transmission time interval and a transmission duration, changing the touch condition of the touch screen and maintaining the transmission duration at intervals of the transmission time interval.
Optionally, the altering module is further configured to:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
In a third aspect, a touch screen control apparatus is provided, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform any one of the touch screen control methods of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, where instructions are stored on the computer-readable storage medium, and when executed by a processor, the instructions implement any one of the touch screen control methods of the first aspect.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the touch screen control methods of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of determining radio frequency state information of a radio frequency signal to be output so as to change the touch condition of the touch screen according to the radio frequency state information, namely, changing the condition met by touch operation detected by the touch screen, and controlling the touch screen based on the changed touch condition, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a trigger screen control method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a touch screen control method according to another exemplary embodiment.
Fig. 3 is a flowchart illustrating a touch screen control method according to another exemplary embodiment.
Fig. 4 is a schematic structural diagram illustrating a touch screen control device according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a touch screen control apparatus 500 according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before the present disclosure is described in detail, terms, application scenarios, and execution subjects related to the embodiments of the present disclosure will be briefly described.
First, terms related to the embodiments of the present disclosure will be briefly described.
Radio frequency signal:the signals transmitted by the rf antenna have a certain transmission power, and different rf signals can operate in different transmission frequency bands, i.e., the transmission frequencies can be different.
Multi-frame filtering algorithm:and performing mathematical operation on continuous multi-frame data generated by continuous touch to judge whether the touch state always meets the preset triggering condition.
Next, a brief description is given of an application scenario related to an embodiment of the present disclosure.
In an actual application scenario, if the radio frequency antenna and the touch screen hardware circuit are closely arranged, when the radio frequency antenna works, the transmission power of the transmitted radio frequency signal is absorbed by the hardware circuit of the touch screen and converted into energy surge or parasitic capacitance, and the interference source greatly affects the working stability of the touch screen, which easily causes the abnormal working of the touch screen. Therefore, the embodiment of the present disclosure provides a touch screen control method, which can avoid interference of radio frequency signals on a touch screen, and please refer to the embodiments shown in fig. 1, fig. 2, or fig. 3 below for a specific implementation manner.
Finally, the execution subject to which the embodiments of the present disclosure relate is briefly described.
The touch screen control method provided by the embodiment of the disclosure is executed by a terminal, and the terminal is configured with a touch screen which comprises touch keys and touch areas except the touch keys. In addition, in an actual application scenario, the terminal may include a radio frequency driving module, a state machine module, and a touch screen module.
The rf driving module may be configured to control an rf antenna of a terminal to operate in GSM (Global System for mobile communication). In an embodiment of the present disclosure, the rf driving module is configured to output rf status information of the rf signal, where the rf status information includes at least one of a transmission frequency, a transmission power, a transmission time interval, and a transmission duration.
The state machine module can be regarded as a link connecting the touch screen module and the radio frequency driving module. In practical implementations, the state machine module may be implemented by hardware of the terminal through an underlying software driver. In this disclosure, the state machine module may obtain the radio frequency state information output by the radio frequency driving module, determine a corresponding touch condition based on the radio frequency state information, and send the touch condition to the touch screen module. The state machine module and the touch screen module may interact with each other through a communication interface such as an Inter-Integrated Circuit (IIC), a Serial Peripheral Interface (SPI), and a Mobile Industry Processor Interface (MIPI).
The touch screen module is used for receiving the touch condition sent by the state machine module and executing operation of changing the touch condition of the touch screen. Further, the touch screen module also has the capability of feeding back the execution result to the state machine module.
It should be noted that the terminal may be a device such as a mobile phone, a tablet computer, a computer, and the like, which is not limited in this disclosure.
Fig. 1 is a flowchart illustrating a touch screen control method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and may include the following steps.
In step 101, radio frequency state information of a radio frequency signal to be output is determined, and the radio frequency state information is used for describing an output state of the radio frequency signal.
In step 102, based on the radio frequency state information, a touch condition of the touch screen is changed, where the touch condition is a condition that is satisfied by a touch operation detected by the touch screen.
In step 103, the touch screen is controlled based on the changed touch condition.
In the embodiment of the disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, the condition that the touch operation is detected by the touch screen is changed, and the touch screen is controlled based on the changed touch condition, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen is avoided.
Optionally, the radio frequency status information comprises at least one of a transmission frequency, a transmission power, a transmission time interval and a transmission duration.
Optionally, based on the radio frequency state information, changing a touch condition of the touch screen includes:
when the radio frequency state information comprises a transmitting frequency and a transmitting power, determining a target touch key in the touch screen, wherein the target touch key is a key influenced by a radio frequency signal of which the working frequency is the transmitting frequency and the maximum transmitting power is the transmitting power;
and changing the touch condition of the target touch key.
Optionally, based on the radio frequency state information, changing a touch condition of the touch screen includes:
and when the radio frequency state information comprises a transmission time interval and a transmission duration, changing the touch condition of the touch screen and maintaining the transmission duration at intervals of the transmission time interval.
Optionally, modifying the touch condition of the touch screen comprises:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
According to different specific contents included in the radio frequency state information, the specific implementation process of the touch screen control method is also different, and then, the following two embodiments of fig. 2 and fig. 3 will be described in detail.
Referring to fig. 2, fig. 2 is a flowchart illustrating a touch screen control method according to another exemplary embodiment, where the embodiment of the present disclosure is described by taking the example that the radio frequency state information includes a transmission frequency and a transmission power, the touch screen control method is used in a terminal, and the method may include the following implementation steps:
in step 201, radio frequency state information of a radio frequency signal to be output is determined, and the radio frequency state information is used for describing an output state of the radio frequency signal.
As mentioned above, the rf signal refers to a signal emitted by an rf antenna driven by an rf driving module in the terminal. In the embodiment of the disclosure, before the rf signal is not transmitted, the rf driving module in the terminal may output the rf state information of the rf signal to be transmitted. Further, the rf driving module may transmit the rf status information of the rf signal to a state machine module in the terminal.
It should be noted that, here, the radio frequency status information includes a transmission frequency and a transmission power, for example, the transmission frequency may be GSM900 or GSM1800, etc.
In step 202, when the radio frequency status information includes a transmission frequency and a transmission power, a target touch key in the touch screen is determined, where the target touch key is a key affected by a radio frequency signal whose operating frequency is the transmission frequency and whose maximum transmission power is the transmission power.
In an actual application scenario, different transmission frequencies may interfere with touch keys at different positions, and the maximum transmission power of the radio frequency signal at different transmission frequencies is different, so that the degree of influence on the touch keys is also different, for example, the maximum transmission power of the transmission frequency GSM900 only interferes with the return touch key, the maximum transmission power of GSM1800 only interferes with the menu item touch key, and so on.
Therefore, in the embodiment of the present disclosure, when the radio frequency state information includes the transmission frequency and the transmission power, the terminal needs to determine the target touch key affected by the radio frequency signal whose operating frequency is the transmission frequency and whose maximum transmission power is the transmission power.
Further, the target touch key may be determined by a state machine module in the terminal based on the radio frequency state information. For example, when the radio frequency status information includes a transmission frequency and a transmission power, the terminal may store therein a plurality of correspondences between the radio frequency status information and touch key identifiers, where each touch key identifier may be used to uniquely identify one touch key. Therefore, the state machine module can acquire the touch key identification corresponding to the radio frequency state information of the radio frequency signal to be output, and determine the touch key corresponding to the touch key identification as the target touch key.
The state machine module may then inform the touch screen module of the target touch key. In a possible implementation manner, the state machine module may notify the touch screen module in a notification message, where the notification message may include the touch key identifier of the target touch key.
In step 203, the touch condition of the target touch key is changed.
In a specific implementation, the touch screen module may change the touch condition of the target touch key after receiving the notification message sent by the state machine module. The changing of the touch condition of the target touch key may include the following possible implementation manners:
the first mode is as follows: and increasing a preset threshold value by the reported threshold value of the touch screen, wherein the reported threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size.
The preset threshold may be set by a user according to actual needs in a self-defined manner, or may be set by the default of the terminal, which is not limited in the embodiment of the present disclosure.
It should be noted that, in the embodiment of the present invention, the reporting threshold of the target touch key in the touch screen is actually increased by a preset threshold.
In practical implementation, if the interference generated by the radio frequency signal is higher than the reporting threshold, the touch screen module is likely to report incorrectly, that is, in fact, the user does not touch the target touch key in the touch screen, and the touch signal is triggered by the radio frequency signal, so that the touch screen is likely to report incorrectly, thereby causing an abnormal operation. Therefore, when the touch screen module receives the notification message sent by the state machine module, the reporting threshold value of the target touch key can be increased.
The second mode is as follows: and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
It should be noted here that the terminal does not start the multi-frame filtering algorithm without interference, i.e. the multi-frame filtering algorithm is normally in an off state.
In an actual application scenario, because the interference duration generated by the radio frequency signal is limited, in order to avoid the interference generated by the radio frequency signal, the touch screen module in the terminal may also start a multi-frame filtering algorithm. Therefore, the touch screen module can detect whether the touch state is consistent with the reporting threshold value of the target touch key for multiple times, or whether the times that the touch state is consistent with the reporting threshold value of the target touch key reach the preset times.
The preset times can be set by a user according to actual needs in a self-defined manner, or can be set by a terminal in a default manner, which is not limited by the embodiment of the disclosure.
Further, if the touch state is detected to be consistent with the reported threshold value of the target touch key, the touch screen module determines that the touch signal is triggered by the user, otherwise, the touch screen module considers that the touch signal is triggered by the radio frequency signal. Therefore, the effect of avoiding the interference of the radio frequency signals can be achieved after the multi-frame filtering algorithm is started.
It should be noted that, here, the description is only given by taking as an example the case of changing the touch condition of the target touch key, including the above several possible implementations. In practical implementation, changing the touch condition of the target touch key may also include other forms, for example, the touch message reporting function may also be turned off, that is, the touch function is turned off, or the software and the hardware may also be calibrated in a reset manner, which is not limited in this embodiment of the disclosure.
In step 204, the touch screen is controlled based on the changed touch condition.
In practical application, after the touch condition of the touch screen is changed, the interference of the radio frequency signal can be avoided, for example, if the reporting threshold value of the target touch key in the touch screen is increased, the interference generated by the radio frequency signal can be below the reporting threshold value, that is, when the target touch key in the touch screen is controlled based on the changed touch condition, the wrong reporting caused by the interference of the radio frequency signal can be avoided, so as to avoid the misoperation of the touch screen, and thus ensure the normal work of the touch screen.
In the embodiment of the disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, the condition that the touch operation is detected by the touch screen is changed, and the touch screen is controlled based on the changed touch condition, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen is avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a touch screen control method according to another exemplary embodiment, where the embodiment of the present disclosure takes the radio frequency state information including a transmission time interval and a transmission duration as an example, the touch screen control method is applied in a terminal, and the method may include the following implementation steps:
in step 301, radio frequency state information of a radio frequency signal to be output is determined, where the radio frequency state information is used to describe an output state of the radio frequency signal.
As mentioned above, the rf signal refers to a signal emitted by an rf antenna driven by an rf driving module in the terminal. In the embodiment of the disclosure, before the rf signal is not transmitted, the rf driving module in the terminal may output the rf state information of the rf signal to be transmitted. Further, the rf driving module may transmit the rf status information of the rf signal to a state machine module in the terminal.
It should be noted that, here, the radio frequency state information includes a transmission time interval and a transmission duration, for example, the transmission time interval is 500ms, and the transmission duration is 20 ms.
In step 302, when the radio frequency status information includes a transmission time interval and a transmission duration, the touch condition of the touch screen is changed and the transmission duration is maintained every the transmission time interval.
When the radio frequency state information comprises a transmission time interval and a transmission duration, the radio frequency antenna transmits a radio frequency signal every other transmission time duration and continues the transmission duration. In order to avoid interference caused by radio frequency signals transmitted by the radio frequency antenna every time, the touch condition of the touch screen is changed and the transmission duration is maintained at intervals of the transmission time.
For example, if the radio frequency status information includes a transmission time interval and a transmission duration of 500ms and 20ms, respectively, the terminal changes the touch condition of the touch screen every 500ms and maintains the touch condition for 20ms, so as to avoid interference generated by the radio frequency signal within the 20 ms.
In a possible implementation manner, the touch condition may be determined by a state machine module, and further, the state machine module receives radio frequency state information output by the radio frequency driving module, and acquires a corresponding touch condition based on the radio frequency state information. For example, the terminal may store a corresponding relationship between a plurality of radio frequency status information and a plurality of touch conditions, and thus, the state machine module may obtain the touch conditions corresponding to the radio frequency status information from the corresponding relationship. And then, the state machine module transmits the touch condition to the touch screen module in a notification message mode, and the touch screen module changes the touch condition of the touch screen.
The changing of the touch condition of the touch screen may include the following possible implementation manners:
the first mode is as follows: and increasing a preset threshold value by the reported threshold value of the touch screen, wherein the reported threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size.
The preset threshold may be set by a user according to actual needs in a self-defined manner, or may be set by the default of the terminal, which is not limited in the embodiment of the present disclosure.
It should be noted that, in the embodiment of the present invention, the reporting threshold values of other touch areas in the touch screen except the touch key may be actually increased by a preset threshold value. Or, the reporting threshold values of the touch keys in the touch screen may be all increased by preset threshold values. Or, the reporting threshold values of the touch key in the touch screen and the reporting threshold values of other touch areas except the touch key may be increased by a preset threshold value, which is not limited in the embodiment of the present disclosure.
In practical implementation, if the interference generated by the radio frequency signal is higher than the reporting threshold, the touch screen module is likely to report incorrectly, that is, the user does not actually touch the touch screen, and the touch signal is triggered by the radio frequency signal, so that the touch screen is likely to report incorrectly, thereby causing an abnormal operation. Therefore, the terminal can improve the reporting threshold value through the touch screen module.
For example, in a possible application scenario, when the terminal starts a glove operation mode (i.e., a user can operate a mobile phone with a glove), the reporting threshold value is lower than that in the normal mode, and the reporting of the touch screen module is abnormal due to interference noise of the radio frequency signal. In this case, if the state machine module informs the touch screen module that there will be interference of the radiation antenna, the expected radiation duration is 20ms, and the transmission time interval is 500ms, the touch screen module may temporarily increase the reporting threshold at the same transmission time interval, for example, increase the reporting threshold and maintain the reporting threshold for 20ms, so that the interference of the radio frequency signal can be avoided.
The second mode is as follows: and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
It should be noted here that the terminal does not start the multi-frame filtering algorithm without interference, i.e. the multi-frame filtering algorithm is normally in an off state.
In an actual application scenario, because the interference duration generated by the radio frequency signal is limited, in order to avoid the interference generated by the radio frequency signal, the touch screen module in the terminal may also start a multi-frame filtering algorithm. Therefore, the touch screen module can detect whether the touch state is consistent with the reporting threshold value of the touch screen or not for multiple times, or whether the times that the touch state is consistent with the reporting threshold value of the touch screen reaches the preset times or not.
The preset times can be set by a user according to actual needs in a self-defined manner, or can be set by a terminal in a default manner, which is not limited by the embodiment of the disclosure.
Further, if the touch state is detected to be consistent with the reported threshold value of the touch screen, the touch screen module determines that the touch signal is triggered by the user, otherwise, the touch signal is considered to be triggered by the radio frequency signal. Therefore, the effect of avoiding the interference of the radio frequency signals can be achieved after the multi-frame filtering algorithm is started.
It should be noted that, here, the description is only given by taking as an example the case of changing the touch condition of the target touch key, including the above several possible implementations. In practical implementation, changing the touch condition of the target touch key may also include other forms, for example, the touch message reporting function may also be turned off, that is, the touch function is turned off, or the software and the hardware may also be calibrated in a reset manner, which is not limited in this embodiment of the disclosure.
In step 303, the touch screen is controlled based on the changed touch condition.
In practical application, after the touch condition of the touch screen is changed, the interference of the radio frequency signal can be avoided, for example, if the reporting threshold of the touch screen is increased, the interference generated by the radio frequency signal can be below the reporting threshold, that is, when the touch screen is controlled based on the changed touch condition, the wrong reporting caused by the interference of the radio frequency signal can be avoided, so as to avoid the misoperation of the touch screen, and ensure the normal work of the touch screen.
In the embodiment of the disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, the condition that the touch operation is detected by the touch screen is changed, and the touch screen is controlled based on the changed touch condition, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen is avoided.
It should be noted that the embodiments shown in fig. 2 and fig. 3 are only exemplary, and in an actual implementation, when the radio frequency state information includes other contents, the radio frequency state information may also be implemented in the above manner, or implemented by using a combination of the above mentioned implementations. For example, when the radio frequency status information includes a transmission frequency, a transmission power, a transmission time interval, and a transmission duration at the same time, in an implementation process, the target touch key may be determined according to the transmission frequency and the transmission power, and then, the touch condition of the target touch key is changed every other transmission time interval and the transmission duration is maintained.
Fig. 4 is a schematic structural diagram illustrating a touch screen control device according to an exemplary embodiment. Referring to fig. 4, the apparatus includes a determination module 410, a modification module 420, and a control module 430.
The determining module 410 is configured to determine radio frequency state information of a radio frequency signal to be output, where the radio frequency state information is used to describe an output state of the radio frequency signal;
the changing module 420 is configured to change a touch condition of the touch screen based on the radio frequency state information, where the touch condition is a condition that is satisfied by a touch operation detected by the touch screen;
the control module 430 is configured to control the touch screen based on the changed touch condition.
Optionally, the radio frequency status information comprises at least one of a transmission frequency, a transmission power, a transmission time interval and a transmission duration.
Optionally, the changing module 420 is configured to:
when the radio frequency state information comprises a transmitting frequency and a transmitting power, determining a target touch key in the touch screen, wherein the target touch key is a key influenced by a radio frequency signal of which the working frequency is the transmitting frequency and the maximum transmitting power is the transmitting power;
and changing the touch condition of the target touch key.
Optionally, the changing module 420 is further configured to:
and when the radio frequency state information comprises a transmission time interval and a transmission duration, changing the touch condition of the touch screen and maintaining the transmission duration at intervals of the transmission time interval.
Optionally, the changing module 420 is further configured to:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
In the embodiment of the disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, the condition that the touch operation is detected by the touch screen is changed, and the touch screen is controlled based on the changed touch condition, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen is avoided.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a touch screen control apparatus 500 according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the touch screen control methods provided by the embodiments shown in fig. 1, 2 or 3 and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the touch screen control method provided in the embodiments of fig. 1, fig. 2 or fig. 3.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the touch screen control method provided by the embodiments of fig. 1, 2 or 3 described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A touch screen control method, characterized in that the method comprises:
determining radio frequency state information of a radio frequency signal to be output, wherein the radio frequency state information is used for describing the output state of the radio frequency signal and comprises transmission frequency, transmission power, transmission time interval and transmission duration;
determining a target touch key in the touch screen, changing a touch condition of the target touch key at intervals of the transmitting time, and maintaining the transmitting duration, wherein the target touch key is a key influenced by a radio frequency signal of which the working frequency is the transmitting frequency and the maximum transmitting power is the transmitting power, and the touch condition is a condition met by the touch screen when the touch screen detects touch operation;
controlling the touch screen based on the changed touch condition.
2. The method of claim 1, wherein the altering the touch condition of the target touch key comprises:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
3. A touch screen control apparatus, the apparatus comprising:
the device comprises a determining module, a judging module and a processing module, wherein the determining module is used for determining radio frequency state information of a radio frequency signal to be output, the radio frequency state information is used for describing the output state of the radio frequency signal, and the radio frequency state information comprises transmission frequency, transmission power, transmission time interval and transmission duration;
a changing module, configured to determine a target touch key in the touch screen, change a touch condition of the target touch key every other transmission time interval, and maintain the transmission duration, where the target touch key is a key affected by a radio frequency signal whose operating frequency is the transmission frequency and whose maximum transmission power is the transmission power, and the touch condition is a condition that is satisfied by a touch operation detected by the touch screen;
and the control module is used for controlling the touch screen based on the changed touch condition.
4. The apparatus of claim 3, wherein the altering module is further to:
increasing a preset threshold value of a reporting threshold value of the touch screen, wherein the reporting threshold value is used for limiting at least one of touch duration, touch signal strength and touch area size; alternatively, the first and second electrodes may be,
and starting a multi-frame filtering algorithm, wherein the multi-frame filtering algorithm is used for increasing the times that the touch states all accord with the reporting threshold value of the touch screen in the touch condition.
5. A touch screen control apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-2.
6. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-2.
CN201710752730.0A 2017-08-28 2017-08-28 Touch screen control method and device and storage medium Active CN107491214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710752730.0A CN107491214B (en) 2017-08-28 2017-08-28 Touch screen control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710752730.0A CN107491214B (en) 2017-08-28 2017-08-28 Touch screen control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN107491214A CN107491214A (en) 2017-12-19
CN107491214B true CN107491214B (en) 2020-09-29

Family

ID=60646758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710752730.0A Active CN107491214B (en) 2017-08-28 2017-08-28 Touch screen control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN107491214B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052231A (en) * 2018-01-03 2018-05-18 努比亚技术有限公司 Sensitivity of touch screen method of adjustment, terminal and storage medium
CN108762544A (en) * 2018-04-25 2018-11-06 维沃移动通信有限公司 The control method of a kind of electronic equipment and touching display screen
CN108900669B (en) * 2018-06-26 2021-01-15 维沃移动通信有限公司 Touch screen scanning method and mobile terminal
CN109085953B (en) * 2018-08-17 2021-07-30 维沃移动通信有限公司 Method for reducing interference and terminal equipment
TWI699710B (en) * 2019-10-08 2020-07-21 大陸商北京集創北方科技股份有限公司 Method for quickly unlocking fingerprint in sleep state and information processing device
CN111340981B (en) * 2020-02-14 2021-11-16 多玛凯拔科技有限公司 Method and device for preventing RFID card reader from interfering touch key

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043518A (en) * 2009-10-14 2011-05-04 Nec卡西欧移动通信株式会社 Electronic device and recording medium
CN103518175A (en) * 2011-04-01 2014-01-15 高通股份有限公司 Touchscreen controller with adjustable parameters

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140078094A1 (en) * 2012-09-14 2014-03-20 Songnan Yang Co-existence of touch sensor and nfc antenna

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043518A (en) * 2009-10-14 2011-05-04 Nec卡西欧移动通信株式会社 Electronic device and recording medium
CN103518175A (en) * 2011-04-01 2014-01-15 高通股份有限公司 Touchscreen controller with adjustable parameters

Also Published As

Publication number Publication date
CN107491214A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107491214B (en) Touch screen control method and device and storage medium
CN112104807B (en) Control method, system and device for front camera
CN109314913B (en) Access control limiting method and device
CN110875769B (en) Wireless communication device and antenna switching method
CN107885418B (en) Terminal, split screen display method and device
CN107820684B (en) Channel detection method, information sending method, device and communication equipment
CN110710248B (en) Method and device for heat treatment
CN105163290B (en) roaming prompting method and device
US20210195574A1 (en) Communication link configuration method and device
CN109451825B (en) Intermodulation interference indication method and device, base station and user equipment
CN108011191B (en) Antenna, terminal, and method and device for controlling antenna
US11968716B2 (en) Information configuration methods, and information reporting methods, base station, and user equipment
CN108347718B (en) Method, device and storage medium for monitoring communication packet
CN106612149B (en) Radio frequency circuit testing method, device and system and mobile terminal
US11510253B2 (en) Random access control method and random access control apparatus
US11375403B2 (en) Method and apparatus for detecting maximum transmission unit value
CN106990984B (en) Method and device for updating system
CN107526471B (en) Touch screen control method and device and storage medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN107484233B (en) Terminal vibration method, terminal and computer readable storage medium
CN106060104B (en) Application management method and device
EP3742784A1 (en) Method, device and system for measurement of minimization of drive tests
CN107026671B (en) Isolation control circuit and method and mobile terminal
CN112416155B (en) Report point output control method, report point output control device and storage medium
CN113515430A (en) Method, device and equipment for monitoring state of process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant