Internet-of-things intelligent power distribution terminal supporting dual-channel secure communication
The dual-channel secure communication solution solves the problems of low communication reliability and deployment efficiency of smart distribution terminals, achieves efficient data transmission and rapid fault diagnosis, enhances data security, and meets the power grid's rapid response needs.
Patent Information
- Application Number
- CN202521974094.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2035-09-15
AI Technical Summary
Existing smart distribution terminals have problems such as poor communication reliability, low deployment efficiency, and insufficient data security. In particular, they are prone to network congestion in scenarios with dense telesignaling collection, low grid fault diagnosis efficiency, low file transfer efficiency, and cannot meet the requirements for rapid response to grid faults. In addition, the encryption performance is insufficient.
A dual-channel secure communication solution is adopted, including a main control module, an encryption module, the first and second communication modules, a PHY selection module and an output network port module. It is connected to the encryption module through the DSPI bus to realize dual encryption channels, and is connected to the communication module through the RGMII and RMII interfaces. Combined with the chip select circuit, hardware-level seamless switching of the encryption chip is achieved. Dual PHY hardware switching and ESD protection of the network port module are used to support fast online and data transmission.
It improves communication reliability and deployment efficiency, reduces network congestion risks, enhances data security, enables rapid fault diagnosis and file transfer, and meets the requirements for rapid response to power grid faults.
Smart Images

Figure CN223472266U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the technical field of distribution terminal, concretely relates to a thing networking intelligent distribution terminal of support dual -channel safety communication. BACKGROUND
[0002] At present, the intelligent distribution terminal gradually implements the optical fiber transmission mode and realizes the wireless data transmission mode through IEC 104 protocol, wherein the data transmission using optical fiber instead of traditional copper cable can meet the efficient transmission demand of massive real-time data of distribution network, such as fault recording, video monitoring data transmission, and the transmission delay is significantly better than that of traditional copper cable, which is suitable for high-density load area; wherein the 104 wireless transmission mode supports interconnection of different manufacturers' equipment, and can be directly connected to 4G / 5G wireless module through a standard interface, which greatly reduces the system integration complexity and operation and maintenance difficulty. However, the existing intelligent distribution terminal still has the following defects:
[0003] 1. Communication defect. The 104 wireless communication mode commonly used in traditional distribution terminals has the characteristics of low effective data load rate, which can cause high network bandwidth occupancy rate, network congestion and other problems, and can easily cause network congestion in dense remote signaling collection scenarios.
[0004] 2. Poor stability and low power grid fault diagnosis efficiency. Due to the harsh operating environment of the intelligent distribution terminal, the high communication requirements, and other reasons, the device frequently disconnects and recovers slowly, and the complex message of the 104 wireless communication mode can cause low power grid fault diagnosis efficiency.
[0005] 3. Low deployment efficiency. The existing distribution terminal needs manual configuration of communication parameters, which takes a long time and is troublesome to operate online. The average time for single terminal configuration is more than 30 minutes, and there is also the problem of manual misconfiguration.
[0006] 4. Low file transmission efficiency. The existing distribution terminal using 104 wireless transmission mode for file transmission needs ten minutes or even longer to transmit a recording file, which cannot meet the requirement of fast response of power grid fault.
[0007] 5. Insufficient encryption performance. Old distribution terminals mostly use software encryption method or single encryption chip, which occupies a lot of CPU resources, and the failure of single encryption chip will cause the terminal to completely lose communication ability. Especially in the national SM2 / 4 encryption scene, the response delay of old distribution terminal will be greatly increased, which cannot meet the real-time control instruction demand.
[0008] Therefore, it is urgent to develop a thing networking intelligent distribution terminal supporting dual-channel safety communication, which can overcome the reliability, low deployment efficiency and data security defects of 104 wireless communication mode. UTILITY MODEL CONTENT
[0009] The utility model provides a kind of support dual-channel secure communication's internet of things intelligent power distribution terminal, it is mainly used to solve the communication reliability of existing power distribution terminal, deployment efficiency is low and data security is poor and other problems, to improve communication reliability, deployment efficiency and file transmission efficiency, and the effect of good encryption performance is achieved.
[0010] The utility model realizes the above-mentioned purpose by the following technical scheme:
[0011] A kind of support dual-channel secure communication's internet of things intelligent power distribution terminal, including main control module, encryption module, first communication module, second communication module, PHY selection module and output network interface module, the main control module is connected with the encryption module by a DSPI bus, and output power grid data to the encryption module, the encryption module is equipped with the double encryption channel of turn-by-turn operation, for the encryption or decryption of the power grid data, and the decrypted data is returned to the main control module;The main control module is established data connection with the first communication module by RGMII interface, and is established data connection with the second communication module by RMII interface, and the RGMII interface or RMII interface mode is switched by configuring the PHY selection module;The first communication module, second communication module are connected with the output network interface module respectively, for establishing data transmission link with power distribution master station by the output network interface module.
[0012] Further scheme is, the encryption module includes first encryption chip, second encryption chip and chip selection circuit, the data transmission pin of the first encryption chip and second encryption chip is connected in parallel and is accessed to the DSPI bus, to constitute the double encryption channel;The chip selection circuit is used to receive the chip switching signal output by the main control module, and according to the chip switching signal, the first encryption chip, second encryption chip is switched to run in turn.
[0013] Further scheme is, the chip selection circuit includes first switch tube, second switch tube and third switch tube, the source electrode of the first switch tube is connected with the power line of the DSPI bus, its drain electrode is connected with the power supply end of the first encryption chip and second encryption chip respectively, its gate electrode is connected with the collector of second switch tube and third switch tube;The base of the second switch tube is connected with the chip selection signal line of the DSPI bus, for receiving the chip selection signal output by the main control module;The base of the third switch tube is connected with the enable signal line of the DSPI bus, for receiving the enable signal output by the main control module;The emitter of the second switch tube and the third switch tube is connected with common ground;The chip selection signal end of the first encryption chip is accessed to the chip selection signal, and the chip selection signal end of the second encryption chip is accessed to the enable signal.
[0014] Further, the first encryption chip and the second encryption chip are both ESAM chips.
[0015] Further, the first communication module comprises a first power supply circuit, a first clock circuit, a gigabit PHY chip and peripheral circuits thereof, the first power supply circuit is used for accessing a power supply and outputting a filtered power supply to a power supply end of the gigabit PHY chip; the first clock circuit uses a 25MHz crystal oscillator to provide a reference clock and output an RGMII clock signal to the gigabit PHY chip; and the gigabit PHY chip receives a mode selection signal output by the PHY selection module and selects a corresponding hardware working mode according to the mode selection signal.
[0016] Further, the second communication module comprises a second power supply circuit, a second clock circuit, an industrial-grade hundred-megabit PHY chip and peripheral circuits thereof, the second power supply circuit is used for accessing a power supply and outputting a filtered power supply to a power supply end of the industrial-grade hundred-megabit PHY chip and the second clock circuit; the second clock circuit uses a 50MHz active crystal oscillator to provide a reference clock and output an RMII clock signal to the industrial-grade hundred-megabit PHY chip; and the industrial-grade hundred-megabit PHY chip receives a mode selection signal output by the PHY selection module and selects a corresponding hardware working mode according to the mode selection signal.
[0017] Further, the PHY selection module comprises a resistance network and a mode configuration circuit, the resistance network comprises a plurality of pull-up resistors and weak pull-down resistors, the mode configuration circuit comprises a plurality of configuration signals, one end of each of the plurality of pull-up resistors is connected to a power supply, and the other end is connected to a plurality of configuration signals respectively; one end of each of the plurality of weak pull-down resistors is connected to a plurality of configuration signals respectively, and the other end is grounded.
[0018] The configuration circuit outputs the mode selection signal according to a level combination of the plurality of configuration signals and a PHY enable signal output by the master module.
[0019] Further, the plurality of configuration signals comprise but are not limited to an interface mode selection signal, a clock mode control signal and a PHY address configuration signal, and the PHY enable signal is used for selecting a communication medium type.
[0020] The mode selection signal adopts a data encoding mode, wherein the gigabit PHY chip encodes the data as RXD[3:0], pulls up RX_CLK and RX_DV pins and pulls them up to DVDD_RGMII.
[0021] Further, the output network interface module comprises a first network interface circuit and a second network interface circuit, the first network interface circuit comprises a first ESD protection circuit, a first network interface transformer circuit, a second ESD protection circuit and a first network interface, an input end of the second network interface circuit is connected to a first differential signal output by a gigabit PHY chip through the first ESD protection circuit, the first differential signal is amplified, impedance matched and high-voltage isolated, and a first differential mode coupling enhanced signal is output to the first network interface through the second ESD protection circuit.
[0022] The second network interface circuit comprises a second network interface transformer, a third ESD protection circuit and a second network interface, an input end of the second network interface transformer is connected to a second differential signal output by an industrial-grade hundred-megabit PHY chip, the second differential signal is amplified, impedance matched and high-voltage isolated, and a second differential mode coupling enhanced signal is output to the second network interface through the third ESD protection circuit.
[0023] Further, the power distribution master station generates an encrypted identification code containing a unique identifier of the power distribution terminal according to the deployment of the power distribution terminal, a code scanning gun establishes a communication connection with the power distribution terminal in a network interface direct connection mode, and scans the encrypted identification code, the power distribution terminal is configured to decode and configure the encrypted identification code, and send an identity verification signal to the power distribution master station, and the power distribution master station performs identity verification on the power distribution terminal according to the identity verification signal, to complete the code scanning online of the power distribution terminal.
[0024] Therefore, the utility model has the following beneficial effects:
[0025] 1、 the utility model discloses a same DSPI bus realizes the data communication of double encryption chip and host module, and through the first encryption chip and second encryption chip parallel access DSPI bus, combines the control of three -stage switch tube of piece selection circuit, can realize the hardware -level seamless switching of two encryption chips rotation operation, compared with the traditional software or single encryption chip encryption scheme, can eliminate single point failure risk.
[0026] 2、 the utility model discloses double PHY hardware switching, realizes parallel deployment through the gigabit PHY of connecting RGMII interface and industrial-grade hundred-megabit PHY of connecting RMII interface, and through resistance network and mode configuration circuit of PHY selection module, the PHY enable signal of host is converted into the mode selection signal of target PHY, to meet the demand of power distribution scene main spare link fast switching, and solve the communication defects of traditional power distribution terminal, and can cooperate code scanning gun and realize fast online.
[0027] 3. The utility model discloses output net mouth module adopts two-stage ESD protection and net mouth transformer, thereby significantly improve the antistatic ability, and reduce the risk of damage caused by lightning stroke or power grid surge, net mouth transformer realizes electrical isolation, and blocks loop interference.
[0028] The utility model will be further explained in detail below in combination with the drawings and specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0029] Figure 1 It is the circuit schematic of encryption module provided by the utility model embodiment.
[0030] Figure 2 It is the circuit schematic of the first communication module provided by the utility model embodiment.
[0031] Figure 3 It is the circuit schematic of the first power module provided by the utility model embodiment.
[0032] Figure 4 It is the circuit schematic of the second communication module provided by the utility model embodiment.
[0033] Figure 5 It is the principle diagram of the PHY selection module circuit for providing configuration signal for gigabit PHY chip provided by the utility model embodiment.
[0034] Figure 6 It is the circuit schematic of the PHY selection module circuit for providing configuration signal for industrial-grade hundred megabit PHY chip provided by the utility model embodiment.
[0035] Figure 7 It is the circuit schematic of the first net mouth circuit provided by the utility model embodiment.
[0036] Figure 8 It is the circuit schematic of the second net mouth circuit provided by the utility model embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical scheme and advantage of the utility model embodiment more clear, the technical scheme of the utility model embodiment will be clearly and completely described below in combination with the drawings of the utility model embodiment. Obviously, the described embodiment is a part of the embodiment of the utility model, not all the embodiment. Based on the described embodiment of the utility model, all other embodiments obtained by the ordinary skill in the art without creative labor belong to the scope of the utility model protection.
[0038] An Internet of Things intelligent power distribution terminal supporting dual-channel secure communication
[0039] Referring to Figures 1-6The utility model relates to a kind of support dual-channel safe communication's internet of things intelligent power distribution terminal, including main control module, encryption module, first communication module, second communication module, PHY selection module and output net interface module, the main control module is connected with the encryption module by a DSPI bus, and output power grid data to the encryption module, the encryption module is equipped with the dual encryption channel of turn-round operation, for the power grid data is encrypted or decrypted, and decrypted data is returned to the main control module;The main control module is established data connection with the first communication module by RGMII interface, and is established data connection with the second communication module by RMII interface, and the RGMII interface or RMII interface mode is switched by configuring the PHY selection module;The first communication module, second communication module are connected with the output net interface module respectively, for establishing data transmission link with power distribution master station by the output net interface module.
[0040] Specifically, the first communication module of the embodiment is the main communication module of the power distribution terminal, and the second communication module is the backup communication module, which are respectively connected with the main control module to form a main link and a backup link, and when the main link fails, the backup link realizes second-level takeover. Wherein, the first communication module supports RGMII interface, for transmitting MQTT encrypted message;The second communication module is used for providing RMII backup channel, and supports direct connection of code scanning gun.
[0041] Referring to Figure 1 In the embodiment, the encryption module includes a first encryption chip U1, a second encryption chip U2 and a chip selection circuit. Data transmission pins of the first encryption chip U1 and the second encryption chip U2 are connected in parallel to the DSPI bus to form the dual encryption channel. The chip selection circuit is used for receiving a chip switching signal output by the main control module, and switching the first encryption chip U1 and the second encryption chip U2 to operate alternately according to the chip switching signal.
[0042] In the embodiment, the chip selection circuit includes a first switch tube Q1, a second switch tube Q2 and a third switch tube Q3. The source of the first switch tube Q1 is connected with the power line of the DSPI bus, the drain thereof is connected with the power terminal of the first encryption chip U1 and the second encryption chip U2 respectively, and the gate thereof is connected with the collector of the second switch tube Q2 and the third switch tube Q3. The base of the second switch tube Q2 is connected with the chip selection signal DSPIO_SSN line of the DSPI bus, for receiving the chip selection signal DSPIO_SSN output by the master control module. The base of the third switch tube Q3 is connected with the enable signal EN line of the DSPI bus, for receiving the enable signal EN output by the master control module. The emitter of the second switch tube Q2 and the third switch tube Q3 is connected in common. The chip selection signal DSPIO_SSN end of the first encryption chip U1 is connected with the chip selection signal DSPIO_SSN, and the chip selection signal DSPIO_SSN end of the second encryption chip U2 is connected with the enable signal EN.
[0043] Specifically, the first switch tube Q1 is a P-channel MOSFET, and the second switch tube Q2 and the third switch tube Q3 are both NPN transistors. The working principle of the encryption circuit is as follows: when the received enable signal EN is a high level signal, the third switch tube Q3 is turned on, the encryption circuit is running, otherwise the encryption circuit is closed. When the received chip selection signal DSPIO_SSN is a high level, the second switch tube Q2 is turned on, at this time the gate of the first switch tube Q1 is low level and turned on, the first encryption chip U1 obtains power supply, so as to activate the SPI communication to start running, at this time the second encryption chip U2 is closed. When the received chip selection signal DSPIO_SSN is a low level, the second switch tube Q2 is cut off, at this time the gate of the first switch tube Q1 is high level and cut off, the first encryption chip U1 cuts off the power supply and the chip selection signal DSPIO_SSN end thereof is low level input, the first encryption chip U1 is closed and switched to the second encryption chip U2 to run. The master control module can realize the rotation running of the encryption chips by controlling the level of the chip selection signal DSPIO_SSN and the enable signal EN.
[0044] Specifically, the control of the chip switching signal high / low level frequency through the master control module can make the double encryption rotate running close to the effect of double encryption parallel.
[0045] Specifically, the encryption circuit of the embodiment further comprises resistors R7, R8, 0R resistors R3-R6, a capacitor C1 and a capacitor C2, the base of the second switch tube Q2 is connected to the chip selection signal DSPIO_SSN through the resistor R7, and the base of the third switch tube Q3 is connected to the enable signal EN through the resistor R8; the 0R resistors R3 and R4 are connected to the encryption data input end MOSI1 / 2 and the decryption data return end MISO1 / 2 of the first encryption chip U1 respectively, the 0R resistors R5 and R6 are connected to the encryption data input end MOSI1 / 2 and the decryption data return end MISO1 / 2 of the second encryption chip U2 respectively, which are used for reserving parameter debugging positions, temporarily occupying positions by 0Ω resistors when the parameters of the matching circuit are uncertain, and replacing the specific value elements after debugging; the first encryption chip U1 is commonly grounded with its GND end through the capacitor C1, and the second encryption chip U2 is commonly grounded with its GND end through the capacitor C2.
[0046] In the embodiment, the first encryption chip U1 and the second encryption chip U2 both adopt ESAM chips.
[0047] Specifically, the ESAM chip of the embodiment realizes data security encryption and decryption through the national grid encryption algorithm.
[0048] Referring to Figure 2 In the embodiment, the first communication module comprises a first power supply circuit, a first clock circuit, a gigabit PHY chip U16 and its peripheral circuit, the first power supply circuit is used for connecting to a power supply, filtering the power supply and then outputting to the power supply end of the gigabit PHY chip U16; the first clock circuit adopts a 25MHz crystal oscillator to provide a reference clock and output an RGMII clock signal to the gigabit PHY chip U16; the gigabit PHY chip U16 receives the mode selection signal output by the PHY selection module and selects the corresponding hardware working mode according to the mode selection signal.
[0049] Referring to Figure 3 Specifically, the first power supply circuit comprises filtering capacitors C63-C67 and magnetic beads FB7-FB9, the power supply realizes high-low frequency combined capacitor filtering through the filtering capacitors C63-C67, so as to suppress the power supply noise; and realizes high frequency loss through the magnetic beads FB7-FB9, so as to suppress high frequency noise and absorb electrostatic pulse to realize circuit stability.
[0050] Referring to Figure 4In the embodiment, the second communication module includes a second power supply circuit, a second clock circuit, an industrial-grade 100M PHY chip U18 and its peripheral circuit. The second power supply circuit is used to access a power supply and output the filtered power supply to the power supply end of the industrial-grade 100M PHY chip U18 and the second clock circuit. The second clock circuit uses a 50MHz active crystal oscillator to provide a reference clock and output an RMII clock signal to the industrial-grade 100M PHY chip U18. The industrial-grade 100M PHY chip U18 receives the mode selection signal output by the PHY selection module and selects the corresponding hardware working mode according to the mode selection signal.
[0051] Referring to Figures 5-6 In the embodiment, the PHY selection module includes a resistance network and a mode configuration circuit. The resistance network includes a plurality of pull-up resistors and weak pull-down resistors. The mode configuration circuit includes a plurality of configuration signals. One end of each of the plurality of pull-up resistors is connected to a power supply, and the other end is connected to a plurality of configuration signals respectively. One end of each of the plurality of weak pull-down resistors is connected to a plurality of configuration signals respectively, and the other end is grounded.
[0052] The configuration circuit outputs the mode selection signal according to the level combination of the plurality of configuration signals and the PHY enable signal EN output by the host module.
[0053] In the embodiment, the plurality of configuration signals include but are not limited to an interface mode selection signal, a clock mode control signal and a PHY address configuration signal. The PHY enable signal EN is used to select the type of communication medium.
[0054] The mode selection signal adopts a data encoding mode. When the data encoding is RXD[3:0] according to the gigabit PHY chip U16, the RX_CLK and RX_DV pins are pulled up and pulled up to DVDD_RGMII.
[0055] Specifically, the PHY selection module in the embodiment includes a circuit for providing a configuration signal for the gigabit PHY chip U16 and a circuit for providing a configuration signal for the industrial-grade 100M PHY chip U18. Referring to Figure 5 The configuration signal includes RMII_MDIO_DATA, RGMII2_RD3, RGMII2_RD2, RGMII2_RD1, RGMII2_RD0 and RGMII2_RCLK. The level combination of the configuration signal corresponds to the selection mode of the mode selection signal. Referring to Table 1 below:
[0056] Table 1: Selection mode table
[0057]
[0058] UTP<=>RGMII mode means that RGMII communication is carried out through the RJ45 network port; UTP / FIBER<=>RGMII means that the network port and the optical fiber medium are automatically detected, and automatically switched to the RGMII protocol; UTP<=>SGMII means that SGMII communication is carried out through the network port; SGMII (PHY)<=>RGMII means that the PHY is a slave device, and SGMII is converted to RGMII; SGMII (MAC)<=>RGMII means that the PHY is a master device, and RGMII is converted to SGMII; UTP<=>FIBER (AUTO) means that the network port and the optical fiber are automatically switched; and UTP<=>FIBER (FORCE) means that the network port or the optical fiber mode is forcibly enabled.
[0059] Referring to Figure 6 The configuration signal includes RXDV, RXD1, RXD2 and RXD3, the RXDV configuration signal is a PHY MII and RMII selection signal, MII mode = 0, RMII mode = 1, the MII mode is a default mode, which is set to the default value of the MII mode by an internal low level through a weak pull-down resistor. The RXD1 configuration signal is an internal configuration signal, the PHY LED mode = 0 (default), and the PHY WOL mode = 1; the RXD2 configuration signal is an interrupt configuration signal, which is used for the interrupt function in the RMII mode. The RXD3 configuration signal is an RMII clock mode control signal, the REF CLK output = 0, at this time the clock is provided by the PHY, and the REF CLK input = 1, at this time the clock is provided by the master module. The selection mode of the industrial-grade hundred-megabit PHY chip U18 is shown in the following table 2:
[0060] Table 2: Selection mode comparison table of industrial-grade hundred-megabit PHY chip U18
[0061]
[0062] The FXEN is a PHY enable signal EN output by the master module.
[0063] Referring to Figure 7 In the embodiment, the output network port module includes a first network port circuit and a second network port circuit, the first network port circuit includes a first ESD protection circuit TVS1, a first network port transformer U17, a second ESD protection circuit TVS2 and a first network port, and the input end of the second network port circuit is connected to the first differential signal output by the gigabit PHY chip U16 through the first ESD protection circuit TVS1, for amplifying, impedance matching and high-voltage isolation of the first differential signal, and outputting a first differential mode coupling enhanced signal to the first network port through the second ESD protection circuit TVS2.
[0064] Specifically, the first ESD protection circuit TVS1 of the embodiment adopts a five-channel TVS diode array, is located in front of the first network port circuit, is used for discharging static shock of contact discharge, and protects a rear-stage circuit. The second ESD protection circuit TVS2 adopts a low-voltage TVS diode array, is used for intercepting residual surges such as coupled interference, and realizes two-stage surge protection.
[0065] Referring to Figure 8 The second network port circuit includes a second network port transformer T1, a third ESD protection circuit, and a second network port. An input end of the second network port transformer T1 is connected to a second differential signal output by an industrial-grade hundred-megabit PHY chip U18, is used for amplifying, impedance matching, and high-voltage isolation of the second differential signal, and outputs a second differential mode coupling enhanced signal to the second network port through the third ESD protection circuit.
[0066] Specifically, the second network port transformer T1 of the embodiment transmits signals through magnetic coupling, and blocks common-mode interference introduced by a network cable.
[0067] In the embodiment, the power distribution master station generates an encrypted identification code containing a unique identifier of the power distribution terminal according to deployment of the power distribution terminal, a code scanning gun establishes a communication connection with the power distribution terminal in a network port direct connection mode, and scans the encrypted identification code. The power distribution terminal is used for decoding and configuring the encrypted identification code, and sends an identity verification signal to the power distribution master station. The power distribution master station performs identity verification on the power distribution terminal according to the identity verification signal, so as to complete code scanning online of the power distribution terminal.
[0068] The above-mentioned embodiments are only preferred embodiments of the utility model, and cannot be used to limit the range of protection of the utility model. Any non-substantial changes and replacements made by a person skilled in the art on the basis of the utility model belong to the range of protection required by the utility model.
Claims
1. An Internet of Things intelligent power distribution terminal supporting dual-channel secure communication, characterized in that, The application relates to an Internet of Things intelligent power distribution terminal supporting double-channel secure communication.
2. The Internet of Things intelligent power distribution terminal supporting double-channel secure communication according to claim 1, wherein the encryption module comprises a first encryption chip, a second encryption chip and a chip selection circuit, data transmission pins of the first encryption chip and the second encryption chip are connected in parallel to the DSPI bus to form the double encryption channel, and the chip selection circuit is used for receiving a chip switching signal output by the master control module and switching the first encryption chip and the second encryption chip to run alternately according to the chip switching signal.
3. The Internet of Things intelligent power distribution terminal supporting double-channel secure communication according to claim 2, wherein the chip selection circuit comprises a first switch tube, a second switch tube and a third switch tube, a source electrode of the first switch tube is connected with a power supply line of the DSPI bus, drain electrodes of the first switch tube are connected with power supply ends of the first encryption chip and the second encryption chip respectively, a gate electrode of the first switch tube is connected with collector electrodes of the second switch tube and the third switch tube, a base electrode of the second switch tube is connected with a chip selection signal line of the DSPI bus and is used for receiving a chip selection signal output by the master control module, a base electrode of the third switch tube is connected with an enable signal line of the DSPI bus and is used for receiving an enable signal output by the master control module, emitter electrodes of the second switch tube and the third switch tube are connected in common, a chip selection signal end of the first encryption chip is connected with the chip selection signal, and a chip selection signal end of the second encryption chip is connected with the enable signal.
4. The Internet of Things intelligent power distribution terminal supporting double-channel secure communication according to claim 2, wherein the first encryption chip and the second encryption chip are both ESAM chips.
5. The Internet of Things intelligent power distribution terminal supporting double-channel secure communication according to claim 1, wherein the first communication module comprises a first power supply circuit, a first clock circuit, a gigabit PHY chip and a peripheral circuit of the gigabit PHY chip, the first power supply circuit is used for connecting with a power supply and outputting a filtered power supply to a power supply end of the gigabit PHY chip. The first clock circuit adopts a 25MHz crystal oscillator to provide a reference clock and output an RGMII clock signal to the gigabit PHY chip; the gigabit PHY chip receives a mode selection signal output by the PHY selection module and selects a corresponding hardware working mode according to the mode selection signal.
6. The IoT smart power distribution terminal supporting dual-channel secure communication according to claim 4, wherein: The second communication module comprises a second power supply circuit, a second clock circuit, an industrial-grade hundred-M PHY chip and a peripheral circuit thereof, the second power supply circuit is used for connecting to a power supply and outputting a filtered power supply to the power supply end of the industrial-grade hundred-M PHY chip and the second clock circuit; The second clock circuit adopts a 50MHz active crystal oscillator to provide a reference clock and output an RMII clock signal to the industrial-grade hundred-M PHY chip; The industrial-grade hundred-M PHY chip receives a mode selection signal output by the PHY selection module and selects a corresponding hardware working mode according to the mode selection signal.
7. The IoT smart power distribution terminal supporting dual-channel secure communication according to claim 5 or 6, wherein: The PHY selection module comprises a resistance network and a mode configuration circuit, the resistance network comprises a plurality of pull-up resistors and weak pull-down resistors, the mode configuration circuit comprises a plurality of configuration signals, one end of each of the plurality of pull-up resistors is connected to a power supply, and the other end is connected to a plurality of configuration signals respectively; one end of each of the plurality of weak pull-down resistors is connected to a plurality of configuration signals respectively, and the other end is grounded; The configuration circuit outputs the mode selection signal according to the level combination of the plurality of configuration signals and a PHY enable signal output by the master module.
8. The IoT smart power distribution terminal supporting dual-channel secure communication according to claim 7, wherein: The plurality of configuration signals comprise but are not limited to an interface mode selection signal, a clock mode control signal and a PHY address configuration signal, and the PHY enable signal is used to select a communication medium type; The mode selection signal adopts a data coding mode, wherein, according to the data coding, the gigabit PHY chip outputs RXD[3:0], pulls up RX_CLK and RX_DV pins and pulls them up to DVDD_RGMII.
9. The IoT smart power distribution terminal supporting dual-channel secure communication according to claim 7, wherein: The output network port module comprises a first network port circuit and a second network port circuit, the first network port circuit comprises a first ESD protection circuit, a first network port transformer circuit, a second ESD protection circuit and a first network port, the input end of the second network port circuit is connected to a first differential signal output by the gigabit PHY chip through the first ESD protection circuit, is used for amplifying, impedance matching and high-voltage isolation of the first differential signal, and outputs a first differential mode coupling enhanced signal to the first network port through the second ESD protection circuit; The second network port circuit includes a second network port transformer, a third ESD protection circuit and a second network port. The input end of the second network port transformer is connected to the second differential signal output by the industrial-grade hundred-megabit PHY chip, for amplifying, impedance matching and high-voltage isolation of the second differential signal, and outputting the second differential mode coupling enhanced signal to the second network port through the third ESD protection circuit.
10. The IoT intelligent power distribution terminal supporting dual-channel secure communication according to claim 9, characterized in that: The power distribution master station generates an encrypted identification code containing the unique identification of the power distribution terminal according to the deployment of the power distribution terminal, a code scanning gun establishes a communication connection with the power distribution terminal in a network port direct connection mode, and scans the encrypted identification code, the power distribution terminal decodes and configures the encrypted identification code, and sends an identity verification signal to the power distribution master station, and the power distribution master station verifies the identity of the power distribution terminal according to the identity verification signal to complete the code scanning online of the power distribution terminal.