A twisted pair wire sequence standard switching method, device, equipment and medium

By determining the twisted pair wiring standard and controlling the line selection switch to switch the wiring standard, the problem of high cost and low efficiency in the existing technology that requires replacing cables is solved. It achieves efficient switching of wiring standards without replacing cables and is applicable to all products.

CN117294354BActive Publication Date: 2026-11-06INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311254776.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2026-11-06
Estimated Expiration
2043-09-26

AI Technical Summary

Technical Problem

In existing technologies, switching twisted-pair wiring standards requires replacing cables, which increases costs and reduces efficiency. Furthermore, the automatic flip-flop function of some switch products cannot cover all products, making it impractical.

Method used

By determining the line sequence standard corresponding to the target input signal and controlling the target line selection switch to select the corresponding signal output line according to the switching requirements, the line sequence standard can be switched, including determining whether it is necessary to switch from the first line sequence standard to the second line sequence standard, or to keep the existing line sequence standard unchanged.

Benefits of technology

It enables switching of wiring standards without replacing cables, reducing switching costs, improving switching efficiency, and covering all products, making it highly practical.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117294354B_ABST
    Figure CN117294354B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and medium for switching twisted-pair wiring standards, relating to the field of network communication technology. The method includes: determining a first wiring standard corresponding to a target input signal, and judging whether switching the first wiring standard is necessary during the signal output stage based on switching requirements; if necessary, controlling a target line selection switch to select a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line; if not necessary, controlling the target line selection switch to select a first signal output line based on the first wiring standard, so as to maintain the wiring standard corresponding to the output signal consistent with the first wiring standard corresponding to the target input signal through the first signal output line, thereby obtaining a second target output signal. This application can switch wiring standards without switching cables, saving costs and improving efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network communication technology, and in particular to a method, apparatus, device, and medium for switching twisted-pair wiring standards. Background Technology

[0002] Network communication relies on the transmission of data through various cables and optical fibers. Among them, Category 5 and Category 6 twisted-pair cables are widely used. These two types of twisted-pair cables are formed by combining eight different colored wires in pairs. Usually, as long as both ends are fixed in a fixed order, communication is possible. Initially, there was no fixed standard. It wasn't until 1985 that the China Communications Industry Association (CCIA) proposed to standardize the cabling system. In 1991, the American Association of the Electronics Industries (EIA) and the Telecommunications Industry Association (TIA) specified the 568A and 568B wiring standards.

[0003] Based on these two wiring schemes, the concepts of crossover cables and straight-through cables emerged. A crossover cable has one end following the 568A wiring standard and the other end following the 568B wiring standard. Crossover cables are generally used for communication between similar devices. A straight-through cable, on the other hand, uses either the 568A or 568B wiring standard at both ends. In real-world network environments, switching wiring standards is necessary to select between straight-through and crossover cables, but this often requires replacing the cable, increasing the cost and reducing efficiency of wiring standard switching. Furthermore, some switch products use an "automatic network port reversal function" to adjust wiring standards, but this doesn't cover all products and is not very practical.

[0004] Therefore, there is an urgent need for a method to switch line sequence standards that can solve the above problems. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a method, apparatus, device, and medium for switching twisted-pair wiring standards, which can realize the switching of wiring standards, reduce switching costs, improve switching efficiency, and cover all products. The specific solution is as follows:

[0006] In a first aspect, this application discloses a method for switching twisted-pair wiring standards, including:

[0007] Determine the first line sequence standard corresponding to the target input signal, and determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements;

[0008] If it is determined that the first line sequence standard needs to be switched, the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0009] If it is determined that there is no need to switch the first line sequence standard, the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal.

[0010] Optionally, before determining the first line sequence standard corresponding to the target input signal, the method further includes:

[0011] The target input signal is obtained by acquiring the signal output by the first device through the first twisted pair interface;

[0012] Accordingly, after obtaining the first target output signal or the second target output signal, the method further includes:

[0013] The first target output signal or the second target output signal is output to the second device through the second twisted pair interface.

[0014] Optionally, the first twisted-pair interface includes any one or a combination of twisted-pair RJ45 connectors and twisted-pair connectors, and the second twisted-pair interface includes any one or a combination of twisted-pair RJ45 connectors and twisted-pair connectors.

[0015] Optionally, before determining whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements, the method further includes:

[0016] Determine the device types of the first device and the second device;

[0017] The current switching requirement is determined based on the device types of the first device and the second device.

[0018] Optionally, determining the current switching requirement based on the device types of the first device and the second device includes:

[0019] If the first device and the second device are of the same type, then the current switching requirement is determined to be a need to switch the first line sequence standard;

[0020] If the first device and the second device are of different device types, then the current switching requirement is determined to be that no switching of the first line sequence standard is required.

[0021] Optionally, before determining the first line sequence standard corresponding to the target input signal and judging whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements, the method further includes:

[0022] Determine the wiring order of each cable corresponding to the target wiring standard;

[0023] Keeping the wiring order of each cable unchanged, the first signal output line is constructed based on the current wiring order;

[0024] Based on the wiring order, several target cables are determined from the various cables, and the wiring order of the several target cables is adjusted to construct the second signal output line based on the adjusted wiring order;

[0025] The first signal output line and the second signal output line are integrated into the target line selection switch, and a corresponding line selection button is added to the target line selection switch;

[0026] Accordingly, the control target line selection switch selects a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line, including:

[0027] The switching line selection button on the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line;

[0028] Accordingly, controlling the target line selection switch to select a first signal output line based on the first line sequence standard, so as to maintain the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal, includes:

[0029] The switching line selection button on the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and thus obtain the corresponding second target output signal.

[0030] Optionally, both the first twisted-pair interface and the second twisted-pair interface support signal input and output functions.

[0031] Secondly, this application discloses a twisted-pair wiring sequence standard switching device, comprising:

[0032] The switching judgment module is used to determine the first line sequence standard corresponding to the target input signal, and to determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements.

[0033] The first switching module is used to control the target line selection switch to select the second signal output line based on the second line sequence standard if it is determined that the first line sequence standard needs to be switched, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0034] The second switching module is used to control the target line selection switch to select the first signal output line based on the first line sequence standard if it is determined that there is no need to switch the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal.

[0035] Thirdly, this application discloses an electronic device, including:

[0036] Memory, used to store computer programs;

[0037] A processor is used to execute the computer program to implement the aforementioned method for switching twisted-pair wiring standards.

[0038] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned twisted-pair wiring standard switching method.

[0039] As can be seen, this application proposes a method for switching twisted-pair wiring standards, including: determining a first wiring standard corresponding to a target input signal, and judging whether the first wiring standard needs to be switched during the signal output stage based on the current switching requirements; if it is determined that the first wiring standard needs to be switched, then controlling the target line selection switch to select a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line; if it is determined that the first wiring standard does not need to be switched, then controlling the target line selection switch to select a first signal output line based on the first wiring standard, so as to keep the wiring standard corresponding to the output signal consistent with the first wiring standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal. In summary, this application first determines the first wiring standard corresponding to the target input signal, then judges whether the first wiring standard needs to be switched based on the current switching requirements, and if so, controls the target line selection switch to select a second signal output line based on the second wiring standard to achieve the switching of the first wiring standard. Furthermore, if not needed, the target line selection switch is controlled to select the first signal output line based on the first wiring standard, so as to keep the first wiring standard corresponding to the output signal unchanged. In other words, this application achieves wiring standard switching without replacing the cable based on the target line selection switch. In this way, this application reduces the switching cost of switching wiring standards that requires replacing the cable and improves the switching efficiency accordingly. At the same time, this application can cover all products and has strong practicality. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0041] Figure 1 This application discloses a flowchart of a method for switching twisted-pair wiring standards.

[0042] Figure 2 This is a schematic diagram showing the wiring sequence of a 568A wiring standard and a 568B wiring standard.

[0043] Figure 3 This application discloses a flowchart of a specific method for switching twisted-pair wiring standards.

[0044] Figure 4This is a flowchart of another specific twisted-pair wiring standard switching method disclosed in this application;

[0045] Figure 5 This is a schematic diagram illustrating the reversibility of input and output signals disclosed in this application;

[0046] Figure 6 This is a schematic diagram of a twisted-pair wiring sequence standard switching device disclosed in this application;

[0047] Figure 7 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] In real-world network environments, switching between straight-through and crossover cables requires changing the wiring standard. However, this often necessitates replacing the cable itself, increasing the cost and reducing efficiency of wiring standard switching. Furthermore, while some switch products use an "auto-reverse network port function" to adjust wiring standards, this doesn't cover all products and is not very practical.

[0050] Therefore, this application proposes a twisted-pair wiring standard switching scheme, which can realize the switching of wiring standards, reduce switching costs, improve switching efficiency, and cover all products.

[0051] This application discloses a method for switching twisted-pair wiring standards. See also Figure 1 As shown, the method includes:

[0052] Step S11: Determine the first line sequence standard corresponding to the target input signal, and determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements.

[0053] In this embodiment, the signal output by the first device is obtained through the first twisted-pair interface to obtain the target input signal. Further, after this embodiment is completed, the output signal is output to the second device through the second twisted-pair interface to complete signal transmission. The first and second twisted-pair interfaces are RJ45 (Registered Jack 45) interfaces. The RJ45 interface includes any one or a combination of twisted-pair connectors and twisted-pair wire connectors. That is, the first and second twisted-pair interfaces can be twisted-pair connectors, twisted-pair wire connectors, or a combination of both, providing users with a wide range of choices. The first and second devices can be switches, hubs, hosts, etc., which will not be specifically described here.

[0054] Furthermore, the first line sequence standard corresponding to the target input signal is determined. This first line sequence standard can be either the 568A standard or the 568B standard. For details, please refer to [link / reference needed]. Figure 2 As shown, the 568A standard refers to cables arranged in the following color sequence: green-white-1, green-2, orange-white-3, blue-4, blue-white-5, orange-6, brown-white-7, brown-8. The 568B standard refers to cables arranged in the following color sequence: orange-white-1, orange-2, green-white-3, blue-4, blue-white-5, green-6, brown-white-7, brown-8.

[0055] Then, based on the current switching requirements, it is determined whether switching the first wiring standard is necessary during the signal output stage. Specifically, the current switching requirements include whether switching the first wiring standard is currently necessary or not. It is understood that since devices of the same type communicate via crossover cables and devices of different types communicate via straight-through cables, this embodiment, in determining the current switching requirements, first determines the device types of the first device and the second device, and then determines the current switching requirements based on the device types of the first device and the second device. Specifically, if the first device and the second device have the same device type, then the current switching requirement is determined to be switching the first wiring standard; if the first device and the second device have different device types, then the current switching requirement is determined to be not switching the first wiring standard.

[0056] Step S12: If it is determined that the first line sequence standard needs to be switched, the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0057] In this embodiment, if a crossover cable is required for communication, it indicates a need to switch the first wiring standard. The target line selection switch is then controlled to select a second signal output line based on a second wiring standard. This second signal output line converts the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard. The target line selection switch provides both signal output lines based on the 568A and 568B standards. Further, if the first wiring standard is 568A and a crossover cable is required for communication, the target line selection switch selects the second signal output line corresponding to the second wiring standard, i.e., the 568B standard. This second signal output line converts the target input signal based on the 568A standard into a first target output signal based on the 568B standard.

[0058] Step S13: If it is determined that there is no need to switch the first line sequence standard, then control the target line selection switch to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal.

[0059] In this embodiment, if a straight-through line is required for communication, it indicates that switching the first wiring standard is not necessary. The target line selection switch is then controlled to select the first signal output line based on the first wiring standard. This ensures that the wiring standard corresponding to the output signal is consistent with the first wiring standard corresponding to the target input signal, resulting in the corresponding second target output signal. Taking the first wiring standard as 568A as an example, if a straight-through line is required for communication, the target line selection switch selects the first signal output line corresponding to the first wiring standard, i.e., the 568A standard, to obtain the second target output signal.

[0060] As can be seen from the foregoing analysis, after obtaining the first target output signal or the second target output signal, this embodiment will output the first target output signal or the second target output signal to the second device through the second twisted pair interface to complete the signal transmission.

[0061] As can be seen, this application proposes a method for switching twisted-pair wiring standards, including: determining a first wiring standard corresponding to a target input signal, and judging whether the first wiring standard needs to be switched during the signal output stage based on the current switching requirements; if it is determined that the first wiring standard needs to be switched, then controlling the target line selection switch to select a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line; if it is determined that the first wiring standard does not need to be switched, then controlling the target line selection switch to select a first signal output line based on the first wiring standard, so as to keep the wiring standard corresponding to the output signal consistent with the first wiring standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal. In summary, this application first determines the first wiring standard corresponding to the target input signal, then judges whether the first wiring standard needs to be switched based on the current switching requirements, and if so, controls the target line selection switch to select a second signal output line based on the second wiring standard to achieve the switching of the first wiring standard. Furthermore, if not needed, the target line selection switch is controlled to select the first signal output line based on the first wiring standard, so as to keep the first wiring standard corresponding to the output signal unchanged. In other words, this application achieves wiring standard switching without replacing the cable based on the target line selection switch. In this way, this application reduces the switching cost of switching wiring standards that requires replacing the cable and improves the switching efficiency accordingly. At the same time, this application can cover all products and has strong practicality.

[0062] In Ethernet communication, the difference between the 568A and 568B standards lies in the wiring order of the four cables: orange-white, orange, green-white, and green. The wiring order of the other four cables is the same. Therefore, switching the wiring order of these four cables achieves the purpose of switching the wiring standard. In other words, whether communication is conducted with a straight-through cable or a crossover cable, it essentially involves changing the wiring order of these four cables.

[0063] Based on this, this application discloses a specific method for switching twisted-pair wiring sequence standards. Compared to the previous embodiment, this embodiment further explains and optimizes the construction of the target line selection switch. See also Figure 3 As shown, it specifically includes:

[0064] Step S21: Determine the wiring order of each cable corresponding to the target wiring standard.

[0065] In this embodiment, the wiring order of each cable corresponding to the target wiring standard is first determined. The target wiring standard can be either the 568A standard or the 568B standard. Since the 568B standard has better electromagnetic interference resistance than the 568A standard, it is widely used. Therefore, this embodiment takes the 568B standard as the target wiring standard for specific explanation. It should be noted that the wiring order of each cable corresponding to the 568B standard is shown in the aforementioned disclosed embodiment, and will not be described in detail here.

[0066] Step S22: Keep the wiring order of each cable unchanged, and construct the first signal output line based on the current wiring order.

[0067] See Figure 4 As shown on the right, the first signal output line corresponding to the B interface ensures that the wiring sequence standard of the output signal is consistent with that of the input signal. In this embodiment, both are 568B standard. That is, the wiring order of the first signal output line corresponding to the B interface does not change.

[0068] Step S23: Determine several target cables from the various cables according to the wiring order, and adjust the wiring order of the several target cables to construct the second signal output line based on the adjusted wiring order.

[0069] See Figure 4 As shown on the left, the second output signal line corresponding to interface A changes the wiring standard of the input signal. In this embodiment, the 568B standard is switched to the 568A standard. That is, the wiring order of the four cables—orange-white, orange, green-white, and green—of the second signal output line corresponding to interface A changes, thereby achieving the purpose of switching the wiring standard.

[0070] Step S24: Integrate the first signal output line and the second signal output line into the target line selection switch, and add a corresponding line selection button to the target line selection switch.

[0071] In this embodiment, after obtaining the first signal output line and the second signal output line, the first signal output line and the second signal output line are integrated into the target line selection switch, and then a corresponding line selection button is added to the target line selection switch. See [link to documentation]. Figure 4 As shown.

[0072] In this way, if a crossover cable is required for communication, that is, if the wiring standard needs to be switched, the switching line selection button on the target line selection switch is controlled to select the second signal output line corresponding to the A interface, so as to convert the input signal based on the 568B standard into the output signal based on the 568A standard through the second signal output line.

[0073] If a straight-through line is required for communication, that is, if the wiring standard does not need to be switched, the switching line selection button on the target line selection switch is controlled to select the first signal output line corresponding to the B interface, so as to keep the wiring standard corresponding to the output signal consistent with the wiring standard corresponding to the input signal, that is, the 568B standard, through the first signal output line, and obtain the corresponding target output signal.

[0074] Further, see Figure 5 As shown, the input and output terminals in this application are not fixed and support reverse conversion. That is to say, the first twisted pair interface and the second twisted pair interface mentioned above both support signal input and output functions. Each interface can be used to receive input signals and output signals. Each interface can be either the 568A wiring standard or the 568B wiring standard.

[0075] In summary, this application allows for switching the output signal wiring standard without changing cables, providing more options for building underlying Ethernet environments. It reduces the switching costs associated with changing wiring standards by replacing cables and improves switching efficiency. Furthermore, this application covers all products, making it highly practical. Moreover, the twisted-pair wiring standard switching method described in this application can be applied to domestic platforms. Further, based on wiring standard switching, this application can be extended to become a signal repeater, extending the transmission distance.

[0076] Accordingly, this application also discloses a twisted-pair wiring standard switching device, see [link to relevant documentation]. Figure 6 As shown, the device includes:

[0077] The switching judgment module 11 is used to determine the first line sequence standard corresponding to the target input signal, and to determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements.

[0078] The first switching module 12 is used to control the target line selection switch to select the second signal output line based on the second line sequence standard if it is determined that the first line sequence standard needs to be switched, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0079] The second switching module 13 is used to control the target line selection switch to select the first signal output line based on the first line sequence standard if it is determined that the first line sequence standard does not need to be switched, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal.

[0080] For more detailed information on the working process of each of the above modules, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0081] As can be seen, this application proposes a method for switching twisted-pair wiring standards, including: determining a first wiring standard corresponding to a target input signal, and judging whether the first wiring standard needs to be switched during the signal output stage based on the current switching requirements; if it is determined that the first wiring standard needs to be switched, then controlling the target line selection switch to select a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line; if it is determined that the first wiring standard does not need to be switched, then controlling the target line selection switch to select a first signal output line based on the first wiring standard, so as to keep the wiring standard corresponding to the output signal consistent with the first wiring standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal. In summary, this application first determines the first wiring standard corresponding to the target input signal, then judges whether the first wiring standard needs to be switched based on the current switching requirements, and if so, controls the target line selection switch to select a second signal output line based on the second wiring standard to achieve the switching of the first wiring standard. Furthermore, if not needed, the target line selection switch is controlled to select the first signal output line based on the first wiring standard, so as to keep the first wiring standard corresponding to the output signal unchanged. In other words, this application achieves wiring standard switching without replacing the cable based on the target line selection switch. In this way, this application reduces the switching cost of switching wiring standards that requires replacing the cable and improves the switching efficiency accordingly. At the same time, this application can cover all products and has strong practicality.

[0082] In some specific embodiments, before the switching determination module 11, the following may further be included:

[0083] A target input signal determination unit is used to obtain the signal output by the first device through a first twisted-pair interface to obtain the target input signal;

[0084] Accordingly, after the first switching module 12 or the second switching module 13, the module may further include:

[0085] The signal output unit is used to output the first target output signal or the second target output signal to the second device through the second twisted pair interface.

[0086] In some specific embodiments, the first twisted-pair interface includes any one or a combination of twisted-pair RJ45 connectors and twisted-pair connectors, and the second twisted-pair interface includes any one or a combination of the twisted-pair RJ45 connectors and twisted-pair connectors.

[0087] In some specific embodiments, before the switching determination module 11, the following may further be included:

[0088] A device type determination unit is used to determine the device types of the first device and the second device;

[0089] The current handover requirement determination unit is used to determine the current handover requirement based on the device types of the first device and the second device.

[0090] In some specific embodiments, the current switching demand determination unit may be used for:

[0091] If the first device and the second device are of the same type, then the current switching requirement is determined to be a need to switch the first line sequence standard;

[0092] If the first device and the second device are of different device types, then the current switching requirement is determined to be that no switching of the first line sequence standard is required.

[0093] In some specific embodiments, before the switching determination module 11, the following may further be included:

[0094] The cable routing sequence determination unit is used to determine the routing sequence of each cable corresponding to the target cable routing standard.

[0095] The first signal output line construction unit is used to maintain the wiring order of each cable unchanged in order to construct the first signal output line based on the current wiring order;

[0096] The second signal output line construction unit is used to determine a number of target cables from the various cables according to the wiring order, and to adjust the wiring order of the number of target cables to construct the second signal output line based on the adjusted wiring order.

[0097] An output line integration unit is used to integrate the first signal output line and the second signal output line into the target line selection switch, and to add a corresponding switching line selection button to the target line selection switch.

[0098] Accordingly, the first switching module 12 may specifically include:

[0099] The first switching unit is used to control the switching line selection button on the target line selection switch to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0100] Accordingly, the second switching module 13 may specifically include:

[0101] The second switching unit is used to control the switching line selection button on the target line selection switch to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, so as to obtain the corresponding second target output signal.

[0102] In some specific embodiments, both the first twisted-pair interface and the second twisted-pair interface support signal input and output functions.

[0103] Furthermore, embodiments of this application also provide an electronic device. Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.

[0104] Figure 7 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the following steps:

[0105] Determine the first line sequence standard corresponding to the target input signal, and determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements;

[0106] If it is determined that the first line sequence standard needs to be switched, the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line.

[0107] If it is determined that there is no need to switch the first line sequence standard, the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal.

[0108] In some specific embodiments, the processor may further perform the following steps by executing a computer program stored in the memory:

[0109] The target input signal is obtained by acquiring the signal output by the first device through the first twisted pair interface;

[0110] Accordingly, after obtaining the first target output signal or the second target output signal, the method further includes:

[0111] The first target output signal or the second target output signal is output to the second device through the second twisted pair interface.

[0112] In some specific embodiments, the processor executes a computer program stored in the memory, specifically implementing the following steps:

[0113] The first twisted-pair interface includes any one or a combination of twisted-pair RJ45 connectors and twisted-pair connectors, and the second twisted-pair interface includes any one or a combination of the twisted-pair RJ45 connectors and twisted-pair connectors.

[0114] In some specific embodiments, the processor may further perform the following steps by executing a computer program stored in the memory:

[0115] Determine the device types of the first device and the second device;

[0116] The current switching requirement is determined based on the device types of the first device and the second device.

[0117] In some specific embodiments, the processor executes a computer program stored in the memory, specifically implementing the following steps:

[0118] If the first device and the second device are of the same type, then the current switching requirement is determined to be a need to switch the first line sequence standard;

[0119] If the first device and the second device are of different device types, then the current switching requirement is determined to be that no switching of the first line sequence standard is required.

[0120] In some specific embodiments, the processor may further perform the following steps by executing a computer program stored in the memory:

[0121] Determine the wiring order of each cable corresponding to the target wiring standard;

[0122] Keeping the wiring order of each cable unchanged, the first signal output line is constructed based on the current wiring order;

[0123] Based on the wiring order, several target cables are determined from the various cables, and the wiring order of the several target cables is adjusted to construct the second signal output line based on the adjusted wiring order;

[0124] The first signal output line and the second signal output line are integrated into the target line selection switch, and a corresponding line selection button is added to the target line selection switch;

[0125] Accordingly, the control target line selection switch selects a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line, including:

[0126] The switching line selection button on the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line;

[0127] Accordingly, controlling the target line selection switch to select a first signal output line based on the first line sequence standard, so as to maintain the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal, includes:

[0128] The switching line selection button on the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and thus obtain the corresponding second target output signal.

[0129] In some specific embodiments, the processor executes a computer program stored in the memory, specifically implementing the following steps:

[0130] Both the first twisted-pair interface and the second twisted-pair interface support signal input and output functions.

[0131] In addition, the electronic device 20 in this embodiment can specifically be an electronic computer.

[0132] In this embodiment, the power supply 26 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 24 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0133] Furthermore, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored thereon may include computer programs 221, and the storage method may be temporary storage or permanent storage. The computer programs 221 may include, in addition to computer programs capable of performing the twisted-pair wiring standard switching method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, computer programs capable of performing other specific tasks.

[0134] Furthermore, embodiments of this application also disclose a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned twisted-pair wiring standard switching method.

[0135] For the specific steps of this method, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0136] The various embodiments in this application are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. For the same or similar parts between the various embodiments, refer to each other. As for the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and relevant parts can be referred to in the method section.

[0137] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0138] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0139] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0140] The foregoing has provided a detailed description of the twisted-pair wiring standard switching method, apparatus, device, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for switching twisted pair line order standards, characterized by, include: Determine the first line sequence standard corresponding to the target input signal, and determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements; If it is determined that the first line sequence standard needs to be switched, the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line. If it is determined that there is no need to switch the first line sequence standard, the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal. The step of determining the first line sequence standard corresponding to the target input signal and judging whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements further includes: Determine the wiring order of each cable corresponding to the target wiring standard; Keeping the wiring order of each cable unchanged, the first signal output line is constructed based on the current wiring order; Based on the wiring order, several target cables are determined from the various cables, and the wiring order of the several target cables is adjusted to construct the second signal output line based on the adjusted wiring order; The first signal output line and the second signal output line are integrated into the target line selection switch, and a corresponding line selection button is added to the target line selection switch; Accordingly, the control target line selection switch selects a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line, including: The switching line selection button on the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line; Accordingly, controlling the target line selection switch to select a first signal output line based on the first line sequence standard, so as to maintain the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal, includes: The switching line selection button on the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and thus obtain the corresponding second target output signal.

2. The twisted pair line order standard switching method according to claim 1, characterized by, Before determining the first line sequence standard corresponding to the target input signal, the method further includes: The target input signal is obtained by acquiring the signal output by the first device through the first twisted pair interface; Accordingly, after obtaining the first target output signal or the second target output signal, the method further includes: The first target output signal or the second target output signal is output to the second device through the second twisted pair interface.

3. The twisted pair wire order standard switching method according to claim 2, characterized by, The first twisted-pair interface includes any one or a combination of twisted-pair RJ45 connectors and twisted-pair connectors, and the second twisted-pair interface includes any one or a combination of the twisted-pair RJ45 connectors and twisted-pair connectors.

4. The twisted pair wire order standard switching method of claim 2, wherein, Before determining whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements, the method further includes: Determine the device types of the first device and the second device; The current switching requirement is determined based on the device types of the first device and the second device.

5. The twisted pair wire order standard switching method according to claim 4, characterized by, Determining the current switching requirement based on the device types of the first device and the second device includes: If the first device and the second device are of the same type, then the current switching requirement is determined to be a need to switch the first line sequence standard; If the first device and the second device are of different device types, then the current switching requirement is determined to be that no switching of the first line sequence standard is required.

6. The twisted pair wire order standard switching method according to any one of claims 2 to 5, characterized by, Both the first twisted-pair interface and the second twisted-pair interface support signal input and output functions.

7. A twisted pair wire order standard switching device, characterized by, include: The switching judgment module is used to determine the first line sequence standard corresponding to the target input signal, and to determine whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements. The first switching module is used to control the target line selection switch to select the second signal output line based on the second line sequence standard if it is determined that the first line sequence standard needs to be switched, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line. The second switching module is used to control the target line selection switch to select the first signal output line based on the first line sequence standard if it is determined that the first line sequence standard does not need to be switched, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and obtain the corresponding second target output signal. The step of determining the first line sequence standard corresponding to the target input signal and judging whether the first line sequence standard needs to be switched during the signal output stage based on the current switching requirements further includes: Determine the wiring order of each cable corresponding to the target wiring standard; Keeping the wiring order of each cable unchanged, the first signal output line is constructed based on the current wiring order; Based on the wiring order, several target cables are determined from the various cables, and the wiring order of the several target cables is adjusted to construct the second signal output line based on the adjusted wiring order; The first signal output line and the second signal output line are integrated into the target line selection switch, and a corresponding line selection button is added to the target line selection switch; Accordingly, the control target line selection switch selects a second signal output line based on a second wiring standard, so as to convert the target input signal based on the first wiring standard into a first target output signal based on the second wiring standard through the second signal output line, including: The switching line selection button on the target line selection switch is controlled to select the second signal output line based on the second line sequence standard, so as to convert the target input signal based on the first line sequence standard into the first target output signal based on the second line sequence standard through the second signal output line; Accordingly, controlling the target line selection switch to select a first signal output line based on the first line sequence standard, so as to maintain the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, thereby obtaining a corresponding second target output signal, includes: The switching line selection button on the target line selection switch is controlled to select the first signal output line based on the first line sequence standard, so as to keep the line sequence standard corresponding to the output signal consistent with the first line sequence standard corresponding to the target input signal through the first signal output line, and thus obtain the corresponding second target output signal.

8. An electronic device, comprising: include: Memory, used to store computer programs; A processor for executing the computer program to implement the twisted-pair wiring standard switching method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer program is executed by a processor, it implements the twisted-pair wiring standard switching method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Cable processing machine with improved precision mechanism for cable processing

    CN105977873A

  • Novel insulated twisted-pair cable and preparation method thereof

    CN112820446A