A method for quantizing intelligent switches
By integrating the embedded quantum board inside the distribution switch monitoring terminal (FTU) and adopting dynamic data processing and low-power consumption technology, the problem of insufficient security and low integration of the FTU is solved, and a more efficient and safer solution is achieved. Data transfer and longer battery life.
Patent Information
- Application Number
- CN202311501004.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-11-10
AI Technical Summary
Existing power distribution switch monitoring terminals (FTUs) have problems such as insufficient security, low integration, and complex communication interactions, especially in traditional encryption methods and external quantum CPE methods.
The embedded quantum board is integrated into the distribution switch monitoring terminal (FTU), data is encrypted through the quantum key management unit and encryption unit, and IP Sec tunnel is used to establish communication with the main station to dynamically adjust the serial port framing data volume and transmission time interval, set multiple data packet structures to improve security and adaptability, and use low-power technology to optimize board power control.
It improves the security and integration of FTU, reduces the possibility of quantum key leakage, enhances the security and efficiency of data transmission, and maintains endurance even when the power supply is disconnected.
Smart Images

Figure CN117459228B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of intelligent switch confidential communication, and in particular relates to a method for quantizing an intelligent switch. Background Art
[0002] The distribution switch monitoring terminal (FTU for short), also known as the feeder terminal device, has remote control, telemetry, telesignaling, and fault detection functions, and communicates with the distribution automation master station to provide the distribution system operation status and various parameters and information required for monitoring and control, including switch status, power parameters, phase-to-phase faults, ground faults, and parameters at the time of faults, and executes commands issued by the distribution master station to adjust and control the distribution equipment, and realize functions such as fault location, fault isolation, and rapid power supply restoration in non-fault areas.
[0003] The intelligent pole-mounted switch consists of the pole-mounted switch body, control terminal and supporting software. The switch deeply integrates key technologies such as current sensor, voltage sensor, capacitor power supply module, line loss collection module, etc. It has adaptive comprehensive local feeder automation function, does not rely on the master station and communication, and uses technologies such as short-circuit / grounding fault detection and hierarchical protection to adaptively adapt to multi-branch and multi-connection distribution grids to achieve line fault selective protection. Short-circuit and single-phase grounding faults are quickly located and automatically isolated on site, which does not affect the power supply in non-fault areas. It can greatly improve the reliability of power supply and realize intelligent perception and edge computing of distribution overhead lines.
[0004] The switch can support multiple communication methods such as wireless public network and private network integration (4G / 3G / 2G five-mode adaptive, private network 4G), LTE1.8G communication channel, Beidou, 5G, optical fiber, etc., adapt to various application environments and conditions of the distribution network, and meet more advanced feeder automation application requirements.
[0005] There are currently two ways of encrypted communication for pole switches. One is to use traditional encryption methods, build encryption chips into the switch equipment, encrypt the switch communication data, and use traditional data encryption methods; the other is to use an external quantum CPE method to realize quantum CPE communication of pole switches. Specifically, the pole switch is externally connected to the quantum CPE, and the quantum security service platform generates a quantum key and sends it to the security gateway. The security gateway encrypts the quantum key through the session key and sends the encrypted quantum key to the quantum CPE. The quantum CPE obtains the quantum key after decryption. The quantum CPE uses the quantum key to encrypt the transmitted data. The pole switch realizes the secure transmission of "three remote" data through the external quantum CPE, quantum security service platform, and security gateway. Solution 1 uses traditional encryption technology and has the problem of insufficient security. Solution 2 uses an external quantum CPE, which has the problem of low integration, and the data transmission between the switch and the quantum CPE has the risk of data hijacking. The existing quantum key distribution process has the problem of complex interaction process, long forwarding link, and low security. Summary of the invention
[0006] Aiming at the problems of insufficient security, low integration and complex communication interaction of existing FTU, the present invention provides a method for quantum transformation of intelligent switch, comprising integrating an embedded quantum board inside a distribution switch monitoring terminal (FTU), the FTU supplies power to the embedded quantum board, and the FTU transmits data to the embedded quantum board in a serial port transparent transmission mode; the embedded quantum board comprises a quantum key management unit and an encryption unit, the quantum key management unit obtains a random quantum key from a quantum security service platform, the encryption unit uses the quantum key to encrypt the FTU transmission data, and sends the encrypted data to a master station through an IP Sec tunnel, and the quantum board establishes an IP Sec tunnel with the master station through a quantum gateway.
[0007] Preferably, the session key is used to encrypt the quantum key, and the encrypted quantum key is transmitted to the quantum gateway.
[0008] To implement the IP Sec protocol, the data sent by the switch to the quantum board needs to be converted into TCP / IP application layer data packets. TCP / IP uses the reliable transmission mechanism of TCP mode to ensure that the data is not bit-errored or lost. Serial port data is sent continuously, while TCP / IP data is sent in data packets. The serial port data needs to be framed and encapsulated into TCP / IP packets.
[0009] The serial port framing includes:
[0010] The serial port frame data amount is determined according to the TCP / IP data packet length limit, and the serial port frame data amount is less than the TCP / IP data packet length limit, and the serial port data is framed according to the serial port frame data amount; when the serial port application finds that an idle time of not less than T milliseconds appears in the serial port data stream, and the data to be framed received before the idle time is less than the serial port frame data amount, the data to be framed is treated as a frame.
[0011] Preferably, the characteristics of the transmission path from FTU to the main station are monitored; the transmission path safety factor is calculated according to the characteristics, and the transmission path safety factor indicates the safety degree of data transmission through the transmission path; and the serial port framing data volume is adjusted according to the transmission path safety factor. Specifically, when the transmission path safety factor is greater than the first safety threshold, the first serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the first safety threshold and greater than the second safety threshold, the second serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the second safety threshold, the third serial port framing data volume is used to frame the serial port data; the first safety threshold is greater than the second safety threshold; the first serial port framing data volume is greater than the second serial port framing data volume and greater than the third serial port framing data volume.
[0012] The characteristics of the transmission path from FTU to the main station include: one or more of the quantum board encryption level, the quantum gateway security factor, the number of terminals connected to the quantum gateway, the first channel parameters from FTU to the quantum gateway, and the second channel parameters from the quantum gateway to the main station. The encryption level of the quantum board indicates the security level of the quantum board in encrypting the transmitted data, including one or more of the key security level, the encryption algorithm security level, and the computing and storage environment security level.
[0013] Determine the time interval for transmitting TCP / IP data packets according to the transmission path security factor; when the transmission path security factor is greater than the first security threshold, use the first time interval to transmit TCP / IP data packets; when the transmission path security factor is less than or equal to the first security threshold and greater than the second security threshold, use the second time interval to transmit TCP / IP data packets; when the transmission path security factor is less than or equal to the second security threshold, use the third time interval to transmit TCP / IP data packets; the first security threshold is greater than the second security threshold; the first time interval is less than the second time interval and less than the third time interval.
[0014] Monitor the data transmission environment in real time, frame and transmit the serial port data by predicting the safety factor of the transmission path. When the transmission security is high, increase the amount of transmitted data and the transmission frequency, so that the data is concentrated in a safer environment for transmission, further improving the security of transmission.
[0015] The framed data is encapsulated into a TCP / IP data packet, and one frame is encapsulated into one TCP / IP data packet. Preferably, the TCP / IP data packet structure includes a pseudo source address, a pseudo destination address and data to be transmitted, wherein the pseudo source address is converted from the source address through a first address conversion rule to obtain an address different from the source address, and the pseudo destination address is converted from the destination address through a second address conversion rule to obtain an address different from the destination address. By hiding the real source address and destination address, illegal terminals are prevented from tracking the transmission node, thereby improving the security of the data.
[0016] Preferably, N data packet structures are set to form a data packet structure set; a data packet structure is selected from the data packet structure set according to the current network environment and the transmission path safety factor, and the framed data is encapsulated according to the selected data packet structure. Preferably, before data transmission, the FTU synchronizes the data packet structure set to the quantum gateway and the master station through the quantum board. The master station receives a TCP / IP data packet; a data packet structure is selected from the data packet structure set according to the current network environment and the transmission path safety factor, and the TCP / IP data is parsed according to the selected data packet structure. It is determined whether the TCP / IP data packet is parsed successfully. If the parsing is wrong, other data packet structures in the data packet structure set are selected for parsing. If the parsing is successful, the transmission data is obtained.
[0017] Setting the data packet structure set and dynamically encapsulating the data further increases the difficulty of data cracking and improves security. Select the appropriate data packet structure based on the current network environment and the security factor of the transmission path. On the basis of ensuring security, improve the adaptability of the data packet structure and improve transmission efficiency.
[0018] The embedded quantum board adopts low-power technology, including the selection of hardware BOM, and adopts low-power software collaboration technology to ensure the endurance when the external power supply of FTU is disconnected. The embedded quantum board contains a communication unit, which is responsible for the wireless communication function with the master station. Because the IP Sec tunnel is in a long-term maintenance state, the tunnel needs to be maintained, but in the quantum encryption work of the intelligent switch, there are two states: sending and not sending data. The transmission power optimization technology of the communication unit is carried out for the states of sending data and not sending data. Board power control is to further adjust the power control strategy of the mobile communication network, further reduce the uplink transmission power (that is, the transmission power of the quantum board) while ensuring the communication quality, and achieve further reduction in power consumption.
[0019] Under normal circumstances, the critical values of the 4G uplink are: the reference signal received power (RSRP) is around -110, and the signal-to-noise ratio (SNR) is around -3. Normally, the wireless communication module can read the downlink status information. By developing software layer functions, the embedded quantum board can read the uplink status and adjust the transmission power according to the formulated power control strategy to meet the board power control needs.
[0020] Monitor the working status of the communication unit. The serial port application determines whether the communication unit is in the transmission state of sending data or the idle state of not sending data. When the serial port application receives data, it notifies the MCU and the communication unit to enter the deep power control of the transmission state. When the serial port application stops receiving data and reaches an idle time of more than T milliseconds, it enters the deep power control of the idle state.
[0021] C. In the transmission state,
[0022] When RSRP≤-100dbm, no power control is performed.
[0023] When -90≥RSRP≥-100dbm and SNR≥8, power control is performed and the RF transmission power of the communication unit is reduced by 2dbm; when -90≥RSRP≥-100dbm and SNR<8, power control is not performed.
[0024] When -80>RSRP≥-90dbm and SNR≥15, power control is performed and the RF transmission power of the communication unit is reduced by 5dbm; when -80>RSRP≥-90dbm and 15>SNR≥8, power control is performed and the RF transmission power of the communication unit is reduced by 3dbm; when -80>RSRP≥-90dbm and SNR<8, no power control is performed.
[0025] When RSRP≥-80dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit decreases by 8dbm; when RSRP≥-80dbm and 15>SNR≥10, power control is performed and the RF transmit power of the communication unit decreases by 5dbm; when RSRP≥-80dbm and SNR<10, no power control is performed.
[0026] D. In idle state
[0027] RSRP≤-100dbm, no power control is performed.
[0028] If -90≥RSRP≥-100dbm and SNR≥8, power control is performed and the RF transmit power of the communication unit decreases by 3dbm. If -90≥RSRP≥-100dbm and 8>SNR≥5, power control is performed and the RF transmit power of the communication unit decreases by 2dbm. If -90≥RSRP≥-100dbm and SNR<5, no power control is performed.
[0029] -80>RSRP≥-90dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit is reduced by 8dbm; -80>RSRP≥-90dbm and 15>SNR≥8, power control is performed and the RF transmit power of the communication unit is reduced by 5dbm; -80>RSRP≥-90dbm and SNR<8, no power control is performed.
[0030] If RSRP≥-80dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit is reduced by 10dbm; if RSRP≥-80dbm and 15>SNR≥8, power control is performed and the RF transmit power of the communication unit is reduced by 6dbm; if RSRP≥-80dbm and SNR<8, no power control is performed.
[0031] Preferably, the encryption level of the quantum board is obtained, and power control is performed according to the encryption level of the quantum board; the higher the encryption level of the quantum board, the greater the power control strength, so that the power consumption of the quantum board is within a controllable range.
[0032] Preferably, the key length and / or encryption algorithm of quantum communication is determined according to the security factor of the transmission path. When the security factor of the transmission path is higher than the fourth security threshold, the key length of quantum communication is shortened and / or an encryption algorithm with a lower security level is selected to reduce the amount of calculation, thereby further reducing power consumption while ensuring security.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] (1) An embedded quantum board is integrated inside the power distribution switch monitoring terminal (FTU). The embedded quantum board obtains random quantum keys from the quantum security service platform and uses the IP Sec protocol to perform quantum encryption transmission on the transmitted data, thereby improving the security and integration of the FTU. The embedded quantum board obtains quantum keys from the quantum security service platform and manages the keys. When distributing quantum keys, a one-time encrypted transmission method is used to reduce the possibility of their leakage.
[0035] (2) Determine the serial port frame data volume and transmission time interval based on the transmission path security factor, so that the data is concentrated in a more secure environment for transmission, further improving the security of transmission; set the data packet structure set to dynamically encapsulate the data, further increasing the difficulty of data cracking and improving security. Select the appropriate data packet structure based on the current network environment and the transmission path security factor, and on the basis of ensuring security, improve the adaptability of the data packet structure and improve transmission efficiency;
[0036] (3) Use low-power software collaboration technology to optimize the FTU power control strategy and improve the endurance when the FTU external power supply is disconnected; determine the key length and / or encryption algorithm of quantum communication based on the security factor of the transmission path to further reduce power consumption while ensuring security. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is the distribution switch monitoring terminal (FTU) after quantization transformation. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Embodiment 1:
[0040] A method for quantum transformation of an intelligent switch includes integrating an embedded quantum board inside a distribution switch monitoring terminal (FTU), wherein the FTU supplies power to the embedded quantum board, and the FTU transmits data to the embedded quantum board in a serial port transparent transmission mode; the embedded quantum board includes a quantum key management unit and an encryption unit, wherein the quantum key management unit obtains a random quantum key from a quantum security service platform, and the encryption unit encrypts the FTU transmission data using the quantum key, and sends the encrypted data to a master station through an IP Sec tunnel, and the quantum board establishes an IP Sec tunnel with the master station through a quantum gateway.
[0041] Preferably, the session key is used to encrypt the quantum key, and the encrypted quantum key is transmitted to the quantum gateway.
[0042] Embodiment 2:
[0043] To implement the IP Sec protocol, the data sent by the switch to the quantum board needs to be converted into TCP / IP application layer data packets. TCP / IP uses the reliable transmission mechanism of TCP mode to ensure that the data is not bit-errored or lost. Serial port data is sent continuously, while TCP / IP data is sent in data packets. The serial port data needs to be framed and encapsulated into TCP / IP packets.
[0044] The serial port framing includes:
[0045] The serial port frame data amount is determined according to the TCP / IP data packet length limit, and the serial port frame data amount is less than the TCP / IP data packet length limit, and the serial port data is framed according to the serial port frame data amount; when the serial port application finds that an idle time of not less than T milliseconds appears in the serial port data stream, and the data to be framed received before the idle time is less than the serial port frame data amount, the data to be framed is treated as a frame.
[0046] Preferably, the characteristics of the transmission path from FTU to the main station are monitored; the transmission path safety factor is calculated according to the characteristics, and the transmission path safety factor indicates the safety degree of data transmission through the transmission path; and the serial port framing data volume is adjusted according to the transmission path safety factor. Specifically, when the transmission path safety factor is greater than the first safety threshold, the first serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the first safety threshold and greater than the second safety threshold, the second serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the second safety threshold, the third serial port framing data volume is used to frame the serial port data; the first safety threshold is greater than the second safety threshold; the first serial port framing data volume is greater than the second serial port framing data volume and greater than the third serial port framing data volume.
[0047] The characteristics of the transmission path from FTU to the main station include: one or more of the quantum board encryption level, the quantum gateway security factor, the number of terminals connected to the quantum gateway, the first channel parameters from FTU to the quantum gateway, and the second channel parameters from the quantum gateway to the main station. The encryption level of the quantum board indicates the security level of the quantum board in encrypting the transmitted data, including one or more of the key security level, the encryption algorithm security level, and the computing and storage environment security level.
[0048] Determine the time interval for transmitting TCP / IP data packets according to the transmission path security factor; when the transmission path security factor is greater than the first security threshold, use the first time interval to transmit TCP / IP data packets; when the transmission path security factor is less than or equal to the first security threshold and greater than the second security threshold, use the second time interval to transmit TCP / IP data packets; when the transmission path security factor is less than or equal to the second security threshold, use the third time interval to transmit TCP / IP data packets; the first security threshold is greater than the second security threshold; the first time interval is less than the second time interval and less than the third time interval.
[0049] Monitor the data transmission environment in real time, frame and transmit the serial port data by predicting the safety factor of the transmission path. When the transmission security is high, increase the amount of transmitted data and the transmission frequency, so that the data is concentrated in a safer environment for transmission, further improving the security of transmission.
[0050] The framed data is encapsulated into a TCP / IP data packet, and one frame is encapsulated into one TCP / IP data packet. Preferably, the TCP / IP data packet structure includes a pseudo source address, a pseudo destination address and data to be transmitted, wherein the pseudo source address is converted from the source address through a first address conversion rule to obtain an address different from the source address, and the pseudo destination address is converted from the destination address through a second address conversion rule to obtain an address different from the destination address. By hiding the real source address and destination address, illegal terminals are prevented from tracking the transmission node, thereby improving the security of the data.
[0051] Preferably, N data packet structures are set to form a data packet structure set; a data packet structure is selected from the data packet structure set according to the current network environment and the transmission path safety factor, and the framed data is encapsulated according to the selected data packet structure. Preferably, before data transmission, the FTU synchronizes the data packet structure set to the quantum gateway and the master station through the quantum board. The master station receives a TCP / IP data packet; a data packet structure is selected from the data packet structure set according to the current network environment and the transmission path safety factor, and the TCP / IP data is parsed according to the selected data packet structure. It is determined whether the TCP / IP data packet is parsed successfully. If the parsing is wrong, other data packet structures in the data packet structure set are selected for parsing. If the parsing is successful, the transmission data is obtained.
[0052] Setting the data packet structure set and dynamically encapsulating the data further increases the difficulty of data cracking and improves security. Select the appropriate data packet structure based on the current network environment and the security factor of the transmission path. On the basis of ensuring security, improve the adaptability of the data packet structure and improve transmission efficiency.
[0053] Embodiment three:
[0054] The embedded quantum board adopts low-power technology, including the selection of hardware BOM, and adopts low-power software collaboration technology to ensure the endurance when the external power supply of FTU is disconnected. The embedded quantum board contains a communication unit, which is responsible for the wireless communication function with the master station. Because the IP Sec tunnel is in a long-term maintenance state, the tunnel needs to be maintained, but in the quantum encryption work of the intelligent switch, there are two states: sending and not sending data. The transmission power optimization technology of the communication unit is carried out for the states of sending data and not sending data. Board power control is to further adjust the power control strategy of the mobile communication network, further reduce the uplink transmission power (that is, the transmission power of the quantum board) while ensuring the communication quality, and achieve further reduction in power consumption.
[0055] Under normal circumstances, the critical values of the 4G uplink are: the reference signal received power (RSRP) is around -110, and the signal-to-noise ratio (SNR) is around -3. Normally, the wireless communication module can read the downlink status information. By developing software layer functions, the embedded quantum board can read the uplink status and adjust the transmission power according to the formulated power control strategy to meet the board power control needs.
[0056] Monitor the working status of the communication unit. The serial port application determines whether the communication unit is in the transmission state of sending data or the idle state of not sending data. When the serial port application receives data, it notifies the MCU and the communication unit to enter the deep power control of the transmission state. When the serial port application stops receiving data and reaches an idle time of more than T milliseconds, it enters the deep power control of the idle state.
[0057] E. In the transmission state,
[0058] When RSRP≤-100dbm, no power control is performed.
[0059] When -90≥RSRP≥-100dbm and SNR≥8, power control is performed and the RF transmission power of the communication unit is reduced by 2dbm; when -90≥RSRP≥-100dbm and SNR<8, power control is not performed.
[0060] When -80>RSRP≥-90dbm and SNR≥15, power control is performed and the RF transmission power of the communication unit is reduced by 5dbm; when -80>RSRP≥-90dbm and 15>SNR≥8, power control is performed and the RF transmission power of the communication unit is reduced by 3dbm; when -80>RSRP≥-90dbm and SNR<8, no power control is performed.
[0061] When RSRP≥-80dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit decreases by 8dbm; when RSRP≥-80dbm and 15>SNR≥10, power control is performed and the RF transmit power of the communication unit decreases by 5dbm; when RSRP≥-80dbm and SNR<10, no power control is performed.
[0062] F. In idle state
[0063] RSRP≤-100dbm, no power control is performed.
[0064] If -90≥RSRP≥-100dbm and SNR≥8, power control is performed and the RF transmit power of the communication unit decreases by 3dbm. If -90≥RSRP≥-100dbm and 8>SNR≥5, power control is performed and the RF transmit power of the communication unit decreases by 2dbm. If -90≥RSRP≥-100dbm and SNR<5, no power control is performed.
[0065] -80>RSRP≥-90dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit is reduced by 8dbm; -80>RSRP≥-90dbm and 15>SNR≥8, power control is performed and the RF transmit power of the communication unit is reduced by 5dbm; -80>RSRP≥-90dbm and SNR<8, no power control is performed.
[0066] If RSRP≥-80dbm and SNR≥15, power control is performed and the RF transmit power of the communication unit is reduced by 10dbm; if RSRP≥-80dbm and 15>SNR≥8, power control is performed and the RF transmit power of the communication unit is reduced by 6dbm; if RSRP≥-80dbm and SNR<8, no power control is performed.
[0067] Preferably, the encryption level of the quantum board is obtained, and power control is performed according to the encryption level of the quantum board; the higher the encryption level of the quantum board, the greater the power control strength, so that the power consumption of the quantum board is within a controllable range.
[0068] Preferably, the key length and / or encryption algorithm of quantum communication is determined according to the security factor of the transmission path. When the security factor of the transmission path is higher than the fourth security threshold, the key length of quantum communication is shortened and / or an encryption algorithm with a lower security level is selected to reduce the amount of calculation, thereby further reducing power consumption while ensuring security.
[0069] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for quantizing intelligent switches. Features: It includes integrating an embedded quantum board into the distribution switch monitoring terminal FTU, the FTU supplies power to the embedded quantum board, and the FTU transmits data to the embedded quantum board in the form of serial port transparent transmission; The embedded quantum board includes a quantum key management unit and an encryption unit. The quantum key management unit obtains a random quantum key from the quantum security service platform. The encryption unit uses the quantum key to encrypt the FTU transmission data and sends the encrypted data to the master station through an IP Sec tunnel. The quantum board establishes an IP Sec tunnel with the master station through a quantum gateway. The embedded quantum board divides the serial port data into frames and encapsulates them into TCP / IP data packets; monitors the characteristics of the transmission path from FTU to the main station; calculates the transmission path safety factor according to the characteristics, and the transmission path safety factor indicates the safety level of data transmitted through the transmission path; and adjusts the serial port framed data volume according to the transmission path safety factor.
2. The method for quantizing the intelligent switch according to claim 1, Features: The serial port data framing includes: determining the serial port framing data amount according to the TCP / IP data packet length limit, the serial port framing data amount is less than the TCP / IP data packet length limit, and framing the serial port data according to the serial port framing data amount; when the serial port application finds that an idle time of not less than T milliseconds occurs in the serial port data stream, and the data to be framed received before the idle time is less than the serial port framing data amount, the data to be framed is taken as a frame.
3. The intelligent switch quantization transformation method according to claim 1, Features: The adjusting the serial port frame data amount according to the transmission path safety factor comprises: When the transmission path safety factor is greater than the first safety threshold, the first serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the first safety threshold and greater than the second safety threshold, the second serial port framing data volume is used to frame the serial port data; when the transmission path safety factor is less than or equal to the second safety threshold, the third serial port framing data volume is used to frame the serial port data; the first safety threshold is greater than the second safety threshold; the first serial port framing data volume is greater than the second serial port framing data volume, which is greater than the third serial port framing data volume.
4. The intelligent switch quantization transformation method according to claim 1, Features: Determine the time interval for transmitting TCP / IP data packets based on the transmission path security factor; When the transmission path safety factor is greater than a first safety threshold, the TCP / IP data packet is transmitted at a first time interval; When the transmission path safety factor is less than or equal to the first safety threshold and greater than the second safety threshold, the TCP / IP data packet is transmitted at a second time interval; When the transmission path safety factor is less than or equal to the second safety threshold, the TCP / IP data packet is transmitted using the third time interval; the first safety threshold is greater than the second safety threshold; the first time interval is less than the second time interval and less than the third time interval.
5. The method for quantizing an intelligent switch according to any one of claims 1 to 4, Features: The framed data is encapsulated into a TCP / IP data packet, and one frame is encapsulated into one TCP / IP data packet; the TCP / IP data packet structure includes a pseudo source address, a pseudo destination address and data to be transmitted, the pseudo source address is converted from the source address through a first address conversion rule to obtain an address different from the source address, and the pseudo destination address is converted from the destination address through a second address conversion rule to obtain an address different from the destination address.
6. The method for quantizing an intelligent switch according to any one of claims 1 to 4, Features: N types of data packet structures are set to form a data packet structure set; a data packet structure is selected from the data packet structure set according to the current network environment and the safety factor of the transmission path, and the framed data is encapsulated according to the selected data packet structure.
7. The method for quantizing an intelligent switch according to any one of claims 1 to 4, Features: Get the quantum card encryption level and perform power control based on the quantum card encryption level; the higher the quantum card encryption level, the greater the power control strength.
8. The method for quantizing an intelligent switch according to any one of claims 1 to 4, Features: According to the transmission path security factor, the key length and / or encryption algorithm of quantum communication is determined. When the transmission path security factor is higher than a fourth security threshold, the key length of quantum communication is shortened and / or an encryption algorithm with a lower security level is selected.
