Frequency point detection adaptive method, device, system and readable storage medium
By obtaining real-time parameter information of the motherboard, automatically decide on the target default frequency points, solving the problems of low frequency point testing efficiency and error-proneness, realizing automated detection of the same version of software in different manufacturers, improving detection efficiency and accuracy.
Patent Information
- Application Number
- CN202210455395.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-04-27
AI Technical Summary
The existing frequency point testing methods are inefficient and error-prone, and cannot achieve automated inspections between different motherboard manufacturers.
By obtaining the real-time parameter information of the motherboard to be detected, and according to the correspondence between the preset parameter information and the preset default frequency point, the target default frequency point is automatically decided and set as the detection frequency point to realize adaptive frequency point detection.
It improves the efficiency and accuracy of frequency point detection, avoids misjudgment caused by improper remote control key operation, and realizes automatic detection of the same version of software in different motherboard manufacturers.
Smart Images

Figure CN114814547B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of equipment detection technology, and in particular to a frequency point detection adaptive method, device, system and readable storage medium. Background Art
[0002] Currently, all television production requires motherboard testing. This includes testing the RF terminals (Radio Frequency) to control their quality. Different manufacturers use different signal frequencies for RF terminal testing. To reduce costs and risks, TV brands often test the same motherboards at different manufacturers for mass production. This requires software development to provide different frequency settings for different motherboard manufacturers. Existing approaches primarily involve two methods: providing different software for different manufacturers; and using a specific remote control button to switch frequencies before testing begins. However, both methods are inefficient and prone to errors. Summary of the Invention
[0003] The main purpose of the present invention is to provide a frequency detection adaptive method, device, system and readable storage medium, aiming to solve the problems of low efficiency and easy error of existing frequency detection methods.
[0004] To achieve the above object, the present invention provides a frequency point detection adaptive method, which includes the following steps:
[0005] When a motherboard to be detected is detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected;
[0006] Determine a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency;
[0007] The target default frequency is set as the detection frequency, and the detection of the motherboard to be detected is completed according to the detection frequency.
[0008] Optionally, the real-time parameter information includes a sampled voltage value;
[0009] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency includes:
[0010] According to the preset corresponding relationship, the sampled voltage value is traversed through the preset default frequency points to obtain a first default frequency point corresponding to the sampled voltage value;
[0011] The first default frequency point is set as the target default frequency point.
[0012] Optionally, the real-time parameter information includes multiple GPIO states;
[0013] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency further includes:
[0014] According to the preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states;
[0015] The second default frequency point is set as the target default frequency point.
[0016] Optionally, before the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency, the step further includes:
[0017] An information category of the real-time parameter information is determined, and a preset correspondence between preset parameter information and a preset default frequency point is obtained according to the information category, wherein the information category includes a sampled voltage value and a multi-channel GPIO status.
[0018] Optionally, after the step of powering on the motherboard to be detected and obtaining parameter information of the motherboard to be detected, the method further includes:
[0019] Determine whether the motherboard to be tested is qualified according to the parameter information of the motherboard to be tested;
[0020] If the motherboard to be detected is qualified, the step of determining a target default frequency corresponding to the motherboard to be detected according to the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency.
[0021] Optionally, after the step of setting the target default frequency as the detection frequency and completing the detection of the motherboard to be detected according to the detection frequency, the method further includes:
[0022] Obtain the test result, compare the test result with a predetermined range value, and if the test result is within the predetermined range value, determine that the motherboard to be tested is normal, otherwise it is abnormal.
[0023] In addition, to achieve the above-mentioned object, the present invention further provides a frequency point detection adaptive device, which is applied to the above-mentioned frequency point detection adaptive method. The frequency point detection adaptive device includes a production line motherboard detection tooling and a motherboard main chip system connected in sequence, wherein the motherboard main chip system is provided on the motherboard to be detected;
[0024] The production line motherboard detection tool is used to power on the motherboard to be detected and obtain real-time parameter information of the motherboard to be detected when the motherboard to be detected is detected;
[0025] The mainboard main chip system is configured to determine a target default frequency corresponding to the mainboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency; and
[0026] The target default frequency is set as the detection frequency, and the detection of the motherboard to be detected is completed according to the detection frequency.
[0027] Optionally, the mainboard main chip system includes a mainboard default frequency decision module and a default frequency setting module connected in sequence.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a frequency point detection adaptive system, which includes a frequency point detection adaptive device and a memory, a processor, and a frequency point detection adaptive program stored in the memory and capable of running on the processor. When the frequency point detection adaptive program is executed by the processor, the steps of the frequency point detection adaptive method described above are implemented.
[0029] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a frequency detection adaptation program is stored. When the frequency detection adaptation program is executed by a processor, the steps of the frequency detection adaptation method described above are implemented.
[0030] The present invention provides a frequency detection adaptive method, device, system, and readable storage medium. The frequency detection adaptive method comprises the following steps: upon detecting a motherboard to be detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected; determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between preset parameter information and a preset default frequency; setting the target default frequency as the detection frequency, and completing the detection of the motherboard to be detected based on the detection frequency. The frequency detection adaptive device comprises a production line motherboard detection tool and a motherboard main chip system connected in sequence, wherein the motherboard main chip system is disposed on the motherboard to be detected. Through the above method and structure, the present invention can integrate a set of all frequencies of the motherboard manufacturer required. When frequency detection is required, the corresponding frequency to be detected can be determined based on the parameter information of the motherboard to be detected, enabling automated detection of the same version of software across different motherboard manufacturers. This also avoids the prior art error of motherboard detection failure caused by a specific remote control key operation switching frequency due to incorrect timing or remote control insensitivity, thereby improving production detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 Schematic diagram of the hardware operating environment of the embodiment of the present invention;
[0032] Figure 2 Schematic diagram of the structure of the frequency detection adaptive device of the present invention;
[0033] Figure 3 FIG. 1 is a flow chart of a first embodiment of a frequency detection and adaptive method according to the present invention.
[0034] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0036] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0037] The terminal in the embodiment of the present invention is a frequency detection adaptive system.
[0038] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a DVI interface 1004, a USB interface 1005, and a memory 1006. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The DVI interface 1004 may optionally include a standard wired interface for connecting to other external devices via a DVI cable. The USB interface 1005 may optionally include a standard wired interface for connecting to other external devices via a USB cable. The memory 1006 may be a high-speed RAM memory or a non-volatile memory, such as a disk storage device. The memory 1006 may also be a storage device independent of the aforementioned processor 1001.
[0039] Optionally, the terminal may further include an audio circuit and the like, which will not be described in detail here.
[0040] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation to the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0041] like Figure 1 As shown, the memory 1006 as a computer storage medium may include an operating system, a DVI interface module, a USB interface module, a user interface module, and a frequency detection and adaptation program.
[0042] exist Figure 1 In the terminal shown, the DVI interface 1004 is mainly used to connect to external devices and communicate data with the external devices; the USB interface 1005 is mainly used to connect to external devices and communicate data with the external devices; the user interface 1003 is mainly used to connect to the client and communicate data with the client; and the processor 1001 can be used to call the frequency detection and adaptation program stored in the memory 1005 and perform the following operations:
[0043] When a motherboard to be detected is detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected;
[0044] Determine a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency;
[0045] The target default frequency is set as the detection frequency, and the detection of the motherboard to be detected is completed according to the detection frequency.
[0046] Furthermore, the processor 1001 may call the frequency detection and adaptation program stored in the memory 1006 and perform the following operations:
[0047] The real-time parameter information includes a sampled voltage value;
[0048] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency includes:
[0049] According to the preset corresponding relationship, the sampled voltage value is traversed through the preset default frequency points to obtain a first default frequency point corresponding to the sampled voltage value;
[0050] The first default frequency point is set as the target default frequency point.
[0051] Furthermore, the processor 1001 may call the frequency detection and adaptation program stored in the memory 1006 and perform the following operations:
[0052] The real-time parameter information includes multiple GPIO states;
[0053] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency further includes:
[0054] According to the preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states;
[0055] The second default frequency point is set as the target default frequency point.
[0056] Furthermore, the processor 1001 may call the frequency detection and adaptation program stored in the memory 1006 and perform the following operations:
[0057] Before the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency, the method further includes:
[0058] An information category of the real-time parameter information is determined, and a preset correspondence between preset parameter information and a preset default frequency point is obtained according to the information category, wherein the information category includes a sampled voltage value and a multi-channel GPIO status.
[0059] Furthermore, the processor 1001 may call the frequency detection and adaptation program stored in the memory 1006 and perform the following operations:
[0060] After the steps of powering on the motherboard to be detected and obtaining parameter information of the motherboard to be detected, the method further includes:
[0061] Determine whether the motherboard to be tested is qualified according to the parameter information of the motherboard to be tested;
[0062] If the motherboard to be detected is qualified, the step of determining a target default frequency corresponding to the motherboard to be detected according to the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency.
[0063] Furthermore, the processor 1001 may call the frequency detection and adaptation program stored in the memory 1006 and perform the following operations:
[0064] Obtain the test result, compare the test result with a predetermined range value, and if the test result is within the predetermined range value, determine that the motherboard to be tested is normal, otherwise it is abnormal.
[0065] Based on the above hardware structure, various embodiments of the frequency detection adaptive system of the present invention are proposed.
[0066] See also Figure 2 , Figure 2 This is a structural diagram of the frequency detection adaptive device of the present invention, which includes: a production line motherboard detection tool 01 and a motherboard main chip system 02 connected in sequence, wherein the motherboard main chip system 02 is set on the motherboard to be detected;
[0067] Furthermore, the mainboard main chip system 02 includes a mainboard default frequency decision module 021 and a default frequency setting module 022 connected in sequence.
[0068] In this embodiment, the production line motherboard detection tool 01 is used to power on the motherboard to be detected and obtain real-time parameter information of the motherboard to be detected, wherein the parameter information includes sampled voltage values or the status of multiple GPIOs (General-Purpose Input / Output). The motherboard default frequency decision module 021 is used to determine the target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and the preset correspondence between preset parameter information and preset default frequencies. Specifically, the motherboard default frequency is provided with an ADC (Analog-to-Digital Converter) circuit or multiple GPIO circuits. The ADC circuit can obtain the sampled voltage value of the ADC circuit; the GPIO status can be obtained through the GPIO circuit. The GPIO status includes high and low levels. Furthermore, the multiple GPIO circuits can form a combination of multiple level states to provide a decision basis for the motherboard default decision module. The default frequency setting module 022 is used to set the target default frequency as the detection frequency and complete the detection of the motherboard to be detected based on the detection frequency. Among them, the motherboard default frequency decision module 021 and the default frequency setting module 022 are both set on the motherboard to be tested, forming a motherboard main chip system 02, providing frequency detection options for the motherboard production line motherboard detection tooling 01, improving the applicability of the production line motherboard detection tooling 01, and allowing the production line motherboard detection tooling 01 to adapt to different motherboard detections.
[0069] In this embodiment, through the production line motherboard detection tooling, the motherboard default frequency decision module and the default frequency setting module, when frequency detection is required, it is only necessary to decide the corresponding frequency that needs to be detected based on the parameter information in the motherboard to be detected, so that the same version of software can be used for automated detection in different motherboard production and testing manufacturers, thereby improving detection efficiency.
[0070] Reference Figure 3 The present invention provides a frequency detection adaptive method. In a first embodiment of the frequency detection adaptive method of a frequency detection adaptive system, the frequency detection adaptive method includes the following steps:
[0071] Step S10: When a motherboard to be detected is detected, power on the motherboard to be detected and obtain real-time parameter information of the motherboard to be detected;
[0072] In this embodiment, the real-time parameter information includes the sampled voltage value and the multi-channel GPIO status. It should be noted that the motherboard manufacturer uses the production line motherboard detection tooling to power on the motherboard to be tested, and the production line motherboard detection tooling is provided with detection software. When different motherboard manufacturers use production line motherboard detection tools with different voltages to power on the motherboard to be tested, the real-time parameters obtained are also different. For example, the motherboard manufacturer uses a production line production tooling with a voltage of 5V to power on the motherboard to be tested, and the real-time parameter information obtained is A; the production line production tooling with a voltage of 10V is used to power on the motherboard to be tested, and the real-time parameter information obtained is B. Moreover, the same motherboard manufacturer uses the same voltage to test the motherboard to be tested.
[0073] In one embodiment, after step S10, the method further includes:
[0074] Step A11, judging whether the motherboard to be tested is qualified according to the parameter information of the motherboard to be tested;
[0075] Specifically, since the parameter information of the motherboard to be tested can be displayed on the production line motherboard test tool, and since the production line motherboard test tool and the motherboard to be tested are produced using the same protocol, if the hardware of the motherboard to be tested is unqualified, after the production line production test tool powers on the motherboard to be tested, the parameter information of the motherboard to be tested cannot be displayed on the production line production test tool. Therefore, whether the motherboard to be tested is qualified can be judged based on whether the production line motherboard test tool displays the parameter information, to prevent the motherboard to be tested from being unqualified, resulting in inaccurate or failed frequency detection. After the motherboard to be tested is qualified, step S20 can be executed.
[0076] Step S20, determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency;
[0077] In this embodiment, the preset correspondence is pre-set in the production line motherboard detection tooling, specifically the correspondence between the preset parameter information and the default frequency point. For example, when the preset parameter information is the sampling voltage value, and the sampling voltage value is A, the default frequency point corresponding to the preset sampling voltage value A can be set to B, that is, the correspondence between A and B is the preset correspondence. According to the preset correspondence, the frequency point corresponding to the production line production tooling on the motherboard to be detected can be accurately obtained.
[0078] Step S30: setting the target default frequency as the detection frequency, and completing the detection of the motherboard to be detected according to the detection frequency.
[0079] In this embodiment, the detection frequency can be set by the default frequency setting module. The detection frequency is the frequency to be detected determined by the motherboard default frequency decision module based on real-time parameter information. The production line motherboard detection tooling performs frequency adaptive detection of the motherboard to be detected based on the detection frequency, thereby improving the degree of automation in the detection process.
[0080] In one embodiment, after step S30, the method further includes:
[0081] Step A40, obtaining a test result, comparing the test result with a predetermined range value, and determining that the motherboard to be tested is normal if the test result is within the predetermined range value, otherwise it is abnormal;
[0082] The present invention provides a frequency detection adaptive method, comprising the steps of: upon detecting a motherboard to be detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected; determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between preset parameter information and a preset default frequency; setting the target default frequency as the detection frequency, and completing the detection of the motherboard to be detected based on the detection frequency. The frequency detection adaptive device comprises a production line motherboard detection tool and a motherboard main chip system connected in sequence, wherein the motherboard main chip system is disposed on the motherboard to be detected. Through the above-mentioned method and structure, the present invention can integrate a set of all frequencies of the motherboard manufacturer required. When frequency detection is required, the corresponding frequency to be detected can be determined based on the parameter information of the motherboard to be detected, thereby achieving automated detection of the same version of software across different motherboard manufacturers. At the same time, it avoids the prior art error of motherboard detection failure caused by the failure to switch the frequency due to incorrect timing or insensitive remote control, thereby improving production detection efficiency.
[0083] Furthermore, the second embodiment of the frequency detection adaptive method of the present invention provides a frequency detection adaptive method based on the above Figure 3 In the embodiment shown, the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and the preset correspondence between the preset parameter information and the preset default frequency includes:
[0084] Step A21, according to a preset corresponding relationship, traverse the preset default frequency points of the sampled voltage value to obtain a first default frequency point corresponding to the sampled voltage value;
[0085] Step A22: setting the first default frequency as the target default frequency.
[0086] In this embodiment, the first default frequency point also includes a voltage value range corresponding to itself. When the real-time parameter information is a sampled voltage value, the sampled voltage value can be compared with the voltage value range of the first default frequency point to determine whether the sampled voltage value is within the voltage value range corresponding to the first default frequency point. For example, when the circuit in the first default frequency point of the motherboard is an ADC circuit, and the range of the corresponding ADC voltage sampling module is 0~3.3V, there are three motherboard manufacturers testing the same motherboard, then it can be defined as: when 0±0.05V, the detection frequency point of manufacturer A is set to the first default frequency point A, when 1.5±0.05V, the detection frequency point of manufacturer B is set to the first default frequency point B, when 3.3±0.05V, the detection frequency point of manufacturer C is set to the first default frequency point C, and the remaining sampling voltages are reserved for subsequent expansion of the motherboard detection manufacturer's corresponding frequency points. When the sampling voltage value is 0.01V, it can be determined that the detection frequency point of the motherboard to be tested is frequency point A; if the sampling voltage value is 1.51V, it can be determined that the detection frequency point of the motherboard to be tested is frequency point B; if the sampling voltage value is 3.31V, it can be determined that the detection frequency point of the motherboard to be tested is frequency point C. The step of traversing the sampled voltage value through the preset first default frequency point is to compare the sampled voltage value obtained by the motherboard to be detected with the voltage value corresponding to the preset first default frequency point one by one until the two are consistent, thereby obtaining the target first default frequency point.
[0087] In one embodiment, the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency further includes:
[0088] Step A23: According to a preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states;
[0089] Step A24: setting the second default frequency as the target default frequency.
[0090] In this embodiment, when the circuit in the second default frequency decision module of the mainboard is a GPIO circuit, the corresponding real-time parameter information is a multi-channel GPIO state, and the GPIO state includes a high level and a low level. When there are multiple GPIO circuits, there are corresponding multiple GPIO states. For example, when there are three GPIO states, the high level and the low level are distinguished by 1 and 0 respectively, that is, there are eight multi-channel GPIO states of 100, 101, 110, 110, 001, 011, 010, and 111, and each multi-channel GPIO state corresponds to a second default frequency. When the multi-channel GPIO state is 100, the corresponding second default frequency is the frequency corresponding to 100; when the multi-channel GPIO state is 101, the corresponding second default frequency is the frequency corresponding to 101, and so on. It should be noted that when the number of GPIO circuits is greater, the more frequencies that can be stored, which can be specifically determined according to 2 n , where n is the number of GOIO circuits. The number of GOIO circuits can be set as needed and is not limited by the present invention. Furthermore, the "multi-channel" in the multi-channel GPIO state in this embodiment is set relative to the number of motherboard manufacturers. If there are only two motherboard manufacturers, a single GPIO state, i.e., a high level or a low level, can be used to determine the second default frequency. In this embodiment, the I2C communication state can also be used to determine the second default frequency. Specifically, the second default frequency can be set based on the conductive or non-conductive state of the I2C communication circuit. Multiple I2C communication circuits can also be used for this determination. For detailed methods, please refer to the multi-channel GPIO determination method, which is not described in detail here. The step of traversing the multi-channel GPIO state through the preset second default frequency is to compare the multi-channel GPIO state with the GPIO states corresponding to all preset second default frequencies until they are consistent, thereby obtaining the target second default frequency. Furthermore, in this embodiment, the target second default frequency can also be determined by combining an ADC circuit with a multi-channel GPIO circuit.
[0091] In the present invention, by comparing the sampled voltage value or the multi-channel GPIO state with the preset default frequency point, the default frequency point corresponding to the sampled voltage value or the multi-channel GPIO state is obtained, so that the target default frequency point is adaptively matched with the production line motherboard detection tooling. In actual application, all subsequent motherboard production inspections of general brand manufacturers can be achieved, and one-time modification can be made and subsequent continuous use is achieved, avoiding the continuous investment in software iteration updates and introduction into production due to different frequencies of different detection manufacturers.
[0092] Furthermore, the third embodiment of the frequency detection adaptive method of the present invention provides a frequency detection adaptive method based on the above Figure 3In the embodiment shown, before the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and the preset correspondence between the preset parameter information and the preset default frequency, the step further includes:
[0093] Step A50 , determining the information category of the real-time parameter information, and obtaining a preset correspondence between preset parameter information and preset default frequency points according to the information category, wherein the information category includes sampled voltage values and multiple GPIO states.
[0094] In this embodiment, when determining the information category of the real-time parameter information, the circuit category in the motherboard's default frequency decision module can be determined. Specifically, when the circuit in the motherboard's default frequency decision module is detected as an ADC circuit, the information category of the real-time parameter information is the sampled voltage value; when the circuit in the motherboard's default frequency decision module is detected as a multi-channel GPIO circuit, the information category of the real-time parameter information is the multi-channel GPIO status. If the motherboard's default frequency decision module includes both an ADC circuit and a GPIO circuit, a priority can be set to determine which circuit to use. This can be determined based on the number of manufacturers corresponding to the motherboard to be tested. When the same motherboard to be tested has many manufacturers, the ADC circuit can be used; when the number of manufacturers is small, the GPIO circuit can be used. This is because using a GPIO circuit requires more GPIO circuits, which increases the size and cost of the motherboard. Therefore, when the number of manufacturers for the same motherboard is large, the ADC circuit is prioritized to reduce the production cost of the motherboard. In this embodiment, by prioritizing the information category of the real-time parameter, the detection process is more efficient and the detection results are more accurate.
[0095] In addition, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a frequency detection adaptive program. When the frequency detection adaptive program is executed by a processor, the following operations are implemented:
[0096] When a motherboard to be detected is detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected;
[0097] Determine a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency;
[0098] The target default frequency is set as the detection frequency, and the detection of the motherboard to be detected is completed according to the detection frequency.
[0099] Furthermore, when the frequency detection adaptive program is executed by the processor, the following operations are also implemented:
[0100] The real-time parameter information includes a sampled voltage value;
[0101] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency includes:
[0102] According to the preset corresponding relationship, the sampled voltage value is traversed through the preset default frequency points to obtain a first default frequency point corresponding to the sampled voltage value;
[0103] The first default frequency point is set as the target default frequency point.
[0104] Furthermore, when the frequency detection adaptive program is executed by the processor, the following operations are also implemented:
[0105] The real-time parameter information includes multiple GPIO states;
[0106] The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency further includes:
[0107] According to the preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states;
[0108] The second default frequency point is set as the target default frequency point.
[0109] Furthermore, when the frequency detection adaptive program is executed by the processor, the following operations are also implemented:
[0110] Before the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency, the method further includes:
[0111] An information category of the real-time parameter information is determined, and a preset correspondence between preset parameter information and a preset default frequency point is obtained according to the information category, wherein the information category includes a sampled voltage value and a multi-channel GPIO status.
[0112] Furthermore, when the frequency detection adaptive program is executed by the processor, the following operations are also implemented:
[0113] After the steps of powering on the motherboard to be detected and obtaining parameter information of the motherboard to be detected, the method further includes:
[0114] Determine whether the motherboard to be tested is qualified according to the parameter information of the motherboard to be tested;
[0115] If the motherboard to be detected is qualified, the step of determining a target default frequency corresponding to the motherboard to be detected according to the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency.
[0116] Furthermore, when the frequency detection adaptive program is executed by the processor, the following operations are also implemented:
[0117] After the step of setting the target default frequency as the detection frequency and completing the detection of the motherboard to be detected according to the detection frequency, the method further includes:
[0118] Obtain the test result, compare the test result with a predetermined range value, and if the test result is within the predetermined range value, determine that the motherboard to be tested is normal, otherwise it is abnormal.
[0119] The specific embodiments of the computer-readable storage medium of the present invention are substantially the same as the embodiments of the frequency detection and adaptation method described above, and are not described in detail herein.
[0120] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0121] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0122] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0123] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A frequency point detection adaptive method, characterized in that: The frequency point detection adaptive method comprises the steps of: When a motherboard to be detected is detected, powering on the motherboard to be detected and obtaining real-time parameter information of the motherboard to be detected; Determine a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency; Setting the target default frequency as the detection frequency, and completing the detection of the motherboard to be detected according to the detection frequency; The real-time parameter information includes a sampled voltage value; The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency includes: According to the preset corresponding relationship, the sampled voltage value is traversed through the preset default frequency points to obtain a first default frequency point corresponding to the sampled voltage value; Setting the first default frequency point as the target default frequency point; The real-time parameter information includes multiple GPIO states; The step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency further includes: According to the preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states; The second default frequency point is set as the target default frequency point.
2. The frequency detection adaptive method according to claim 1, wherein: Before the step of determining a target default frequency corresponding to the motherboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency, the method further includes: An information category of the real-time parameter information is determined, and a preset correspondence between preset parameter information and a preset default frequency point is obtained according to the information category, wherein the information category includes a sampled voltage value and a multi-channel GPIO status.
3. The frequency detection adaptive method according to claim 1, wherein: After the steps of powering on the motherboard to be detected and obtaining parameter information of the motherboard to be detected, the method further includes: Determine whether the motherboard to be tested is qualified according to the parameter information of the motherboard to be tested; If the motherboard to be detected is qualified, the step of determining a target default frequency corresponding to the motherboard to be detected according to the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency.
4. The frequency detection adaptive method according to claim 1, wherein: After the step of setting the target default frequency as the detection frequency and completing the detection of the motherboard to be detected according to the detection frequency, the method further includes: Obtain the test result, compare the test result with a predetermined range value, and if the test result is within the predetermined range value, determine that the motherboard to be tested is normal, otherwise it is abnormal.
5. A frequency detection adaptive device, characterized in that: The frequency detection adaptive device is applied to the frequency detection adaptive method according to any one of claims 1 to 4, and the frequency detection adaptive device comprises a production line motherboard detection tooling and a motherboard main chip system connected in sequence, wherein the motherboard main chip system is arranged on the motherboard to be detected; The production line motherboard detection tool is used to power on the motherboard to be detected and obtain real-time parameter information of the motherboard to be detected when the motherboard to be detected is detected; The mainboard main chip system is configured to determine a target default frequency corresponding to the mainboard to be detected based on the real-time parameter information and a preset correspondence between the preset parameter information and the preset default frequency; and Setting the target default frequency as the detection frequency, and completing the detection of the motherboard to be detected according to the detection frequency; The real-time parameter information includes a sampled voltage value; The mainboard main chip system is also used for: According to the preset corresponding relationship, the sampled voltage value is traversed through the preset default frequency points to obtain a first default frequency point corresponding to the sampled voltage value; Setting the first default frequency point as the target default frequency point; The real-time parameter information includes multiple GPIO states; The mainboard main chip system is also used for: According to the preset corresponding relationship, the multiple GPIO states are traversed through the preset default frequency points to obtain a second default frequency point corresponding to the multiple GPIO states; The second default frequency point is set as the target default frequency point.
6. The frequency detection adaptive device according to claim 5, characterized in that: The mainboard main chip system includes a mainboard default frequency decision module and a default frequency setting module which are connected in sequence.
7. A frequency detection adaptive system, characterized in that: The frequency detection adaptation system includes a frequency detection adaptation device, a memory, a processor, and a frequency detection adaptation program stored in the memory and executable on the processor. When the frequency detection adaptation program is executed by the processor, the steps of the frequency detection adaptation method according to any one of claims 1 to 4 are implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a frequency detection adaptation program, which, when executed by a processor, implements the steps of the frequency detection adaptation method according to any one of claims 1 to 4.
Citation Information
Patent Citations
System and method of testing functions of main board of mobile phone
CN103167080A
Electronic product detection method, electronic product and computer readable storage medium
CN109960700A