CN107132949B - Anti-interference method, device, terminal and storage medium - Google Patents

Anti-interference method, device, terminal and storage medium Download PDF

Info

Publication number
CN107132949B
CN107132949B CN201710297551.2A CN201710297551A CN107132949B CN 107132949 B CN107132949 B CN 107132949B CN 201710297551 A CN201710297551 A CN 201710297551A CN 107132949 B CN107132949 B CN 107132949B
Authority
CN
China
Prior art keywords
frequency
frequency hopping
preset
optimal
hopping frequency
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
CN201710297551.2A
Other languages
Chinese (zh)
Other versions
CN107132949A (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 CN201710297551.2A priority Critical patent/CN107132949B/en
Publication of CN107132949A publication Critical patent/CN107132949A/en
Application granted granted Critical
Publication of CN107132949B publication Critical patent/CN107132949B/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
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides an anti-interference method, apparatus, terminal and storage medium, the method comprising: detecting interference noise in a charging process of the touch terminal; and if the interference noise meets the preset interference condition, sequentially calling the frequency hopping frequencies in the preset frequency hopping frequency set to work with the optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process. The frequency hopping frequencies in the preset frequency hopping frequency set are sequenced based on the number of times of the selected optimal frequency hopping frequency in the historical charging process, so that when the interference noise meets the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, the optimal frequency hopping frequency can be quickly searched, and the touch control terminal can recover normal operation as soon as possible.

Description

Anti-interference method, device, terminal and storage medium
Technical Field
The present application relates to the field of touch technologies, and in particular, to an anti-interference method, an anti-interference device, a terminal, and a storage medium.
Background
With the development of touch technology and terminal technology, more and more terminals adopt a touch mode to perform human-computer interaction. The touch screen adopted by the terminal is often a capacitive touch screen. In the charging process of the terminal with the capacitive touch screen, interference noise may occur, at this time, a user is difficult to control the screen, and even the screen automatically clicks and slides, and the use of the terminal by the user is affected.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an anti-interference method, apparatus, terminal, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an anti-interference method, including:
detecting interference noise in a charging process of the touch terminal;
and if the interference noise meets the preset interference condition, sequentially calling the frequency hopping frequencies in the preset frequency hopping frequency set to work with the optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
Optionally, the method further includes:
and counting the frequency of the optimal frequency hopping frequency selected from the preset frequency hopping frequency set according to the optimal frequency hopping frequency selected in the charging process, and reordering the frequency hopping frequencies in the preset frequency hopping frequency set based on the counting result.
Optionally, the historical charging process is a process in which the touch terminal is charged by the same charging device, and a corresponding preset frequency hopping frequency set is set for different charging devices, and the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, so that before the operation is performed at the optimal frequency hopping frequency, the method further includes:
identifying charging equipment connected with the touch terminal;
and acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to the identification result.
Optionally, the method further includes:
and after the optimal frequency hopping frequency is determined, the fingerprint identification module is informed to work at the optimal frequency hopping frequency.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for resisting disturbance, the apparatus including:
the noise detection module is configured to detect interference noise in a charging process of the touch terminal;
and the frequency hopping module is configured to sequentially call the frequency hopping frequencies in the preset frequency hopping frequency set to work at the optimal frequency hopping frequency if the interference noise meets the preset interference condition, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
Optionally, the apparatus further comprises:
and the set updating module is configured to count the times of the optimal frequency hopping frequency selected by the frequency hopping frequency in the preset frequency hopping frequency set according to the optimal frequency hopping frequency selected by the charging process, and reorder the frequency hopping frequencies in the preset frequency hopping frequency set based on the counting result.
Optionally, the historical charging process is a process in which the touch terminal is charged by the same charging device, and a corresponding preset frequency hopping frequency set is set for different charging devices, and the apparatus further includes:
the set acquisition module is configured to sequentially call frequency hopping frequencies in a preset frequency hopping frequency set, and identify the charging equipment connected with the touch terminal before working at the optimal frequency hopping frequency; and acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to the identification result.
Optionally, the apparatus further comprises:
and the information notification module is configured to notify the fingerprint identification module to work at the optimal frequency hopping frequency after the optimal frequency hopping frequency is determined.
According to a third aspect of the embodiments of the present disclosure, there is provided a touch terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting interference noise in a charging process of the touch terminal;
and if the interference noise meets the preset interference condition, sequentially calling the frequency hopping frequencies in the preset frequency hopping frequency set to work with the optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of any of the methods described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the touch control terminal and the method, the frequency hopping frequencies in the preset frequency hopping frequency set are sequenced based on the number of times of the selected optimal frequency hopping frequency in the historical charging process, so that when the interference noise meets the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, the optimal frequency hopping frequency can be quickly searched, the touch control terminal can recover to work normally as soon as possible, and convenience is brought to a user.
The preset frequency hopping frequency set is updated after charging is finished every time, and timely updating is achieved.
In the disclosure, different charging devices are provided with corresponding preset frequency hopping frequency sets, and each preset frequency hopping frequency set is obtained by selecting the optimal frequency hopping frequency in the process that the touch terminal is charged by the same charging device. Because the optimal frequency hopping frequencies corresponding to different charging devices may be different, corresponding preset frequency hopping frequency sets are set for different charging devices, so that the selection efficiency of the optimal frequency hopping frequency can be further improved, and the optimal working frequency can be quickly found for working.
According to the method, after the optimal frequency hopping frequency is determined, the fingerprint identification module can be informed to work at the optimal frequency hopping frequency, and the fingerprint identification module is synchronously adjusted, so that the defects of slow response and unstable identification of the fingerprint identification module in the charging process of the touch terminal are overcome.
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 flow chart illustrating a tamper-resistant method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flow chart illustrating another interference rejection method according to an exemplary embodiment of the present disclosure.
FIG. 3 is a block diagram illustrating a tamper resistant arrangement according to an exemplary embodiment of the present disclosure.
FIG. 4 is a block diagram illustrating another tamper resistant arrangement in accordance with an exemplary embodiment of the present disclosure.
FIG. 5 is a block diagram illustrating another tamper resistant arrangement in accordance with an exemplary embodiment of the present disclosure.
FIG. 6 is a block diagram illustrating another tamper resistant arrangement in accordance with an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus for immunity according to an example embodiment of the present disclosure.
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.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As shown in fig. 1, fig. 1 is a flowchart illustrating an anti-interference method according to an exemplary embodiment, which may be used in a touch terminal, and includes the following steps 101 to 102:
in step 101, interference noise during a charging process of a touch terminal is detected.
In step 102, if the interference noise meets the preset interference condition, sequentially calling the hopping frequencies in the preset hopping frequency set to work with the optimal hopping frequency, where the optimal hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the hopping frequencies in the preset hopping frequency set are sorted based on the number of times of the selected optimal hopping frequency in the historical charging process.
In the embodiment of the present disclosure, the touch terminal may be an electronic device with a touch function, such as a smart phone, a tablet computer, a PDA (Personal Digital Assistant), an e-book reader, and a multimedia player. The touch screen of the touch terminal may be a capacitive touch screen.
In the charging process of the touch terminal, whether interference noise caused by charging exists or not can be detected. Specifically, the existence and the strength of the interference noise can be judged by detecting the difference or the size of sampling data, and the sampling data is capacitance sensing data on the capacitance touch sensor acquired by the sampling circuit. The preset interference condition is a preset condition for judging whether frequency hopping operation is performed, and if the interference noise meets the preset interference condition, the abnormal touch operation condition occurs in the charging process. For example, the preset interference condition may be that the interference noise is not within an acceptable noise range. If the interference noise is within the acceptable noise range, the frequency hopping operation is not needed, and if the interference noise is not within the acceptable noise range, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called to work at the optimal frequency hopping frequency.
In an optional implementation manner, before detecting the interference noise in the charging process of the touch terminal, it may be further determined whether the touch terminal enters a charging state, if so, the interference noise in the charging process of the touch terminal is detected, otherwise, the interference noise is not detected.
In this embodiment, after the touch terminal is connected to the charging device, the charging device charges the battery of the touch terminal through the power supply, and at this time, the touch terminal enters the charging mode. Only after the touch terminal enters the charging mode, the interference noise in the charging process of the touch terminal is detected, and resource waste caused by real-time detection is avoided.
Further, after the touch terminal is judged to enter the charging state, whether the screen is in a bright screen state or whether an operation instruction of a user to the screen is detected can be judged, if yes, interference noise in the charging process of the touch terminal is detected, and otherwise, the interference noise is not detected.
In this embodiment, since the screen is generally in the screen-off state when the user does not operate the screen, and when the screen is lighted up, it indicates that the user may operate the screen, whether the screen is in the screen-on state may be used as the trigger condition for the frequency hopping operation, or whether the user operates the screen may be directly used as the trigger condition for the frequency hopping operation. In the charging process of the touch terminal, if the screen is not lightened or an operation instruction of a user on the screen is not detected, interference detection can be avoided, and normal charging is not influenced; when the screen is lightened or an operation instruction of the user to the screen is detected, the interference detection is carried out, so that the resource waste caused by the interference detection in the whole charging process is avoided.
When the interference noise is detected to meet the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set can be called in sequence to work at the optimal frequency hopping frequency. The optimal hopping frequency is a hopping frequency selected from a preset hopping frequency set, and the hopping frequency is an operating frequency when the interference noise is within an acceptable noise range.
The preset frequency hopping frequency set at least comprises one frequency hopping frequency, and the frequency hopping frequencies in the preset frequency hopping frequency set are sequenced based on the number of times of the selected optimal frequency hopping frequency in the historical charging process. In the embodiment, the frequency of the selected optimal frequency hopping frequency in the historical charging process is counted, and the frequency hopping frequencies are arranged in the sequence from high to low, so that the preset frequency hopping frequency set is obtained.
As can be seen from the above embodiments, because the frequency hopping frequencies in the preset frequency hopping frequency set are ordered based on the number of times of the selected optimal frequency hopping frequency in the historical charging process, when the interference noise meets the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, so that the optimal frequency hopping frequency can be quickly found, the touch terminal can resume normal operation as soon as possible, and convenience is brought to the user.
For the update time of the preset frequency hopping frequency set, the update operation of the preset frequency hopping frequency set may be performed before the charging or after the charging is finished. For example, the method further comprises: and counting the frequency of the optimal frequency hopping frequency selected from the preset frequency hopping frequency set according to the optimal frequency hopping frequency selected in the charging process, and reordering the frequency hopping frequencies in the preset frequency hopping frequency set based on the counting result. Therefore, after the charging is finished, the updating of the preset frequency hopping frequency set can be realized.
In an example, the touch terminal is connected with a plurality of charging devices, and the optimal frequency hopping frequency and the selected frequency in the charging process are recorded, so that the preset frequency hopping frequency set is updated according to the selected frequency hopping frequency.
In this embodiment, the preset frequency hopping set is obtained based on the optimal frequency hopping selected in the charging process of the touch terminal and the plurality of charging devices. Different charging devices share one preset frequency hopping frequency set, only one preset frequency hopping frequency set needs to be recorded in the touch terminal, and storage space is saved.
In another example, the historical charging process is a process in which the touch terminal is charged by the same charging device, and a corresponding preset frequency hopping frequency set is set for different charging devices, and before the touch terminal sequentially calls frequency hopping frequencies in the preset frequency hopping frequency set to work at an optimal frequency hopping frequency, the method further includes:
and identifying the charging equipment connected with the touch terminal.
And acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to the identification result.
The correspondence between the identification information of the charging device and the preset frequency hopping frequency set may be prestored. When the identification information of the charging device connected with the touch terminal is identified and obtained, a preset frequency hopping frequency set corresponding to the obtained identification information can be searched from the corresponding relation.
In this embodiment, different charging devices are provided with corresponding preset frequency hopping frequency sets, and each preset frequency hopping frequency set is obtained based on the selected optimal frequency hopping frequency in the process that the touch terminal is charged by the same charging device. Because the optimal frequency hopping frequencies corresponding to different charging devices may be different, a corresponding preset frequency hopping frequency set is set for different charging devices, so that the selection efficiency of the optimal frequency hopping frequency can be improved, and the optimal working frequency can be quickly found for working.
In an alternative implementation, after determining the optimal frequency hopping frequency, the fingerprinting module may be informed to operate at the optimal frequency hopping frequency.
Due to the capacitive fingerprint technology, the measurement principle is consistent with that of the capacitive touch screen technology. It is also disturbed by charging equipment noise. However, when the usage scenarios of the two modules are compared, the process of touching the fingerprint identification module by the user is very short, so that the fingerprint identification module does not have enough time to perform the frequency hopping operation. After the optimal frequency hopping frequency is determined, the fingerprint identification module can be informed to work at the optimal frequency hopping frequency, and the fingerprint identification module is synchronously adjusted, so that the defects of slow response and unstable identification of the fingerprint identification module in the charging process of the touch terminal are avoided.
The fingerprint identification module is a module for fingerprint identification, and the specific identification technology can adopt the identification technology in the related technology, which is not described in detail herein.
The various technical features in the above embodiments can be arbitrarily combined, so long as there is no conflict or contradiction between the combinations of the features, but the combination is limited by the space and is not described one by one, and therefore, any combination of the various technical features in the above embodiments also belongs to the scope disclosed in the present specification.
As shown in fig. 2, fig. 2 is a flowchart illustrating another interference rejection method according to an exemplary embodiment of the present disclosure, the method includes the following steps 201 to 206:
in step 201, an interference noise during a charging process of the touch terminal is detected.
In step 202, it is determined whether the interference noise meets a preset interference condition, and if the interference noise does not meet the preset interference condition, the method returns to step 201 to continue detecting the interference noise in the charging process of the touch terminal. If the interference noise satisfies the preset interference condition, step 203 is entered.
In step 203, a charging device connected to the touch terminal is identified.
In step 204, a preset frequency hopping frequency set corresponding to the charging device is obtained according to the identification result.
The optimal frequency hopping frequency is the working frequency when the interference noise is within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the optimal frequency hopping frequency selected in the historical charging process. The historical charging process is a process in which the touch terminal is charged by the same charging device. And setting corresponding preset frequency hopping frequency sets for different charging devices.
In step 205, the hopping frequencies in the preset hopping frequency set are sequentially called to operate at the optimal hopping frequency.
Wherein the optimal frequency hopping frequency is an operating frequency at which interference noise is within an acceptable noise range.
In step 206, after determining the optimal frequency hopping frequency, the fingerprinting module is informed to operate at the optimal frequency hopping frequency.
As can be seen from the above embodiments, because the frequency hopping frequencies in the preset frequency hopping frequency set are ordered based on the number of times of the selected optimal frequency hopping frequency in the historical charging process of the touch device and the charging device, when the interference noise meets the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, so that the optimal frequency hopping frequency can be quickly found, and the touch terminal can resume normal operation as soon as possible. Meanwhile, after the optimal frequency hopping frequency is determined, the fingerprint identification module is informed to work at the optimal frequency hopping frequency, and the defects of slow response and unstable identification of the fingerprint identification module in charging of the touch terminal can be avoided.
Corresponding to the embodiment of the anti-interference method, the disclosure also provides embodiments of an anti-interference device and a terminal and a storage medium applied by the anti-interference device.
As shown in fig. 3, fig. 3 is a block diagram of a tamper resistant apparatus according to an exemplary embodiment of the present disclosure, the apparatus comprising: a noise detection module 310 and a frequency hopping module 320.
The noise detection module 310 is configured to detect interference noise during a charging process of the touch terminal.
The frequency hopping module 320 is configured to sequentially invoke frequency hopping frequencies in a preset frequency hopping frequency set to operate at an optimal frequency hopping frequency if the interference noise meets a preset interference condition, where the optimal frequency hopping frequency is an operating frequency of the interference noise within an acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
As can be seen from the above embodiments, because the frequency hopping frequencies in the preset frequency hopping frequency set are ordered based on the number of times of the selected optimal frequency hopping frequency in the historical charging process, when the interference noise meets the preset interference condition, the frequency hopping frequencies in the preset frequency hopping frequency set are sequentially called, so that the optimal frequency hopping frequency can be quickly found, the touch terminal can resume normal operation as soon as possible, and convenience is brought to the user.
As shown in fig. 4, fig. 4 is a block diagram of another interference rejection apparatus according to an exemplary embodiment of the present disclosure, which is based on the foregoing embodiment shown in fig. 3, and the apparatus further includes: a collection update module 330.
The set updating module 330 is configured to count the number of times that the optimal hopping frequency is selected from the preset hopping frequency set according to the optimal hopping frequency selected in the charging process, and reorder the hopping frequencies in the preset hopping frequency set based on the statistical result.
According to the embodiment, the preset frequency hopping frequency set is updated after each charging is finished, and timely updating is achieved.
As shown in fig. 5, fig. 5 is a block diagram of another anti-jamming apparatus according to an exemplary embodiment shown in the present disclosure, in this embodiment, based on the foregoing embodiment shown in fig. 3, the historical charging process is a process in which a touch terminal is charged by the same charging device, and corresponding preset frequency hopping frequency sets are set for different charging devices, the apparatus further includes: a collection acquisition module 340.
The set acquiring module 340 is configured to sequentially call the frequency hopping frequencies in the preset frequency hopping frequency set, and identify the charging device connected to the touch terminal before working at the optimal frequency hopping frequency; and acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to the identification result.
As can be seen from the above embodiments, different charging devices are provided with corresponding preset frequency hopping frequency sets, and each preset frequency hopping frequency set is obtained based on an optimal frequency hopping frequency selected in a process in which the touch terminal is charged by the same charging device. Because the optimal frequency hopping frequencies corresponding to different charging devices may be different, corresponding preset frequency hopping frequency sets are set for different charging devices, so that the selection efficiency of the optimal frequency hopping frequency can be further improved, and the optimal working frequency can be quickly found for working.
As shown in fig. 6, fig. 6 is a block diagram of another anti-jamming device shown in the present disclosure according to an exemplary embodiment, which is based on the embodiment shown in any one of fig. 3 to fig. 5, and the device further includes: an information notification module 350.
Wherein the information notifying module 350 is configured to notify the fingerprint identification module to operate at the optimal frequency hopping frequency after determining the optimal frequency hopping frequency.
Fig. 6 only shows the block diagram drawn on the basis of fig. 3, and the block diagrams drawn on the basis of fig. 4 and fig. 5 are similar and are not repeated here.
According to the embodiment, after the optimal frequency hopping frequency is determined, the fingerprint identification module can be informed to work at the optimal frequency hopping frequency, and the fingerprint identification module is synchronously adjusted, so that the defects of slow response and unstable identification of the fingerprint identification module in the charging process of the touch terminal are overcome.
Correspondingly, the present disclosure further provides a touch terminal, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
and detecting interference noise in the charging process of the touch terminal.
And if the interference noise meets the preset interference condition, sequentially calling the frequency hopping frequencies in the preset frequency hopping frequency set to work with the optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
Accordingly, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
The present disclosure may take the form of a computer program product embodied on one or more storage media including, but not limited to, disk storage, CD-ROM, optical storage, and the like, having program code embodied therein. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The specific details of the implementation process of the functions and actions of each module in the device are referred to the implementation process of the corresponding step in the method, and are not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
As shown in fig. 7, fig. 7 is a block diagram of an apparatus 700 for immunity shown in accordance with an exemplary embodiment of the present disclosure. The apparatus 700 may be a mobile phone with touch control function, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a 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 708 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 700 is in an operation mode, such as a photographing 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 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, the change in position of device 700 or one of the components of device 700, the presence or absence of user contact with device 700, the orientation or acceleration/deceleration of device 700, and the change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 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 716 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 716 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 700 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 above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 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.
Wherein the instructions in the storage medium, when executed by the processor, enable the apparatus 700 to perform a tamper-resistant method comprising:
and detecting interference noise in the charging process of the touch terminal.
And if the interference noise meets the preset interference condition, sequentially calling the frequency hopping frequencies in the preset frequency hopping frequency set to work with the optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is the working frequency of the interference noise within the acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted based on the number of times of the selected optimal frequency hopping frequency in the historical charging process.
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 disclosure 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.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (6)

1. An interference rejection method, comprising:
detecting interference noise in a charging process of the touch terminal;
if the interference noise meets a preset interference condition, identifying the charging equipment connected with the touch terminal, acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to an identification result, sequentially calling frequency hopping frequencies in the preset frequency hopping frequency set to work at an optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is a working frequency when the interference noise is within an acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted from high to low based on the number of times of selecting the optimal frequency hopping frequency in the historical charging process; the historical charging process is a process that the touch terminal is charged by the same charging device, and corresponding preset frequency hopping frequency sets are set for different charging devices;
and after the optimal frequency hopping frequency is determined, the fingerprint identification module is informed to work at the optimal frequency hopping frequency.
2. The method of claim 1, further comprising:
and counting the frequency of the optimal frequency hopping frequency selected from the preset frequency hopping frequency set according to the optimal frequency hopping frequency selected in the charging process, and reordering the frequency hopping frequencies in the preset frequency hopping frequency set based on the counting result.
3. An apparatus for resisting interference, the apparatus comprising:
the noise detection module is configured to detect interference noise in a charging process of the touch terminal;
the frequency hopping module is configured to identify the charging equipment connected with the touch terminal if interference noise meets a preset interference condition, acquire a preset frequency hopping frequency set corresponding to the charging equipment according to an identification result, sequentially call frequency hopping frequencies in the preset frequency hopping frequency set, and work with an optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is a working frequency when the interference noise is within an acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are ranked from high to low based on the number of times of the optimal frequency hopping frequency selected in a historical charging process; the historical charging process is a process that the touch terminal is charged by the same charging device, and corresponding preset frequency hopping frequency sets are set for different charging devices;
and the information notification module is configured to notify the fingerprint identification module to work at the optimal frequency hopping frequency after the optimal frequency hopping frequency is determined.
4. The apparatus of claim 3, further comprising:
and the set updating module is configured to count the times of the optimal frequency hopping frequency selected by the frequency hopping frequency in the preset frequency hopping frequency set according to the optimal frequency hopping frequency selected by the charging process, and reorder the frequency hopping frequencies in the preset frequency hopping frequency set based on the counting result.
5. A touch terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting interference noise in a charging process of the touch terminal;
if the interference noise meets a preset interference condition, identifying the charging equipment connected with the touch terminal, acquiring a preset frequency hopping frequency set corresponding to the charging equipment according to an identification result, sequentially calling frequency hopping frequencies in the preset frequency hopping frequency set to work at an optimal frequency hopping frequency, wherein the optimal frequency hopping frequency is a working frequency when the interference noise is within an acceptable noise range, and the frequency hopping frequencies in the preset frequency hopping frequency set are sorted from high to low based on the number of times of selecting the optimal frequency hopping frequency in the historical charging process; the historical charging process is a process that the touch terminal is charged by the same charging device, and corresponding preset frequency hopping frequency sets are set for different charging devices;
and after the optimal frequency hopping frequency is determined, the fingerprint identification module is informed to work at the optimal frequency hopping frequency.
6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 2.
CN201710297551.2A 2017-04-28 2017-04-28 Anti-interference method, device, terminal and storage medium Active CN107132949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710297551.2A CN107132949B (en) 2017-04-28 2017-04-28 Anti-interference method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710297551.2A CN107132949B (en) 2017-04-28 2017-04-28 Anti-interference method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107132949A CN107132949A (en) 2017-09-05
CN107132949B true CN107132949B (en) 2020-11-10

Family

ID=59715091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710297551.2A Active CN107132949B (en) 2017-04-28 2017-04-28 Anti-interference method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107132949B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728847B (en) * 2017-10-31 2020-06-12 维沃移动通信有限公司 Charging interference processing method and mobile terminal
CN108594952B (en) * 2018-04-25 2020-04-21 维沃移动通信有限公司 Method for resisting charging interference and terminal equipment
CN108767922B (en) * 2018-05-31 2020-06-30 维沃移动通信有限公司 Charging method and terminal equipment
CN112119390A (en) * 2018-07-28 2020-12-22 华为技术有限公司 Working method of touch device and terminal
CN110928443B (en) * 2019-10-31 2024-01-12 维沃移动通信有限公司 Touch position detection method and electronic equipment
CN112925439A (en) * 2021-02-04 2021-06-08 优方科技(东莞)有限公司 Frequency hopping system and frequency hopping processing method suitable for capacitive touch control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867390A (en) * 2010-05-04 2010-10-20 中兴通讯股份有限公司 Anti-interference method and system for mobile communication terminal
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103389847A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Touch control terminal and anti-interference method and system thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7269199B2 (en) * 2003-08-28 2007-09-11 Lenovo (Singapore) Pte. Ltd. Apparatus and method employing dynamic hop sequence adjustment in FHSS networks
US20120169659A1 (en) * 2010-08-29 2012-07-05 Welland David R Apparatus for capacitance sensor with interference rejection and associated methods
CN103001301A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Mobile terminal charging device, system and method
CN103091586B (en) * 2013-01-22 2015-07-01 青岛海信移动通信技术股份有限公司 Standard configuration charger discriminated method for capacitive touch screen
CN103840526B (en) * 2014-03-17 2017-02-01 联想(北京)有限公司 Method and device for processing information and electronic equipment
CN105306749B (en) * 2015-09-21 2018-01-02 深圳市中易腾达科技股份有限公司 Mobile terminal expansion card and the method and system that cartoon letters are extended by mobile terminal
CN106575169B (en) * 2015-10-16 2020-04-17 Oppo广东移动通信有限公司 Method for eliminating interference of charger on touch screen and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867390A (en) * 2010-05-04 2010-10-20 中兴通讯股份有限公司 Anti-interference method and system for mobile communication terminal
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103389847A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Touch control terminal and anti-interference method and system thereof

Also Published As

Publication number Publication date
CN107132949A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN107132949B (en) Anti-interference method, device, terminal and storage medium
EP3109185B1 (en) Method and device for prompting change of garbage bag
CN104968007B (en) Testing method and device for intelligent equipment
EP3046017A1 (en) Unlocking method, device and terminal
EP3171554B1 (en) Method and device for displaying a message
CN104834559B (en) Notification message display method and device
CN106339168B (en) Screen control method and device
EP3176709A1 (en) Video categorization method and apparatus, computer program and recording medium
EP3136335A1 (en) Method and device for analyzing social relationship
CN106919629B (en) Method and device for realizing information screening in group chat
CN105912450B (en) Application state information display method and device
CN108121631B (en) Screen abnormal state reminding method and device
CN106599858B (en) Fingerprint identification method and device and electronic equipment
CN108965606B (en) Method and device for determining ambient temperature
EP3125514A1 (en) Method and device for state notification
CN105094608A (en) Task display method and device
CN106339470B (en) File processing method and device
CN112333233B (en) Event information reporting method and device, electronic equipment and storage medium
CN112532789B (en) Ring tone processing method and device, terminal and storage medium
CN105553772B (en) Flow monitoring method and device
CN107133172A (en) The power consumption detection method and device of application program
CN114115768A (en) Control method and device
CN109813295B (en) Orientation determination method and device and electronic equipment
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN107122286B (en) Method and device for counting event information

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