CN105528117B - A kind of acquisition methods and device of touch screen scan frequency - Google Patents

A kind of acquisition methods and device of touch screen scan frequency Download PDF

Info

Publication number
CN105528117B
CN105528117B CN201610063581.2A CN201610063581A CN105528117B CN 105528117 B CN105528117 B CN 105528117B CN 201610063581 A CN201610063581 A CN 201610063581A CN 105528117 B CN105528117 B CN 105528117B
Authority
CN
China
Prior art keywords
frequency
touch screen
point
scan
interfering
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
CN201610063581.2A
Other languages
Chinese (zh)
Other versions
CN105528117A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610063581.2A priority Critical patent/CN105528117B/en
Publication of CN105528117A publication Critical patent/CN105528117A/en
Application granted granted Critical
Publication of CN105528117B publication Critical patent/CN105528117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/0412Digitisers structurally integrated in a display
    • 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)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the present invention provides the acquisition methods and device, terminal device of a kind of touch screen scan frequency, the scan frequency of interference can be prevented for touch screen selection, and then solve the problems, such as that digital noise interferes this to touch screen, while will not be in the resource for the CPU for having touched excessive occupied terminal equipment every time.Method provided in an embodiment of the present invention includes: the interfering frequency point for obtaining the noise signal that interference source generates interference to touch screen, and the interfering frequency point is in the amplitude of the scan frequency section of touch screen and noise signal at interfering frequency point greater than the corresponding threshold value of interfering frequency point;According to the scan frequency section of touch screen and interfering frequency point, the available scan frequency of touch screen is determined.

Description

A kind of acquisition methods and device of touch screen scan frequency
Technical field
The present invention relates to technical field of touch control more particularly to a kind of acquisition methods and device of touch screen scan frequency.
Background technique
Capacitive touch screen (full name in English Capactive Touch Panel, abbreviation CTP), because its have response it is quick, The features such as user experience is good is widely used in the smart electronics product such as mobile phone, tablet computer.However, to these electronics During product carries out touch control operation, capacitive touch screen often shows exception because being interfered.
Such as: in mobile phone, usually display screen (such as liquid crystal display) is placed in immediately below CTP, the two passes through bubble Celloidin frame patch or the mode that is bonded entirely of OCA optical cement (full name in English Optically Clear Adhesive, abbreviation OCA) into Row combines, and actual range between the two is generally within 0.5mm.In addition, due in liquid crystal display, multiple pixels Metal-oxide-semiconductor, which is periodically connected, can generate digital noise with shutdown, and liquid crystal display is closer apart from touch screen, therefore the number is made an uproar Sound can interfere CTP, show abnormal so as to cause the operation of CTP, most common is exactly that CTP occurs emitting maloperation a little.It is so-called There is the operation of capacitive touch screen false triggering in the position that Mao Dian, i.e. user are not operated.
In order to solve the problems, such as that digital noise interferes this to CTP, solution in the prior art is: mobile phone not When detecting touch signal, noise signal is first collected as the first signal;After detecting effective touch signal, by noise signal with The mixed signal of touch signal is collected simultaneously as second signal;First signal is handled with second signal and is effectively touched Touch signal.However, using this scheme, before effective touch operation each time all first detection and recording noise signal, touching It touches completion and also needs to carry out two groups of signals data calculation processings later, it is more serious to the resource occupation of CPU in mobile phone.
Summary of the invention
The embodiment of the present invention provides the acquisition methods and device of a kind of touch screen scan frequency, and can select for touch screen can The scan frequency of interference is prevented, and then solves the problems, such as that digital noise interferes this to touch screen, while will not touch every time The resource of the CPU of excessive occupied terminal equipment is touched.
In order to solve this problem, on the one hand the embodiment of the invention provides a kind of acquisition sides of touch screen scan frequency Method, comprising:
The interfering frequency point that interference source generates the noise signal of interference to touch screen is obtained, the interfering frequency point is in touching It touches the scan frequency section of screen and amplitude of the noise signal at interfering frequency point is greater than the corresponding threshold value of interfering frequency point;
According to the scan frequency section of touch screen and interfering frequency point, the available scan frequency of touch screen is determined.
On the other hand, the embodiment of the invention provides a kind of acquisition device of touch screen scan frequency, comprising:
Module is obtained, generates the interfering frequency point for the noise signal interfered to touch screen for obtaining interference source, it is described dry Disturbing Frequency point, to be in the amplitude of the scan frequency section and the noise signal of the touch screen at the interfering frequency point big In the corresponding threshold value of the interfering frequency point;
Selecting module, for according to the touch screen scan frequency section and interfering frequency point, determine described in The available scan frequency of touch screen.
The acquisition methods of touch screen scan frequency provided in an embodiment of the present invention can generate touch screen due to first obtaining The interfering frequency point of interference, then the frequency in addition to these interfering frequency points is determined as available scan frequency, pass through the application Scheme can get the available scan frequency for evading interfering frequency point, also can for touch screen selection prevent interference sweep Retouch frequency.Further, if touch screen with scan frequency according to that can be scanned, the interference in the source that will not be interfered or by The interference arrived is smaller, therefore, solves the problems, such as that digital noise interferes this to touch screen.Simultaneously as scanning can be used by obtaining Frequency has first obtained once available scan frequency without touching acquisition every time, scanned in each touch later Scan frequency can be used all in accordance with this in Cheng Zhong, so that excessive occupancy will not be being touched every time in terms of existing technologies The resource of the CPU of terminal device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of one of acquisition methods flow chart of touch screen scan frequency provided in an embodiment of the present invention;
Fig. 2 is the noise signal provided in an embodiment of the present invention generated using spectrum analyzer test touch screen interference source Connection schematic diagram during spectral image between equipment;
Fig. 3 is the spectrogram provided in an embodiment of the present invention that the noise signal that display screen generates is tested using spectrum analyzer Connection schematic diagram as during between equipment;
Fig. 4 is the common mode noise signal provided in an embodiment of the present invention that the generation of standard configuration charger is tested using spectrum analyzer Spectral image during connection schematic diagram between equipment;
Fig. 5 is the spectral image that spectrum analyzer is tested;
Fig. 6 is the spectral image that terminal device or other electronic equipments pass through acquisition of taking pictures;
Fig. 7 is the two of a kind of acquisition methods flow chart of touch screen scan frequency provided in an embodiment of the present invention;
Fig. 8 is the three of a kind of acquisition methods flow chart of touch screen scan frequency provided in an embodiment of the present invention;
Fig. 9 is the four of a kind of acquisition methods flow chart of touch screen scan frequency provided in an embodiment of the present invention;
Figure 10 is the dot matrix picture at monochrome pixels interval provided in an embodiment of the present invention;
Figure 11 is a kind of acquisition device block diagram of touch screen scan frequency provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
Scheme provided in an embodiment of the present invention is suitable for the terminal device using touch screen, which, which can be, has The electronic equipments such as mobile phone, tablet computer, the PDA (Personal Digital Assistant, personal digital assistant) of touch screen. And to realize the touch control operation to terminal device, the usual terminal device will also have display function, therefore the in general end End equipment will also have display screen.It should be noted that touch screen and display screen here can be independent two screens, the two It can be combined by foam glue frame patch or the full laminating type of OCA etc..It is, of course, also possible to be to be integrated with touch function in display screen It can, that is to say, that touch screen and display screen can be integrated into one and not only have touch function but also a screen having a display function, can Referred to as touch display screen.
Above-mentioned display screen can be liquid crystal display, be also possible to OLED display screen etc., in the present embodiment not to aobvious The type of display screen limits.
For above-mentioned terminal device, touch screen is often disturbed, and can be generated interference to touch screen and be done The source of disturbing may be a kind of, be also likely to be a variety of.
For example, when display screen includes switch unit (such as: metal-oxide-semiconductor) meeting that multiple pixels and each pixel include When periodically conducting is with shutdown, which can generate digital noise signal, if the frequency and touch of the digital noise signal The scan frequency of screen is close or is overlapped, which just influences whether the capacitor letter that touch screen induction channel reception arrives Number variable quantity, to interfere to touch screen, display screen is an interference source of touch screen at this time.If display screen and touch screen The screen (touch display screen) being integrated for an integrated touch display function then realizes the portion of display function in the touch display screen Branch generates interference to the part for realizing touch function.
In another example common mode number transmitted from charger is made an uproar when the charger using above-mentioned terminal device charges to it Acoustical signal also can generate interference to touch screen, and charger becomes an interference source of touch screen at this time.In general, the present invention is real The scheme for applying example offer, can be applicable to production, the test phase of terminal device, and what is focused on solving in these stage manufacturers is mark Brought interference problem when with charger charging, therefore interference source in this case typically refers to standard configuration charger, certainly The present embodiment is without being limited thereto.
Although may consider these disturbing factors in the prior art, and it is more accurate to obtain to use certain algorithm Touch signal.But as described in background technique, require to run these algorithms when touching every time, the CPU of terminal device can be given Bring very big burden.Moreover, because can't consider these interference when selecting scan frequency for touch screen in the prior art How these interference signals are removed from the resultant signal detected and are obtained accurately only after interference generates by factor Touch signal, therefore can not fundamentally prevent from interfering.However, scheme provided in an embodiment of the present invention is selected for touch screen When scan frequency, these disturbing factors are exactly considered, first obtain may interfere with touch screen in the noise signal of interference source generation Interfering frequency point determine the available scan frequency of touch screen further according to these interfering frequency points, with guarantee can use scan frequency It is not identical as interfering frequency point, and then fundamentally overcome interference.
In order to more clearly introduce the above process, the present invention provides following embodiments.
Embodiment one
As shown in Figure 1, the embodiment of the invention provides a kind of acquisition methods of touch screen scan frequency, this method it is each The executing subject of step can be the terminal device comprising the touch screen, be also possible to other electronics independently of the terminal device Equipment (namely electronic equipment not comprising the touch screen).The exemplary touch screen scan frequency for if desired obtaining mobile phone A, then should Acquisition methods can be executed by the mobile phone A, can also be executed by mobile phone B or computer etc..Furthermore it is also possible to be terminal device Or hardware module or functional module in other electronic equipments, herein without limitation.Wherein, the hardware module of terminal device can be with It is the processor in terminal device, such as CPU etc.;The functional module of terminal device can be mounted in the client in terminal device End, such as calibration test software etc..
The acquisition methods of the touch screen scan frequency include:
Step S101, the interfering frequency point that interference source generates the noise signal of interference to touch screen is obtained.
Wherein, interfering frequency point is in the width of the scan frequency section and noise signal of touch screen at interfering frequency point Degree is greater than the corresponding threshold value of interfering frequency point.The scan frequency section of touch screen refers to as its name suggests: the scan frequency of touch screen Locating range, namely value in the range can be used as the scan frequency of touch screen.In general, the scanning frequency of touch screen Rate section can be rule of thumb and set, if too small may result in of scan frequency misses some touch points, or cannot essence Really judge touch operation, if the excessive hardware that may result in terminal device of scan frequency is difficult to support, so touch screen Scan frequency needs in a suitable section.Exemplary, which can be 80kHZ~250kHZ.Ability Field technique personnel are not intended as limiting it should be understood that this range is only to set based on practical experience.If according to practical need One lesser range such as 90kHZ~240kHZ is set;Or one bigger range such as 75kHZ~260kHZ of setting It is possible.
Obtaining interfering frequency point of the interference source to the noise signal of touch screen generation interference, there are many modes, specifically, can To obtain the amplitude versus frequency relationship that record has noise signal, wherein the amplitude versus frequency relationship of noise signal can there are many present Mode, exemplary, can be record has the tables of data of amplitude versus frequency relationship of noise signal, by analyzing tables of data, Obtain interfering frequency point;It is again exemplary, it can be the spectral image of the amplitude versus frequency relationship of performance noise signal, by frequency Spectrogram picture is analyzed and processed, and obtains interfering frequency point.
Preferably, the acquisition interference source includes: to the interfering frequency point for the noise signal that touch screen generates interference
Step S1, the spectral image that interference source generates the noise signal of interference to touch screen is obtained;
Touch screen can have multiple interference sources, and can only consider a kind of interference source in the present embodiment and produce to touch screen Raw interference, it is also contemplated that interference of a variety of (at least two) interference sources to touch screen.
If only considering a kind of interference that interference source generates touch screen, the available interference source is to touch in this step Screen generates the spectral image of the noise signal of interference to get to 1 spectral image.It is exemplary, since display screen is touch screen Main interference source, during the work time produced by (switch of each pixel is periodically opening or closing in display screen at this time) Digital noise signal can generate biggish interference to touch screen, then available display screen is produced during the work time here The spectral image of raw digital noise signal.
If considering the interference that N (N is greater than or equal to 2) kind interference source generates touch screen, can provide following several optional Scheme.
A kind of optional scheme are as follows: when available N number of interference source acts on simultaneously in this step, touch screen is generated dry The spectral image for the noise signal disturbed, to obtain 1 spectral image.It is exemplary, it can be to terminal device charging and display screen When in running order, the spectral image of noise signal is obtained.
Another optional scheme are as follows: when available N number of interference source acts on respectively in this step, touch screen is generated The spectral image of the noise signal of interference, to obtain N number of spectral image.It is exemplary to give eventually if considering 2 interference sources When end equipment charges and display screen is in off working state (i.e. black state), the frequency spectrum for the noise signal that charger generates is obtained Image, and it is in running order in display screen and not to terminal device charge when, obtain display screen generate noise signal frequency Spectrogram picture is to get to 2 spectral images.
When considering 3 kinds or more (i.e. N is greater than or equal to 3) interference sources, another optional scheme are as follows: in this step, Available M spectral image, M is greater than the 1, positive integer less than N, and at least one of M spectral image is N number of interference The spectral image for the noise signal that a part in source generates when acting on simultaneously.It is exemplary, for example, N be 5, then it is available wherein 1 spectral image of the noise signal that two interference sources generate when acting on simultaneously, and obtain remaining 3 interference sources and act on respectively When 3 spectral images of noise signal for generating to get to 4 spectral images.It is again exemplary, such as N is 5, then it is available 1 spectral image of the noise signal generated when wherein 2 interference sources act on simultaneously, and obtain 2 in residual interference source 1 spectral image of the noise signal generated when acting on simultaneously, and 1 frequency of noise signal that remaining 1 interference source generates Spectrogram picture is to get to 3 spectral images.
The spectral image of noise signal can be tested to obtain by spectrum analyzer.Due to needing to be tested to be for touch The interference of screen, therefore when testing spectral image, preferably spectrum analyzer can be passed through into active single-ended probe and touch screen Connection, usual touch screen is located at the top layer of terminal device, therefore here can be with the upper surface of terminal device (for display One side surface) connection can, below in this preferred manner for be illustrated.Certainly, also do not limit in the present embodiment It is exemplary to be connected with interference source in the mode being connect with touch screen.
As shown in Fig. 2, active single-ended probe includes signal probe 21, ground terminal 22 and signal output end 23.Here may be used The signal probe 21 of active single-ended probe to be connect with the upper surface of terminal device, the ground connection of ground terminal 22 (specifically can be with The grounding point of terminal device connects) or vacant (i.e. hanging), the signal input interface phase of signal output end 23 and spectrum analyzer Even, so that spectrum analyzer can detect the noise signal for generating interference to touch screen, and the frequency of the noise signal is exported Spectrogram picture (shows the spectral image) on spectrum analyzer.
It should be noted that can work in the interference source when needing to measure the corresponding spectral image of an interference source, And in the case where closing other interference sources as far as possible, which is measured using above-mentioned connection type, interference is generated to touch screen Spectral image.It, can be more than the two when needing to measure spectral image corresponding to more than two interference sources while effect Interference source works at the same time, and in the case where closing other interference sources as far as possible, is measured more than the two using above-mentioned connection type Interference source works at the same time the spectral image that interference is generated to touch screen.Wherein, the spectral image tested is preferably contained in dry It disturbs after noise settles out, the detection result interface that spectrum analyzer is presented.
Since the main interference source for touch screen is display screen, followed by charger (is with standard configuration charger below Example).Therefore it is illustrated by taking both interference sources as an example in the present embodiment.
Exemplary, if desired spectrum analyzer test display screen generates the spectrogram of the noise signal of interference to touch screen Picture then can refer to Fig. 3 and connect spectrum analyzer with terminal device by active single-ended probe.Specifically, active single-ended probe Signal output end 23 connect spectrum analyzer signal input interface, signal probe 21 connect terminal device upper surface, connect Ground terminal 22 connects the grounding point in terminal device charging interface.It is exemplary, when the terminal device is mobile phone, then its charging The quoit in outside is the grounding point of mobile phone in mouthful.Further, it is sensed for more accurately simulated touch screen Noise situations preferably allow the upper surface of active single-ended probe and terminal device to have biggish contact area, as shown in figure 3, can To use signal probe 21 of the top as soldering iron shape, wherein the top of supply line of soldering iron shape is sheet.It is of course also possible in touch screen Surface place one piece of conductive sheet (specifically can be sheet metal), such as copper foil, signal probe 21 and conductive metal sheet when test It contacts (referring to fig. 4).Alternatively, conductive metal sheet can also be fixed on to 21 top of signal probe, when test, conduction will be fixed with The signal probe 21 of sheet metal is contacted with touch screen.In the case where such connection, spectrum analyzer detects display screen work (i.e. Display screen show picture) and not to terminal device charge when spectral image.
Again exemplary, if desired the spectral image of the common mode noise signal of spectrum analyzer test standard configuration charger, then may be used Spectrum analyzer is connect by active single-ended probe with terminal device with reference to Fig. 4.The signal output end 23 of active single-ended probe The signal input interface of spectrum analyzer is connected, signal probe 21 connects the upper surface of terminal device, and ground terminal 22 is vacant.By When charging, the ground terminal of terminal device has passed through standard configuration charger and has connect with the earth, and therefore, ground terminal 22 can leave unused. Preferably, the connection of the signal probe 21 and above-mentioned terminal device is referred to the description as described in Fig. 3.In such the case where connecting Under, spectral image when spectrum analyzer detection charges to terminal device and display screen does not work (i.e. display screen blank screen).
It is again exemplary, if desired under spectrum analyzer test display screen and charger collective effect, touch screen is generated dry The spectral image for the noise signal disturbed then can refer to Fig. 4 and connect spectrum analyzer with terminal device by active single-ended probe, It repeats no more herein.In the case where this connection, spectrum analyzer detection is to terminal device charging and when display screen works Spectral image.
The spectral image tested by spectrum analyzer is as shown in Figure 5, wherein horizontal axis indicates frequency, and the longitudinal axis indicates Amplitude.In general, test parameter can be arranged by its control panel, such as: center frequency point before spectrum analyzer test (alternatively referred to as centre frequency), frequency span (alternatively referred to as band width) etc..Wherein, curve 1 indicates the noise signal measured Curve (show the amplitude versus frequency distribution of noise signal), further, can also be comprising curve 2 to indicate in spectral image The threshold curve of setting.It should be noted that the threshold curve can be shown on spectrum analyzer, can not also show.If It is shown on spectrum analyzer, then the function of the included setting threshold curve of frequency analyzer can be used, at this point, spectrum analysis With the algorithm of threshold curve in instrument, to show curve 1 and curve 2 on spectrum analyzer.It is exemplary, the calculation of the threshold curve Method can be, and set a threshold to a fixed value, i.e., curve 2 should be a straight line parallel with horizontal axis at this time.Example again , the algorithm of the threshold curve can be, and noise signal is divided into multiple frequency separations in X direction, by each frequency The amplitude average value of noise signal is set as the threshold value in the frequency separation in section, at this point, the threshold curve is in each frequency Section is parallel to the parallel line segment of horizontal axis.Preferably, the algorithm of the threshold curve can be, and the real-time of noise signal amplitude is put down Mean value adds the empirical value of an artificial settings, wherein the acquisition of the real-time average value of noise signal amplitude is spectrum analysis The included function of instrument can select the related choosing of the real-time average value of noise signal amplitude in the set interface of spectrum analyzer , to obtain the real-time average value of noise signal amplitude in horizontal axis frequency range;The empirical value of artificial settings is work people The empirical value that member obtains in actual operation, the empirical value can be set by the parameter setting panel of spectrum analyzer It sets.The threshold curve that the Algorithm constitution of empirical value is manually set is added by using the real-time average value of noise signal amplitude, The interfering frequency determined in subsequent step can be made more accurate.
It should be noted that this step, which can be spectrum analyzer, by spectral image is transferred to terminal device or independently of end In other electronic equipments of end equipment, it is also possible to terminal device or other electronic equipments with camera function, is obtained by taking pictures Obtain the spectral image, specific acquisition modes, it is not limited here, as long as can make to obtain in terminal device or other electronic equipments To the spectral image.Preferably, it can be and a calibration test software be installed in terminal device or other electronic equipments, Open this calibration test software, click the button for acquiring spectral image in calibration test software, terminal device or its His electronic equipment calls relevant interface to take pictures preview interface automatically into camera, and camera is directed at spectrum analysis by user Instrument, so that camera focusing is to spectrum analyzer display screen interface, so that shooting is completed into spectral image picture typing, So that calibration test software obtains spectral image.Wherein, if obtaining spectral image by shooting style, then, it is exemplary, it can be with Shoot entire spectral image picture shown in fig. 5;It is again exemplary, can only in shooting figure 5 spectral image part picture, such as scheme Shown in 6, it is available to picture include horizontal axis, the longitudinal axis and complete curve 1 and curve 2 can also, in this way, can meet The requirement that spectral image is analyzed in subsequent step.
Preferably, for the touch screen of general terminal device, there are two types of generally existing interference sources, and referred to as first Interference source and the second interference source, therefore, this step may is that obtaining the first interference source generates the first of interference to the touch screen The first spectral image and the second interference source of noise signal generate the second of the second noise signal of interference to the touch screen Spectral image.
Specifically, obtaining the work of the first interference source and the second interference source generates the noise of interference when not working to touch screen The spectral image of signal, as the first spectral image;Obtain the work of the second interference source and the first interference source when not working to touch Screen generates the spectral image of the noise signal of interference, as the second spectral image to get to 2 spectral images.
The first above-mentioned interference source is the display screen of terminal device, and the second interference source is the standard configuration charger of terminal device. This step refers to: when display screen shows picture and do not charge, spectrum analyzer is first tested and obtains the first spectral image, terminal Equipment or electronic equipment obtain the first spectral image;Then, in display screen blank screen and charging, spectrum analyzer re-test is obtained To the second spectral image, terminal device or electronic equipment obtain the second spectral image.
Step S2, image procossing is carried out to the spectral image, to obtain the interfering frequency point of the noise signal.
After step S1, the spectral image of noise signal has been obtained, can have been continued to complete by this step to frequency The analysis of spectrogram picture is handled.If getting 1 spectral image in step S1, this step handles i.e. the spectral image It can;If getting 2 or more spectral images in step S1, this step is respectively handled each spectral image.
It is exemplary, if this step is the calibration test software realization installed on terminal device, after can be step S1, User clicks next button in calibration test software, then carries out this step.It, can be with for 2 or more spectral images It is to obtain whole spectral images by step S1 and then step S2 is executed to each spectral image;It is also possible to by step After rapid S1 obtains 1 spectral image, step S2 is executed to the spectral image, recycling executes step S1 and step S2 to obtain down The processing result image of one spectral image.
Wherein, interfering frequency point is in the width of the scan frequency section and noise signal of touch screen at interfering frequency point Degree is greater than the corresponding threshold value of interfering frequency point.The scan frequency section of touch screen refers to as its name suggests: the scan frequency of touch screen Locating range, namely value in the range can be used as the scan frequency of touch screen.In general, the scanning frequency of touch screen Rate section can be rule of thumb and set, if too small may result in of scan frequency misses some touch points, or cannot essence Really judge touch operation, if the excessive hardware that may result in terminal device of scan frequency is difficult to support, so touch screen Scan frequency needs in a suitable section.Exemplary, which can be 80kHZ~250kHZ.Ability Field technique personnel are not intended as limiting it should be understood that this range is only to set based on practical experience.If according to practical need One lesser range such as 90kHZ~240kHZ is set;Or one bigger range such as 75kHZ~260kHZ of setting It is possible.
Image procossing is carried out to any one spectral image, it can be with to obtain the process of interfering frequency point of the noise signal Using following scheme.
Each spectral image that scheme one, step S1 are obtained includes noise signal curve and threshold curve, at this point it is possible to The interfering frequency point in each noise signal curve is obtained using following steps.
Step A, in scan frequency section, using predeterminated frequency interval respectively to noise signal curve and threshold curve into Row sampling determines that the first sampled point and the second sampled point for corresponding to same frequency point, first sample are believed in noise On number curve, second sample is on threshold curve.
By taking the calibration test software on terminal device obtains interfering frequency point as an example.It is stored in advance in calibration test software Spectrum analyzer surveys test parameter set when spectral image in step sl, these test parameters include: center frequency point, Frequency span etc..
This step can specifically include: firstly, according to center frequency point and frequency span, available spectral image horizontal axis It originates frequency point and/or terminates frequency point.It is exemplary, as shown in fig. 6, if center frequency point be 200KHZ, frequency span 400KHZ, then It can use starting frequency point=center frequency point-frequency span/2 algorithm that starting frequency point is calculated as 0KHZ, can also use Terminating frequency point=center frequency point+frequency span/2 algorithm and termination frequency point is calculated is 400KHZ, it is of course possible to will starting frequency Point and termination frequency point calculate.
Secondly, according to frequency span and horizontal axis length, (i.e. the distance between starting point frequency point and termination frequency point, unit is not Limit, the exemplary number that can be X direction lattice is also possible to cm, mm, can also be pixel number etc.), it can obtain The corresponding frequency size of unit length on to horizontal axis.It is exemplary, it can show that unit is long divided by horizontal axis length with frequency span Corresponding frequency size is spent, as shown in fig. 6, exemplary, horizontal axis length is 4000 pixel numbers using pixel number as length unit, Frequency span is 400KHZ, then the corresponding frequency of unit length (namely the corresponding frequency size of each pixel) size is on horizontal axis 0.1KHZ。
Again, according to the corresponding frequency size of unit length on starting frequency point, horizontal axis, it is capable of determining that scan frequency section The position on spectral image horizontal axis two boundary points L1, L2.It is exemplary, if scan frequency section is 80KHZ~250KHZ, Then the position of L1, L2 are as shown in Figure 6.
Certainly, by the corresponding frequency size of unit length on terminal frequency point, horizontal axis, L1, L2 are also capable of determining that.It is needed Illustrating, there are many modes for determining the position L1, L2, it is merely given as examples here, such as: it can not also calculate on horizontal axis The corresponding frequency size of unit length utilizes the ratio and L1 of the position coordinates for the frequency values and terminal frequency point for terminating frequency point Frequency values, calculate the position coordinates of L1, can similarly calculate the position coordinates of L2.
Later, according to the corresponding frequency size of unit length on horizontal axis, the corresponding length interval in predeterminated frequency interval is obtained; And in this section L1, L2, noise signal curve and threshold curve are successively sampled with the length interval and obtain several first Sampled point and the second sampled point.It is exemplary, refering to what is shown in Fig. 6, if being divided into 0.1KHZ between assuming predeterminated frequency, between predeterminated frequency 1 pixel is divided between corresponding length, in this section L1, L2, using 1 pixel as interval, to noise signal curve and Threshold curve is successively sampled, point a1 shown in Fig. 6, point b1, point a2 and point b2 be obtained the first sampled point of part and Second sampled point, wherein point a1, point b1 correspond to same frequency point, and point a2, point b2 correspond to another Frequency point.
Wherein predeterminated frequency interval can be what those skilled in the art were set as needed, if art technology is intended merely to Rough acquisition interfering frequency point, then predeterminated frequency interval can with more relatively large,
It should be noted that this specific algorithm only as citing, can also there is many alternative schemes.It is exemplary, The test parameter being stored in advance in calibration test software includes: center frequency point, the frequency size of each grid, is further gone back It may include the amplitude size of each grid.In this way, those skilled in the art can also be in scan frequency section to two curves It is sampled.
Step B, on amplitude direction, the coordinate value size of first sampled point and second sampled point.
In image processing process, the coordinate in amplitude direction can be amplitude, be also possible to length value, which equally may be used To be grid quantity, cm, mm, pixel etc..In the present embodiment, preferably amplitude.
If the coordinate value of the first sampled point is greater than the coordinate value of the second sampled point, the Frequency point of the first sampled point is as dry Frequency point is disturbed, otherwise the Frequency point of first sampled point is not as interfering frequency point.As shown in fig. 6, the corresponding Frequency point of point a1 As interfering frequency point, the corresponding Frequency point of point a2 is made not to be interfering frequency point.
That is, in acquired all first sampled points in scan frequency section, it is bent to be located at threshold value from figure The corresponding Frequency point in part above line is interfering frequency point.
Scheme two, alternatively, can there is noise signal curve without threshold curve in frequency image. In this way, the relevant parameter of threshold curve can be pre-stored in calibration test software, so that calibration test software is obtaining During interfering frequency point, threshold value corresponding to the first sampled point can be obtained according to these parameters.
It should be noted that can only analysis be located in touch screen scan frequency section when being parsed to spectral image Curve.For the Frequency point for whole tracing analysis in spectral image, obtaining being greater than on whole curve threshold value, by In the curve being not necessarily to outside analystal section, therefore the analyzing efficiency of test software can be improved.
Preferably, it if getting the first spectral image and the second spectral image in step sl, needs in this step Image procossing is carried out respectively to the first spectral image and the second spectral image, with obtain the first noise signal interfering frequency point, And second noise signal interfering frequency point.Wherein, image procossing is carried out to obtain corresponding interference for each spectral image The process of Frequency point, may refer to foregoing description.Due to the interfering frequency point and the second noise signal of the first noise signal Interfering frequency point may have overlapping, then interference source can be by the first noise signal all interfering frequency points of touch screen Interfering frequency point composition set and obtained by the collection conjunction union that the interfering frequency point of the second noise signal forms.
Step S102, according to the scan frequency section of touch screen and interfering frequency point, the available of the touch screen is determined Scan frequency.
Specifically, interfering frequency point is had been obtained for, then those skilled in the art should be recognized that the available of touch screen is swept Retouching frequency should be in the scan frequency section of touch screen, and non-interference Frequency point.In other words, this step will be specifically, will touch It touches in the scan frequency section of screen, and Frequency point and/or frequency separation other than interfering frequency point, is determined as touch screen Scan frequency can be used.It is thus found that the available scan frequency of touch screen can be frequency separation, it is also possible to Frequency point, may be used also Not only to include frequency separation but also include Frequency point, as long as can be shown that the scan frequency that can be used of touch screen.
Exemplary, the available scan frequency of touch screen can be in the scan frequency section of touch screen, remove interfering frequency Any Frequency point or multiple Frequency points except point.Again exemplary, the available scan frequency of touch screen can be in touch screen Any frequency separation or multiple frequency separations in scan frequency section, in addition to interfering frequency point.It is, of course, also possible to both include Section also includes Frequency point.
Preferably, if the available scan frequency of touch screen includes Frequency point, this step specifically be may is that from except interference frequency In scan frequency section except rate point, obtains and be all larger than Secure Threshold with the absolute difference of any interfering frequency point The available scan frequency of Frequency point or frequency separation as the touch screen.
It is exemplary, if it is { a1, a2, a3, a4, a5 } that step S101, which obtains all interfering frequency points, then from scan frequency area Between the one or more Frequency points of middle selection as scan frequency can be used, can in scan frequency each Frequency point with a1, a2, A3, a4, a5 } any of absolute difference be all larger than Secure Threshold.Being used as to the one or more frequency separations of selection can With scan frequency, the boundary value of each frequency separation in scan frequency and the difference of any of { a1, a2, a3, a4, a5 } can be used Value absolute value is all larger than Secure Threshold.If then can refer to above-mentioned retouch if both selecting frequency point has selecting frequency section certainly It states.
Wherein, Secure Threshold is not specifically limited herein, and those skilled in the art can voluntarily set according to actual needs It is fixed.Exemplary, Secure Threshold can be 10kHZ.
It is further preferred that this step specifically may is that removal interference section obtains remaining area from scan frequency section Between, the available scan frequency of Frequency point and/or frequency separation as touch screen is obtained from remaining section, interferes the midpoint in section For interfering frequency point, 2 times that length is Secure Threshold.
Equally, Secure Threshold is not specifically limited herein, and those skilled in the art can voluntarily set according to actual needs It is fixed.Exemplary, Secure Threshold can be 10kHZ.
Exemplary, if it is { a1, a2, a3, a4, a5 } that step S101, which obtains all interfering frequency points, Secure Threshold is 10kHZ, then the corresponding interfering frequency section of each interfering frequency point be respectively as follows: (a1-10kHZ, a1+10kHZ), (a2-10kHZ, A2+10kHZ), (a3-10kHZ, a3+10kHZ), (a4-10kHZ, a4+10kHZ) and (a5-10kHZ, a5+10kHZ), from touch Above-mentioned each interference section is removed in the scan frequency section of screen, that is, the union in these interference sections is removed, with from remaining section The middle available scan frequency for obtaining touch screen.It can be concluded that if the available scan frequency of touch screen includes frequency separation, the frequency Rate section can subinterval between remaining area, naturally it is also possible to be exactly remaining section.Here bracket only shows boundary value Size, each interfering frequency section can be open interval, be also possible to closed interval.
By being arranged safety door limit value, the scan frequency of the touch screen of acquisition and interfering frequency exist certain safety away from From, in this way, can further reduce interference of the interference source to touch screen, the accuracy of guarantee touch screen touch function.
It should be noted that the available scan frequency of above-mentioned so-called touch screen, as the term suggests refer to that touch screen can make Scan frequency is not necessarily to all be arranged into terminal device, namely might not all be used as actual scanning frequency.
It is exemplary, if touch screen need to use inherence frequency point to be scanned, the available scanning of touch screen herein Frequency can only include a Frequency point, which can be used as an optimal Frequency point being recommended to use, at this time touch screen Available scan frequency be equal to the actual scanning frequency of touch screen;Optionally, multiple Frequency points be may include and/or comprising one A or multiple frequency separations, it is of course also possible to comprising a Frequency point and one or more frequency separations, it at this time can be defeated Scan frequency can be used out, therefrom select a Frequency point as the actual scanning frequency of touch screen by user, and this practical is swept Set of frequency is retouched into terminal device.
Again exemplary, if touch screen has the function of automatic frequency-hopping, the available scan frequency of touch screen herein be can wrap Containing multiple Frequency points, this multiple Frequency point can be used as the optimal frequency point being recommended to use, at this time the available scan frequency of touch screen It is equal to the actual scanning frequency of touch screen, after by the actual scanning set of frequency into terminal device, the touching of terminal device Frequency hopping can be carried out on these Frequency points during the scanning process by touching screen.Optionally, the available scan frequency of touch screen can be with Comprising one or more frequency separations, or further comprise one or more Frequency points, if the available scan frequency can As the optimal frequency being recommended to use, the available scan frequency of touch screen is equal to the actual scanning frequency of touch screen at this time, to By the actual scanning set of frequency into terminal device after, the touch screen of terminal device during the scanning process can be in actual scanning With certain rule (such as fixed frequency interval) frequency hopping in frequency.In addition, if the available scan frequency of touch screen is not equal to The actual scanning frequency of touch screen, the i.e. available scan frequency of touch screen also include other frequencies other than actual scanning frequency Point or frequency separation can then export the available scan frequency, Frequency point and/or frequency separation conduct therefrom selected by user Actual scanning frequency, and by the actual scanning set of frequency into terminal device, the touch screen of terminal device is during the scanning process Frequency hopping can be carried out on these Frequency points.
The acquisition methods of touch screen scan frequency provided in an embodiment of the present invention can generate touch screen due to first obtaining The interfering frequency point of interference, then the frequency in addition to these interfering frequency points is determined as available scan frequency, pass through the application Scheme can get the available scan frequency for evading interfering frequency point, also can for touch screen selection prevent interference sweep Retouch frequency.Further, if touch screen with scan frequency according to that can be scanned, the interference in the source that will not be interfered or by The interference arrived is smaller, therefore, solves the problems, such as that digital noise interferes this to touch screen.Simultaneously as scanning can be used by obtaining Frequency has first obtained once available scan frequency without touching acquisition every time, scanned in each touch later Scan frequency can be used all in accordance with this in Cheng Zhong, so that excessive occupancy will not be being touched every time in terms of existing technologies The resource of the CPU of terminal device.
Embodiment two,
Preferably, as shown in fig. 7, the embodiment of the invention provides the acquisition methods of another touch screen scan frequency, institute The method of stating is on the basis of example 1, by embodiment one it is found that touch screen can include that touch screen is practical with scan frequency sweeps Frequency is retouched, in order to realize automatic setting scan frequency, reduces human factor, in the present embodiment after step s 102, also Include:
Step S103: actual scanning set of frequency to terminal device is used to store the memory space of touch screen scan frequency In, the terminal device includes the touch screen.
This step specifically: if identified can be actual scanning frequency with scan frequency, by the actual scanning frequency It is arranged to the memory space (the generally flash memory FLASH of terminal device) for storing touch screen scan frequency.If identified It not only can include actual scanning frequency with scan frequency, then this step, which may is that, selects actual scanning from available scan frequency Frequency, and by actual scanning set of frequency to the memory space for being used to store touch screen scan frequency.Wherein, in the present embodiment not Limit the scheme that actual scanning frequency is selected from available scan frequency.
Preferably, when the executing subject in the embodiment of the present invention is hardware module or function in terminal device or terminal device When energy module, after the available scan frequency that touch screen is obtained in terminal device, this step can be executed.
It is again exemplary, when the executing subject in embodiment one is independently of other electronic equipments of terminal device or electronics is set When hardware module or functional module in standby, after the actual scanning frequency for obtaining touch screen in the electronic device, number can be passed through Be arranged according to the mode of transmission into the flash memory Flash of terminal device, it is exemplary, can by flashburn tools by the actual scanning frequency Rate programming is into the flash memory Flash of terminal device.Certainly, in this case it is also possible to be that the output of other electronic equipments is available Scan frequency, exemplary can export on the screen of other electronic equipments can be with scan frequency, by user according to can use scanning Frequency determines actual scanning frequency, and by existing flashburn tools by the Flash of actual scanning frequency programming to terminal device In.
Hardware module or function mould in scheme provided in an embodiment of the present invention, preferably terminal device or terminal device Root tuber evidence can use scan frequency that Flash is arranged, it is not necessary to other electronic equipments be reused, so that whole flow process is more convenient. In addition, since by actual scanning set of frequency, into Flash, touch screen carries out touching the dry of the source that would not be interfered when scanning The interference disturbed or be subject to is smaller, therefore, solves the problems, such as that digital noise interferes this to touch screen, ensure that user touches The accuracy of operation improves the use feeling of user.
Embodiment three,
Preferably, as shown in figure 8, the embodiment of the invention provides the acquisition methods of another touch screen scan frequency.It should Method based on the above embodiment one or embodiment two, and be when executing subject of the embodiment of the present invention is terminal device, or should When hardware module or functional module in terminal device, after determining the available scan frequency of touch screen, will determined by Before scan frequency is arranged into the flash memory Flash of terminal device, this method is further comprising the steps of:
S104, on the terminal device display determined by can use scan frequency;And it receives user and is scanned for described can use The instruction of frequency, described instruction are used to indicate the actual scanning frequency that available scan frequency is included.So that step S103 has Body are as follows: actual scanning set of frequency to terminal device is used to store the memory space of touch screen scan frequency according to user instructions In.
The user can use the actual scanning frequency in scan frequency for determining with the instruction of scan frequency for described. User in this step can be plant personnel, e.g. terminal device tester or terminal device producers Deng.
It is exemplary, for using a fixed scan frequency touch the terminal device of scanning, if scanning frequency can be used Rate is most preferred scan frequency point, that is, is used as actual scanning frequency, and user can be by clicking " determination " in display interface Button, terminal device receives the user instruction of expression confirmation at this time, and the most preferred scan frequency point is arranged to terminal In the Flash of equipment.
It is again exemplary, for using a fixed scan frequency touch the terminal device of scanning, if scanning can be used Frequency is multiple scan frequency points, or one or more frequency separation, and user can be inputted or be selected by interactive interface can With a Frequency point in range of scanned frequencies, as actual scanning frequency.Terminal device is received comprising actual scanning frequency at this time The user instruction of rate, and will be in the Flash of actual scanning set of frequency to terminal device.
Likewise, for the terminal device with frequency hopping function, it is exemplary, if the available scan frequency that display screen is shown is only Comprising actual scanning frequency, then user issues the user instruction of identity validation, so that terminal device is by actual scanning set of frequency Into Flash.Again exemplary, certain user can be inputted or be selected by interactive interface more in available range of scanned frequencies A Frequency point, terminal device receives the user instruction comprising actual scanning frequency at this time, and by actual scanning set of frequency to eventually In the Flash of end equipment.
Scheme provided in an embodiment of the present invention, due to that can be shown identified in embodiment one with scan frequency in terminal On the display screen of equipment, so that user selects according to actual needs, artificial controllability is increased in this way, allows user's root According to the scan frequency of actual needs setting touch screen.
Example IV
The embodiment of the invention provides the acquisition methods of another touch screen scan frequency, each step of this method is held Row main body can be terminal device, the hardware module or functional module being also possible in the terminal device.
In the case where interference source includes the display screen of terminal device, based on any of the above embodiments, this implementation Example is preferred, does as shown in Fig. 9 (shown in draw on the basis of example 1) obtaining interference source and generate to touch screen Before the interfering frequency point for the noise signal disturbed, the method also includes:
S100, the dot matrix picture that monochrome pixels interval is displayed in full screen on the display screen of terminal device, and/or terminal is set Standby backlight is adjusted to most bright.
Above-mentioned steps are exemplary, can be the dot matrix picture for being only displayed in full screen monochrome pixels interval on a display screen, such as scheme Shown in 10, the surrounding of each display black pixel point is all to be displayed in white pixel, each is displayed in white pixel four The pixel of all display black;Can also be only the backlight of terminal device is adjusted to it is most bright;It preferably, is that will show It is displayed in full screen the dot matrix picture at monochrome pixels interval on screen, while the backlight of terminal device being adjusted to most bright.
Wherein, make the dot matrix picture for being displayed in full screen monochrome pixels interval on display screen, can be by pacifying on terminal device The calibration test software of dress is realized, exemplary, be can be and is opened calibration test software, calibration test software will recall automatically with The monochrome pixels dot matrix interval picture that screen resolution matches.It is of course also possible to be that user deposits in advance in terminal device Picture is stored up, which is the monochrome pixels dot matrix interval picture to match with the screen resolution of terminal device, is being utilized Before spectrum analyzer test, the picture is opened from photograph album.
The backlight of terminal device is adjusted to most bright, can also be through calibration test software, backlight is transferred to most bright.Specifically Implementation can there are many, it is not limited here.It is of course also possible to be that user finds the choosing for adjusting backlight in terminal device , backlight is transferred to most bright.
Scheme provided in an embodiment of the present invention makes to be displayed in full screen on display screen before using frequency spectrograph test spectral image The dot matrix picture at monochrome pixels interval, and/or the backlight of terminal device is adjusted to it is most bright, under this interface, display screen interference source Generated noise signal is most strong, and the spectral image tested at this time is more advantageous to accurate analysis, to help to obtain more Add accurate interfering frequency point.
Embodiment five
The embodiment of the invention also provides a kind of acquisition device of touch screen scan frequency, for executing institute in embodiment one The method stated, the device can be the terminal device comprising the touch screen, be also possible to other electricity independently of the terminal device Sub- equipment (namely electronic equipment not comprising the touch screen).It can also be the hardware mould in terminal device or other electronic equipments Block or functional module.
As shown in figure 11, which includes:
Module 11 is obtained, generates the interfering frequency point for the noise signal interfered to touch screen for obtaining interference source, it is described Interfering frequency point is in the scan frequency section of touch screen and amplitude of the noise signal at interfering frequency point is greater than interfering frequency The corresponding threshold value of point;
Selecting module 12, can for according to the scan frequency section of touch screen and interfering frequency point, determine touch screen Use scan frequency.
Optionally, the module 11 that obtains is specifically used for: obtaining interference source and generates the noise signal interfered to touch screen Spectral image;
Image procossing is carried out to the spectral image, to obtain the interfering frequency point of the noise signal.
Optionally, spectral image includes noise signal curve and threshold curve;
The acquisition module 11 is specifically used for: in scan frequency section, being believed respectively noise using predeterminated frequency interval Number curve and threshold curve are sampled, and determine the first sampled point and the second sampled point for corresponding to same frequency point, and described the One sample is on noise signal curve, and second sample is on threshold curve;
On amplitude direction, compare the coordinate value size of the first sampled point and the second sampled point;
If the coordinate value of the first sampled point is greater than the coordinate value of the second sampled point, the Frequency point of the first sampled point is as dry Disturb Frequency point.
Optionally, the selecting module 12 is specifically used for: from the scan frequency section in addition to interfering frequency point, obtaining With the absolute difference of any interfering frequency point be all larger than Secure Threshold Frequency point and/or frequency separation as touch screen can Use scan frequency.
Optionally, the module 11 that obtains is specifically used for: obtaining the first interference source and makes an uproar to touch screen generates interference first The first spectral image and the second interference source of acoustical signal generate the second spectrogram of the second noise signal of interference to touch screen Picture;
Image procossing is carried out respectively to the first spectral image and the second spectral image, to obtain the interference of the first noise signal The interfering frequency of Frequency point and the second noise signal point.
Optionally, described can include actual scanning frequency, described device with scan frequency further include: setup module 13 is used In after determining the available scan frequency of touch screen, actual scanning set of frequency to terminal device is used to store touch screen and is swept It retouches in the memory space of frequency, described can include actual scanning frequency with scan frequency, and the terminal device includes touch screen.
Optionally, described device further include: the first display module 14, for that will can be used determined by the selecting module 12 Scan frequency is shown on the terminal device;
Receiving module 15, for receiving user for the instruction that can use scan frequency, described instruction is used to indicate institute State the actual scanning frequency that available scan frequency is included.
Optionally, the interference source includes the display screen of terminal device, described device further include: the second display module 16, Before the spectral image of noise signal for generating interference to touch screen in the acquisition interference source, the terminal device is controlled Display screen, to be displayed in full screen the dot matrix picture at monochrome pixels interval on the display screen;
And/or backlight adjustment module 17, it is most bright for the backlight of the terminal device to be adjusted to.
The acquisition device of touch screen scan frequency provided in an embodiment of the present invention has obtained meeting to touching due to obtaining module 11 The interfering frequency point that screen generates interference is touched, the frequency in addition to these interfering frequency points is determined as available sweep again by selecting module 12 Frequency is retouched, the scan frequency of interference can be prevented for touch screen selection by the scheme of the application.Further, if touch screen root If it can be scanned with scan frequency, the interference in the source that will not be interfered or the interference being subject to are smaller, therefore, solve number Noise interferes this problem to touch screen.Simultaneously as obtaining can be not necessarily to touching acquisition every time with scan frequency, and It is first to have obtained once available scan frequency scan frequency can be used i.e. all in accordance with this in each touch scanning process later Can, thus in terms of existing technologies will not be in the resource for the CPU for having touched excessive occupied terminal equipment every time.
It should be noted that acquisition module 11, selecting module 12, setup module 13, first in the embodiment of the present invention five Display module 14, receiving module 15, the second display module 16 and backlight adjustment module 17 can be the processor individually set up, Also it can integrate and realized in some processor of terminal device, in addition it is also possible to be stored in end in the form of program code In the memory of end equipment, the function of above each module is called by some processor of intelligent terminal and executed.It is described here Processor can be a central processing unit (full name in English: Central Processing Unit, English abbreviation: CPU), Or specific integrated circuit (full name in English: Application Specific Integrated Circuit, English abbreviation: ASIC), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
By taking the acquisition device of touch screen scan frequency is terminal device as an example, the certain module in device can also be by place The hardware realization except device and memory is managed, such as: obtaining module 11 may include the component of taking pictures in terminal device, receive mould Block 15 may include the touch screen in terminal device, etc..
In addition, the modules in device can so that the acquisition device of touch screen scan frequency is calibration test software as an example To be each functional unit of software.
Those of ordinary skill in the art may be aware that mould described in conjunction with the examples disclosed in the embodiments of the present disclosure Block and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, equipment (device) embodiment described above is only schematical, for example, described The division of unit (module), only a kind of logical function partition, there may be another division manner in actual implementation, such as more A unit (module) or component can be combined or can be integrated into another system, or some features can be ignored, or does not hold Row.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, The indirect coupling or communication connection of equipment or unit (module) can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member (module) may or may not be physically separated, as The component that unit is shown may or may not be physical unit, it can and it is in one place, or can also be distributed Onto multiple network units.Some or all of unit therein can be selected to realize the present embodiment side according to the actual needs The purpose of case.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each independent physical unit exists, can also be integrated in one unit with two or more units.
If the function is realized in the form of SFU software functional unit (module) and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The part of the part that contributes to existing technology or the technical solution can embody in the form of software products in other words Come, which is stored in a storage medium, including some instructions are used so that a computer equipment (can To be personal computer, server or the network equipment etc.) execute all or part of each embodiment the method for the present invention Step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (English abbreviation: ROM, full name in English: Read- Only Memory), random access memory (English abbreviation: RAM, full name in English: Random Access Memory), magnetic disk Or the various media that can store program code such as CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. a kind of acquisition methods of touch screen scan frequency characterized by comprising
The interfering frequency point that interference source generates the noise signal of interference to touch screen is obtained, the interfering frequency point is in the touching It touches the scan frequency section of screen and amplitude of the noise signal at the interfering frequency point is greater than the interfering frequency point pair The threshold value answered;
According to the scan frequency section of the touch screen and interfering frequency point, the available scanning of the touch screen is determined Frequency;
The scan frequency section and interfering frequency point according to the touch screen determines the available of the touch screen Scan frequency specifically includes:
From the scan frequency section in addition to the interfering frequency point, obtain absolute with the difference of any interfering frequency point Value is all larger than the available scan frequency of the Frequency point and/or frequency separation of Secure Threshold as the touch screen.
2. the method according to claim 1, wherein the noise for obtaining interference source and generating interference to touch screen The interfering frequency point of signal includes:
Obtain the spectral image that interference source generates the noise signal of interference to touch screen;
Image procossing is carried out to the spectral image, to obtain the interfering frequency point of the noise signal.
3. according to the method described in claim 2, it is characterized in that, the spectral image includes that noise signal curve and threshold value are bent Line;
It is described that image procossing is carried out to the spectral image, include: to obtain the interfering frequency point of the noise signal
In the scan frequency section, using predeterminated frequency interval respectively to the noise signal curve and the threshold curve It is sampled, determines the first sampled point and the second sampled point for corresponding to same frequency point, first sample is in described On noise signal curve, second sample is on the threshold curve;
On amplitude direction, the coordinate value size of first sampled point and second sampled point;
If the coordinate value of first sampled point is greater than the coordinate value of second sampled point, the frequency of first sampled point Point is used as interfering frequency point.
4. according to the method described in claim 2, it is characterized in that, the noise for obtaining interference source and generating interference to touch screen The spectral image of signal includes: the first frequency spectrum for obtaining the first noise signal that the first interference source generates interference to the touch screen Image and the second interference source generate the second spectral image of the second noise signal of interference to the touch screen;
It is described that image procossing is carried out to the spectral image, it include: to described to obtain the interfering frequency point of the noise signal First spectral image and second spectral image carry out image procossing respectively, to obtain the interference frequency of first noise signal The interfering frequency point of rate point and second noise signal.
5. the method according to claim 1, wherein described can include actual scanning frequency with scan frequency, After the available scan frequency for determining the touch screen, the method also includes:
The actual scanning set of frequency is used to store in the memory space of touch screen scan frequency to terminal device, the end End equipment includes the touch screen.
6. according to the method described in claim 5, it is characterized in that, after determining the available scan frequency of the touch screen, The method also includes:
Scan frequency can be used determined by display on the terminal device;
User is received for the instruction that can use scan frequency, described instruction be used to indicate described can be included with scan frequency Actual scanning frequency.
7. the method according to claim 1, wherein the interference source includes the display screen of terminal device, in institute Before stating the interfering frequency point for obtaining the noise signal that interference source generates interference to touch screen, the method also includes:
It is displayed in full screen the dot matrix picture at monochrome pixels interval on the display screen, and/or by the backlight tune of the terminal device To most bright.
8. a kind of acquisition device of touch screen scan frequency characterized by comprising
Module is obtained, generates the interfering frequency point for the noise signal interfered, the interference frequency to touch screen for obtaining interference source Rate point is in the scan frequency section of the touch screen and amplitude of the noise signal at the interfering frequency point is greater than institute State the corresponding threshold value of interfering frequency point;
Selecting module, for according to the touch screen scan frequency section and interfering frequency point, determine the touch The available scan frequency of screen;
The scan frequency section and interfering frequency point according to the touch screen determines the available of the touch screen Scan frequency specifically includes:
From the scan frequency section in addition to the interfering frequency point, obtain absolute with the difference of any interfering frequency point Value is all larger than the available scan frequency of the Frequency point and/or frequency separation of Secure Threshold as the touch screen.
9. device according to claim 8, which is characterized in that described can include actual scanning frequency, institute with scan frequency State device further include:
Setup module, for after determining the available scan frequency of the touch screen, the actual scanning set of frequency to be arrived Terminal device is used to store in the memory space of touch screen scan frequency, and described can include actual scanning frequency with scan frequency, The terminal device includes the touch screen.
CN201610063581.2A 2016-01-28 2016-01-28 A kind of acquisition methods and device of touch screen scan frequency Active CN105528117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610063581.2A CN105528117B (en) 2016-01-28 2016-01-28 A kind of acquisition methods and device of touch screen scan frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610063581.2A CN105528117B (en) 2016-01-28 2016-01-28 A kind of acquisition methods and device of touch screen scan frequency

Publications (2)

Publication Number Publication Date
CN105528117A CN105528117A (en) 2016-04-27
CN105528117B true CN105528117B (en) 2019-02-19

Family

ID=55770385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610063581.2A Active CN105528117B (en) 2016-01-28 2016-01-28 A kind of acquisition methods and device of touch screen scan frequency

Country Status (1)

Country Link
CN (1) CN105528117B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436666B (en) 2016-05-26 2020-11-06 华为终端有限公司 Control method and control device of power adapter
KR101835009B1 (en) * 2016-08-19 2018-03-07 주식회사 하이딥 Touch input device
JP6789398B2 (en) 2016-09-21 2020-11-25 華為技術有限公司Huawei Technologies Co.,Ltd. Interference prevention methods and devices for touch panels
CN106657516B (en) * 2016-12-09 2020-11-24 深圳市泽昕通讯有限公司 Method and system for reproducing and avoiding touch screen interference based on electromagnetic interference environment
CN106681875B (en) * 2017-02-17 2020-09-01 广州视源电子科技股份有限公司 Method and system for detecting power interference resistance of touch screen
CN107329609A (en) * 2017-06-26 2017-11-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus for detecting touching signals
CN107506067B (en) * 2017-07-24 2020-02-21 Oppo广东移动通信有限公司 Method and device for debugging working frequency of touch screen and terminal equipment
CN107728847B (en) * 2017-10-31 2020-06-12 维沃移动通信有限公司 Charging interference processing method and mobile terminal
CN109375800A (en) * 2018-09-20 2019-02-22 广州创知科技有限公司 Scan frequency setting method and scan method, device, equipment and infrared touch frame
CN110162215A (en) * 2019-05-10 2019-08-23 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer readable storage medium
WO2020261577A1 (en) * 2019-06-28 2020-12-30 三菱電機株式会社 Touch panel system and display device
CN111781577B (en) * 2020-06-08 2023-12-22 维沃移动通信有限公司 Light detection method, light detection device and electronic equipment
CN113093945A (en) * 2021-04-21 2021-07-09 北京集创北方科技股份有限公司 Touch screen scanning control device, method, chip, display panel and electronic equipment
CN114925014B (en) * 2022-05-24 2024-03-26 深圳市爱协生科技股份有限公司 Capacitive touch serial port screen capable of self-adapting to strong electric interference
CN117687532A (en) * 2024-02-02 2024-03-12 深圳市坤巨实业有限公司 Capacitive screen working frequency setting method, touch device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309529A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Capacitive touch screen and touch signal recognition method thereof
CN103677449A (en) * 2012-08-30 2014-03-26 中兴通讯股份有限公司 Method for adjusting scanning frequency of touch screen and electronic terminal
CN105677099A (en) * 2016-01-05 2016-06-15 京东方科技集团股份有限公司 Method and system for setting working frequency range of touch detection system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860432B2 (en) * 2011-02-25 2014-10-14 Maxim Integrated Products, Inc. Background noise measurement and frequency selection in touch panel sensor systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309529A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Capacitive touch screen and touch signal recognition method thereof
CN103677449A (en) * 2012-08-30 2014-03-26 中兴通讯股份有限公司 Method for adjusting scanning frequency of touch screen and electronic terminal
CN105677099A (en) * 2016-01-05 2016-06-15 京东方科技集团股份有限公司 Method and system for setting working frequency range of touch detection system

Also Published As

Publication number Publication date
CN105528117A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN105528117B (en) A kind of acquisition methods and device of touch screen scan frequency
CN102662462B (en) Electronic installation, gesture identification method and gesture application process
CN105473062B (en) Information processing unit, information processing method and information processing system
CN104298962B (en) Finger print detection device and method
CN108881604A (en) Light-intensity test method, apparatus and intelligent terminal
CN107690653A (en) Obtain the method, apparatus and terminal device of fingerprint image
CN109711259A (en) Fingerprint input method and relevant device
US20200333378A1 (en) Method and apparatus for processing oscilloscope signal and oscilloscope
CN109753425B (en) Popup window processing method and device
CN105824535A (en) Setting adjusting method and terminal
CN106599859A (en) Image photographing identification fingerprint assembly, identification method and identification device thereof, and electronic equipment
CN110188679A (en) Calibration method and relevant device
CN110035368A (en) Hearing device and method for adjusting hearing instrument parameters
CN104731400B (en) Damping vibration wave reflection
CN112083245B (en) Target object electromagnetic radiation disturbance testing method, system, equipment and medium
CN110147751A (en) A kind of method and device of fingerprint detection
CN108875643A (en) Fingerprint mould group, fingerprint identification method, device, storage medium and mobile terminal
CN109543378A (en) Unlocked by fingerprint method and relevant device
CN107169427A (en) One kind is applied to psychologic face recognition method and device
WO2022104326A1 (en) Method for detection and interpretation of results indicated on a photographed diagnostic test
CN105630285B (en) Using starting method, apparatus and mobile terminal
CN109886178A (en) Fingerprint input method and Related product
CN107315935A (en) A kind of recognition methods of many fingerprints and device
CN107037951B (en) Automatic operation mode identification method and terminal
CN109740430A (en) Fingerprint input method and relevant device

Legal Events

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