Method for automatically designing adapter cable of cable inspection table

By automatically designing the cable inspection table adapter cable, the adapter cable wiring table is automatically generated, which solves the problems of complex, time-consuming and prone to errors in the existing technology, and improves design efficiency and accuracy.

CN120046282APending Publication Date: 2025-05-27CHINA SHIPBUILDING IND CORP NO 705 RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411864188.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The design of existing cable inspection table adapter cables relies on manual labor, which leads to complex, time-consuming and prone to errors, increasing the work burden of the designer and the risk of damage during the inspection of the cable or cable inspection table under test.

Method used

It provides a method of automatically designing cable adapter cables in the cable inspection table. By reading the cable wiring table file to convert it into an array of a specific format, and sorting it out according to the mutual conduction relationship of the wires, forming an adapter cable wiring table, and automatically generating an adapter cable wiring table dedicated to specifying the cable under test.

Benefits of technology

It reduces the designer's simple repeated design work, avoids typos or artificial design errors, and improves design efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120046282A_ABST
    Figure CN120046282A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method for automatically designing a switching cable of a cable inspection table. The method comprises the following steps: reading a wiring table file of a tested cable; the detected cable wiring meter is converted into a first array in a specific format, the number of rows of the first array is the number of wires contained in the detected cable, and elements in each row of the first array comprise elements representing interface definitions at the two ends of each wire in the detected cable; the first array is arranged according to the mutual conduction relation of wires, a second array is obtained, and elements in each row of the second array comprise elements representing mutual conduction of interfaces; and enabling the second array to correspond to an external detection interface of the cable inspection table to form the adapter cable wiring meter. According to the method, the adapter cable wiring table special for the specified tested cable can be automatically generated, simple and repeated design work of a designer is reduced, and writing errors or man-made design errors are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of the design of transfer cables for cable inspection tables, and particularly to a method for automatically designing transfer cables for cable inspection tables. Background Art

[0002] The transfer cable for a cable inspection table is a test cable designed specifically for a specific cable under test. All the core wires of the specific cable under test can be transformed into a mapping relationship that can be recognized by the cable inspection table through the transfer cable. The cable inspection table closes the internal relays in sequence according to the mapping relationship, forms a detection loop with the cable under test via the transfer cable, and then can determine the connectivity and insulation between the core wires of the cable under test, and determine whether the connectivity and insulation of the cable under test meet the design requirements.

[0003] Currently, the design of the transfer cable for a cable inspection table adopts a manual design method. In this process, a large amount of manpower and time are required to complete the design and proofreading of the transfer cable interface table; it is difficult to avoid mistakes in manual design and proofreading; the design process is complex, and personnel need to have certain design experience, and it is difficult to carry out a large number of transfer cable designs simultaneously;

[0004] The direct results of the above disadvantages are the repeated investment of a large number of designers and working hours, and the risk of damage to the cable under test or the cable inspection table during the detection process due to design mistakes. The key measure to solve this risk is to automate this design process. Summary of the Invention

[0005] In view of the above problems existing in the prior art, an embodiment of the present invention provides a method for automatically designing a transfer cable for a cable inspection table, which can automatically generate a wiring table for the transfer cable dedicated to a specified cable under test, reduce the simple and repetitive design work of designers, and avoid clerical errors or human design mistakes.

[0006] An embodiment of the present invention provides a method for automatically designing a transfer cable for a cable inspection table, including:

[0007] Step 1: Read the wiring table file of the cable under test;

[0008] Step 2: Convert the wiring table of the cable under test into a first array in a specific format. The number of rows of the first array is the number of wires included in the cable under test, and each element in each row of the first array includes elements representing the interface definitions at both ends of each wire in the cable under test;

[0009] Step 3: Sort out the first array according to the mutual conduction relationship of the wires to obtain a second array. Each element in each row of the second array includes elements whose represented interfaces are mutually conductive;

[0010] Step 4: Corresponding the second array with the external detection interface of the cable inspection table to form a transfer cable wiring table.

[0011] In some embodiments of the present invention, in step 2, the method specifically includes:

[0012] Step 2.1: Select the interface definition data at both ends of each wire in the measured cable wiring table, and the interface definition data includes at least information such as connector code and core wire number;

[0013] Step 2.2: Convert the interface definition data into a string format and splice it into an array with a specific format;

[0014] Step 2.3: According to the specific content of the transfer cable wiring table, for the elements with repeated names but actually not at the same interface position, use the interface definitions connected to the elements with repeated names but actually not at the same interface position, and add markings;

[0015] Step 2.4: Delete the completely identical rows, sort the array, and obtain the first array A N×2 。

[0016] In some embodiments of the present invention, in step 2,

[0017] The first array is a two-dimensional array A N×2 , and the two elements in each row of the first array represent the interface definitions at both ends of each wire in the measured cable.

[0018] In some embodiments of the present invention, in step 3, the method includes:

[0019] Step 3.1: Select the first wire in the two-dimensional array A, search for all interfaces that are conductive to this wire, and form a one-dimensional array B with these interface definitions 1 ;

[0020] Step 3.2: Remove all elements of the one-dimensional array B 1 from the two-dimensional array A to form a new two-dimensional array A;

[0021] Step 3.3: Repeat steps 3.1 and 3.2 until the array A is an empty array, and name the array generated in the i-th loop as B i ;

[0022] Step 3.4: Arrange all the one-dimensional arrays Bi into an array B by rows. The interfaces represented by the elements in each row of the array B are all conductive to each other, and are insulated from each other between any two rows except for some rows connected to the resistor.

[0023] In some embodiments of the present invention, in step 4, the method includes:

[0024] Step 4.1: Divide the external detection interfaces into two groups, X and Y, according to the detection principle of the cable inspection table.

[0025] Step 4.2: Correlate the first element of the first row of array B with a certain core of group X or Y, and then sequentially correlate the other elements of the first row of array B with a certain core of the other group one by one.

[0026] Step 4.3: Delete the first row of array B to form a new array B.

[0027] Step 4.4: Repeat Step 4.2 and Step 4.3 until array B becomes an empty array.

[0028] Step 4.5: Organize the corresponding relationship between the interfaces of the cable under test and the external detection interfaces of the cable inspection table formed during the loop of Step 4.2 and Step 4.3 to form a connection table for the adapter cable.

[0029] Compared with the prior art, the beneficial effects of the method for automatically designing the adapter cable of the cable inspection table provided by the embodiments of the present invention are as follows: It can automatically generate a connection table for the adapter cable dedicated to the specified cable under test, which can reduce the simple and repetitive design work of designers and avoid clerical errors or human design mistakes. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a flowchart of the method for automatically designing the adapter cable of the cable inspection table provided by the embodiments of the present invention;

[0031] Figure 2 is a flowchart of converting the connection table of the cable under test into an array in a specific format in the method for automatically designing the adapter cable of the cable inspection table provided by the embodiments of the present invention;

[0032] Figure 3 is a flowchart of retrieving the mutually conducting interfaces in the cable under test in the method for automatically designing the adapter cable of the cable inspection table provided by the embodiments of the present invention;

[0033] Figure 4 is a flowchart of mutually mapping the cable under test and the interfaces of the cable inspection table in the method for automatically designing the adapter cable of the cable inspection table provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0034] To enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] Reference is made herein to the various aspects and features of the present application as described with reference to the accompanying drawings.

[0036] These and other features of the present application will become apparent from the following description of the preferred forms of the embodiments given as non-limiting examples with reference to the accompanying drawings.

[0037] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application, which have the features as described in the claims and thus are all within the protection scope defined thereby.

[0038] When combined with the accompanying drawings, the above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description.

[0039] Hereinafter, specific embodiments of the present application will be described with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are only examples of the present application and can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to clarify the true intention based on the user's historical operations and to avoid obscuring the present application with unnecessary or redundant details. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but are merely used as a basis and representative basis for the claims to teach those skilled in the art to use the present application in substantially any suitable detailed structure in various ways.

[0040] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", which may each refer to one or more of the same or different embodiments according to the present application.

[0041] An embodiment of the present invention provides a method for automatically designing an adapter cable for a cable inspection table, the method comprising:

[0042] Step 1: Read the wiring table file of the cable to be measured;

[0043] Step 2: Convert the wiring table of the cable to be measured into a first array in a specific format, the number of rows of the first array being the number of wires included in the cable to be measured, and each element in each row of the first array including elements representing the interface definitions at both ends of each wire in the cable to be measured;

[0044] Step 3: Rearrange the first array according to the mutual conduction relationship of the wires to obtain a second array, and each element in each row of the second array including elements representing the interfaces that are mutually conductive;

[0045] Step 4: Correlate the second array with the external detection interface of the cable inspection table to form an adapter cable wiring table.

[0046] For the convenience of understanding the above technical solutions, the following will be described in detail with reference to the accompanying drawings of the specification and specific examples, as follows:

[0047] See Figure 1 As shown, a method for automatically designing a transfer cable for a cable inspection table provided by an embodiment of the present invention includes:

[0048] Step 1: Read the wiring table file of the cable under test;

[0049] Step 2: Convert the wiring table of the cable under test into a two-dimensional array A N×2 , the array A N×2 The number of rows is the number of wires included in the cable under test, and the two elements of each row of the array A N×2 represent the interface definitions at both ends of each wire in the cable under test;

[0050] Step 3: Sort out the array A according to the mutual conduction relationship of the wires N×2 , to obtain an array B, and all the elements of each row of this array represent mutually conductive interfaces;

[0051] Step 4: Correlate the array B with the external detection interfaces of the cable inspection table to form a transfer cable wiring table.

[0052] See Figure 2 As shown, preferably, step 2 converts the wiring table of the cable under test into an array in a specific format, which specifically includes:

[0053] Step 2.1: Select the interface definition data including information such as connector codes and core wire numbers at both ends of each wire in the wiring table of the cable under test;

[0054] Step 2.2: Convert this interface definition-related data into a string format and splice it into a two-dimensional array;

[0055] Step 2.3: According to the specific content of the wiring table, add labels to the elements with repeated names such as "resistance" and "solder pad" but actually not at the same interface position for the interfaces to which they are connected;

[0056] Step 2.4: Delete the completely identical rows, sort out the array, and obtain the two-dimensional array A N×2 .

[0057] See Figure 3 As shown, preferably, step 3 can retrieve the mutually conductive interfaces in the cable under test, which specifically includes:

[0058] Step 3.1: Select the first row in the two-dimensional array A and write the elements of this row into a one-dimensional array B 1 ;

[0059] Step 3.2: Remove the first row of the two-dimensional array A to form a new two-dimensional array A;

[0060] Step 3.3: Select the first element in the one-dimensional array B 1 and search for this element in array A. Add the rows containing this element to the one-dimensional array B 1 and form a new two-dimensional array A after removing these rows from array A;

[0061] Step 3.4: After removing the repeatedly occurring elements in the one-dimensional array B 1 , select the next element and repeat Steps 3.2 and 3.3 until the last element is selected and the length of the one-dimensional array B 1 no longer increases;

[0062] Step 3.5: Repeat Steps 3.1 to 3.4 until array A is an empty array, and name the array generated in the i-th loop as B i ;

[0063] Step 3.6: Organize all the one-dimensional arrays B i into array B row by row. Each row of elements in array B represents interfaces that are electrically connected to each other, and any two rows are insulated from each other except for some rows connected to the resistor.

[0064] See Figure 4 shown. Preferably, Step 4 can map the cable under test to the interfaces of the cable inspection table, thereby forming a connection table for the adapter cable. Step 4 specifically includes:

[0065] Step 4.1: Divide the external detection interfaces into two groups, X and Y, according to the detection principle of the cable inspection table;

[0066] Step 4.2: Correlate the first element in the first row of array B with a certain core in group X or Y, and sequentially correlate the other elements in the first row with a certain core in the other group one by one;

[0067] Step 4.3: Remove the first row of array B to form a new array B;

[0068] Step 4.4: Repeat Steps 4.2 and 4.3 until array B is an empty array.

[0069] Step 4.5: Organize the corresponding relationship between the interfaces of the cable under test and the external detection interfaces of the cable inspection table formed in the loop of Steps 4.2 and 4.3 to form a connection table for the adapter cable.

[0070] As can be seen from the above technical solutions, the method for automatically designing the adapter cable of the cable inspection table provided in the above embodiments of the present invention can automatically generate a connection table for the adapter cable dedicated to the specified cable under test, which can reduce the simple repetitive design work of designers and avoid clerical errors or human design mistakes.

[0071] The above embodiments are only exemplary embodiments of the present invention and are not used to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions within the essence and protection scope of the present invention, and such modifications or equivalent substitutions should also be regarded as falling within the protection scope of the present invention.

Claims

1. A method for automatically designing a cable inspection station adapter cable, characterized in that: include: Step 1: Read the wiring table file of the cable under test; Step 2: converting the wiring table of the tested cable into a first array in a specific format, wherein the number of rows of the first array is the number of wires contained in the tested cable, and the elements of each row of the first array include elements representing interface definitions at both ends of each wire in the tested cable; Step 3: Arrange the first array according to the mutual conductive relationship of the wires to obtain a second array, wherein the elements of each row of the second array include elements of which the interfaces represented are mutually conductive; Step 4: Match the second array with the external detection interface of the cable inspection station to form a connection table for the transfer cable.

2. The method for automatically designing cable inspection station transfer cables according to claim 1, characterized in that: In step 2, the method specifically includes: Step 2.1: Selecting interface definition data for both ends of each wire in the wiring table of the tested cable, wherein the interface definition data at least includes information of a connector code and a core wire number; Step 2.2: Convert the interface definition data into a string format and concatenate them into an array with a specific format; Step 2.3: According to the specific content of the transfer cable wiring table, elements with duplicate names but not actually at the same interface position are defined with interfaces connected to elements with duplicate names but not actually at the same interface position, and annotations are added; Step 2.4: Delete identical rows, sort the array, and obtain the first array A. N×2 .

3. The method for automatically designing cable inspection station transfer cables according to claim 2, characterized in that: In step 2, The first array is a two-dimensional array A N×2 The two elements in each row of the first array represent the interface definitions at both ends of each conductor in the cable under test.

4. The method for automatically designing cable inspection station transfer cables according to claim 3, characterized in that: In step 3, the method comprises: Step 3.1: Select the first wire in the two-dimensional array A, search for all interfaces connected to this wire, and define these interfaces into a one-dimensional array B1; Step 3.2: Remove all elements of the one-dimensional array B1 from the two-dimensional array A to form a new two-dimensional array A; Step 3.3: Repeat steps 3.1 and 3.2 until array A is empty, and name the array generated in the i-th loop B. i ; Step 3.4: Arrange all one-dimensional arrays Bi into array B by row. The interfaces represented by the elements in each row of array B are connected to each other. Except for some rows connected to resistors, any two rows are insulated from each other.

5. The method for automatically designing cable inspection station transfer cables according to claim 4, characterized in that: In step 4, the method comprises: Step 4.1: According to the detection principle of the cable inspection station, divide the external detection interfaces into two groups, X and Y; Step 4.2: The first element of the first row of array B corresponds to a core of group X or group Y, and the other elements of the first row of array B correspond to a core of the other group one by one; Step 4.3: Remove the first row of array B to form a new array B; Step 4.4: Repeat steps 4.2 and 4.3 until array B is an empty array; Step 4.5: Arrange the correspondence between the tested cable interface formed in the cycle of step 4.2 and step 4.3 and the external detection interface of the cable inspection station to form a transfer cable wiring table.