Wire harness testing method and system and electronic equipment
By classifying the wiring harness and setting identification marks to obtain detection results, serial numbers and time, the problem of inability to trace the wiring harness detection results is solved, and accurate recording and management of wiring harness detection data is realized.
Patent Information
- Application Number
- CN202510528387.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-07-04
AI Technical Summary
In the prior art, the wire harness detection results cannot be traced, resulting in the product being unable to track data records after problems occur.
By classifying the wiring harness and setting identification marks in its target area, the data information of the target area of the wiring harness is obtained, the type of identification mark is detected, the detection result, serial number and time are obtained, and the detection record is constructed based on these parameters.
The traceability of wire harness detection results is realized to ensure accurate recording and management of detection data at different stages.
Smart Images

Figure CN120254704A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of wire harness testing, and particularly relates to a wire harness testing method, system and electronic device. Background Art
[0002] When conducting a continuity test on a wire harness, it is necessary to manually click the instrument button for testing. After the test is completed, the qualified products are placed in the qualified product area, and the unqualified products are placed in the unqualified product area. Although the product inspection is completed, the inspection results of the products cannot be traced, and data traceability cannot be carried out after problems occur in the later stage of the products. Summary of the Invention
[0003] Object of the Invention: This application develops a wire harness testing method, system and electronic device, aiming to solve the technical problem that the product inspection data cannot be traced in the prior art.
[0004] Technical Solution: In a first aspect, an embodiment of this application provides a wire harness testing method, including: Classify the wire harnesses, determine the identification marks of each type of wire harness, and set the identification marks corresponding to the classification on the target area of the wire harness; Obtain the data information of the target area in the wire harness to be tested. In response to the presence of the identification mark in the target area, determine the identification mark of the wire harness to be tested as the to-be-tested mark, and obtain the classification type of the to-be-tested mark; In response to the classification type of the to-be-tested mark being the same as the target type, test the wire harness to be tested, and obtain the test result, test serial number and test time; Based on the test serial number, the identification mark, the test time and the test result, obtain the test record of the wire harness to be tested, and complete the wire harness test.
[0005] In some embodiments, the identification mark includes a barcode.
[0006] In some embodiments, the step of obtaining the classification type of the to-be-tested mark includes: Determine the comparison start position, comparison length and target content of the barcode of the target type; Determine the comparison start position in the barcode of the to-be-tested mark, and obtain the actual content recorded by the to-be-tested mark with the comparison length as the step size; In response to the actual content being the same as the target content, determine that the classification type of the wire harness to be tested is the target type.
[0007] In some embodiments, before the step of obtaining the classification type of the to-be-tested mark, the wire harness testing method further includes: Obtain the actual length of the barcode in the to-be-tested mark; Determine the target length of the barcode in the target type; In response to the actual length being the same as the target length, obtain the classification type of the mark to be measured.
[0008] In a second aspect, an embodiment of the present application further provides a wire harness testing device, including: A classification module, which is used to classify wire harnesses, determine the identification marks of various wire harnesses, and set the corresponding classification identification marks in the target area on the wire harness; A classification determination module, which obtains the data information of the target area in the wire harness to be measured, and in response to the presence of the identification mark in the target area, determines that the identification mark of the wire harness to be measured is the mark to be measured, and obtains the classification type of the mark to be measured; A detection module, which is used to detect the wire harness to be measured in response to the classification type of the mark to be measured being the same as the target type, and obtain a detection result, a detection serial number, and a detection time; A record storage module, which is used to obtain the detection record of the wire harness to be measured based on the detection serial number, the identification mark, the detection time, and the detection result, and complete the wire harness test.
[0009] In a third aspect, an embodiment of the present application further provides an electronic device, including a memory and a processor, where the memory stores a computer program executable by the processor, and when the processor executes the computer program, the steps of the wire harness testing method described in any item of the first aspect are implemented.
[0010] Beneficial effects: Compared with the prior art, a wire harness testing method provided by an embodiment of the present application includes classifying wire harnesses, determining the identification marks of various wire harnesses, and setting the identification marks at the target area of the wire harness; when detecting the wire harness to be measured, obtaining the data information of the target area of the wire harness to be measured, and detecting whether the identification mark exists in the data information; when the identification mark exists, determining whether the type of the identification mark is the same as the target type, and when the type of the identification mark is the same as the target type, detecting the wire harness to be measured, and obtaining a detection result, a detection serial number, and a detection time; obtaining the detection record of the wire harness to be measured based on the detection serial number, the identification mark, the detection time, and the detection result, and completing the wire harness test. The present application classifies wire harnesses before wire harness detection, sets identification marks for each type of wire harness, and obtains a detection record based on the detection serial number, the identification mark, the detection time, and the detection result during wire harness detection. The present application constructs a detection record considering parameters such as the detection serial number, the identification mark, the detection time, and the detection result, and records data through the above-mentioned multiple parameters, which is beneficial for product traceability at different stages. Description of the Drawings
[0011] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0012] Figure 1 It is a flowchart of the steps of the wire harness testing method provided by the embodiment of the present application; Figure 2 It is a flowchart of the steps for determining the existence of an identification mark in the target area in the wire harness testing device provided by the embodiment of the present application; Figure 3 It is a flowchart of the steps for obtaining the classification type of the mark to be tested in the wire harness testing method provided by the embodiment of the present application; Figure 4 It is a module connection diagram of the wire harness testing system provided by the embodiment of the present application; Figure 5 It is a barcode setting interface of the wire harness testing method provided by the embodiment of the present application; Figure 6 It is a schematic diagram of the determination of the existence of a barcode in the wire harness testing method provided by the embodiment of the present application; Figure 7 It is a schematic diagram of the comparison of the barcode length and content in the wire harness testing method provided by the embodiment of the present application; Figure 8 It is a structural connection diagram of the electronic device provided by the embodiment of the present application; Reference numerals: 10, classification module; 20, classification determination module; 30, detection module; 40, record storage module; 100, memory; 200, processor. Specific embodiments
[0013] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.
[0014] When performing a conduction test on a wire harness, it is necessary to manually click the instrument button for testing. After the test is completed, the qualified products are placed in the qualified product area, and the unqualified products are placed in the unqualified product area. Although the product detection is completed, the detection results of the products cannot be traced, and data traceability cannot be performed after problems occur in the later stage of the products.
[0015] In view of this, an embodiment of the present application provides a wiring harness testing method, which includes classifying the wiring harnesses, determining the identification marks of each type of wiring harness, and setting the identification marks at the target areas of the wiring harnesses; when detecting a wiring harness to be tested, obtaining the data information of the target area of the wiring harness to be tested, and detecting whether the identification mark exists in the data information; when the identification mark exists, determining whether the type of the identification mark is the same as the target type, and when the type of the identification mark is the same as the target type, detecting the wiring harness to be tested to obtain the test result, test serial number, and test time; obtaining the test record of the wiring harness to be tested based on the test serial number, identification mark, test time, and test result, and completing the wiring harness test. Before testing the wiring harness, the present application classifies the wiring harnesses and sets identification marks for each type of wiring harness. When testing the wiring harness, the test record is obtained based on the test serial number, identification mark, test time, and test result. The present application constructs the test record by considering the test serial number, identification mark, test time, and test result parameters, so as to record data through the above-mentioned multiple parameters, which is beneficial to the traceability of the product at different stages.
[0016] In some embodiments, please refer to Figure 1 , Figure 1 which is the step flowchart of the wiring harness testing method provided by the embodiment of the present application. The wiring harness testing method provided by the embodiment of the present application is specifically implemented through steps 100 to 400: Step 100: Classify the wiring harnesses, determine the identification marks of each type of wiring harness, and set the corresponding classification identification marks at the target areas on the wiring harnesses.
[0017] In some embodiments, in the wiring harness testing method provided by the present application, the identification mark includes a barcode, and different types of wiring harnesses are classified by setting different barcodes.
[0018] Step 200: Obtain the data information of the target area in the wiring harness to be tested. In response to the existence of an identification mark in the target area, determine the identification mark of the wiring harness to be tested as the to-be-tested mark, and obtain the classification type of the to-be-tested mark.
[0019] Specifically, the present application uses a barcode scanner to obtain the barcode, and uses the Labview For loop and sequential structure to detect in real time whether there is barcode input in the barcode frame. Please refer to Figure 6 , Figure 6 which is the schematic diagram of barcode existence determination in the wiring harness testing method provided by the embodiment of the present application.
[0020] In some embodiments, please refer to Figure 2 and Figure 7 , Figure 2 which is the step flowchart of barcode length comparison in the wiring harness testing device provided by the embodiment of the present application. Figure 7This is the schematic diagram for comparing the length and content of barcodes in the wire harness testing method provided by the embodiments of this application. The method for comparing the barcode length is specifically implemented through steps 210 to 230: Step 210: Obtain the actual length of the barcode in the mark to be tested.
[0021] Step 220: Determine the target length of the barcode in the target type.
[0022] Step 230: In response to the actual length being the same as the target length, obtain the classification type of the mark to be tested.
[0023] Exemplarily, please refer to Figure 5 , Figure 5 This is the barcode setting interface of the wire harness testing method provided by the embodiments of this application. Among them, the target length of the barcode is exemplarily set to 5. When the actual length of the barcode in the mark to be tested is 5, it is determined that the barcode length comparison is consistent.
[0024] It can be understood that in the wire harness testing method provided by this application, before testing the wire harness to be tested, by detecting the consistency between the actual length and the target length of the barcode in the wire harness to be tested, it is determined whether the correct barcode is input, so as to avoid barcode input errors and reduce the error rate during barcode acquisition and detection record archiving.
[0025] In some embodiments, please refer to Figure 3 and Figure 7 , Figure 3 This is the step flowchart for obtaining the classification type of the mark to be tested in the wire harness testing method provided by the embodiments of this application. Figure 7 This is the schematic diagram for comparing the length and content of barcodes in the wire harness testing method provided by the embodiments of this application. In this application, the method for obtaining the classification type of the mark to be tested is specifically implemented through steps 240 to 260: Step 240: Determine the comparison start position, comparison length, and target content of the barcode of the target type; Step 250: Determine the comparison start position in the barcode of the mark to be tested, and obtain the actual content recorded by the mark to be tested with the comparison length as the step size; Step 260: In response to the actual content being the same as the target content, determine that the classification type of the wire harness to be tested is the target type.
[0026] Exemplarily, please refer to Figure 5 , Figure 5This is the barcode setting interface for the wire harness testing method provided by the embodiments of the present application. Among them, the comparison starting position is set to 1, the comparison length is set to 2, and the target content, that is, the comparison content, is set to 11. Determine the first barcode in the to-be-tested mark as the starting position, and obtain the content recorded by two barcodes starting from the starting position as the actual content. If the actual content is also 11, the classification type of the to-be-tested wire harness is the target type.
[0027] It can be understood that in the wire harness testing method provided by the present application, before testing the to-be-tested wire harness, select the content corresponding to the length from the starting position to compare the actual content of the to-be-tested wire harness with the target content, so as to determine whether the type of the to-be-tested wire harness is consistent with the target classification, so as to avoid detecting wire harnesses of non-target classifications and avoid confusion in detection and archiving.
[0028] Step 300: In response to the classification type of the to-be-tested mark being the same as the target type, detect the to-be-tested wire harness, and obtain the detection result, detection serial number, and detection time.
[0029] Step 400: Based on the detection serial number, identification mark, detection time, and detection result, obtain the detection record of the to-be-tested wire harness, and complete the wire harness test.
[0030] It can be understood that the embodiments of the present application provide a wire harness testing method, including classifying the wire harness, determining the identification marks of various wire harnesses, and setting the identification marks at the target areas of the wire harnesses; when detecting the to-be-tested wire harness, obtaining the data information of the target area of the to-be-tested wire harness, and detecting whether the identification mark exists in the data information; when the identification mark exists, determining whether the type of the identification mark is the same as the target type, and when the type of the identification mark is the same as the target type, detecting the to-be-tested wire harness, and obtaining the detection result, detection serial number, and detection time; obtaining the detection record of the to-be-tested wire harness based on the detection serial number, identification mark, detection time, and detection result, and completing the wire harness test. The present application classifies the wire harnesses before wire harness detection, sets identification marks for each type of wire harness, and obtains the detection record based on the detection serial number, identification mark, detection time, and detection result during wire harness detection. The present application constructs the detection record considering the detection serial number, identification mark, detection time, and detection result parameters to record data through the above multiple parameters, which is beneficial for product traceability at different stages.
[0031] Correspondingly, please refer to Figure 4 , Figure 4 This is the module connection diagram of the wire harness testing system provided by the embodiments of the present application. The embodiments of the present application also provide a wire harness testing device, including: Classification module 10, the classification module 10 is used to classify the wire harness, determine the identification marks of various wire harnesses, and set the identification marks corresponding to the classification at the target area on the wire harness; Classification determination module 20, which obtains the data information of the target area in the s wire harness to be measured, determines the identification mark of the wire harness to be measured as the mark to be measured in response to the existence of an identification mark in the target area, and obtains the classification type of the mark to be measured; Detection module 30, which is used to detect the wire harness to be measured in response to the classification type of the mark to be measured being the same as the target type, and obtain the detection result, detection serial number and detection time; Recording and storage module 40, which is used to obtain the detection record of the wire harness to be measured based on the detection serial number, identification mark, detection time and detection result, and complete the wire harness test.
[0032] In some embodiments, the classification determination module 20 is specifically used for: Obtain the actual length of the bar code in the mark to be measured; Determine the target length of the bar code in the target type; In response to the actual length being the same as the target length, obtain the classification type of the mark to be measured.
[0033] In some embodiments, the classification determination module 20 is specifically used for: Determine the comparison start position, comparison length and target content of the bar code of the target type; Determine the comparison start position in the bar code of the mark to be measured, and obtain the actual content recorded by the mark to be measured with the comparison length as the step size; In response to the actual content being the same as the target content, determine that the classification type of the wire harness to be measured is the target type.
[0034] Correspondingly, an embodiment of the present application further provides an electronic device. Please refer to Figure 8 , Figure 8 which is the structural connection diagram of the electronic device provided by the embodiment of the present application. The electronic device provided by the embodiment of the present application includes: A memory 100 and a processor 200, which are communicatively connected to each other. The memory 100 stores computer instructions, and the processor 200 executes the computer instructions to execute the wire harness test method provided by the embodiment of the present application. Specifically, the memory 100 and the processor 200 are connected through a communication bus.
[0035] In some embodiments, the processor 200 may be a Central Processing Unit (CPU). The processor 200 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., or a combination of the above types of chips.
[0036] In some embodiments, the memory 100, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the method embodiments of the present application. The processor 200 executes various functional applications and data processing of the processor 200 by running the non-transitory software programs, instructions, and modules stored in the memory 100, that is, implements the methods in the above method embodiments.
[0037] In some embodiments, the memory 100 may include a program storage area and a data storage area. Among them, the program storage area can store an operating device and application programs required for at least one function; the data storage area can store data created by the processor 200, etc. In addition, the memory 100 may include a high-speed random access memory 100, and may also include a non-transitory memory 100, such as at least one disk memory 100, a flash memory device, or other non-transitory solid-state memory 100. In some embodiments, the memory 100 may optionally include a memory 100 remotely set relative to the processor 200, and these remote memories 100 can be connected to the processor 200 through a network. Examples of the above networks include but are not limited to the Internet, enterprise intranets, local area networks, mobile communication networks, and combinations thereof.
[0038] In some embodiments, one or more modules are stored in the memory 100 and, when executed by the processor 200, implement the methods in the above method embodiments.
[0039] In some embodiments, the specific details of the above electronic device can be understood by referring to the corresponding relevant descriptions and effects in the above method embodiments, and will not be elaborated here.
[0040] The above has introduced in detail a wiring harness testing method, system, and electronic device provided by the embodiments of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A wiring harness testing method, characterized in that, Including: Classify the wire harnesses, determine the identification marks for each type of wire harness, and set the corresponding identification marks for the classification on the target areas of the wire harnesses; Obtain the data information of the target areas in the wire harness to be tested. In response to the existence of the identification mark in the target area, determine the identification mark of the wire harness to be tested as the mark to be tested, and obtain the classification type of the mark to be tested; In response to the classification type of the mark to be tested being the same as the target type, test the wire harness to be tested, and obtain the test result, test serial number, and test time; Based on the test serial number, the identification mark, the test time, and the test result, obtain the test record of the wire harness to be tested, and complete the wire harness test.
2. The harness testing method according to claim 1, characterized in that The identification mark includes a bar code.
3. The wire harness testing method according to claim 2, characterized in that The step of obtaining the classification type of the mark to be tested includes: Determine the comparison start position, comparison length, and target content of the bar code of the target type; Determine the comparison start position in the bar code of the mark to be tested, and obtain the actual content recorded by the mark to be tested with the comparison length as the step size; In response to the actual content being the same as the target content, determine that the classification type of the wire harness to be tested is the target type.
4. The wire harness testing method according to claim 2, characterized in that Before the step of obtaining the classification type of the mark to be tested, the wire harness test method further includes: Obtain the actual length of the bar code in the mark to be tested; Determine the target length of the bar code in the target type; In response to the actual length being the same as the target length, obtain the classification type of the mark to be tested.
5. A wire harness testing system, characterized in that, Including: A classification module (10), which is used to classify the wire harnesses, determine the identification marks for each type of wire harness, and set the corresponding identification marks for the classification on the target areas of the wire harnesses; A classification determination module (20), which obtains the data information of the target areas in the wire harness to be tested. In response to the existence of the identification mark in the target area, determines the identification mark of the wire harness to be tested as the mark to be tested, and obtains the classification type of the mark to be tested; A detection module (30), which is used to test the wire harness to be tested in response to the classification type of the mark to be tested being the same as the target type, and obtain the test result, test serial number, and test time; A record storage module (40), which is used to obtain the test record of the wire harness to be tested based on the test serial number, the identification mark, the test time, and the test result, and complete the wire harness test.
6. An electronic device, characterized in that, Including a memory (100) and a processor (200), the memory (100) stores a computer program executable by the processor (200), and when the processor (200) executes the computer program, it implements the steps of the wire harness test method according to any one of claims 1-4.