Test data processing method, device, electronic equipment and system
By automating the naming and archiving of PCBA test images, the problem of error-prone and time-consuming manual processing of waveform screenshots in the existing technology is solved, and the data processing efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202510611590.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-10-17
AI Technical Summary
In the prior art, the manual processing of waveform screenshots for PCBA testing is error-prone and time-consuming, resulting in low data processing efficiency.
By obtaining the test images and record forms of the PCBA test, the naming data of the test images is automatically determined based on preset rules and renamed and archived to achieve automated management of the test images.
It improves the processing efficiency and accuracy of test data, reduces manual intervention and error rate, and realizes automatic renaming and archiving of test images.
Smart Images

Figure CN120804034A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to a test data processing method, device, electronic equipment and system. BACKGROUND
[0002] In the hardware test of the rail transit industry, the power integrity and signal integrity test of the printed circuit board assembly (PCBA) is becoming more and more important. The PCBA test usually uses an oscilloscope to measure the signal waveform, and records the waveform screenshot to the test record, and after the test is completed, the waveform screenshot is renamed and managed.
[0003] In the prior art, the waveform screenshot is matched with the test record by manual processing, and the waveform screenshot is manually renamed and archived. However, the manual processing process is prone to errors, and the manual processing of the waveform screenshot is time-consuming, resulting in low data processing efficiency of the waveform screenshot. SUMMARY
[0004] The present application provides a test data processing method, device, electronic equipment and system to solve the defects in the prior art that the manual processing process of the waveform screenshot is prone to errors, and the manual processing of the waveform screenshot is time-consuming, resulting in low data processing efficiency of the waveform screenshot. The test picture is automatically renamed and archived, and the processing efficiency and accuracy of the test data are improved.
[0005] The present application provides a test data processing method, comprising: Obtaining at least one test picture corresponding to the PCBA test and a test record table; each test picture is used to represent the waveform change of the PCBA test; the test record table is used to represent the test value of the PCBA test; For each test picture, based on the target test type of the target worksheet where the record file name corresponding to the test picture is recorded in the test record table, determine the target naming data corresponding to the test picture; rename the test picture based on the target naming data; archive the renamed test picture in the target folder corresponding to the target test type.
[0006] According to the test data processing method provided by the present application, the target test type of the target worksheet where the record file name corresponding to the test picture is recorded in the test record table is determined, and the target naming data corresponding to the test picture is determined, comprising: Determine the target worksheet where the record file name corresponding to the test picture is located; Determine a target renaming rule matched with the target test type of the target worksheet based on a preset rule; the preset rule is used to represent the association between each worksheet and a renaming rule; Determine target naming data corresponding to the test picture based on the target renaming rule.
[0007] According to the test data processing method provided by the application, the target naming data corresponding to the test picture is determined based on the target renaming rule, which includes: Determine target column data corresponding to a naming field in the target worksheet based on the naming field required by the target renaming rule; Determine a target test value in the same row as the record file name of the test picture in the target column data; Determine the target naming data corresponding to the test picture based on the target field of the target column data and the target test value.
[0008] According to the test data processing method provided by the application, the test picture is renamed based on the target naming data, which includes: Determine the picture file name corresponding to the test picture; In the case that the picture file name matches the record file name, update the picture file name corresponding to the test picture to the target naming data.
[0009] According to the test data processing method provided by the application, the test picture after renaming is archived in the target folder corresponding to the target test type, which includes: In the case that the target folder corresponding to the target test type is queried, store the test picture after renaming in the target folder; In the case that the target folder corresponding to the target test type is not queried, create a target folder with the target test type as the file name, and store the test picture after renaming in the newly created target folder.
[0010] The application also provides a test data processing device, which includes: An acquisition module is configured to acquire at least one test picture corresponding to PCBA test and a test record table; each test picture is used to represent the waveform change of PCBA test; and the test record table is used to represent the test value of PCBA test. The processing module is configured to: for each test picture, determine target naming data of the test picture based on a target test type of a target worksheet in which a record file name corresponding to the test picture in the test record table is located; rename the test picture based on the target naming data; and archive the renamed test picture in a target folder corresponding to the target test type.
[0011] The electronic device also includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the test data processing method when executing the computer program.
[0012] The electronic device also includes a communication interface configured to receive at least one test picture and test data corresponding to PCBA testing.
[0013] The electronic device also includes a communication interface configured to receive at least one test picture and test data corresponding to PCBA testing. The oscilloscope is connected to the communication interface of the electronic device through a network cable, and the oscilloscope is configured to generate at least one test picture and test data corresponding to PCBA testing and send the at least one test picture and the test data to the communication interface of the electronic device when receiving a control instruction sent by the electronic device.
[0014] The electronic device also includes a communication interface configured to receive at least one test picture and test data corresponding to PCBA testing.
[0015] The electronic device also includes a communication interface configured to receive at least one test picture and test data corresponding to PCBA testing.
[0016] The test data processing method, device, electronic device, and system provided by the present application can determine target naming data of a test picture based on a target test type of a target worksheet in which a record file name corresponding to the test picture in a test record table is located after obtaining at least one test picture and a test record table corresponding to PCBA testing, rename the test picture based on the target naming data, and archive the renamed test picture in a target folder corresponding to the target test type. The present application can realize automatic renaming and automatic archiving of test pictures, reduce manual intervention in the process of processing test pictures, reduce the error rate in the process, and thus improve the processing efficiency and accuracy of test data. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to make the technical solutions in the present application or the prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0018] Figure 1 is a flowchart of a test data processing method provided by an embodiment of the present application.
[0019] Figure 2 is a structural diagram of a test data processing device provided by an embodiment of the present application.
[0020] Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present application.
[0021] Figure 4 is a structural diagram of a test data processing system provided by an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the technical solutions in the present application or the prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0023] In view of the problems in the prior art that the manual processing of the waveform screenshot is prone to error, the manual processing of the waveform screenshot is time-consuming, and the data processing efficiency of the waveform screenshot is low, an embodiment of the present application provides a test data processing method, Figure 1 is a flowchart of a test data processing method provided by an embodiment of the present application, as shown in Figure 1 , the method comprises the following steps 110 and 120.
[0024] Step 110, at least one test picture and a test record table corresponding to PCBA (Printed Circuit Board Assembly) test are acquired; each test picture is used to represent the waveform change of the PCBA test; and the test record table is used to represent the test value of the PCBA test.
[0025] It should be noted that in the hardware test in the field of rail transit, the PCBA test includes power integrity test and signal integrity test of the PCBA. Among them, the power integrity test refers to a series of tests on the power supply system on the PCBA to ensure that the power supply system can stably and reliably provide power under various working conditions. The power integrity test can include tests on the waveform, voltage level, current stability and power noise of the power supply signal. The signal integrity test refers to a series of tests on the signal transmission path on the PCBA to verify whether the signal can maintain its original integrity during transmission, that is, to verify whether the signal is excessively attenuated, distorted or interfered during transmission. The signal integrity test can include tests on the amplitude, frequency, phase, rise time, fall time and signal noise of the signal. The PCBA test can use an oscilloscope to test the signal waveform.
[0026] The test picture is an automatic screenshot obtained by the oscilloscope when measuring the signal waveform during the PCBA test after receiving the control instruction transmitted by the electronic device, that is, the test picture is a waveform screenshot file representing the signal waveform.
[0027] The test record table is an Excel format file containing all test information designed by the tester according to test requirements and test specifications before the test. The test record table can include multiple sheets, each sheet is of a different type, that is, each sheet has a different test target. For example, the types of multiple sheets can include signal quality, power signal, clock signal, and timing, etc. The types of sheets are different, and the fields included in the sheet are different. For example, the sheet of the type of signal quality can include fields of technical index requirements, priority, test data, test date, and test result, etc. The technical index requirements can include specific test items such as voltage index (i.e. voltage range) and rise and fall time. The test data can include maximum value, minimum value, high level, low level, rise time, rise edge monotonicity, fall time, fall edge monotonicity, and record file name. The record file name is determined according to the file name of the test picture intercepted by the oscilloscope in real time after the test of the technical index requirements, that is, the record file name can be obtained by removing the extension of the file name. For example, the file name of the test picture intercepted by the oscilloscope in real time is 1.BMP, and the record file name is “1” after removing the extension “.BMP”. For another example, the sheet of the type of power signal can include fields of technical index requirements, test data, test date, and test result, etc. The technical index requirements can include specific test items such as design value (voltage value), voltage limit value, and ripple limit value. The test data can include voltage measured value, ripple measured value, power-on waveform monotonicity, rise time, power-off waveform monotonicity, fall time, and record file name. The content of the sheet of the type of power signal is shown in Table 1. The test data is associated with the test picture, and the test picture and the corresponding test data are transmitted to the electronic device in real time by the oscilloscope. The electronic device can automatically fill the test data into the test record table, and temporarily store the test picture in a specified folder of the memory. The test record table is also stored in the specified folder, which ensures the completeness and traceability of the test data.
[0028] Table 1
[0029] Optionally, the format of the test picture can include BMP (Bitmap), PNG (Portable Network Graphics), JPEG (Joint Photographic Experts Group), etc., which is not limited in the embodiment of the application.
[0030] In step 120, for each test picture, the target naming data corresponding to the test picture is determined based on the target test type of the target worksheet in which the record file name corresponding to the test picture recorded in the test record table is located; the test picture is renamed based on the target naming data; and the renamed test picture is archived in the target folder corresponding to the target test type.
[0031] Specifically, the electronic device reads the test record table from the specified folder, traverses each worksheet in the test record table for each test picture, queries the record file name corresponding to the test picture from the test data column in each worksheet, determines the target worksheet in which the matched record file name is located in the case of querying the matched record file name, and then determines the target naming data corresponding to the test picture according to the target test type of the target worksheet. The target naming data meets the standardized naming requirements of the target worksheet. After determining the target naming data, the test picture is renamed by the target naming data, and the renamed test picture is moved from the temporarily stored specified folder to the target folder corresponding to the target test type for classification and archiving, thereby realizing systematic and orderly management of the test pictures.
[0032] Further, the determination of the target naming data corresponding to the test picture based on the target test type of the target worksheet in which the record file name corresponding to the test picture recorded in the test record table is located includes: determining the target test type of the target worksheet in which the record file name corresponding to the test picture is located; determining the target renaming rule matched with the target test type of the target worksheet based on a preset rule; the preset rule is used to represent the association between each worksheet and the renaming rule; determining the target naming data corresponding to the test picture based on the target renaming rule.
[0033] Specifically, each worksheet in the test record table takes the test type as the table name, so for each test picture corresponding to the record file name in the test data column in each worksheet, the table name of the target worksheet in which the record file name is located is extracted as the target test type. Then, the electronic device extracts the preset rule in the configuration file, and queries the target renaming rule corresponding to the target test type in the preset rule. The target renaming rule defines the standardized naming requirements for renaming the corresponding test picture in the target worksheet. The standardized naming requirements can include naming character composition and naming length limit, etc., which are not limited by the embodiments of the present application.
[0034] Further, the target naming data corresponding to the test picture is determined based on the target renaming rule, and the target naming data comprises: determining target column data corresponding to the naming field in the target worksheet based on the naming field required by the target renaming rule; determining a target test value in the same row as the record file name of the test picture in the target column data; determining the target naming data corresponding to the test picture based on the target field of the target column data and the target test value.
[0035] Specifically, after determining the target renaming rule corresponding to the target worksheet, the naming field required in the naming character composition of the target renaming rule can be extracted, and each field in the target worksheet is traversed to determine the target field matched with the naming field, so as to determine the target column data corresponding to the target field. The target column data includes the target field and specific test values, and each row of test values is different. Then, the number of rows corresponding to the record file name is determined, and the target test values with the same number of rows are determined from the target column data. Then, the target field and the target test value are spliced according to the requirement of the naming character composition in the target renaming rule, and the target naming data of the test picture is obtained. In addition, the target renaming rules of the test pictures included in the same target worksheet are the same, which ensures the standardization and consistency of the test picture renaming, reduces the confusion and errors caused by the non-standard file name, and is also convenient for subsequent file management and searching.
[0036] For example, taking the test picture with the record file name 1 in Table 1 as an example, the table name of Table 1 is power signal, the table name of Table 1 is extracted as the target test type, and the target renaming rule corresponding to the target test type of the power signal is determined from the preset rule. The naming field required in the naming character composition of the target renaming rule is ripple limit value, so the column data of the whole field of the ripple limit value is extracted from Table 1. Since the number of rows of the record file name is 3, the test value N1 in the third row in the column data of the whole field of the ripple limit value (including the field) is determined as the target test value. The target field and the target test value are spliced to obtain the target naming data of the test picture with the record file name 1 as “ripple limit value N1”.
[0037] In the prior art, part of the test pictures with fixed format can be automatically renamed by simple scripts, for example, part of the test pictures with fixed format are renamed by using a batch script or a simple Python script, but only for test pictures with fixed format, the function is single and cannot adapt to diversified data formats, the flexibility is poor, different scripts need to be written for different processing requirements, the workload is large and the maintenance difficulty is large, and the extension is difficult. In the embodiment of the present application, by the preset rule, the automatic renaming of the test pictures corresponding to different test types can be met, the flexibility of data processing is improved, and the renaming requirements of different formats are met.
[0038] Further, the renaming of the test picture based on the target naming data comprises: determining the picture file name corresponding to the test picture; in the case that the picture file name matches the record file name, updating the picture file name corresponding to the test picture to the target naming data.
[0039] Specifically, since all test pictures are temporarily stored in a specified folder of the memory of the electronic device, after determining the target naming data, the picture file name of the test picture needs to be extracted again in the specified folder, the picture file name is obtained by deleting the extension of the file name of the test picture, and the picture file name is used to represent the file number of the test picture. Then, the picture file name is matched with the record file name to determine whether the test picture to be renamed is incorrect. If the picture file name matches the record file name, it indicates that the test picture to be renamed is correct, and the picture file name of the test picture can be replaced by the target naming data, so as to realize the automatic renaming of the test picture, and the file format of the test picture is not changed in the renaming process. If the picture file name does not match the record file name, it indicates that the test picture to be renamed is selected incorrectly, and the picture file name of all test pictures in the specified folder can be traversed to determine the correct test picture and then perform the renaming. By matching the picture file name with the record file name, the accuracy of the renaming of the test picture is ensured.
[0040] Further, the archiving of the renamed test picture to the target folder corresponding to the target test type comprises: in the case that the target folder corresponding to the target test type is queried, the renamed test picture is stored in the target folder; in the case that the target folder corresponding to the target test type is not queried, the target test type is used as a file name to newly create a target folder, and the renamed test picture is stored in the newly created target folder.
[0041] Specifically, since all the test pictures are stored in a designated folder of the electronic device, the storage manner is relatively messy. When there are a large number of test pictures in the designated folder, it takes a long time to find a target test picture in the designated folder, and the efficiency is low. Therefore, in the embodiment of the present application, after the test pictures are renamed, the renamed test pictures can be stored in categories according to target test types. That is, it can be queried whether there is a target folder with the same file name as the target test type. If not, it indicates that the renamed test picture is the first renamed test picture under the target test type. At this time, a target folder can be newly created with the target test type as the file name, and the renamed test picture can be moved to the target folder for storage. If there is, it indicates that the renamed test picture is a non-first renamed test picture under the target test type. At this time, the renamed test picture can be directly moved to the target folder for storage. After all the renamed test pictures are stored in categories, the automatic classification and archiving of the test pictures can be realized, the systematic and orderly management of the test pictures can be realized, and the corresponding test pictures can be quickly consulted subsequently.
[0042] Optionally, the target folder can be newly created in a designated folder in the memory of the electronic device, or can be newly created in other storage spaces in the memory except the designated folder, and the embodiment of the present application does not limit this.
[0043] The test data processing method provided by the embodiment of the present application can determine the target naming data of the test picture according to the target test type of the target worksheet where the record file name corresponding to the test picture in the test record table is located after obtaining at least one test picture corresponding to the PCBA test and the test record table, rename the test picture according to the target naming data, and archive the renamed test picture in the target test type corresponding target folder. In the present application, the automatic renaming and automatic archiving of the test picture can be realized, the manual intervention in the processing process of the test picture is reduced, the error rate in the processing process is reduced, and the processing efficiency and accuracy of the test data are improved.
[0044] The test data processing device provided by the present application is described below, and the test data processing device described below can be referred to each other corresponding to the test data processing method described above.
[0045] The embodiment of the present application further provides a test data processing device, Figure 2 is a structural schematic diagram of the test data processing device provided by the embodiment of the present application, as Figure 2 shown, the test data processing device 200 includes an acquisition module 210 and a processing module 220.
[0046] The acquisition module 210 is configured to acquire at least one test picture corresponding to PCBA testing and a test record table; each test picture is used to represent waveform variation of PCBA power supply and signal integrity testing; and the test record table is used to represent test values of PCBA power supply and signal integrity testing.
[0047] The processing module 220 is configured to, for each test picture, determine target naming data corresponding to the test picture based on a target test type of a target worksheet in which a record file name corresponding to the test picture is recorded in the test record table; rename the test picture based on the target naming data; and archive the renamed test picture in a target folder corresponding to the target test type.
[0048] The test data processing device provided by the embodiment of the present application can, after acquiring at least one test picture corresponding to PCBA testing and a test record table, determine target naming data of the test picture according to a target test type of a target worksheet in which a record file name corresponding to the test picture is recorded in the test record table, rename the test picture according to the target naming data, and archive the renamed test picture in a target folder corresponding to the target test type. The present application can realize automatic renaming and automatic archiving of the test picture, reduce manual intervention in the process of processing the test picture, reduce the error rate in the process, and thus improve the processing efficiency and accuracy of the test data.
[0049] Optionally, the processing module 220 is specifically configured to: determine a target worksheet in which a record file name corresponding to the test picture is located; determine a target renaming rule matched with a target test type of the target worksheet based on a preset rule; the preset rule is used to represent an association relationship between each worksheet and a renaming rule; determine target naming data corresponding to the test picture based on the target renaming rule.
[0050] Optionally, the processing module 220 is specifically configured to: determine target column data corresponding to a naming field in the target worksheet based on the naming field required by the target renaming rule; determine a target test value in the same row as the record file name of the test picture in the target column data; determine target naming data corresponding to the test picture based on a target field of the target column data and the target test value.
[0051] Optionally, the processing module 220 is specifically configured to: determine a picture file name corresponding to the test picture; In a case where the picture file name matches the record file name, the picture file name corresponding to the test picture is updated to the target naming data.
[0052] Optionally, the processing module 220 is specifically configured to: When a target folder corresponding to the target test type is found, the renamed test image is stored in the target folder; In the case that no target folder corresponding to the target test type is found, a new target folder is created with the target test type as the file name, and the renamed test image is stored in the newly created target folder.
[0053] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call logic instructions in the memory 330 to execute a test data processing method, which includes: Obtain at least one test image and a test record form corresponding to the PCBA test; each of the test images is used to represent the waveform changes of the PCBA test; the test record form is used to represent the test value of the PCBA test; For each of the test pictures, based on the target test type of the target worksheet where the record file name corresponding to the test picture recorded in the test record table is located, the target naming data corresponding to the test picture is determined; the test picture is renamed based on the target naming data; and the renamed test picture is archived in the target folder corresponding to the target test type.
[0054] In addition, the logic instructions in the memory 330 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0055] It should be noted that the electronic device establishes a communication connection with the oscilloscope through the communication interface 320. Before testing, the electronic device can send a control instruction to the oscilloscope through the communication interface 320 to instruct the oscilloscope to automatically intercept a signal waveform during PCBA testing to obtain a test picture. In addition, the electronic device can also receive the test picture and test data sent by the oscilloscope in real time through the communication interface 320, temporarily store the test picture in a specified folder in the memory 330, and fill the test data into a test record table stored in the specified folder, so as to facilitate subsequent management of the test picture.
[0056] On the other hand, the present application also provides a computer program product, which comprises a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program is executed by a processor, so that the computer can execute the test data processing method provided by the above-mentioned methods, and the method comprises: At least one test picture corresponding to PCBA testing and a test record table are obtained; each test picture is used to represent the waveform change of PCBA testing; and the test record table is used to represent the test value of PCBA testing. For each test picture, based on the target test type of the target worksheet where the record file name corresponding to the test picture is recorded in the test record table, the target naming data corresponding to the test picture is determined; the test picture is renamed based on the target naming data; and the test picture after renaming is archived in the target folder corresponding to the target test type.
[0057] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the test data processing method provided by the above-mentioned methods, and the method comprises: acquire at least one test picture and a test record table corresponding to the PCBA test, wherein each of the test pictures is used to represent waveform changes of the PCBA test, and the test record table is used to represent test values of the PCBA test; For each of the test pictures, based on a target test type of a target worksheet in which a record file name corresponding to the test picture is recorded in the test record table, target naming data corresponding to the test picture is determined, the test picture is renamed based on the target naming data, and the test picture after being renamed is archived in a target folder corresponding to the target test type.
[0058] In addition, the embodiment of the present application provides a test data processing system, Figure 4 is a structural schematic diagram of the test data processing system provided by the embodiment of the present application, as Figure 4 indicated, the system comprises an oscilloscope and an electronic device as described above, and wherein: The oscilloscope is connected to the communication interface of the electronic device through a network cable, and the oscilloscope is used to generate at least one test picture and test data corresponding to the PCBA test when receiving a control instruction sent by the electronic device, and send the at least one test picture and the test data to the communication interface of the electronic device.
[0059] In the embodiment of the present application, through the communication connection between the electronic device and the oscilloscope, the electronic device can automatically acquire the test picture and the test data in the PCBA test process and automatically store them in the designated folder, thereby reducing the time length of manual operation and possible error operation and improving the efficiency and accuracy of data acquisition. In addition, the embodiment of the present application can be applied to large-scale production and test environment in the field of rail transit, has good expansibility and processing capacity, and can meet the demand of large amount of data processing in the PCBA test of rail transit.
[0060] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. According to actual needs, part or all of the modules can be selected to achieve the purpose of the embodiment scheme. Those skilled in the art can understand and implement it without creative labor.
[0061] Those skilled in the art can clearly understand the implementation of the various embodiments by means of software and necessary general hardware platforms through the description of the above embodiments, and of course, the implementation can also be through hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, and the computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the method described in each embodiment or some parts of the embodiment.
[0062] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A test data processing method, characterized in that: include: Obtain at least one test picture and test record form corresponding to the PCBA test; Each of the test images is used to characterize the waveform changes of the PCBA test; The test record form is used to represent the test value of the PCBA test; For each of the test pictures, determining the target naming data corresponding to the test picture based on the target test type of the target worksheet where the record file name corresponding to the test picture recorded in the test record table is located; renaming the test image based on the target naming data; The renamed test image is filed into the target folder corresponding to the target test type.
2. The test data processing method according to claim 1, wherein: The determining of the target naming data corresponding to the test picture based on the target test type of the target worksheet where the record file name corresponding to the test picture recorded in the test record table is located includes: Determine the target worksheet where the record file name corresponding to the test image is located; Determining a target renaming rule that matches the target test type of the target worksheet based on a preset rule; the preset rule is used to characterize the association relationship between each worksheet and the renaming rule; Based on the target renaming rule, target naming data corresponding to the test image is determined.
3. The test data processing method according to claim 2, characterized in that: The determining, based on the target renaming rule, target naming data corresponding to the test image includes: Based on the named fields required by the target renaming rule, determining target column data corresponding to the named fields in the target worksheet; Determine a target test value in the target column data that is in the same row as the record file name of the test picture; The target naming data corresponding to the test picture is determined based on the target field of the target column data and the target test value.
4. The test data processing method according to any one of claims 1 to 3, characterized in that: The renaming of the test image based on the target naming data includes: Determine the image file name corresponding to the test image; In a case where the picture file name matches the record file name, the picture file name corresponding to the test picture is updated to the target naming data.
5. The test data processing method according to claim 4, characterized in that: Filing the renamed test image into a target folder corresponding to the target test type includes: When a target folder corresponding to the target test type is found, the renamed test image is stored in the target folder; In the case that no target folder corresponding to the target test type is found, a new target folder is created with the target test type as the file name, and the renamed test image is stored in the newly created target folder.
6. A test data processing device, characterized in that: include: An acquisition module is used to obtain at least one test image and a test record form corresponding to the PCBA test; Each of the test images is used to characterize the waveform changes of the PCBA test; The test record form is used to represent the test value of the PCBA test; A processing module, configured to determine, for each test picture, target naming data corresponding to the test picture based on the target test type of the target worksheet where the record file name corresponding to the test picture recorded in the test record table is located; renaming the test image based on the target naming data; The renamed test image is filed into the target folder corresponding to the target test type.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the test data processing method according to any one of claims 1 to 5 is implemented.
8. The electronic device according to claim 7, wherein: It also includes a communication interface, which is used to receive at least one test image and test data corresponding to the PCBA test.
9. A test data processing system, characterized in that: include: An oscilloscope and an electronic device as claimed in claim 7 or 8, wherein: The oscilloscope is connected to the communication interface of the electronic device via a network cable. The oscilloscope is used to generate at least one test image and test data corresponding to the PCBA test when receiving a control instruction sent by the electronic device, and send the at least one test image and the test data to the communication interface of the electronic device.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the test data processing method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
File naming method and device, electronic equipment and storage medium
CN115470185A
Video file storage method and system
CN116431569A
Visual inspection picture management method, system and device and storage medium
CN118796780A
Test report automatic generation method and device, electronic equipment and storage medium
CN119005138A
Cited By
Server hardware signal testing method and electronic equipment
CN121277774A
Method for testing server hardware signals and electronic device
CN121277774B