Disclosure of Invention
In view of the above, embodiments of the present invention provide an interference detection method, an apparatus, a server, and a storage medium, which solve the problem that the interference detection needs a repetitive test in the sensitivity attenuation test of the liquid crystal display module at present.
In a first aspect, an embodiment of the present invention provides an interference detection method, including:
setting a preset transmission bandwidth, and calculating a transmission cycle bandwidth according to the preset transmission bandwidth;
determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth;
and calculating to obtain the transmission cycle bandwidth range of the clock signal to be detected, and judging whether interference exists according to the frequency of the clock signal to be detected in the transmission cycle bandwidth range and the frequency multiplication interference bandwidth.
Optionally, setting a preset transmission bandwidth, and calculating a transmission cycle bandwidth according to the preset transmission bandwidth, specifically including:
setting a preset transmission bandwidth according to the specified transmission bandwidth range, and calculating to obtain a transmission cycle bandwidth according to a calculation formula and the preset transmission bandwidth, wherein the calculation formula is as follows: the transmission period bandwidth is equal to the preset transmission bandwidth/unicast byte, and the unicast byte is equal to 3 pixels × 8bits is equal to 24 bits.
Optionally, determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth specifically includes:
and determining the frequency multiplication interference bandwidth and the risk frequency multiplication interference bandwidth according to the scanning off/on frequency display of a frequency spectrograph.
Optionally, the calculating to obtain the transmission cycle bandwidth range of the clock signal to be detected specifically includes:
dividing the frequency of the clock signal to be tested by the bandwidth of the transmission period to obtain the remainder frequency;
taking the remainder frequency as the clock frequency to be compared under the condition that the remainder frequency is smaller than the half transmission period bandwidth;
and under the condition that the remainder frequency is greater than the half clock cycle frequency, taking the frequency obtained by subtracting the transmission cycle bandwidth from the remainder frequency as the clock frequency to be compared.
Optionally, determining whether there is interference according to the clock frequency to be detected within the transmission cycle bandwidth and the frequency multiplication interference bandwidth, specifically including:
under the condition that the clock frequency to be compared is within the frequency multiplication interference bandwidth range, judging that interference exists;
and under the condition that the clock frequency to be compared is within the risk frequency multiplication interference bandwidth range, judging that the potential interference hazard exists.
In a second aspect, an embodiment of the present invention provides an interference detection apparatus, including:
the setting module is used for setting a preset transmission bandwidth and calculating a transmission cycle bandwidth according to the preset transmission bandwidth;
the determining module is used for determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth;
and the calculation module is used for calculating the transmission cycle bandwidth range of the clock signal to be detected and judging whether interference exists according to the frequency of the clock signal to be detected in the transmission cycle bandwidth range and the frequency multiplication interference bandwidth.
Optionally, the setting module is specifically configured to:
setting a preset transmission bandwidth according to the specified transmission bandwidth range, and calculating to obtain a transmission cycle bandwidth according to a calculation formula and the preset transmission bandwidth, wherein the calculation formula is as follows: the transmission period bandwidth is equal to the preset transmission bandwidth/unicast byte, and the unicast byte is equal to 3 pixels × 8bits is equal to 24 bits.
Optionally, the determining module is specifically configured to:
and determining the frequency multiplication interference bandwidth and the risk frequency multiplication interference bandwidth according to the scanning off/on frequency display of a frequency spectrograph.
In a third aspect, an embodiment of the present invention provides a server, including:
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the interference detection method as in any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement an interference detection method according to any one of the embodiments of the present invention.
The interference detection method, the interference detection device, the server and the storage medium provided by the embodiment of the invention set a preset transmission bandwidth, and calculate a transmission cycle bandwidth according to the preset transmission bandwidth; determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth; and calculating to obtain the transmission cycle bandwidth range of the clock signal to be detected, and judging whether interference exists according to the frequency of the clock signal to be detected in the transmission cycle bandwidth range and the frequency multiplication interference bandwidth. By determining the transmission period bandwidth and the interference bandwidth, the range with interference can be obtained more visually, whether the interference exists or not is judged by calculating the range of the frequency of the clock to be detected, the interference detection is realized more conveniently and accurately, and the problem that the interference detection needs to be repeatedly tested in the sensitivity attenuation test of the liquid crystal display module at present is solved.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an interference detection method according to an embodiment of the present invention. The technical scheme of the embodiment can be suitable for detecting the interference in the sensitivity attenuation test of the liquid crystal display module. The method may be performed by an interference detection apparatus provided in the embodiments of the present invention, and the apparatus may be implemented in software and/or hardware. The method specifically comprises the following operations:
s110, setting a preset transmission bandwidth, and calculating a transmission cycle bandwidth according to the preset transmission bandwidth.
The preset transmission bandwidth can be set in advance for a tester. Setting a preset transmission bandwidth, and calculating a transmission cycle bandwidth according to the preset transmission bandwidth, specifically comprising: setting a preset transmission bandwidth according to the specified transmission bandwidth range, and calculating the transmission cycle bandwidth according to a calculation formula and the preset transmission bandwidth, wherein the calculation formula is as follows: the transmission period bandwidth is equal to the preset transmission bandwidth/unicast byte, and the unicast byte is equal to 3 pixels × 8bits is equal to 24 bits. The tester sets the preset transmission bandwidth according to the specified transmission bandwidth range, which is 800MHz-1GHz, for example, so that the preset transmission bandwidth can be set to 960 MHz. The transmission cycle bandwidth is calculated according to a calculation formula and a preset transmission bandwidth, for example, when the preset transmission bandwidth is set to 960MHz, the transmission cycle bandwidth is 960MHz/24bits is 40MHz according to the calculation formula.
And S120, determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth.
Determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth, specifically comprising: and determining the frequency multiplication interference bandwidth and the risk frequency multiplication interference bandwidth according to the scanning off/on frequency display of a frequency spectrograph. Illustratively, a risk interference prediction line can be observed according to a waveform displayed on a frequency spectrograph, so as to obtain an intersection point of the risk interference prediction line and a transmission waveform, a frequency range corresponding to a part of the waveform between two adjacent nearest intersection points is determined as a frequency multiplication interference bandwidth, and a frequency range corresponding to the waveform between the intersection point and a zero point nearest to the intersection point is determined as a risk frequency multiplication interference bandwidth.
S130, calculating to obtain a transmission cycle bandwidth range of the clock signal to be detected, and judging whether interference exists according to the frequency of the clock signal to be detected in the transmission cycle bandwidth range and the frequency multiplication interference bandwidth.
Calculating to obtain the transmission cycle bandwidth range of the clock signal to be detected, specifically including: dividing the frequency of the clock signal to be tested by the bandwidth of the transmission period to obtain the remainder frequency; taking the remainder frequency as the clock frequency to be compared under the condition that the remainder frequency is smaller than the half transmission period bandwidth; and under the condition that the remainder frequency is greater than the half clock cycle frequency, taking the frequency obtained by subtracting the transmission cycle bandwidth from the remainder frequency as the clock frequency to be compared. Specifically, in the test process, the clock signal to be tested needs to be positioned so as to facilitate interference detection, and after the frequency of the clock signal to be tested is selected, the frequency of the clock signal to be tested is divided by the transmission cycle bandwidth to obtain a remainder frequency, so that the clock signal to be tested is located in the fifth cycle through the remainder frequency, the cycle range of the clock signal to be tested is determined, and the specific position of the clock signal to be tested in the current cycle bandwidth is determined. Comparing the remainder frequency with a half-transmission period bandwidth, wherein the half-transmission period bandwidth is half of the transmission period bandwidth, and when the remainder frequency is smaller than the half-transmission period bandwidth, taking the current period bandwidth range where the remainder frequency is located as a detection reference range and taking the remainder frequency at the moment as a clock frequency to be compared; when the remainder frequency is greater than the half transmission cycle frequency, it is indicated that the remainder frequency is closer to the range of the bandwidth of the next transmission cycle, and at this time, the remainder frequency is subtracted by the transmission cycle frequency to obtain a new frequency as the clock frequency to be compared.
And judging whether interference exists according to the clock frequency to be detected in the transmission period bandwidth range and the frequency multiplication interference bandwidth, which specifically comprises the following steps: under the condition that the clock frequency to be compared is within the frequency multiplication interference bandwidth range, judging that interference exists; and under the condition that the clock frequency to be compared is within the risk frequency multiplication interference bandwidth range, judging that the potential interference hazard exists. Specifically, comparing the clock frequency to be compared obtained by the clock frequency to be tested with the frequency multiplication interference bandwidth, and when the clock frequency to be compared is within the frequency multiplication interference bandwidth range, indicating that the clock frequency to be tested can receive the frequency multiplication interference; when the clock frequency to be compared is within the risk multiple frequency bandwidth range, the fact that the clock frequency to be compared is interfered is indicated, and then a tester judges whether the clock frequency is reserved or not according to the actual situation.
Exemplarily, the interference detection determination process is now illustrated: the preset transmission bandwidth is determined to be 960MHz, the transmission cycle bandwidth is 40MHz, and the half-transmission cycle bandwidth is 20MHz through calculation. Observing a risk interference prediction line through a frequency spectrograph display screen, obtaining intersection points of the risk interference prediction line and transmission waveforms, determining a frequency range corresponding to the waveforms between two adjacent nearest intersection points as a frequency multiplication interference bandwidth, taking the midpoint of the two adjacent nearest intersection points as a central origin point, namely the frequency multiplication interference bandwidth at the moment is-0.5 MHz-0.5MHz, and determining a frequency range corresponding to the waveforms between the two adjacent nearest intersection points and a nearest zero point of a close-distance intersection point as the risk frequency multiplication interference bandwidth, namely-0.7 MHz- (-0.5MHz) and 0.5MHz-0.7 MHz. If the selected clock frequency to be tested is 135MHz, the remainder frequency is 15MHz by dividing the transmission period bandwidth, and the 15MHz is less than the half transmission period bandwidth by 20MHz, the comparison is directly carried out, wherein the 15MHz is more than the maximum threshold value of the frequency multiplication interference bandwidth by 0.5MHz and more than the maximum threshold value of the risk frequency multiplication interference bandwidth by 0.7MHz, so that the clock frequency to be tested can be determined to have no interference; if the selected clock frequency to be tested is 155MHz, the remainder frequency obtained by dividing the transmission period bandwidth is 35MHz and is greater than the half-transmission period frequency by 20MHz, at the moment, the transmission period bandwidth is subtracted from the 35MHz to obtain-5 MHz, and then the-5 MHz is used for comparison, at the moment, the-5 MHz is smaller than the minimum threshold value of the frequency multiplication interference bandwidth, namely-0.5 MHz and smaller than the minimum threshold value of the risk frequency multiplication interference bandwidth, namely-0.7 MHz, so that the clock frequency to be tested can be determined to have no interference. And recording each parameter and the corresponding clock frequency data to be tested in a table for subsequent application.
The interference detection method provided by the embodiment of the invention is characterized by setting a preset transmission bandwidth and calculating a transmission period bandwidth according to the preset transmission bandwidth; determining a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth; and calculating to obtain the transmission cycle bandwidth range of the clock signal to be detected, and judging whether interference exists according to the frequency of the clock signal to be detected in the transmission cycle bandwidth range and the frequency multiplication interference bandwidth. By determining the transmission period bandwidth and the interference bandwidth, the range with interference can be obtained more visually, whether the interference exists or not is judged by calculating the range of the frequency of the clock to be detected, the interference detection is realized more conveniently and accurately, and the problem that the interference detection needs to be repeatedly tested in the sensitivity attenuation test of the liquid crystal display module at present is solved.
Example two
Fig. 2 is a schematic structural diagram of an interference detection apparatus according to a second embodiment of the present invention. As shown in fig. 2, an interference detecting apparatus includes:
a setting module 210, configured to set a preset transmission bandwidth, and calculate a transmission cycle bandwidth according to the preset transmission bandwidth;
a determining module 220, configured to determine a frequency multiplication interference bandwidth and a risk frequency multiplication interference bandwidth;
the calculating module 230 is configured to calculate a transmission cycle bandwidth range in which the clock signal to be detected is located, and determine whether there is interference according to the frequency of the clock signal to be detected within the transmission cycle bandwidth range and the frequency multiplication interference bandwidth.
Optionally, the setting module 210 is specifically configured to:
setting a preset transmission bandwidth according to the specified transmission bandwidth range, and calculating to obtain a transmission cycle bandwidth according to a calculation formula and the preset transmission bandwidth, wherein the calculation formula is as follows: the transmission period bandwidth is equal to the preset transmission bandwidth/unicast byte, and the unicast byte is equal to 3 pixels × 8bits is equal to 24 bits.
Optionally, the determining module 220 is specifically configured to:
and determining the frequency multiplication interference bandwidth and the risk frequency multiplication interference bandwidth according to the scanning off/on frequency display of a frequency spectrograph.
The interference detection device provided by the embodiment of the invention belongs to the same inventive concept as the interference detection method provided by the embodiment, and technical details which are not described in detail in the embodiment can be referred to the embodiment, and the embodiment has the same beneficial effects as the embodiment.
EXAMPLE III
The embodiment provides a server which can be used for detecting interference in a sensitivity attenuation test of a liquid crystal display module. Fig. 3 is a schematic structural diagram of an interference detection server according to a third embodiment of the present invention. Referring to fig. 3, the server includes:
one or more processors 310;
a memory 320 for storing one or more programs;
when executed by the one or more processors 310, cause the one or more processors 310 to implement a method of interference detection as set forth in the embodiments above.
In FIG. 3, a processor 310 is illustrated as an example; the processor 310 and the memory 320 may be connected by a bus or other means, such as the bus connection shown in FIG. 3.
The memory 320 is a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to an interference detection method in the embodiments of the present invention. The processor 310 executes various functional applications of the terminal and data processing by executing software programs, instructions and modules stored in the memory 320, that is, implements the interference detection method described above.
The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 320 may further include memory located remotely from the processor 310, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The server provided by the present embodiment and the interference detection method provided by the above embodiment belong to the same inventive concept, and the technical details that are not described in detail in the present embodiment can be referred to the above embodiment, and the present embodiment and the above embodiment have the same beneficial effects.
Example four
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of interference detection as set forth in the above embodiments.
The storage medium proposed by the present embodiment and the interference detection method proposed by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the present embodiment can be referred to the above embodiment, and the present embodiment has the same beneficial effects as the above embodiment.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a terminal, or a network device) to execute the methods according to the embodiments of the present invention.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in an interference detection method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute an interference detection method according to various embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.