Switch circuit and switch
By designing interface units, information aggregation units, power distribution units, power supply units and main control units in the switch, intelligent management of switch power is realized, solving the problem of high power consumption of traditional switches and reducing energy consumption.
Patent Information
- Application Number
- CN202510184254.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-05-23
AI Technical Summary
When traditional switches process large amounts of data packets, they consume a lot of power resources, resulting in increasingly prominent energy consumption problems.
A switch circuit is designed, including an interface unit, an information aggregation unit, a power distribution unit, a power supply unit and a main control unit. The main control unit adjusts the power distribution unit according to the target access signal, and then controls the output power of the power supply unit to reduce the power consumption of the switch.
The power management of the switch is realized, and the power supply power is dynamically adjusted according to actual needs, which significantly reduces the power consumption of the switch.
Smart Images

Figure CN120034506A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a switch circuit and a switch. Background Art
[0002] At present, with the development of cloud computing and big data technology, the scale of data centers continues to expand, and the problem of energy consumption has become increasingly prominent. Traditional switches often consume a lot of power resources when processing a large number of data packets. Therefore, the development of a low-power switch has become an urgent problem that the industry needs to solve. Summary of the invention
[0003] The present application provides a switch circuit and a switch, in order to reduce the power consumption of the switch.
[0004] In a first aspect, the present application provides a switch circuit, which is applied to a switch, including an interface unit, an information convergence unit, a power distribution unit, a power supply unit and a main control unit; the information convergence unit is connected to the interface unit, the main control unit and the power distribution unit respectively, and the power distribution unit is also connected to the power supply unit;
[0005] The interface unit is used to connect to the target external device and generate a target access signal when accessing the target external device;
[0006] An information aggregation unit, used to obtain the target access signal and transmit it to the main control unit;
[0007] The main control unit is used to output a first control signal to the power distribution unit according to the target access signal;
[0008] The power distribution unit is used to adjust the output power of the power supply unit for the information aggregation unit according to the first control signal.
[0009] In combination with the first aspect, in one embodiment, the switch further includes a remote transmission unit, the remote transmission unit includes at least one remote processing subunit, the interface unit includes at least one remote transmission interface, the target external device includes a remote transmission device, the power distribution unit includes a first power distribution subunit, the first control signal includes a first control subsignal, and the target access signal includes a first access signal; the at least one remote transmission interface is respectively connected to the at least one remote processing subunit through the information convergence unit, and each of the at least one remote processing subunit is respectively connected to the main control unit and the first power distribution subunit; when the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit obtains the first access signal and transmits it to the main control unit; the main control unit outputs the first control subsignal to the first power distribution subunit according to the first access signal; the first power distribution subunit controls the power supply unit to conduct the signal transmission loop between the first remote processing subunit and the first remote transmission interface and the main control unit according to the first control subsignal; wherein the first remote transmission interface is any one of the at least one remote transmission interface, and the first remote processing subunit is any one of the at least one remote processing subunit.
[0010] In combination with the first aspect, in one embodiment, the first power distribution subunit includes a first control subunit and at least one first switch connected in sequence, the at least one remote transmission interface is connected to the at least one first switch one-to-one through the information convergence unit, and the at least one first switch is also connected to the at least one remote processing subunit one-to-one; the at least one first switch is controlled by the first control sub-signal to conduct the signal transmission loop between the first remote processing subunit and the first remote transmission interface and the main control unit.
[0011] In combination with the first aspect, in one embodiment, the interface unit includes at least one network interface, the information convergence unit includes at least one Ethernet information processing subunit, the target external device includes an Ethernet transmission device, and the power distribution unit includes a second power distribution subunit; the target access signal includes a second access signal, and the first control signal includes a second control sub-signal; the at least one network interface is connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, and each Ethernet information processing subunit in the at least one Ethernet information processing subunit is connected to the power distribution unit and the main control unit respectively; when the first network interface is connected to the Ethernet transmission device, the second access signal is generated; the information convergence unit obtains the second access signal and transmits it to the main control unit; the main control unit outputs the second control sub-signal to the second power distribution subunit according to the second access signal; the second power distribution subunit controls the power supply unit to conduct the signal transmission loop between the first Ethernet information processing subunit and the first network interface and the main control unit according to the second control sub-signal; wherein the first network interface is any one of the at least one network interface, and the first Ethernet information processing subunit is any one of the at least one Ethernet information processing subunit.
[0012] In combination with the first aspect, in one embodiment, the second power distribution subunit includes a second control subunit and at least one second switch connected in sequence; the at least one network interface is connected one-to-one with the at least one Ethernet information processing subunit, the at least one Ethernet information processing subunit is connected one-to-one with the at least one second switch, and the at least one Ethernet information processing subunit is also connected to the main control unit; the at least one second switch is controlled by the second control subunit to conduct the signal transmission loop between the first Ethernet information processing subunit and the first network interface and the main control unit.
[0013] In combination with the first aspect, in one embodiment, the switch further comprises a remote transmission unit, the remote transmission unit comprises a remote processing subunit; the information convergence unit comprises an Ethernet information processing subunit, the interface unit comprises a remote transmission interface and a network interface, the target external device comprises a remote transmission device and an Ethernet transmission device, the power distribution unit comprises a first power distribution subunit and a second power distribution subunit, the first control signal comprises a first control sub-signal and a second control sub-signal, the target access signal comprises a first access signal and a second access signal; the remote transmission interface is connected to the remote processing subunit through the information convergence unit, and the remote processing subunit is connected to the remote processing subunit. The information convergence unit is connected to the main control unit and the first power distribution subunit respectively; the network interface is connected to the Ethernet information processing subunit, and the Ethernet information processing subunit is connected to the second power distribution subunit and the main control unit respectively; when the network interface is connected to the Ethernet transmission device, the access signal is generated; the information convergence unit obtains the access signal and transmits it to the main control unit; the main control unit outputs the control subsignal to the power distribution subunit according to the access signal; the power distribution subunit controls the power supply unit to conduct the signal transmission loop between the first Ethernet information processing subunit and the first network interface and the main control unit according to the control subsignal;
[0014] Alternatively, when the remote transmission interface is connected to the remote transmission device, an access signal is generated; the information aggregation unit obtains the access signal and transmits it to the main control unit; the main control unit outputs the control sub-signal to the power distribution sub-unit according to the access signal; the power distribution sub-unit controls the power supply unit to conduct the signal transmission loop between the remote processing sub-unit and the remote transmission interface and the main control unit according to the control sub-signal.
[0015] In combination with the first aspect, in one embodiment, the interface unit includes one or more of a debugging serial port, a device maintenance port, a power interface, a network port indicator light, a remote transmission indicator light, a power indicator light, and a device operation indicator light.
[0016] In combination with the first aspect, in one embodiment, the main control unit is further used to: when it is detected that the target access signal of the interface unit is not obtained, output a first power control signal to the power supply unit; the first power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a first low power consumption state, and the first low power consumption state includes a standby mode and a light use mode; when it is detected that the target access signal of the interface unit is obtained, determine a first quantity according to the target access signal; output a second power control signal to the power supply unit according to the first quantity; the second power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in a working state; when it is detected that the target access signal of the interface unit is obtained and the switch does not interact with the target external device for more than a preset time, output a third power control signal to the power supply unit; the third power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
[0017] In combination with the first aspect, in one embodiment, the main control unit is also used to: when detecting that the target external device is a remote transmission device, obtain the transmission distance of the remote transmission device in real time; output a fourth power control signal to the power supply unit according to the transmission distance; the fourth power control signal is used to adapt the output power of the power supply unit to the transmission distance.
[0018] In a second aspect, the present application provides a switch, comprising the switch circuit as described in the first aspect.
[0019] It can be seen that in this application, first, when the interface unit accesses the target external device, a target access signal is generated; the target access signal is acquired by the information convergence unit and transmitted to the main control unit; the main control unit outputs a first control signal to the power distribution unit according to the target access signal; and the power distribution unit adjusts the output power of the power supply unit for the information convergence unit according to the first control signal. In this way, the output power of the power supply unit can be adjusted in time for the target external device, reducing the power consumption of the switch. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a structural diagram of a first switch circuit provided in an embodiment of the present application;
[0022] Figure 2 is a structural diagram of a second switch circuit provided in an embodiment of the present application;
[0023] Figure 3 is a structural diagram of a third switch circuit provided in an embodiment of the present application;
[0024] Figure 4 is a structural diagram of a fourth switch circuit provided in an embodiment of the present application;
[0025] Figure 5 is a structural diagram of a fifth switch circuit provided in an embodiment of the present application;
[0026] Figure 6 is a structural diagram of a sixth switch circuit provided in an embodiment of the present application;
[0027] Figure 7 It is a flowchart of a switch control method provided in an embodiment of the present application;
[0028] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, systems, products or devices.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] Currently, traditional switches often consume a lot of power resources when processing a large number of data packets.
[0033] To solve the above problems, an embodiment of the present application provides a switch circuit. The switch circuit can be applied to the scenario of switch power consumption control. A target access signal can be generated when the interface unit is connected to the target external device; the target access signal is obtained by the information convergence unit and transmitted to the main control unit; the main control unit outputs a first control signal to the power distribution unit according to the target access signal; and the power distribution unit adjusts the output power of the power supply unit for the information convergence unit according to the first control signal. In this way, the output power of the power supply unit can be adjusted in time for the target external device, thereby reducing the power consumption of the switch. This solution can be applicable to a variety of scenarios, including but not limited to the application scenarios mentioned above.
[0034] Glossary:
[0035] (1) RGMII (Reduced Gigabit Media Independent Interface) is an interface standard commonly used in Gigabit Ethernet communications. The following is a detailed introduction:
[0036] Basic Definition
[0037] RGMII is an improvement on GMII (Gigabit Media Independent Interface), which aims to reduce the number of pins required for the interface, thereby reducing system cost, reducing PCB area and simplifying design. It provides a high-speed and efficient data transmission channel between the physical layer and the data link layer, and is widely used in various network devices.
[0038] Features
[0039] Reduced number of pins: Compared with GMII's 24 data and control signal pins, RGMII uses only 10 data and control signal pins, greatly reducing the number of chip packaging pins and the complexity of PCB wiring, reducing hardware design costs and difficulties.
[0040] High-speed transmission capability: RGMII supports three data transmission rates of 10Mbps, 100Mbps and 1000Mbps, which can meet the network bandwidth requirements in different application scenarios, especially suitable for Gigabit Ethernet environment.
[0041] Clock signal multiplexing: RGMII can transmit 2 bits of data in each clock cycle by multiplexing the clock signal, achieving higher transmission efficiency. At a rate of 1000Mbps, data transmission can be completed using a 125MHz clock signal.
[0042] Good compatibility: RGMII is compatible with the IEEE 802.3 standard and can be used with Ethernet PHY chips and MAC (Media Access Control) controllers that comply with the standard, making it easy for devices from different manufacturers to interconnect.
[0043] It is understandable that this application Figure 1-Figure 8 The RGMII marked in the figure are all Gigabit Medium Independent Interface.
[0044] (2) SGMII, or Serial Gigabit Media Independent Interface, is a high-speed serial interface standard for Ethernet communications. SGMII is mainly used to achieve high-speed, reliable Gigabit Ethernet data transmission between network devices (such as switches, routers, network cards, etc.). It converts traditional parallel Gigabit Ethernet signals into serial signals for transmission at the physical layer, greatly reducing the number of pins and wiring complexity required for signal transmission, improving system integration and reliability, and also reducing costs.
[0045] SGMII has the following features:
[0046] High-speed transmission: SGMII can support data transmission rates up to 1Gbps, meeting the needs of most network applications for high-speed data transmission, such as high-definition video streaming, large-scale data file transmission, etc.
[0047] Serial transmission: Convert parallel data into serial data for transmission, achieve high-speed data transmission using fewer pins, reduce the complexity and cost of PCB wiring, and improve system reliability and stability.
[0048] Strong compatibility: SGMII is compatible with traditional Ethernet standards (such as IEEE 802.3) and can be well integrated into the existing Ethernet network architecture, facilitating the upgrade and expansion of network equipment.
[0049] Low power consumption: It uses advanced coding and modulation technology to achieve high-speed transmission while maintaining low power consumption. It is suitable for devices with high power consumption requirements, such as portable network equipment, energy-saving switches in data centers, etc.
[0050] Auto-negotiation function: Supports auto-negotiation function, which can automatically detect the capabilities and configurations of the peer device and automatically adjust transmission parameters such as data rate and duplex mode according to the detection results, thus achieving seamless connection and interoperability between devices.
[0051] It is understandable that this application Figure 1-Figure 8 The SGMII marked in the figure is Serial Gigabit Media Independent Interface.
[0052] The specific structure is introduced in detail below.
[0053] See also Figure 1 The present application provides a switch circuit, which is applied to a switch, including an interface unit 100, an information convergence unit 200, a power distribution unit 300, a power supply unit 400 and a main control unit 500; the information convergence unit 200 is respectively connected to the interface unit 100, the main control unit 500 and the power distribution unit 300, and the power distribution unit 300 is also connected to the power supply unit 400;
[0054] The interface unit 100 is used to connect to a target external device and generate a target access signal when accessing the target external device;
[0055] The information convergence unit 200 is used to obtain the target access signal and transmit it to the main control unit 500;
[0056] The main control unit 500 is used to output a first control signal to the power distribution unit 300 according to the target access signal;
[0057] The power distribution unit 300 is used to adjust the output power of the power supply unit 400 for the information aggregation unit 200 according to the first control signal.
[0058] For specific implementation, please refer to Figure 1 and Figure 4The power supply unit 400 realizes power supply to each unit in the switch circuit. After the interface unit is connected to the information convergence unit 200 through the super-energy high-density connector, when the target external device is connected to the interface unit 100, the data transmitted by the target external device is aggregated to the information convergence unit 200 through the super-energy high-density connector. The interface unit 100 includes one or more of a network interface 130, a remote transmission interface 120, a first debugging interface, a device maintenance port, a power interface, a network port indicator light, a remote transmission indicator light, a power indicator light, and a device operation indicator light (wherein the network port indicator light, the remote transmission indicator light, the power indicator light, and the device operation indicator light are as follows: Figure 4 The information convergence unit 200 further includes a serial port chip 250, a first debugging interface 110, a serial port chip 250 and a main control unit 500, and a network port indicator light, a remote transmission indicator light, a power indicator light and a device operation indicator light are respectively connected to the main control unit 500. The network device can be connected through the network interface 130, the remote transmission device can be connected through the remote transmission interface 120 (such as a VDSL2 device), the corresponding functions of the switch can be debugged through the first debugging interface, the program in the main control unit 500 can be debugged through the device maintenance port, the external power supply can be connected through the power supply interface to power the power supply unit 400, the network indicator light indicates whether an Ethernet transmission device is connected, the remote transmission indicator light indicates whether a remote transmission device is connected, the power indicator light indicates whether an external power supply is connected, and the device operation indicator light indicates the operation status of the switch. The super-energy high-density connector can be a connector with energy-saving function, or other connectors that reduce transmission loss, and no uniqueness is limited here.
[0059] In addition, the information convergence unit 200 may also include a second debugging interface 230 and a second transformer 240. The second debugging interface 230, the second transformer 240 and the main control unit 500 are connected in sequence. The corresponding functions of the switch can be debugged through the second debugging interface 230, providing a rich debugging terminal for the switch.
[0060] The main control unit 500 is connected to the information convergence unit 200 through a super-energy high-density connector; when the main control unit 500 obtains the target access signal transmitted from the interface unit 100 from the information convergence unit 200, it generates a corresponding first control signal according to the target access signal, and outputs the control signal to the power distribution unit 300. After receiving the first control signal, the power distribution unit 300 adjusts the power output of the power supply unit 400 for the information convergence unit 200 according to the first control signal, so that the output power of the power supply unit 400 is adapted to the current working requirements of the switch, so as to achieve better power consumption and reduce the power consumption of the switch.
[0061] Furthermore, when the interface unit 100 recognizes that the target external device is connected, it will feedback a handshake signal to the main control unit 500 through the information convergence unit 200. When the handshake is successful, it will send a first control signal (i.e., PG signal) to the power distribution unit 300 to confirm that this path can be powered normally, while ensuring safety while also ensuring normal data transmission on this path and achieving the lowest power consumption.
[0062] It can be seen that in this embodiment, when the interface unit 100 accesses the target external device, a target access signal is generated; the information convergence unit 200 obtains the target access signal and transmits it to the main control unit 500; the main control unit 500 outputs a first control signal to the power distribution unit 300 according to the target access signal; and the power distribution unit 300 adjusts the output power of the power supply unit 400 for the information convergence unit 200 according to the first control signal. In this way, the output power of the power supply unit 400 can be adjusted in time for the target external device, thereby reducing the power consumption of the switch.
[0063] In one possible embodiment, see Figure 2 and Figure 3, a remote transmission unit 600 can be set outside the information convergence unit 200, that is, the switch also includes a remote transmission unit 600, the remote transmission unit 600 includes at least one remote processing subunit 610, the interface unit 100 includes at least one remote transmission interface 120, the target external device includes a remote transmission device, the power distribution unit 300 includes a first power distribution subunit 310, the first control signal includes a first control subsignal, and the target access signal includes a first access signal; the at least one remote transmission interface 120 is connected to the at least one remote processing subunit 610 through the information convergence unit 200, and each of the at least one remote processing subunit 610 is respectively connected to the main control unit 500 and The first power distribution subunit 310 is connected; when the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit 200 obtains the first access signal and transmits it to the main control unit 500; the main control unit 500 outputs the first control sub-signal to the first power distribution subunit 310 according to the first access signal; the first power distribution subunit 310 controls the power supply unit 400 to conduct the signal transmission loop between the first remote processing subunit and the first remote transmission interface and the main control unit 500 according to the first control sub-signal; wherein the first remote transmission interface is any one of the at least one remote transmission interface 120, and the first remote processing subunit is any one of the at least one remote processing subunit 610.
[0064] Specifically, the first power distribution subunit 310 includes a first control subunit 311 and at least one first switch (such as Figure 5 and Figure 6 The switches K1-K4 shown in the figure), the first control subunit 311 is also connected to the main control unit and the power supply unit; the at least one remote transmission interface 120 is connected one-to-one with the at least one first switch through the information convergence unit 200, and the at least one first switch is also connected one-to-one with the at least one remote processing subunit 610; the first control subunit 311 controls the conduction of the signal transmission loop between the first remote processing subunit and the first remote transmission interface and the main control unit 500 according to the first control sub-signal.
[0065] In a specific implementation, a remote transmission unit 600 is provided in the switch circuit, and at least one remote processing subunit 610 is provided in the remote transmission unit 600. The at least one remote processing subunit 610 is connected to at least one remote transmission interface 120 in the interface unit 100 in a one-to-one correspondence through the information convergence unit 200. One of the at least one remote transmission interface 120 (e.g., the first remote transmission interface) is taken as an example for description.
[0066] After the first remote transmission interface is connected to the remote transmission device, it will generate a first access signal and transmit the first access signal to the main control unit 500 through the information convergence unit 200. When the main control unit 500 receives the first access signal through the information convergence unit 200, it will perform corresponding processing according to the first access signal, and then generate a first control sub-signal to the first control sub-unit 311 to control the first control sub-unit 311 to turn on the corresponding first switch, thereby turning on the transmission loop of "first remote transmission interface-information convergence unit 200-first remote processing sub-unit-main control unit 500".
[0067] For example, there is a remote transmission channel between the remote transmission interface 120 and the information convergence unit 200. When the remote transmission interface 120 is connected to the remote transmission device, a first access signal is generated. The first access signal transmits the remote transmission information in the remote transmission device to the information convergence unit 200 through the remote transmission interface 120, and the information convergence unit 200 transmits the remote transmission information to the main control unit 500. After the main control unit 500 receives the first access signal, it outputs the corresponding first control sub-signal to the first power distribution sub-unit 310. At this time, the first power distribution sub-unit 310 supplies power to the corresponding remote processing sub-unit 610 in the remote transmission unit 600 so that the remote transmission channel starts to work, so as to transmit information between the remote transmission device and the main control unit 500.
[0068] It is understandable that the number of remote processing subunits 610, remote transmission interfaces 120 and first power distribution subunits 310 can be set as needed, and switches of different specifications can be provided with different numbers of remote processing subunits 610 and remote transmission interfaces 120.
[0069] It can be seen that in this embodiment, the corresponding transmission circuit can be turned on only when the remote transmission interface 120 is connected to the remote transmission device, thereby reducing the overall power consumption of the switch.
[0070] In one possible embodiment, see Figure 1 and Figure 4 The interface unit 100 includes at least one network interface 130 (such as Figure 4The network interface 1-network interface N shown in the figure), the information convergence unit 200 includes at least one Ethernet information processing subunit, the target external device includes an Ethernet transmission device, the power distribution unit 300 includes a second power distribution subunit 320; the target access signal includes a second access signal, and the first control signal includes a second control sub-signal; the at least one network interface 130 is connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, and each of the at least one Ethernet information processing subunits is connected to the power distribution unit 300 and the main control unit 500 respectively; when the first network interface is connected to the Ethernet transmission device, Generate the second access signal; the information convergence unit 200 obtains the second access signal and transmits it to the main control unit 500; the main control unit 500 outputs the second control sub-signal to the second power distribution sub-unit 320 according to the second access signal; the second power distribution sub-unit 320 controls the power supply unit 400 to conduct the signal transmission loop between the first Ethernet information processing sub-unit and the first network interface and the main control unit 500 according to the second control sub-signal; wherein the first network interface is any one of the at least one network interface 130, and the first Ethernet information processing sub-unit is any one of the at least one Ethernet information processing sub-unit.
[0071] For details, please refer to Figure 5 The second power distribution subunit 320 includes a second control subunit 321 and at least one second switch (such as Figure 5 and Figure 6 The switches K5-K10 shown in the figure), the second control subunit 321 is also connected to the main control unit and the power supply unit; the at least one network interface 130 is respectively connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, the at least one Ethernet information processing subunit is connected to the at least one second switch in a one-to-one correspondence, and the at least one Ethernet information processing subunit is also connected to the main control unit 500; the second control subunit 321 controls the at least one second switch to conduct the signal transmission loop between the first Ethernet information processing subunit and the first network interface and the main control unit 500 according to the second control sub-signal.
[0072] In a specific implementation, an Ethernet information processing subunit is provided in the switch circuit, and at least one remote processing subunit 610 is provided in the Ethernet information processing subunit, and at least one remote processing subunit 610 is connected to at least one network interface 130 in the interface unit 100 through the information convergence unit 200 in a one-to-one correspondence. One of the at least one network interface 130 (e.g., the first network interface) is taken as an example for description.
[0073] Between the network interface 130 and the information convergence unit 200 is a network channel, which includes a physical layer 220 and a transformer. The network interface 130, the transformer, the physical layer 220 and the main control unit 500 are connected in sequence. After the first network interface is connected to the first Ethernet transmission device, it will generate a first access signal, and transmit the second access signal to the main control unit 500 through the transformer and the physical layer 220 in sequence. When the main control unit 500 receives the second access signal through the physical layer 220, it will perform corresponding processing according to the second access signal, and then generate a first control sub-signal to the second power distribution sub-unit to control the second power distribution sub-unit to turn on the corresponding second switch, thereby turning on the transmission loop of "first network interface-information convergence unit 200-first Ethernet processing sub-unit-main control unit 500". Among them, the first Ethernet transmission device is the Ethernet transmission device connected to the first network interface.
[0074] It is understandable that the number of remote processing subunits 610 , network interfaces 130 and first power distribution subunits 310 can be set as needed, and switches of different specifications can be provided with different numbers of remote processing subunits 610 and network interfaces 130 .
[0075] It can be seen that in this embodiment, the corresponding transmission loop can be turned on only when the network interface 130 is connected to the Ethernet transmission device, thereby reducing the overall power consumption of the switch.
[0076] In one possible embodiment, see Figure 3 , the switch further includes a remote transmission unit 600, the remote transmission unit 600 includes at least one remote processing subunit 610; the information convergence unit 200 includes at least one Ethernet information processing subunit, the interface unit 100 includes at least one remote transmission interface 120 and at least one network interface 130, the target external device includes a remote transmission device and an Ethernet transmission device, the power distribution unit 300 includes a first power distribution subunit 310 and a second power distribution subunit 320, the first control signal includes a first control subsignal and a second control subsignal, and the target access signal includes a first access signal and a second access signal; the at least one remote transmission interface 120 is respectively connected to the at least one remote processing subunit 610 through the information convergence unit 200, and the at least one remote processing subunit 610 is respectively connected to the main control unit 500 and the first power distribution subunit 310; the at least one network interface 130 is connected to the at least one Ethernet information processing subunit, and each of the at least one Ethernet information processing subunits is connected to the second power distribution subunit 320 and the main control unit 500;
[0077] When the first network interface is connected to the Ethernet transmission device, the second access signal is generated; the information convergence unit 200 obtains the second access signal and transmits it to the main control unit 500; the main control unit 500 outputs the second control sub-signal to the second power distribution sub-unit 320 according to the second access signal; the second power distribution sub-unit 320 controls the power supply unit 400 to conduct the signal transmission loop between the first Ethernet information processing sub-unit and the first network interface and the main control unit 500 according to the second control sub-signal; wherein the first network interface is any one of the at least one network interface 130;
[0078] or,
[0079] When the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit 200 obtains the first access signal and transmits it to the main control unit 500; the main control unit 500 outputs the first control sub-signal to the first power distribution sub-unit 310 according to the first access signal; the first power distribution sub-unit 310 controls the power supply unit 400 to conduct the signal transmission loop between the first remote processing sub-unit and the first remote transmission interface and the main control unit 500 according to the first control sub-signal; wherein the first remote transmission interface is any one of the at least one remote transmission interface 120.
[0080] In a specific implementation, only one or more remote processing subunits 610 and one or more Ethernet information processing subunits may be provided. When the remote transmission interface 120 and the network interface 130 are not connected to the target external device, the first power distribution subunit 310 and the second power distribution subunit 320 are controlled to cut off the power supply of the power supply unit 400 to the remote processing subunit 610 and the Ethernet information processing subunit; at this time, the transmission loop of "remote transmission interface 120-information convergence unit 200-remote processing subunit 610-main control unit 500" and the transmission loop of "network interface 130-information convergence unit 200-Ethernet processing subunit-main control unit 500" are both cut off.
[0081] When the remote transmission interface 120 is connected to the remote transmission device, the main control unit 500 outputs the first control sub-signal to the first power distribution sub-unit 310 to control the first power distribution sub-unit 310 to conduct the power supply unit 400 to the remote processing sub-unit 610, so that the transmission loop of "remote transmission interface 120-information convergence unit 200-remote processing sub-unit 610-main control unit 500" is conducted. Similarly, when the network interface 130 is connected to the Ethernet transmission device, the main control unit 500 outputs the second control sub-signal to the second power distribution sub-unit 320 to control the second power distribution sub-unit 320 to conduct the power supply unit 400 to the Ethernet processing sub-unit, so that the transmission loop of "network interface 130-information convergence unit 200-Ethernet processing sub-unit-main control unit 500" is conducted.
[0082] It can be seen that in this embodiment, the corresponding transmission loop can be turned on only when the network interface 130 or the remote transmission accesses the Ethernet transmission device, thereby reducing the overall power consumption of the switch.
[0083] In one possible embodiment, see Figure 6 The information convergence unit 200 includes the remote transmission unit 600 and a network transmission unit, the network transmission unit includes at least one Ethernet information processing subunit, and the remote transmission unit 600 includes at least one remote transmission subunit.
[0084] Specifically, the interface unit 100 includes at least one remote transmission interface 120 and at least one network interface 130, the target external device includes a remote transmission device and an Ethernet transmission device, the power distribution unit 300 includes a first power distribution sub-unit 310 and a second power distribution sub-unit 320, the first control signal includes a first control sub-signal and a second control sub-signal, and the target access signal includes a first access signal and a second access signal.
[0085] The at least one remote transmission interface 120 is connected to the at least one remote processing subunit 610 in a one-to-one correspondence, and each of the at least one remote processing subunit 610 is connected to the main control unit 500 and the first power distribution subunit 310. The at least one network interface 130 is connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, and each of the at least one Ethernet information processing subunit is connected to the second power distribution subunit 320 and the main control unit 500.
[0086] When the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit 200 obtains the first access signal and transmits it to the main control unit 500; the main control unit 500 outputs the first control sub-signal to the first power distribution sub-unit 310 according to the first access signal; the first power distribution sub-unit 310 controls the power supply unit 400 to conduct the signal transmission loop between the first remote processing sub-unit and the first remote transmission interface and the main control unit 500 according to the first control sub-signal; wherein the first remote transmission interface is any one of the at least one remote transmission interface 120, and the first remote processing sub-unit is any one of the at least one remote processing sub-unit 610.
[0087] When the first network interface is connected to the corresponding Ethernet transmission device, the second access signal is generated; the information convergence unit 200 obtains the second access signal and transmits it to the main control unit 500; the main control unit 500 outputs the second control sub-signal to the second power distribution sub-unit 320 according to the second access signal; the second power distribution sub-unit 320 controls the power supply unit 400 to conduct the signal transmission loop between the first Ethernet information processing sub-unit and the first network interface and the main control unit 500 according to the second control sub-signal; wherein the first network interface is any one of the at least one network interface 130, and the first Ethernet information processing sub-unit is any one of the at least one Ethernet information processing sub-unit.
[0088] Specifically, different information channels are formed between different interfaces in the interface unit 100 and the information convergence unit 200 , and each information channel can be independently powered by the power supply unit 400 through power distribution.
[0089] For example, there is a remote transmission channel between the remote transmission interface 120 and the information convergence unit 200. When the remote transmission interface 120 is connected to the remote transmission device, a first access signal is generated. The first access signal transmits the remote transmission information in the remote transmission device to the information convergence unit 200 through the remote transmission interface 120, and the information convergence unit 200 transmits the remote transmission information to the main control unit 500. After the main control unit 500 receives the first access signal, it outputs the corresponding first control sub-signal to the first power distribution sub-unit 310. At this time, the first power distribution sub-unit 310 supplies power to the corresponding remote processing sub-unit 610 in the information convergence unit 200 so that the remote transmission channel starts to work, so as to transmit information between the remote transmission device and the main control unit 500.
[0090] In addition, there is a network channel between the network interface 130 and the information convergence unit 200, and the network channel includes a physical layer 220 and a transformer, and the network interface 130, the transformer, the physical layer 220 and the main control unit 500 are connected in sequence. When the network interface 130 accesses the network device, a second access signal is generated, and the second access signal transmits the network information in the network device to the information convergence unit 200 through the network interface 130, and the information convergence unit 200 transmits the network information to the main control unit 500. After the main control unit 500 receives the network access signal, it outputs the corresponding second control sub-signal to the second power distribution sub-unit 320, and at this time, the second power distribution sub-unit 320 supplies power to the Ethernet information processing sub-unit so that the network channel starts to work, and information is transmitted between the network device and the main control unit 500.
[0091] It can be understood that the network interface 130 and the remote transmission interface 120 may include one or at least one, which is not limited here.
[0092] It can be seen that in this embodiment, the access information of the remote transmission device and the Ethernet transmission device can be fed back to the main control unit 500 through the information aggregation unit 200, so that the main control unit 500 can control the power distribution unit 300 to supply power to the corresponding processing unit to save energy consumption of the switch.
[0093] In one possible embodiment, see Figure 7 , the main control unit is also used for:
[0094] When it is detected that the target access signal of the interface unit is not obtained, a first power control signal is output to the power distribution unit; the first power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a first low power consumption state, and the first low power consumption state includes a standby mode and a light use mode;
[0095] When the target access signal of the interface unit is detected and acquired, a first quantity according to the target access signal is determined; a second power control signal is output to the power distribution unit according to the first quantity; the second power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in working state;
[0096] When it is detected that the target access signal of the interface unit is obtained, and the switch does not interact with the target external device for more than a preset time, a third power control signal is output to the power distribution unit; the third power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a third low power state, and the third low power state includes a deep sleep mode. When it is detected that the target access signal of the interface unit is not obtained, a first power control signal is output to the power supply unit; the first power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a first low power state, and the first low power state includes a standby mode and a light use mode;
[0097] When the target access signal of the interface unit is detected and acquired, a first quantity according to the target access signal is determined; a second power control signal is output to the power supply unit according to the first quantity; the second power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in a working state;
[0098] When it is detected that the target access signal of the interface unit is obtained and the switch has not interacted with the target access device for more than a preset time, a third power control signal is output to the power supply unit; the third power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
[0099] In a specific implementation, when the main control unit identifies that an interface in the interface unit (such as a remote transmission interface or a network interface) is in an activated state (i.e., the corresponding access signal is received), the power distribution unit will turn on the power supply of the corresponding transmission circuit (such as a network channel and a remote transmission channel); when it is identified that the interface load (i.e., the target external device) is disconnected, the power supply of the corresponding transmission circuit will be disconnected.
[0100] The at least one remote processing subunit is respectively connected with one or more remote transmission interfaces to form at least one remote transmission channel, and the functions and power supply of each remote transmission channel are realized independently. The remote processing subunit is connected to the main control unit through a super-energy high-density connector.
[0101] The information aggregation unit includes at least one Ethernet information processing sub-unit, and the at least one Ethernet information processing sub-unit is respectively connected to one or more network interfaces in a one-to-one correspondence to form at least one network channel. The function of each network channel is realized independently, and the power supply is realized independently. The information aggregation unit and the interface unit are connected through a super-energy high-density connector.
[0102] The power supply unit is used to supply power to the main control unit, the remote processing subunit, the information convergence unit, and the interface unit. The main control unit is used to intelligently supply power to the remote processing subunit and the Ethernet function through the power distribution unit; the power distribution unit includes a first power distribution subunit and a second power distribution subunit, wherein the first power distribution subunit includes one or at least one first switch, and the second power distribution subunit includes one or at least one second switch; each first switch controls the on and off of one remote processing subunit, and each second switch controls the on and off of one Ethernet processing subunit.
[0103] Specifically, the first low power consumption state (L1) is a basic energy-saving mode. At this time, the device is in standby or light use state. The light use state means that the signal transmission frequency is lower than the first preset value. For example, when it is detected that the target access signal of the interface unit is not obtained, it means that the interface in the interface unit is not connected to the target external device, so the power supply unit can be controlled to enter the first low power state. Specifically, the first power state can be entered by controlling the number of on and off switches of the power switch in the power distribution unit. When the target external device is not connected, all the power switches can be turned off. In addition, when the interface unit detects an access signal, but the signal transmission frequency between the target external device and the interface unit is the first preset value, the power supply unit can also be controlled to enter the first low power state. At this time, it can be achieved by directly adjusting the output power of the power supply unit.
[0104] The second low power consumption state (L2) is an advanced energy-saving mode. When the main control unit recognizes that some interfaces in the interface unit are used for a long time and the remaining interfaces are used occasionally, each interface feeds back a signal to the main control unit. When the main control unit receives the feedback signal of the interface used for a long time, this channel completes the on-demand power supply; when the main control unit receives the feedback signal of the interface used occasionally, the physical layer of the information convergence unit activates the deep sleep mode, and the surrounding circuits are powered off. The intelligent power distribution module gives power to each channel, and at the same time adjusts the output power in real time according to the intelligent identification of the load situation. Specifically, the information transmission frequency of each interface in the interface unit can be monitored in real time, and the interface with a transmission frequency greater than the second preset value is determined as a long-term interface, and the interface with a transmission frequency less than the second preset value is determined as an occasionally used interface. For interfaces used for a long time, continuous power supply is maintained to ensure the power supply requirements of interfaces used for a long time. As for the occasionally used interface, when the occasionally used interface is not transmitting information, the power supply of the peripheral circuit of the corresponding remote processing subunit or Ethernet information processing subunit is cut off, and only the processing chip of the remote processing subunit or Ethernet information processing subunit is powered, so that the remote processing subunit or Ethernet information processing subunit enters a deep sleep mode; when the occasionally used interface is transmitting information, a control signal is sent to the power distribution unit through the main control unit, thereby activating the normal power supply to the remote processing subunit or Ethernet information processing subunit, so that the remote processing subunit or Ethernet information processing subunit starts working and performs information processing to complete information transmission. In this way, power distribution can be performed according to different information transmission frequencies, reducing the power consumption of the switch.
[0105] The third low power consumption state (L3) is an extreme power saving mode. When it is determined that only a specific interface is connected to the load for a long time and the other interfaces are not used for a long time, the extreme power saving mode is turned on, that is, the power supply of the long-term unused path is disconnected. In this case, only the software wake-up mode of the interface that has not been used for a long time is retained. The power switch is intelligently turned on and off according to whether the aviation socket of the interface board is connected to the corresponding load. The software wake-up mode means that the main control unit controls the power distribution unit to perform corresponding power supply when receiving the access signal.
[0106] In a possible embodiment, the main control unit is also used to: when detecting that the target external device is a remote transmission device, obtain the transmission distance of the remote transmission device in real time; output a fourth power control signal to the power supply unit according to the transmission distance; the fourth power control signal is used to adapt the output power of the power supply unit to the transmission distance.
[0107] In a specific implementation, the fourth low power consumption state (L4) is a remote power supply mode. When it is detected that the target external device is a remote transmission device, the transmission distance can be calculated based on the information transmission delay; that is, the main control unit sends a first test signal to the remote transmission device through the remote transmission interface, and a first timestamp is set in the first test signal. The remote transmission device records the time when the first test signal is received, and adds a second timestamp corresponding to the time in the first feedback signal sent to the switch; when the main control unit receives the first feedback signal of the remote transmission device, the transmission distance is calculated by the first timestamp and the second timestamp. At least one transmission distance threshold is pre-set, and a corresponding output power is set for each transmission distance threshold, and then a fourth power control signal is output to the power supply unit to control the output power of the power supply unit.
[0108] In a possible embodiment, the main control unit is further used to: when it is detected that the target access signal of the interface unit is not obtained, output a first power control signal to the power supply unit; the first power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a first low power consumption state, and the first low power consumption state includes a standby mode and a light use mode; when it is detected that the target access signal of the interface unit is obtained, determine a first quantity according to the target access signal; output a second power control signal to the power supply unit according to the first quantity; the second power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in a working state; when it is detected that the target access signal of the interface unit is obtained and the switch does not interact with the target access device for more than a preset time, output a third power control signal to the power supply unit; the third power control signal is used to instruct the power supply unit to adjust the output power so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
[0109] In a specific implementation, for the first low power state, the second low power state or the third low power state, the on state of the switch in the power distribution unit can be maintained, and the first power control signal, the second power control signal or the third power control signal can be directly output to the power supply unit through the main control unit, thereby directly adjusting the output power of the power supply unit through the first power control signal, the second power control signal or the third power control signal.
[0110] It can be seen that in this embodiment, the switch can intelligently identify the external interface status. The main control unit outputs a corresponding power control signal according to the interface status to control the output power of the power supply unit, thereby realizing intelligent on-demand power supply and achieving a corresponding low power consumption state.
[0111] In one possible embodiment, the switch integrates network interface and serial communication functions, and is equipped with a human-computer interaction interface and an operating platform, aiming to provide a more convenient and intuitive user experience. It has a fast running speed and low power consumption, and can be used as a dedicated network information control platform as well as a general network information processing platform. It has rich external interfaces and strong versatility. At the same time, the entire platform is small in size and has strong environmental adaptability, and can work normally in harsh environments of -40℃ to +85℃.
[0112] In one possible embodiment, see Figure 3-Figure 6 The main control unit 500 includes a storage unit 510, and the storage unit 510 stores a corresponding software program, which is used to implement the interaction between the main control unit 500 and the power distribution unit 300, the interface unit 100, the power supply unit 400, the information convergence unit 200 and / or the remote transmission unit 600 in the embodiment of the present application.
[0113] The present application also provides a switch control method, which is applied to the main control unit of the switch described in the embodiment of the present application; the method comprises:
[0114] When it is detected that the target access signal of the interface unit is not obtained, a first power control signal is output to the power distribution unit; the first power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a first low power consumption state, and the first low power consumption state includes a standby mode and a light use mode;
[0115] When the target access signal of the interface unit is detected and acquired, a first quantity according to the target access signal is determined; a second power control signal is output to the power distribution unit according to the first quantity; the second power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in working state;
[0116] When it is detected that the target access signal of the interface unit is obtained and the switch has not interacted with the target external device for more than a preset time, a third power control signal is output to the power distribution unit; the third power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
[0117] It can be seen that in this embodiment, the switch can intelligently identify the external interface status. The main control unit outputs a corresponding power control signal according to the interface status to control the output power of the power supply unit, thereby realizing intelligent on-demand power supply and achieving a corresponding low power consumption state.
[0118] The present application also provides a switch control device, which is applied to the switch described in the embodiment of the present application; the device includes:
[0119] a main control unit, configured to output a first power control signal to the power distribution unit when detecting that the target access signal of the interface unit is not obtained; the first power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a first low power consumption state, wherein the first low power consumption state includes a standby mode and a light use mode; and,
[0120] When the target access signal of the interface unit is detected and obtained, a first quantity according to the target access signal is determined; a second power control signal is output to the power distribution unit according to the first quantity; the second power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in working state; and,
[0121] When it is detected that the target access signal of the interface unit is obtained and the switch has not interacted with the target external device for more than a preset time, a third power control signal is output to the power distribution unit; the third power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
[0122] It can be seen that in this embodiment, the switch can intelligently identify the external interface status. The main control unit outputs a corresponding power control signal according to the interface status to control the output power of the power supply unit, thereby realizing intelligent on-demand power supply and achieving a corresponding low power consumption state.
[0123] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or at least one computer instruction or computer program. When the computer instruction or computer program is loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or at least one available medium set. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0124] The present application also provides an electronic device 10, such as Figure 8 As shown, it includes at least one processor 11; a display screen 12; and a memory 13, and may also include a communications interface 15 and a bus 14. The processor 11, the display screen 12, the memory 13 and the communications interface 15 can communicate with each other through the bus 14. The display screen 12 is configured to display a preset user guide interface in the initial setting mode. The communications interface 15 can transmit information. The processor 11 can call the logic instructions in the memory 13 to execute the method in the above embodiment.
[0125] Optionally, the electronic device 10 may be a switch in the embodiment of the present application, the switch includes a switch circuit, the processor may be a main control unit, or may be an electronic device or other device, and no unique limitation is made here. The memory 13 may be the storage unit 510 in the embodiment of the present application.
[0126] In addition, the logic instructions in the memory 13 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0127] The memory 13, as a computer-readable storage medium, can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 11 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 13, that is, implementing the methods in the above embodiments.
[0128] The memory 13 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the electronic device 10, etc. In addition, the memory 13 may include a high-speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium.
[0129] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.
[0130] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0131] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0132] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, at least one unit or component can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on at least one network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0135] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM) and direct RAM bus RAM (DR RAM). Various media that can store program code are available.
[0136] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.
Claims
1. A switch circuit, characterized in that: Applied to a switch, comprising an interface unit, an information convergence unit, a power distribution unit, a power supply unit and a main control unit; the information convergence unit is connected to the interface unit, the main control unit and the power distribution unit respectively, and the power distribution unit is also connected to the power supply unit; The interface unit is used to connect to the target external device and generate a target access signal when accessing the target external device; An information aggregation unit, used to obtain the target access signal and transmit it to the main control unit; The main control unit is used to output a first control signal to the power distribution unit according to the target access signal; The power distribution unit is used to adjust the output power of the power supply unit for the information aggregation unit according to the first control signal.
2. The switch circuit according to claim 1, characterized in that: The switch further comprises a remote transmission unit, the remote transmission unit comprises at least one remote processing subunit, the interface unit comprises at least one remote transmission interface, the target external device comprises a remote transmission device, the power distribution unit comprises a first power distribution subunit, the first control signal comprises a first control sub-signal, and the target access signal comprises a first access signal; The at least one remote transmission interface is respectively connected to the at least one remote processing subunit through the information convergence unit, and each of the at least one remote processing subunit is respectively connected to the main control unit and the first power distribution subunit; When the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit obtains the first access signal and transmits it to the main control unit; the main control unit outputs the first control sub-signal to the first power distribution sub-unit according to the first access signal; The first power distribution subunit controls the power supply unit to conduct a signal transmission loop between the first remote processing subunit and the first remote transmission interface and the main control unit according to the first control subsignal; The first remote transmission interface is any one of the at least one remote transmission interface, and the first remote processing sub-unit is any one of the at least one remote processing sub-unit.
3. The switch circuit according to claim 2, characterized in that: The first power distribution subunit includes a first control subunit and at least one first switch connected in sequence, and the first control subunit is also connected to the main control unit and the power supply unit; The at least one remote transmission interface is connected to the at least one first switch in a one-to-one correspondence through the information convergence unit, and the at least one first switch is also connected to the at least one remote processing subunit in a one-to-one correspondence; The first control subunit controls the at least one first switch to conduct a signal transmission loop between the first remote processing subunit, the first remote transmission interface and the main control unit according to the first control subsignal.
4. The switch circuit according to claim 1, characterized in that: The interface unit includes at least one network interface, the information convergence unit includes at least one Ethernet information processing subunit, the target external device includes an Ethernet transmission device, the power distribution unit includes a second power distribution subunit; the target access signal includes a second access signal, and the first control signal includes a second control sub-signal; The at least one network interface is connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, and each of the at least one Ethernet information processing subunit is connected to the power distribution unit and the main control unit respectively; When the first network interface is connected to the Ethernet transmission device, the second access signal is generated; the information convergence unit obtains the second access signal and transmits it to the main control unit; the main control unit outputs the second control sub-signal to the second power distribution sub-unit according to the second access signal; the second power distribution sub-unit controls the power supply unit to conduct the signal transmission loop between the first Ethernet information processing sub-unit and the first network interface and the main control unit according to the second control sub-signal; The first network interface is any one of the at least one network interface, and the first Ethernet information processing subunit is any one of the at least one Ethernet information processing subunit.
5. The switch circuit according to claim 4, characterized in that: The second power distribution subunit comprises a second control subunit and at least one second switch connected in sequence, and the second control subunit is also connected to the main control unit and the power supply unit; The at least one network interface is respectively connected to the at least one Ethernet information processing subunit in a one-to-one correspondence, the at least one Ethernet information processing subunit is connected to the at least one second switch in a one-to-one correspondence, and the at least one Ethernet information processing subunit is also connected to the main control unit; The second control subunit controls the at least one second switch to conduct a signal transmission loop between the first Ethernet information processing subunit, the first network interface and the main control unit according to the second control sub-signal.
6. The switch circuit according to claim 1, characterized in that: The switch further includes a remote transmission unit, the remote transmission unit includes at least one remote processing subunit; the information convergence unit includes at least one Ethernet information processing subunit, the interface unit includes at least one remote transmission interface and at least one network interface, the target external device includes a remote transmission device and an Ethernet transmission device, the power distribution unit includes a first power distribution subunit and a second power distribution subunit, the first control signal includes a first control subsignal and a second control subsignal, and the target access signal includes a first access signal and a second access signal; The at least one remote transmission interface is connected to the at least one remote processing subunit through the information convergence unit, and each of the at least one remote processing subunit is connected to the main control unit and the first power distribution subunit; the at least one network interface is connected to the at least one Ethernet information processing subunit, and each of the at least one Ethernet information processing subunit is connected to the second power distribution subunit and the main control unit; When the first network interface is connected to the Ethernet transmission device, the second access signal is generated; the information convergence unit obtains the second access signal and transmits it to the main control unit; the main control unit outputs the second control sub-signal to the second power distribution sub-unit according to the second access signal; the second power distribution sub-unit controls the power supply unit to conduct the signal transmission loop between the first Ethernet information processing sub-unit and the first network interface and the main control unit according to the second control sub-signal; wherein the first network interface is any one of the at least one network interface; or, When the first remote transmission interface is connected to the remote transmission device, a first access signal is generated; the information convergence unit obtains the first access signal and transmits it to the main control unit; the main control unit outputs the first control sub-signal to the first power distribution sub-unit according to the first access signal; the first power distribution sub-unit controls the power supply unit to conduct the signal transmission loop between the first remote processing sub-unit and the first remote transmission interface and the main control unit according to the first control sub-signal; wherein the first remote transmission interface is any one of the at least one remote transmission interface.
7. The switch circuit according to claim 4, characterized in that: The interface unit includes one or more of a debugging serial port, a device maintenance port, a power interface, a network port indicator light, a remote transmission indicator light, a power indicator light, and a device operation indicator light.
8. The switch circuit according to any one of claims 1 to 7, characterized in that: The main control unit is also used for: When it is detected that the target access signal of the interface unit is not obtained, a first power control signal is output to the power distribution unit; the first power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a first low power consumption state, and the first low power consumption state includes a standby mode and a light use mode; When the target access signal of the interface unit is detected and acquired, a first quantity according to the target access signal is determined; a second power control signal is output to the power distribution unit according to the first quantity; the second power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a second low power consumption state, and the second low power consumption state refers to powering off circuits and devices that are no longer in working state; When it is detected that the target access signal of the interface unit is obtained and the switch has not interacted with the target external device for more than a preset time, a third power control signal is output to the power distribution unit; the third power control signal is used to instruct the power distribution unit to adjust the output power of the power supply unit so that the switch enters a third low power consumption state, and the third low power consumption state includes a deep sleep mode.
9. The switch circuit according to any one of claims 1 to 7, characterized in that: The main control unit is also used for: When the target external device is detected as a remote transmission device, the transmission distance of the remote transmission device is acquired in real time; A fourth power control signal is output to the power supply unit according to the transmission distance; the fourth power control signal is used to adapt the output power of the power supply unit to the transmission distance.
10. A switch, characterized in that: The invention comprises a switch circuit as claimed in any one of claims 1 to 9.