CN109116177A - Method and device for detecting line sequence of connecting line and computer storage medium - Google Patents
Method and device for detecting line sequence of connecting line and computer storage medium Download PDFInfo
- Publication number
- CN109116177A CN109116177A CN201810595895.6A CN201810595895A CN109116177A CN 109116177 A CN109116177 A CN 109116177A CN 201810595895 A CN201810595895 A CN 201810595895A CN 109116177 A CN109116177 A CN 109116177A
- Authority
- CN
- China
- Prior art keywords
- signal
- interface
- line sequence
- encoded signal
- encoded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000001514 detection method Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000005055 memory storage Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/67—Testing the correctness of wire connections in electric apparatus or circuits
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
Abstract
The invention discloses a method and a device for detecting a line sequence of a connecting line and a computer storage medium, which are used for solving the technical problem of low line sequence detection efficiency of the connecting line in the prior art. The method comprises the following steps: sending a first signal to a first end of a connecting line to be detected; the first signal is composed of different coding signals according to a preset line sequence, the number of the coding signals is the same as that of the interfaces at the first end, and one interface corresponds to one coding signal; receiving the different coding signals from the second end of the connecting line to be detected according to the preset line sequence to obtain a second signal; and judging whether the first signal is the same as the second signal or not, and if so, determining that the line sequence of the connecting line to be detected is correct.
Description
Technical field
The present invention relates to electronic technology fields, more particularly, to a kind of method, apparatus and calculating for detecting connecting line line sequence
Machine storage medium.
Background technique
Connecting line is usually made of connector and multi-core cable, for different functional components to link together, for not
Signal, power supply etc. are provided between congenerous component.
Such as, the connecting line in air-conditioning between each circuit board needs to be powered for each functional component, provides command signal.And
When making connecting line, if the end of a thread at multi-core cable both ends is crimped on corresponding connector not in accordance with design sequence,
To be that mistake occurs for the line sequence of connecting line, and if then when there is the connecting line linkage function component of wrong line sequence with this, make to connect
Functional component cisco unity malfunction.As shown in Figure 1, needing to make a 1a as shown in figure 1) shown in 6 cores connecting line, but
When production accidentally make for 1b in Fig. 1) shown in connecting line, if the corresponding power end of 1,2 terminals in connecting pin, then general
Lead to the functional component damage for being connected line connection.It is electricity so carrying out line sequence inspection to connecting line after making connecting line
One of the quality detecting index of sub- equipment.
In the prior art, it usually relies on range estimation by hand or surveys the conducting of every core wire with multimeter to carry out line sequence inspection
(as shown in Figure 2) tested, however it is long but to there is low reliability, labor intensive, Check-Out Time in this way, to make to connect
The lower technical problem of the line sequence checkability of line.
Therefore, the line sequence checkability for how improving connecting line becomes a technical problem urgently to be resolved.
Summary of the invention
The present invention provides a kind of method, apparatus and computer storage medium for detecting connecting line line sequence, existing to solve
The lower technical problem of the line sequence checkability of connecting line present in technology.
In a first aspect, in order to solve the above technical problems, a kind of detection connecting line line sequence method provided in an embodiment of the present invention
Technical solution it is as follows:
The first signal is sent to the first end of connecting line to be detected;Wherein, first signal is believed by different codings
Number by default line sequence composition, the quantity of the encoded signal is identical with the interface quantity of the first end, an interface correspondence
One encoded signal;
The different encoded signal is received from the second end of the connecting line to be detected by the default line sequence, obtains the
Binary signal;
Judge whether first signal and the second signal are identical, if they are the same, it is determined that the connecting line to be detected
Line sequence it is correct.
Be made of different encoded signals by default line sequence first is sent to the first end of connecting line to be detected by elder generation
Signal, then second be made of different encoded signals is being received by default line sequence from the opposite second end of the first end of connecting line
Signal, finally by judging whether the first signal and the whether identical line sequence to determine connecting line to be detected of second signal are correct.
So as to effectively improve the line sequence checkability of connecting line.
With reference to first aspect, in the first possible embodiment of first aspect, to the first of connecting line to be detected
End sends the first signal, comprising:
The corresponding encoded signal of each interface is sent simultaneously to the total interface of the first end;Wherein, described each to connect
The coding mode of the encoded signal of mouth is all different.
Since all encoded signals in the first signal are using different coding modes, so can will be in first end
Each interface distinguish, and then each encoded signal in the first signal can be sent simultaneously in first end and reach while detecting
The purpose of each interface in first end, this time for allowing for sending the first signal can control in shorter range, accordingly
Time of reception second signal can also control in short-range, so can effectively reduce detection connecting line line sequence when
Between, to further improve the efficiency of detection connecting line line sequence.
In conjunction with the first possible embodiment of one side, in second of possible embodiment of first aspect,
Judge whether first signal and the second signal are identical, comprising:
By the default line sequence, the encoded signal that each interface arrives in the second port is judged one by one, if with
The corresponding encoded signal sent from the interface of the first port is identical;If the letter that total interface receives in the second end
Number with it is corresponding from the interface of the first end send encoded signal it is identical, it is determined that first signal and it is described second letter
It is number identical.
Due to judging whether the line sequence of connecting line is correctly by directly judging whether the first signal and the second signal are identical
It determines, this allows for only carrying out once judge can quickly determine whether the line sequence of connecting line is correct, thus further
Improve detection connecting line line sequence correctness efficiency.
Any possible embodiment party into second of possible embodiment of first aspect with reference to first aspect
Formula, in the third possible embodiment of first aspect, the encoded signal, comprising:
With the pulse signal of period different number or the pulse signal of different cycles.
The third possible embodiment with reference to first aspect, in the 4th kind of possible embodiment of first aspect
In, after judging whether first signal and the second signal are identical, further includes:
When determining first signal and the second signal difference, line sequence error indication signal is exported;
Based on the default line sequence and first signal and the second signal, determines and indicates and connect in the second end
The interface of wrong accidentally, and corresponding correct interface is indicated for the interface of the connection error;
After determining that the line sequence of the connecting line to be detected is correct, the correct indication signal of line sequence is exported.
Judging whether the first signal is identical as second signal, that is, when determining whether the line sequence of connecting line is correct, is passing through
Whether the line sequence of indication signal instruction connecting line can correctly will test result fast notification to user;Also, in line sequence mistake
When, the interface of connection error and corresponding correct interface are indicated to user, user can be allowed quickly to correct mistake, improve
Working efficiency.
The 4th kind of possible embodiment with reference to first aspect, in the 5th kind of possible embodiment of first aspect
In, based on the default line sequence and first signal and the second signal, determines and indicates and connect mistake in the second end
Interface accidentally, comprising:
Judge each encoded signal and the second signal pair in first signal one by one according to the default line sequence
Answer the encoded signal of position whether identical;
If it is different, the interface for then determining corresponding position described in the second end is the interface of the connection error, and lead to
Cross the interface that wrong interface instruction information indicates the connection error.
The 5th kind of possible embodiment with reference to first aspect, in the 6th kind of possible embodiment of first aspect
In, it is that the interface of the connection error indicates corresponding correct interface, comprising:
The identical encoded signal of lookup encoded signal corresponding with the interface of the connection error from first signal,
Obtain the corresponding interface of the identical encoded signal;
Based on the corresponding interface of the identical encoded signal, the corresponding core wire of interface for connecting the connection error is determined
Correct interface in the second end;Identify the correct interface.
Second aspect, the embodiment of the invention provides a kind of for detecting the device of connecting line line sequence, comprising:
Transmission unit, for sending the first signal to the first end of connecting line to be detected;Wherein, first signal be by
Different encoded signals presses default line sequence composition, and the quantity of the encoded signal is identical as the interface quantity of the first end,
The corresponding encoded signal of one interface;
Receiving unit receives the different volume by the default line sequence for the second end from the connecting line to be detected
Code signal obtains second signal;
Processing unit, for judging whether first signal and the second signal are identical, if they are the same, it is determined that described
The line sequence of connecting line to be detected is correct.
In conjunction with second aspect, in the first possible embodiment of second aspect, the transmission unit is specific to use
In:
The corresponding encoded signal of each interface is sent simultaneously to the total interface of the first end;Wherein, described each to connect
The coding mode of the encoded signal of mouth is all different.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, the processing unit is specifically used for:
By the default line sequence, the encoded signal that each interface arrives in the second port is judged one by one, if with
The corresponding encoded signal sent from the interface of the first port is identical;If the letter that total interface receives in the second end
Number with it is corresponding from the interface of the first end send encoded signal it is identical, it is determined that first signal and it is described second letter
It is number identical.
In conjunction with second aspect to second aspect second of possible embodiment in any possible embodiment party
Formula, in the third possible embodiment of second aspect, the encoded signal, comprising:
With the pulse signal of period different number or the pulse signal of different cycles.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, the processing unit is also used to:
When determining first signal and the second signal difference, line sequence error indication signal is exported;
Based on the default line sequence and first signal and the second signal, determines and indicates and connect in the second end
The interface of wrong accidentally, and corresponding correct interface is indicated for the interface of the connection error;
After determining that the line sequence of the connecting line to be detected is correct, the correct indication signal of line sequence is exported.
In conjunction with the 4th kind of possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect
In, the processing unit is also used to:
Judge each encoded signal and the second signal pair in first signal one by one according to the default line sequence
Answer the encoded signal of position whether identical;
If it is different, the interface for then determining corresponding position described in the second end is the interface of the connection error, and lead to
Cross the interface that wrong interface instruction information indicates the connection error.
In conjunction with the 5th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect
In, the processing unit is also used to:
The identical encoded signal of lookup encoded signal corresponding with the interface of the connection error from first signal,
Obtain the corresponding interface of the identical encoded signal;
Based on the corresponding interface of the identical encoded signal, the corresponding core wire of interface for connecting the connection error is determined
Correct interface in the second end;Identify the correct interface.
The third aspect, the embodiment of the present invention also provide a kind of for detecting the device of connecting line line sequence, comprising:
At least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, the method as described in above-mentioned first aspect is executed.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, comprising:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers
When, so that computer executes the method as described in above-mentioned first aspect.
The technical solution in said one or multiple embodiments through the embodiment of the present invention, the embodiment of the present invention at least have
There is following technical effect:
Be made of different encoded signals by default line sequence first is sent to the first end of connecting line to be detected by elder generation
Signal, then second be made of different encoded signals is being received by default line sequence from the opposite second end of the first end of connecting line
Signal, finally by directly judging that the first signal line sequence quickly to determine connecting line to be detected whether identical as second signal is
It is no correct.So as to effectively improve the line sequence checkability of connecting line.
Detailed description of the invention
Fig. 1 is the correct and wrong connecting line schematic diagram of line sequence;
Fig. 2 is a kind of means for surveying connecting line line sequence;
Fig. 3 is a kind of flow chart for detecting connecting line line sequence method provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that the first end provided in an embodiment of the present invention in connecting line to be detected sends the first signal;
Fig. 5 judges the first signal and the whether identical schematic diagram of second signal to be provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram for detecting connecting line line sequence device provided in an embodiment of the present invention.
Specific embodiment
Implementation column of the present invention provides a kind of method, apparatus and computer storage medium for detecting connecting line line sequence, to solve
The lower technical problem of the line sequence checkability of connecting line existing in the prior art.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
There is provided a kind of method for detecting connecting line line sequence, comprising: send the first signal to the first end of connecting line to be detected;
Wherein, the first signal is made of different encoded signals by default line sequence, the quantity of encoded signal and the interface of first end
Quantity is identical, the corresponding encoded signal of an interface;It receives from the second end of connecting line to be detected by default line sequence different
Encoded signal obtains second signal;Judge whether the first signal is identical as second signal, if they are the same, it is determined that connection to be detected
The line sequence of line is correct.
Due in the above scheme, being sent by different encoded signals to the first end of connecting line to be detected by pre- by elder generation
If the first signal of line sequence composition, then receive pressing default line sequence from the opposite second end of the first end of connecting line by different volumes
Second signal that code signal is constituted determines connecting line to be detected finally by judge whether the first signal and second signal are identical
Line sequence it is whether correct.So as to effectively improve the line sequence checkability of connecting line.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention
It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention
Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment
In technical characteristic can be combined with each other.
Referring to FIG. 3, the embodiment of the present invention provides a kind of method for detecting connecting line line sequence, the treatment process of this method is such as
Under.
Step 301: sending the first signal to the first end of connecting line to be detected;Wherein, the first signal is by different volumes
Code signal presses default line sequence composition, and the quantity of encoded signal and the interface quantity of first end are identical, and an interface is one corresponding
Encoded signal.
Specifically, encoded signal can be the pulse signal of same period different number or the pulse signal of different cycles.
The first signal is sent to the first end of connecting line to be detected, is the total interface to first end while sending each connect
The corresponding encoded signal of mouth;Wherein, the coding mode of the encoded signal of each interface is all different.
For example, referring to Fig. 4, connecting line L is made of 6 core wires and first end and second end altogether in Fig. 4, every core wire
Both ends connect respectively with an interface of an interface of first end and second end, also have 6 codings accordingly in first end
One interface of signal, first end sends an encoded signal, these encoded signals are combined into the first signal according to default line sequence,
It is to determine that interface index can be the number of interface itself mark according to the interface index of first end that line sequence is preset in Fig. 4,
It is also possible to customized according to interface arrangement position.
When sending the first signal by first end, each encoded signal in the first signal can be sent out simultaneously
It send, can effectively reduce the time for sending the first signal in this way, and then improve the line sequence checkability of connecting line L.If first
Signal be such as the 4a in Fig. 4) shown in the first signal A, it is made of 6 encoded signals, specifically be encoded signal 1,
Encoded signal 2, encoded signal 3, encoded signal 4, encoded signal 5, encoded signal 6 form, and can be found that from the 4a of Fig. 4)
The characteristics of these encoded signals is the pulse signal of same period different number, and certain encoded signal is also possible to such as the 4b in Fig. 4)
Shown in encoded signal in the first signal B, the first signal B the characteristics of be different cycles pulse signal.By using above-mentioned
The encoded signal of type is simultaneously built into the first signal by default line sequence and sends in first end, can each interface of unique identification send
Data.
Since the length of connecting line may be different, the speed of electric signal transmission be also be exceedingly fast, it is usually the case that
While sending the first signal, it will prepare to receive second signal in the second end of connecting line and judge whether line sequence is correct, have
Body is see step 302-303.
Step 302: receiving different encoded signals by default line sequence from the second end of connecting line to be detected, obtain the second letter
Number.
Step 303: judging whether the first signal is identical as second signal, if they are the same, it is determined that the line of connecting line to be detected
Sequence is correct.
Fig. 5 is referred to, by taking encoded signal is the pulse signal of different cycles as an example, is in the first signal that first end is sent
Period is respectively the pulse signal (each interface transmission of first end is a pulse signal) of t, 2t, 3t, 4t, 5t, 6t,
First signal is denoted as (t, 2t, 3t, 4t, 5t, 6t).
If being the second signal A as shown in the second signal A in Fig. 5 in the second signal that the second end of connecting line receives
Be denoted as (t, 2t, 3t, 4t, 5t, 6t), by judging whether the first signal identical as second signal A, can determine the first signal with
Second signal A is identical, and then can determine that the line sequence of connecting line is correct.
If being the second signal B as shown in the second signal B in Fig. 5 in the second signal that the second end of connecting line receives
Be denoted as (4t, 2t, 3t, t, 5t, 6t), by judging whether the first signal identical as second signal B, can determine the first signal with
Second signal B is not identical, and then can determine that the line sequence of connecting line is incorrect.
It is to be appreciated that be all made of encoded signal due to the first signal and the second signal, that is to say, that it is each
Encoded signal is actually a corresponding coding, for example above-mentioned first signal can also directly be denoted as 123456, second signal A
123456 can also be directly denoted as, second signal B can directly be denoted as 423156, judge the first signal and second signal in this way
Whether it is identical when with regard to more convenient, and then can determine whether the line sequence of connecting line correct faster.
Still by taking the example above as an example, since the first line sequence is the interface index sequence consensus with first end and second end
, so (the respective pulses signal t), then need to only compare second of encoded signal 1 sent by No. 1 interface of first end
Whether No. 1 encoded signal received 1 at end be identical as the encoded signal 1 that No. 1 interface of first end is sent, similarly can be with
Judge whether the interface of other 5 first ends is identical as the interface of the corresponding second end encoded signal arrived, if second end
The encoded signal that arrives of 6 interfaces it is all identical as the signal that the interface of corresponding first end is sent, then judge the first signal
It is identical as second signal, it is otherwise different.
In Fig. 5, the encoded signal arrived due to No. 1 interface in second end is 4t, and from No. 1 interface of first end
The encoded signal of transmission is but t, and No. 1 interface of second end is different from the encoded signal of No. 1 interface of first end, it is possible to really
Fixed first signal is different from second signal, and then determines that connecting line line sequence is incorrect.
Further, however, it is determined that the line sequence of connecting line to be detected is correct, then can export the correct indication signal of line sequence, bright
Green LED lamp is shown specific symbol (such as " FF ") on display device (such as charactron, LCD).
When determining the first signal and second signal not at the same time it can also exporting line sequence error indication signal;And based on default
Line sequence and the first signal and the second signal determine and indicate the interface of connection error in second end, and are the interface of connection error
Indicate corresponding correct interface.
Such as, when determining the first signal and second signal difference, line sequence error indication signal: flash red can be passed through
LED light shows specific symbol (such as " X ") on display device (such as charactron, LCD) or makes buzzer sending specific
The line sequence of prompt user's connecting line such as sound there are mistakes.
Specifically, determining and indicating connection error in second end based on default line sequence and the first signal and the second signal
Interface can be accomplished by the following way: if judging the first signal and the whether identical side of second signal using directly whole
Formula then judges the encoded signal of each encoded signal and second signal corresponding position in the first signal one by one according to default line sequence
It is whether identical;If it is different, the interface for then determining corresponding position in second end is the interface of connection error, and referred to by wrong interface
Show the interface of information instruction connection error.Individually judge that each encoded signal is believed with corresponding second in the first signal if using
Number the whether identical mode of encoded signal, then can be just marked according to judging result when judging an encoded signal
Mode directly determines the interface which interface in second end is connection error.
Such as, the first signal is 123456, second signal 423156, and presetting line sequence is 123456 (first end and second ends
Interface sequence it is the same be all 123456), then judging that first encoded signal (1) in the first signal is according to default line sequence
No identical as in second signal first encoded signal (4), judging result is difference, then the first of second end can be determined
A interface is the interface of connection error, and then can indicate that information indicates that the interface of connection error is second end by wrong interface
First interface.
Specifically, wrong interface instruction information can be and the indicator light of corresponding interface is allowed to send out a warning (if each interface is right
An indicator light is answered, indicator light can issue red and green, and red indicates mistake, and green instruction is correct), wrong interface instruction
Information is also possible to display device (such as charactron, LCD), as second end No. 1 interface to encoded signal be not
The encoded signal that No. 1 interface of one end is sent, then can on charactron fast blink number 1, can quickly determine tool in this way
Body is that there are mistakes for which interface.
Further, corresponding correct interface is indicated for the interface of connection error, can be accomplished by the following way: from
The identical encoded signal of lookup encoded signal corresponding with the interface of connection error, obtains identical encoded signal in first signal
Corresponding interface;Based on the corresponding interface of identical encoded signal, determine the corresponding core wire of the interface of connection error in second end
In correct interface;Identify correct interface.
For example, the first signal is 123456, second signal 423156, default line sequence is 123456 (for first end and the
The interface at two ends sorts), No. 1 interface of second end is the interface of connection error, and the encoded signal that it is received is 4, then logical
It crosses and searches identical with 4 encoded signal from the first signal, can determine that signal that No. 1 interface of second end arrives comes from the
4th interface of one end, and then can determine that the corresponding correct interface of core wire connect on No. 1 interface of second end should be connect
It is correct interface so as to mark No. 4 interfaces of second end on No. 4 interfaces of second end.
It, can also be by default line other than directly judging whether the first signal and second signal are identical using aforesaid way
Sequence judges the encoded signal that each interface arrives in second port one by one, if sends out with corresponding from the interface of first port
The encoded signal sent is identical;If the signal that total interface receives in second end with it is corresponding from the interface of first end send volume
Code signal is identical, it is determined that the first signal is identical as second signal.
It is to be appreciated that although in above-described embodiment exemplary connecting line first end and second end all only one,
A connecting line is also possible in actual use there are multiple first ends or multiple second ends, the above method still is able to fit
For such situation, still fall in the range of this method protection.
Based on the same inventive concept, provided in one embodiment of the invention it is a kind of for detecting the device of connecting line line sequence, should
The specific embodiment of the connecting line line sequence detection method of device can be found in the description of embodiment of the method part, repeat place no longer
It repeats, refers to Fig. 6, which includes:
Transmission unit 601, for sending the first signal to the first end of connecting line to be detected;Wherein, first signal
It is made of different encoded signals by default line sequence, the interface quantity phase of the quantity of the encoded signal and the first end
Together, the corresponding encoded signal of an interface;
Receiving unit 602, for receiving the difference from the second end of the connecting line to be detected by the default line sequence
Encoded signal, obtain second signal;
Processing unit 603, for judging whether first signal and the second signal are identical, if they are the same, it is determined that
The line sequence of the connecting line to be detected is correct.
Wherein, transmission unit 601 is connected to the first end of connecting line, and receiving unit 603 is connected to the second end of connecting line,
Described device can also include indicating unit 604, with dotted line example in Fig. 6.
Optionally, the transmission unit 601, is specifically used for:
The corresponding encoded signal of each interface is sent simultaneously to the total interface of the first end;Wherein, described each to connect
The coding mode of the encoded signal of mouth is all different.
Optionally, the processing unit 602, is specifically used for:
By the default line sequence, the encoded signal that each interface arrives in the second port is judged one by one, if with
The corresponding encoded signal sent from the interface of the first port is identical;If the letter that total interface receives in the second end
Number with it is corresponding from the interface of the first end send encoded signal it is identical, it is determined that first signal and it is described second letter
It is number identical.
Optionally, the encoded signal, comprising:
With the pulse signal of period different number or the pulse signal of different cycles.
Optionally, the processing unit 602, is also used to:
When determining first signal and the second signal difference, line sequence error indication signal is exported;
Based on the default line sequence and first signal and the second signal, determines and indicates and connect in the second end
The interface of wrong accidentally, and corresponding correct interface is indicated for the interface of the connection error;
After determining that the line sequence of the connecting line to be detected is correct, the correct indication signal of line sequence is exported.
Optionally, the processing unit 602, is also used to:
Judge each encoded signal and the second signal pair in first signal one by one according to the default line sequence
Answer the encoded signal of position whether identical;
If it is different, the interface for then determining corresponding position described in the second end is the interface of the connection error, and lead to
Cross the interface that wrong interface instruction information indicates the connection error.
Optionally, the processing unit 602, is also used to:
The identical encoded signal of lookup encoded signal corresponding with the interface of the connection error from first signal,
Obtain the corresponding interface of the identical encoded signal;
Based on the corresponding interface of the identical encoded signal, the corresponding core wire of interface for connecting the connection error is determined
Correct interface in the second end;Identify the correct interface.
Based on the same inventive concept, a kind of for detecting the device of connecting line line sequence, packet is provided in the embodiment of the present invention
It includes: at least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, the method for executing detection connecting line line sequence as described above.
Based on the same inventive concept, the embodiment of the present invention also mentions a kind of computer readable storage medium, comprising:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers
When, so that the method that computer executes detection connecting line line sequence as described above.
Embodiment provided by the invention is sent to the first end of connecting line to be detected by elder generation and is pressed by different encoded signals
First signal of default line sequence composition, then press default line sequence in the second end opposite from the first end of connecting line and receive by different
The second signal that encoded signal is constituted, finally by directly judge the first signal and second signal it is whether identical come quickly determine to
Whether the line sequence for detecting connecting line is correct.So as to effectively improve the line sequence checkability of connecting line.
Further, since all encoded signals in the first signal are using different coding modes, so can
Each interface in first end is distinguished, and then each encoded signal in the first signal can be sent simultaneously in first end and reached
To the purpose for detecting each interface in first end simultaneously, this time for allowing for sending the first signal be can control in shorter model
In enclosing, the corresponding time for receiving second signal can also be controlled in short-range, so can effectively reduce detection connection
The time of line line sequence, to further improve the efficiency of detection connecting line line sequence.
Further, judging whether the first signal is identical as second signal, that is, whether just to determine the line sequence of connecting line
When true, indicate whether the line sequence of connecting line can correctly will test result fast notification to user by indication signal;Also,
When line sequence mistake, the interface of connection error and corresponding correct interface are indicated to user, user can be allowed quickly to correct mistake
Accidentally, it improves work efficiency.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as the production of method, system or computer program
Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more,
The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code
The form of calculation machine program product.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product
Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram
The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating
Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute
For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram
Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (16)
1. a kind of method for detecting connecting line line sequence characterized by comprising
The first signal is sent to the first end of connecting line to be detected;Wherein, first signal be by different encoded signals by
Default line sequence composition, the quantity of the encoded signal is identical as the interface quantity of the first end, and an interface is one corresponding
Encoded signal;
The different encoded signal is received by the default line sequence from the second end of the connecting line to be detected, obtains the second letter
Number;
Judge whether first signal and the second signal are identical, if they are the same, it is determined that the line of the connecting line to be detected
Sequence is correct.
2. the method as described in claim 1, which is characterized in that send the first signal, packet to the first end of connecting line to be detected
It includes:
The corresponding encoded signal of each interface is sent simultaneously to the total interface of the first end;Wherein, each interface
The coding mode of encoded signal is all different.
3. method according to claim 2, which is characterized in that judge first signal and the second signal whether phase
Together, comprising:
By the default line sequence, judge the encoded signal that each interface arrives in the second port one by one, if with it is corresponding
From the interface of the first port send encoded signal it is identical;If the signal that total interface receives in the second end with
The corresponding encoded signal sent from the interface of the first end is identical, it is determined that first signal and the second signal phase
Together.
4. the method as described in any claim of claim 1-3, which is characterized in that the encoded signal, comprising:
With the pulse signal of period different number or the pulse signal of different cycles.
5. method as claimed in claim 4, which is characterized in that judge whether first signal and the second signal are identical
Later, further includes:
When determining first signal and the second signal difference, line sequence error indication signal is exported;
Based on the default line sequence and first signal and the second signal, determines and indicates and connect mistake in the second end
Interface accidentally, and corresponding correct interface is indicated for the interface of the connection error;
After determining that the line sequence of the connecting line to be detected is correct, the correct indication signal of line sequence is exported.
6. method as claimed in claim 5, which is characterized in that based on the default line sequence and first signal and described the
Binary signal determines and indicates the interface of connection error in the second end, comprising:
Judge each encoded signal position corresponding with the second signal in first signal one by one according to the default line sequence
Whether the encoded signal set is identical;
If it is different, the interface for then determining corresponding position described in the second end is the interface of the connection error, and pass through mistake
Misconnection mouth instruction information indicates the interface of the connection error.
7. method as claimed in claim 6, which is characterized in that corresponding correctly connect for the interface mark of the connection error
Mouthful, comprising:
The identical encoded signal of lookup encoded signal corresponding with the interface of the connection error, obtains from first signal
The corresponding interface of the identical encoded signal;
Based on the corresponding interface of the identical encoded signal, determine the corresponding core wire of interface for connecting the connection error in institute
State the correct interface in second end;Identify the correct interface.
8. a kind of device for detecting connecting line line sequence characterized by comprising
Transmission unit, for sending the first signal to the first end of connecting line to be detected;Wherein, first signal is by difference
Encoded signal press default line sequence composition, the quantity of the encoded signal is identical as the interface quantity of the first end, one
Interface corresponds to an encoded signal;
Receiving unit receives the different coding by the default line sequence for the second end from the connecting line to be detected and believes
Number, obtain second signal;
Processing unit, for judging whether first signal and the second signal are identical, if they are the same, it is determined that described to be checked
The line sequence for surveying connecting line is correct.
9. device as claimed in claim 8, which is characterized in that the transmission unit is specifically used for:
The corresponding encoded signal of each interface is sent simultaneously to the total interface of the first end;Wherein, each interface
The coding mode of encoded signal is all different.
10. device as claimed in claim 9, which is characterized in that the processing unit is specifically used for:
By the default line sequence, judge the encoded signal that each interface arrives in the second port one by one, if with it is corresponding
From the interface of the first port send encoded signal it is identical;If the signal that total interface receives in the second end with
The corresponding encoded signal sent from the interface of the first end is identical, it is determined that first signal and the second signal phase
Together.
11. the device as described in any claim of claim 8-10, which is characterized in that the encoded signal, comprising:
With the pulse signal of period different number or the pulse signal of different cycles.
12. device as claimed in claim 11, which is characterized in that the processing unit is also used to:
When determining first signal and the second signal difference, line sequence error indication signal is exported;
Based on the default line sequence and first signal and the second signal, determines and indicates and connect mistake in the second end
Interface accidentally, and corresponding correct interface is indicated for the interface of the connection error;
After determining that the line sequence of the connecting line to be detected is correct, the correct indication signal of line sequence is exported.
13. device as claimed in claim 12, which is characterized in that the processing unit is also used to:
Judge each encoded signal position corresponding with the second signal in first signal one by one according to the default line sequence
Whether the encoded signal set is identical;
If it is different, the interface for then determining corresponding position described in the second end is the interface of the connection error, and pass through mistake
Misconnection mouth instruction information indicates the interface of the connection error.
14. device as claimed in claim 13, which is characterized in that the processing unit is also used to:
The identical encoded signal of lookup encoded signal corresponding with the interface of the connection error, obtains from first signal
The corresponding interface of the identical encoded signal;
Based on the corresponding interface of the identical encoded signal, determine the corresponding core wire of interface for connecting the connection error in institute
State the correct interface in second end;Identify the correct interface.
15. a kind of device of detection connection line sequence characterized by comprising
At least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor
By executing the instruction of the memory storage, the method according to claim 1 to 7 is executed.
16. a kind of computer readable storage medium, it is characterised in that:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers,
So that computer executes such as method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595895.6A CN109116177A (en) | 2018-06-11 | 2018-06-11 | Method and device for detecting line sequence of connecting line and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595895.6A CN109116177A (en) | 2018-06-11 | 2018-06-11 | Method and device for detecting line sequence of connecting line and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109116177A true CN109116177A (en) | 2019-01-01 |
Family
ID=64822967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810595895.6A Pending CN109116177A (en) | 2018-06-11 | 2018-06-11 | Method and device for detecting line sequence of connecting line and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109116177A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110095690A (en) * | 2019-05-20 | 2019-08-06 | 一汽-大众汽车有限公司 | A kind of mold cable detecting device and detection method |
CN110113225A (en) * | 2019-03-29 | 2019-08-09 | 武汉市纵享联合科技有限公司 | A kind of network test real training instrument |
CN110988741A (en) * | 2019-12-20 | 2020-04-10 | 深圳海致洋科技有限公司 | Full-automatic line inspection method and full-automatic line inspection instrument |
CN111948579A (en) * | 2019-04-29 | 2020-11-17 | 深圳市优必选科技有限公司 | Detection method and detection system for terminal connecting wire |
CN112834964A (en) * | 2020-12-30 | 2021-05-25 | 京信射频技术(广州)有限公司 | Method, device and equipment for detecting wiring sequence of self-adaptive combiner |
CN113110167A (en) * | 2021-04-13 | 2021-07-13 | 东莞市上能光电科技有限公司 | Receiving end and control end electric appliance control method |
CN114858211A (en) * | 2022-04-20 | 2022-08-05 | 常州工业职业技术学院 | Wiring harness arrangement safety detection system, equipment and medium |
CN115903707A (en) * | 2022-12-01 | 2023-04-04 | 苏州连讯电子有限公司 | Connecting line production optimization method and system based on station monitoring |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002257890A (en) * | 2001-03-06 | 2002-09-11 | Mitsubishi Electric Corp | Non-disconnection cable checking device and checking method |
EP1533622A1 (en) * | 2003-11-18 | 2005-05-25 | Alcatel Alsthom Compagnie Generale D'electricite | Method for detecting short circuit between conductors |
CN1776440A (en) * | 2005-12-13 | 2006-05-24 | 北京潞电电气设备厂 | Wiring identifying device and method |
CN2898844Y (en) * | 2006-04-29 | 2007-05-09 | 比亚迪股份有限公司 | Electric cable signal identifier |
CN101042420A (en) * | 2007-04-24 | 2007-09-26 | 华为技术有限公司 | Method, system and device for line detection |
CN101290338A (en) * | 2007-04-20 | 2008-10-22 | 株式会社东芝 | Test system and test method for control cable |
CN101458290A (en) * | 2008-12-31 | 2009-06-17 | 江苏省电力公司苏州供电公司 | Multi-core cable sequence measuring method based on frequency modulation digital code and apparatus thereof |
CN202256567U (en) * | 2011-10-17 | 2012-05-30 | 谷守臣 | Testing device for communication power cable |
CN103454548A (en) * | 2013-08-28 | 2013-12-18 | 北京无线电计量测试研究所 | Digital line sequence collator based on programmable logic chip |
CN104764973A (en) * | 2015-04-03 | 2015-07-08 | 苏州经贸职业技术学院 | Induction type wiring harness detection system and method |
CN106199321A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | Connecting wire sequence detection device |
CN107357196A (en) * | 2017-06-15 | 2017-11-17 | 珠海格力电器股份有限公司 | Wire identification method and device |
-
2018
- 2018-06-11 CN CN201810595895.6A patent/CN109116177A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002257890A (en) * | 2001-03-06 | 2002-09-11 | Mitsubishi Electric Corp | Non-disconnection cable checking device and checking method |
EP1533622A1 (en) * | 2003-11-18 | 2005-05-25 | Alcatel Alsthom Compagnie Generale D'electricite | Method for detecting short circuit between conductors |
CN1776440A (en) * | 2005-12-13 | 2006-05-24 | 北京潞电电气设备厂 | Wiring identifying device and method |
CN2898844Y (en) * | 2006-04-29 | 2007-05-09 | 比亚迪股份有限公司 | Electric cable signal identifier |
CN101290338A (en) * | 2007-04-20 | 2008-10-22 | 株式会社东芝 | Test system and test method for control cable |
CN101042420A (en) * | 2007-04-24 | 2007-09-26 | 华为技术有限公司 | Method, system and device for line detection |
CN101458290A (en) * | 2008-12-31 | 2009-06-17 | 江苏省电力公司苏州供电公司 | Multi-core cable sequence measuring method based on frequency modulation digital code and apparatus thereof |
CN202256567U (en) * | 2011-10-17 | 2012-05-30 | 谷守臣 | Testing device for communication power cable |
CN103454548A (en) * | 2013-08-28 | 2013-12-18 | 北京无线电计量测试研究所 | Digital line sequence collator based on programmable logic chip |
CN104764973A (en) * | 2015-04-03 | 2015-07-08 | 苏州经贸职业技术学院 | Induction type wiring harness detection system and method |
CN106199321A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | Connecting wire sequence detection device |
CN107357196A (en) * | 2017-06-15 | 2017-11-17 | 珠海格力电器股份有限公司 | Wire identification method and device |
Non-Patent Citations (1)
Title |
---|
霍兰: "基于单片机的新型感应式网(缆)线束精测仪", 《轻工技术》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113225A (en) * | 2019-03-29 | 2019-08-09 | 武汉市纵享联合科技有限公司 | A kind of network test real training instrument |
CN111948579A (en) * | 2019-04-29 | 2020-11-17 | 深圳市优必选科技有限公司 | Detection method and detection system for terminal connecting wire |
CN110095690A (en) * | 2019-05-20 | 2019-08-06 | 一汽-大众汽车有限公司 | A kind of mold cable detecting device and detection method |
CN110988741A (en) * | 2019-12-20 | 2020-04-10 | 深圳海致洋科技有限公司 | Full-automatic line inspection method and full-automatic line inspection instrument |
CN112834964A (en) * | 2020-12-30 | 2021-05-25 | 京信射频技术(广州)有限公司 | Method, device and equipment for detecting wiring sequence of self-adaptive combiner |
CN112834964B (en) * | 2020-12-30 | 2023-05-26 | 京信射频技术(广州)有限公司 | Detection method, device and equipment for wiring line sequence of self-adaptive combiner |
CN113110167A (en) * | 2021-04-13 | 2021-07-13 | 东莞市上能光电科技有限公司 | Receiving end and control end electric appliance control method |
CN113110167B (en) * | 2021-04-13 | 2022-08-12 | 东莞市上能光电科技有限公司 | Receiving end and control end electric appliance control method |
CN114858211A (en) * | 2022-04-20 | 2022-08-05 | 常州工业职业技术学院 | Wiring harness arrangement safety detection system, equipment and medium |
CN115903707A (en) * | 2022-12-01 | 2023-04-04 | 苏州连讯电子有限公司 | Connecting line production optimization method and system based on station monitoring |
CN115903707B (en) * | 2022-12-01 | 2024-02-06 | 苏州连讯电子有限公司 | Connecting wire production optimization method and system based on station monitoring |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109116177A (en) | Method and device for detecting line sequence of connecting line and computer storage medium | |
CN109781179B (en) | Multi-channel multi-parameter sensor detection system and detection method thereof | |
JP2008546116A (en) | Multiprotocol field device interface with automatic bus detection | |
CN203673003U (en) | Multi-core cable automatic tester | |
WO2014082275A1 (en) | Method and apparatus for detecting cable connection condition | |
CN100530848C (en) | Connector apparatus with counting function | |
CN105093096B (en) | A kind of FPGA test device | |
CN110109043A (en) | Electric energy meter detection method, detection terminal and computer readable storage medium | |
JP2015001488A (en) | Method for checking electrical continuity and device for checking electrical continuity | |
CN101963641B (en) | Conductor bundle detection system | |
CN111505531B (en) | Board card test system | |
CN203688599U (en) | Four-wire test fixture | |
CN205898948U (en) | Connecting wire sequence detection device | |
CN106501705A (en) | Traction integrated system protection CPU board automatic checkout system and its detection method | |
CN109426598A (en) | A kind of hard disk state indicator lamp control method and device | |
CN210119553U (en) | Detection apparatus for whether short circuit exists between each pin of DB plug | |
CN201527458U (en) | Conductor bundle detecting device | |
CN104122481B (en) | Multifunctional cable detection device | |
CN207730842U (en) | A kind of cable line sequence detection device | |
CN103235228B (en) | Method for testing cable line sequences rapidly and accurately | |
CN209070047U (en) | Computer network twisted pair wire size analyzer and system | |
CN107128776A (en) | Elevator cable detection device | |
CN203849355U (en) | Car main cable detection device | |
CN111398887A (en) | Multi-epitope FCT function detection method and system for intelligent electric meter | |
CN203249938U (en) | Communication circuit of electrical measuring meters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190101 |