A 5G-based terminal equipment centralized control gateway

By introducing multi-module design and advanced algorithms for centralized control of terminal devices into 5G intelligent gateways, the problem of insufficient network management efficiency and security is solved, and efficient and stable terminal device control and data secure transmission is achieved.

CN118488478BActive Publication Date: 2024-11-22ANHUI GUOZHI DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410563689.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-11-22
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

The existing 5G smart gateways fail to effectively consider timeliness, encryption, decryption, stability and other situations in terminal device control, resulting in insufficient network management efficiency and security.

Method used

A 5G-based centralized control gateway for terminal equipment is designed, including terminal equipment control module, traffic analysis and regulation module, traffic detection and interception module, data encryption and decryption module, delay detection and adjustment module, protocol identification and conversion module, adopt The LSTM network predicts traffic changes, the autoencoder AE performs abnormal traffic detection, and the AES encryption algorithm ensures data security, and monitors and adjusts communication delays in real time.

Benefits of technology

It realizes efficient and stable remote centralized management and control of distributed terminal equipment, improves system response speed and processing capabilities, enhances network security and reliability, and ensures data transmission security and communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118488478B_ABST
    Figure CN118488478B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of Internet technology, specifically a 5G-based terminal device centralized control gateway, including: a terminal device control module, a traffic analysis and regulation module, a traffic detection and interception module, a data encryption and decryption module, a delay detection and adjustment module, and a protocol identification and conversion module. The 5G-based terminal device centralized control gateway provided by the present invention can realize efficient and stable remote centralized management and control of decentralized terminal devices, and improve the response speed and processing capability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a 5G-based terminal device centralized control gateway. Background Art

[0002] With the widespread deployment and application of 5G networks, its high speed, low latency and large connection characteristics provide strong technical support for remote centralized control of terminal devices. In the fields of smart home, industrial automation, urban management, etc., a large number of terminal devices are required for accurate and fast control and management.

[0003] In modern communication networks, especially in 5G networks, the importance of gateways to terminal devices has increased significantly, and they play a key role in ensuring network efficiency, security, and manageability. Gateways are bridges that connect and manage terminal devices, and they play an indispensable role in ensuring network operation efficiency, improving security protection, optimizing service quality, and supporting diversified applications. This makes gateways an indispensable part of the 5G network architecture.

[0004] The patent with publication number CN114338284A discloses a 5G smart gateway for the Internet of Things, which includes: a communication module and a processing unit; the communication module is used to receive multiple groups of data sent by multiple Internet of Things terminals; the processing unit is used to form input data for each group of data in the multiple groups of data to obtain multiple input data, input the multiple input data into the neural network model to obtain multiple operation results, determine whether there are abnormal data in the multiple groups of data based on the multiple operation results, if it is determined that there are abnormal data in the multiple groups of data, extract the first operation result corresponding to the abnormal data and the first identifier of the Internet of Things terminal corresponding to the abnormal data, and control the communication module to send the first operation result and the first identifier to the network device through the 5G network. This technical solution has the advantage of small data volume, and only considers the minimum data volume transmission from the perspective of abnormal traffic identification, and does not take into account the timeliness, encryption, decryption, stability and other situations of the gateway's control over the terminal device.

[0005] Based on this, the present invention proposes a 5G-based terminal device centralized control gateway. Summary of the invention

[0006] To achieve the above objectives, the present invention provides a 5G-based terminal equipment centralized control gateway, which can realize efficient and stable remote centralized management and control of decentralized terminal equipment, and improve the response speed and processing capability of the system.

[0007] The specific technical solution is as follows: A 5G-based terminal device centralized control gateway, including:

[0008] Terminal equipment control module, traffic analysis and regulation module, traffic detection and interception module, data encryption and decryption module, delay detection and adjustment module, protocol identification and conversion module;

[0009] The terminal device control module issues control instructions to the terminal device through the gateway;

[0010] The traffic analysis and control module is used to predict traffic changes of terminal devices connected to the gateway, predict traffic change trends, and control transmission strategies;

[0011] The traffic detection and interception module checks the traffic passing through the gateway to check whether there is malicious content and behavior in the traffic, and intercepts abnormal traffic through IPS;

[0012] The data encryption and decryption module encrypts data transmitted from the terminal device to the upstream at the gateway, and decrypts data transmitted from the upstream to the terminal device at the gateway;

[0013] The delay detection and adjustment module detects the communication delay between the gateway and the terminal device in real time, and reduces the transmission delay by changing the transmission path and adjusting the bandwidth allocation;

[0014] The protocol identification and conversion module is used to identify the data protocol and convert different data protocols used by the upstream and downstream of the gateway at the gateway.

[0015] Preferably, the terminal device control module receives control instructions from the management end, parses the instructions to obtain the target terminal device and required operations, sends the instructions to the target terminal device connected to the gateway through the 5G network, the terminal device executes the instructions, and feeds back the execution status to the gateway and the management end.

[0016] Preferably, traffic load analysis is performed on terminal devices connected to the gateway to obtain traffic data of each terminal device in a single time period, wherein the traffic data includes traffic peak value, number of traffic sessions, link duration, and data packet volume; and the traffic data load of the gateway is predicted by a long short-term memory network LSTM;

[0017] Acquire high-dimensional traffic data, standardize the data, and use feature engineering methods to extract data change trends; use LSTM networks to process time series data and design LSTM networks, where the LSTM networks include input layers, LSTM layers, and output layers; use past load data to train the LSTM model, and use the trained LSTM model to predict future load changes.

[0018] Preferably, the LSTM network is used to predict the traffic load change trend of different terminal devices in the gateway, and a dynamic traffic adjustment strategy is formulated; when the upcoming high traffic period and potential congestion points are predicted, the traffic bandwidth allocation is increased in advance, and the load balancing strategy is enabled in advance; in a multi-link environment, the traffic passing through the gateway is distributed to different network paths according to the traffic load situation;

[0019] Set traffic priority management, assign identifiers to each traffic type according to the type of terminal device and the characteristics of traffic transmission, use identifiers to represent traffic types and importance, and map traffic types to priority levels based on the importance of terminal device levels and network policies;

[0020] Apply quality of service QoS marking to traffic data packets, and set priority code points in the fields of the header of the traffic data packets transmitted by the terminal device; in the network idle event segment, the gateway controls traffic transmission according to the generation time sequence of the terminal traffic; in high-traffic periods and traffic congestion time periods, the traffic data packets are placed in the corresponding priority queues according to the priority codes of the traffic, and traffic transmission is controlled according to the priority queues.

[0021] Preferably, the flow detection and interception module includes a flow security detection unit and an abnormal flow interception unit;

[0022] The traffic safety detection unit is used to construct an autoencoder AE, which is used for abnormal traffic detection. The autoencoder AE includes an encoder and a decoder;

[0023] The autoencoder AE compresses the input traffic feature data into a low-dimensional feature representation through the encoder, wherein the traffic features include traffic protocol and port, access mode, and traffic time distribution;

[0024] Use normal traffic when the terminal device communicates with the gateway to train the autoencoder model, and stop training when the autoencoder model learns the normal traffic transmission behavior characteristics; use the trained autoencoder AE data to process the traffic feature data, and if the reconstruction error is greater than a threshold, it is determined that abnormal traffic is detected; the reconstruction error is the difference between the input data and the reconstructed data, and is calculated using the mean square error MSE;

[0025] The abnormal traffic interception unit intercepts the abnormal traffic at the gateway;

[0026] For the detected abnormal traffic, the transmission of the data packets of the abnormal traffic is blocked.

[0027] Preferably, the data encryption and decryption module comprises a data encryption unit and a data decryption unit;

[0028] The data encryption unit encrypts the data flow from the terminal device to the upstream system in the gateway; captures the data flow transmitted by the network interface in the gateway, analyzes the type and sensitivity of the data flow, and encrypts the data flow of a specific type and high sensitivity; assigns sensitivity labels to different types of terminal devices, and encrypts the high sensitivity level data according to the sensitivity level in the sensitivity label; and uses the AES encryption algorithm to encrypt the terminal device data;

[0029] The data decryption unit decrypts the instruction data sent by the upstream system to the terminal device; the data decryption unit retrieves the decryption key, decrypts the data sent by the upstream system, verifies the data format and data legitimacy after decryption, and sends the verified plaintext data to the target terminal device.

[0030] Preferably, the delay detection and adjustment module collects the communication delay data from each terminal device to the gateway in real time in the gateway. When the terminal device sends data to the upstream system, if there are inconsistent delays in multiple terminal devices in the same scheduling, the data packets sent by different terminal devices are buffered and batch processed, and the data is temporarily stored in the buffer. When the aggregation of data in the same batch is completed, the gateway transmits the same batch of data to the upstream system.

[0031] Preferably, the protocol identification and conversion module converts the original protocol data at the identification point into the target protocol data. When the data protocol transmitted upstream of the gateway is inconsistent with the data protocol transmitted by the terminal device downstream of the gateway, at the gateway, the uplink data is converted into the data protocol of the gateway upstream system, and the downlink data is converted into the data protocol of the terminal device.

[0032] Preferably, the gateway also provides an operating user interface to configure, monitor and manage terminal devices connected to the gateway.

[0033] Preferably, the gateway uses a 5G network for terminal device access and data transmission.

[0034] Beneficial effects of the present invention: The gateway provided by the present invention can effectively prevent and reduce the impact of malicious traffic and behavior, and protect terminal devices from attacks and illegal access, through the traffic detection and interception module, including the use of the autoencoder AE to detect and intercept abnormal traffic. This enhances the security and reliability of the entire network system;

[0035] The Advanced Encryption Standard (AES) algorithm is used to ensure the security of data transmission. By classifying and encrypting sensitive data, user data can be protected from unauthorized access and data leakage.

[0036] The delay detection and adjustment module can monitor and adjust communication delays in real time, optimizing data transmission efficiency by changing transmission paths and adjusting bandwidth allocation. This ensures a high-quality communication experience;

[0037] The user interface provided by the gateway allows network administrators to easily configure, monitor and manage all connected terminal devices. This centralized control mechanism improves management efficiency and reduces the consumption of human resources.

[0038] Using LSTM network to predict traffic trends and combining it with dynamic traffic adjustment strategies, bandwidth allocation and load balancing can be performed in advance during traffic peaks to avoid potential network congestion. The prediction and response mechanism significantly improves the overall performance of the network and user experience;

[0039] The existence of the protocol identification and conversion module enables the gateway to seamlessly convert between different data protocols, ensuring the compatibility of upstream and downstream systems and enhancing the interoperability between network devices;

[0040] The 5G-based terminal device centralized control gateway of the present invention can realize efficient and stable remote centralized management and control of decentralized terminal devices, thereby improving the response speed and processing capability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a structural schematic diagram of a 5G-based terminal device centralized control gateway of the present invention. DETAILED DESCRIPTION

[0042] In order to better understand the present invention, a more detailed description will be made of various aspects of the present invention with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.

[0043] In the accompanying drawings, the size, dimensions and shapes of the elements have been slightly adjusted for ease of illustration. The accompanying drawings are for illustration only and are not strictly drawn to scale. As used herein, the terms "substantially", "approximately" and similar terms are used as terms of approximation, not as terms of degree, and are intended to illustrate the inherent deviations in measurements or calculations that will be recognized by those of ordinary skill in the art. In addition, in the present invention, the order in which the steps are described does not necessarily represent the order in which these processes occur in actual operation, unless otherwise specified or can be derived from the context.

[0044] It should also be understood that expressions such as "comprises", "including", "having", "includes" and / or "comprising" are open rather than closed expressions in this specification, which indicate the presence of the stated features, elements and / or components, but do not exclude the presence of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features rather than just the individual elements in the list. In addition, when describing embodiments of the present invention, "may" is used to mean "one or more embodiments of the present invention". And, the term "exemplary" is intended to refer to an example or illustration.

[0045] Unless otherwise defined, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which the present invention belongs. It should also be understood that unless there is a clear explanation in the present invention, the words defined in the commonly used dictionary should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.

[0046] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0047] Example 1

[0048] Reference Figure 1 , which is the first embodiment of the present invention, provides a 5G-based terminal device centralized control gateway.

[0049] The gateway includes a terminal device control module, a traffic analysis and regulation module, a traffic detection and interception module, a data encryption and decryption module, a delay detection and adjustment module, and a protocol identification and conversion module.

[0050] The terminal device control module issues control instructions to the terminal device through the gateway.

[0051] The traffic analysis and control module is used to predict traffic changes of terminal devices connected to the gateway, predict traffic change trends, and control transmission strategies.

[0052] The traffic detection and interception module checks the traffic passing through the gateway to check whether there is malicious content and behavior in the traffic, and intercepts abnormal traffic through IPS.

[0053] The data encryption and decryption module encrypts the data transmitted from the terminal device to the upstream at the gateway, and decrypts the data transmitted from the upstream to the terminal device at the gateway.

[0054] The delay detection and adjustment module detects the communication delay between the gateway and the terminal device in real time, and reduces the transmission delay by changing the transmission path and adjusting the bandwidth allocation.

[0055] The protocol identification and conversion module is used to identify the data protocol and convert different data protocols used by the upstream and downstream of the gateway at the gateway.

[0056] The terminal device control module receives control instructions from the management end, parses the instructions to obtain the target terminal device and the required operations, sends the instructions to the target terminal device connected to the gateway through the 5G network, the terminal device executes the instructions, and feeds back the execution status to the gateway and the management end.

[0057] Perform traffic load analysis on the terminal devices connected to the gateway to obtain traffic data of each terminal device in a single time period, including traffic peak, number of traffic sessions, link duration, and data packet volume; predict the traffic data load of the gateway through the long short-term memory network LSTM.

[0058] Acquire high-dimensional traffic data, standardize the data, and use feature engineering methods to extract data change trends; use LSTM networks to process time series data and design LSTM networks, where the LSTM networks include input layers, LSTM layers, and output layers; use past load data to train the LSTM model, and use the trained LSTM model to predict future load changes.

[0059] For example, the LSTM layer can be represented as:

[0060] f t =σ(W f ·[h t-1 , x t ]+b f )

[0061] i t =σ(W i ·[h t-1 , x t ]+b i )

[0062]

[0063]

[0064] o t =σ(W o ·[h t-1 , x t ]+b o )

[0065] ht =O t *tanh(C t )

[0066] Among them, f t 、i t , o t is the activation vector of the forget gate, input gate, and output gate, C t and h t are the cell states and outputs, W and b f , b i , b C , b o are weight and bias terms respectively, C t is the cell update state and σ is the activation function.

[0067] The LSTM network is used to predict the traffic load change trend of different terminal devices in the gateway and formulate a dynamic traffic adjustment strategy. When predicting upcoming high-traffic periods and potential congestion points, the traffic bandwidth allocation is increased in advance and the load balancing strategy is enabled in advance. In a multi-link environment, the traffic passing through the gateway is distributed to different network paths according to the traffic load conditions.

[0068] Set traffic priority management, assign identifiers to each traffic type according to the type of terminal device and the characteristics of traffic transmission, use identifiers to represent the type and importance of traffic, map traffic types to priority levels based on the importance of terminal device levels and network policies, assign real-time voice communication to the highest priority, and assign regular file transfers to a lower priority.

[0069] Apply quality of service QoS marking to traffic data packets, and set priority code points in the fields of the header of the traffic data packets transmitted by the terminal device; in the network idle event segment, the gateway controls traffic transmission according to the generation time sequence of the terminal traffic; in high-traffic periods and traffic congestion time periods, the traffic data packets are placed in the corresponding priority queues according to the priority codes of the traffic, and traffic transmission is controlled according to the priority queues.

[0070] The flow detection and interception module includes a flow security detection unit and an abnormal flow interception unit.

[0071] The traffic safety detection unit is used to construct an autoencoder AE, which is used for abnormal traffic detection. The autoencoder AE includes an encoder and a decoder.

[0072] The autoencoder AE compresses the input traffic feature data into a low-dimensional feature representation through the encoder. The traffic features include traffic protocol and port, access mode, and traffic time distribution.

[0073] The normal traffic when the terminal device communicates with the gateway is used to train the autoencoder model, and the training is stopped when the autoencoder model learns the normal traffic transmission behavior characteristics; the trained autoencoder AE data is used to process the traffic feature data, and if the reconstruction error is greater than the threshold, it is determined that abnormal traffic is detected; the reconstruction error is the difference between the input data and the reconstructed data, and is calculated using the mean square error MSE.

[0074] Exemplarily, the mean square error MSE calculation formula is:

[0075]

[0076] Among them, y i is the value of the input data, is the value of the reconstructed data;

[0077] The abnormal traffic processing defense unit intercepts abnormal traffic at the gateway.

[0078] For the detected abnormal traffic, the transmission of the data packets of the abnormal traffic is blocked.

[0079] Through the traffic detection and interception unit, malicious traffic and behavior passing through the gateway can be detected and intercepted, and malicious traffic attacks and illegal access to terminal devices can be handled.

[0080] The data encryption and decryption module includes a data encryption unit and a data decryption unit.

[0081] The data encryption unit encrypts the data flow from the terminal device to the upstream system in the gateway; captures the data flow transmitted by the network interface in the gateway, analyzes the type and sensitivity of the data flow, and encrypts the data flow of specific type and high sensitivity; assigns sensitive labels to different types of terminal devices, and encrypts high sensitivity level data according to the sensitivity level in the sensitive label; and uses the AES encryption algorithm to encrypt the terminal device data.

[0082] The operation steps of the AES encryption algorithm are as follows: select the AES key length, and choose between 128-bit, 192-bit and 256-bit keys. The longer the key length, the higher the security, and the greater the computational overhead of the encryption and decryption process.

[0083] A random key is generated based on the selected key length. AES requires an initialization vector (IV) when using CBC (Cipher Block Chaining) mode. The IV is randomly generated and unique for each encryption. The IV length is the same as the block size of AES.

[0084] AES is a block encryption algorithm, so the data length is a multiple of the block size. When the data length is less than a complete block, the data is padded using the PKCS#7 scheme, and the value of each byte of the padded part is equal to the total length of the padding.

[0085] Using the AES key and IV, the data blocks are encrypted, and each data block is XORed with the encryption result of the previous block before encryption.

[0086] The data decryption unit decrypts the instruction data sent by the upstream system to the terminal device; the data decryption unit retrieves the decryption key, decrypts the data sent by the upstream system, verifies the data format and data legitimacy after decryption, and sends the verified plaintext data to the target terminal device.

[0087] The delay detection and adjustment module collects the communication delay data from each terminal device to the gateway in real time in the gateway. When the terminal device sends data to the upstream system, if there are inconsistent delays in multiple terminal devices in the same schedule, the data packets sent by different terminal devices are buffered and batched, and the data is temporarily stored in the buffer. When the aggregation of the same batch of data is completed, the gateway transmits the same batch of data to the upstream system.

[0088] The protocol identification and conversion module converts the original protocol data at the identification point into the target protocol data. When the data protocol transmitted upstream of the gateway is inconsistent with the data protocol transmitted by the terminal device downstream of the gateway, at the gateway, the uplink data is converted into the data protocol of the gateway upstream system, and the downlink data is converted into the data protocol of the terminal device.

[0089] The gateway also provides an operation user interface to configure, monitor and manage the terminal devices connected to the gateway.

[0090] The gateway uses the 5G network for terminal device access and data transmission.

[0091] Example 2

[0092] The second embodiment of the present invention is different from the previous embodiment in that:

[0093] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0094] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0095] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0096] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0097] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention) may not be described.

[0098] It will be appreciated that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but will be a routine task of design, fabrication, and production for those of ordinary skill having the benefit of this disclosure without undue experimentation.

[0099] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A 5G-based terminal device centralized control gateway, It is characterized in that include: Terminal equipment control module, traffic analysis and regulation module, traffic detection and interception module, data encryption and decryption module, delay detection and adjustment module, protocol identification and conversion module; The terminal device control module issues control instructions to the terminal device through the gateway; The traffic analysis and control module is used to predict traffic changes of terminal devices connected to the gateway, predict traffic change trends, and control transmission strategies; The traffic detection and interception module checks the traffic passing through the gateway to check whether there is malicious content and behavior in the traffic, and intercepts abnormal traffic through IPS; The data encryption and decryption module encrypts data transmitted from the terminal device to the upstream at the gateway, and decrypts data transmitted from the upstream to the terminal device at the gateway; The delay detection and adjustment module detects the communication delay between the gateway and the terminal device in real time, and reduces the transmission delay by changing the transmission path and adjusting the bandwidth allocation; The protocol identification and conversion module is used to identify the data protocol and convert different data protocols used by the upstream and downstream of the gateway at the gateway; The terminal device control module receives the control instruction from the management end, parses the instruction to obtain the target terminal device and the required operation, sends the instruction to the target terminal device connected to the gateway through the 5G network, and the terminal device executes the instruction and feeds back the execution status to the gateway and the management end; Perform traffic load analysis on the terminal devices connected to the gateway to obtain traffic data of each terminal device in a single time period, including traffic peak, number of traffic sessions, link duration, and data packet volume; predict the traffic data load of the gateway through the long short-term memory network LSTM; Obtain high-dimensional traffic data, standardize the data, and use feature engineering methods to extract data change trends; use LSTM networks to process time series data and design LSTM networks, which include input layers, LSTM layers, and output layers; use past load data to train the LSTM model, and use the trained LSTM model to predict future load changes; The LSTM network is used to predict the traffic load change trend of different terminal devices in the gateway and formulate dynamic traffic adjustment strategies; When predicting upcoming high-traffic periods and potential congestion points, increase traffic bandwidth allocation in advance and enable load balancing strategies in advance; In a multi-link environment, traffic passing through the gateway is distributed to different network paths based on traffic load conditions; Set traffic priority management, assign identifiers to each traffic type according to the type of terminal device and the characteristics of traffic transmission, use identifiers to represent traffic types and importance, and map traffic types to priority levels based on the importance of terminal device levels and network policies; Applying a quality of service (QoS) tag in a traffic data packet and setting a priority code point in a field in a header of a traffic data packet transmitted by a terminal device; During the network idle event period, the gateway controls traffic transmission according to the time sequence of terminal traffic generation; during high traffic periods and traffic congestion time periods, the gateway puts traffic data packets into the corresponding priority queue according to the traffic priority code, and controls traffic transmission according to the priority queue; The flow detection and interception module includes a flow security detection unit and an abnormal flow interception unit; The traffic safety detection unit is used to construct an autoencoder AE, which is used for abnormal traffic detection. The autoencoder AE includes an encoder and a decoder; The autoencoder AE compresses the input traffic feature data into a low-dimensional feature representation through the encoder, wherein the traffic features include traffic protocol and port, access mode, and traffic time distribution; Use normal traffic when the terminal device communicates with the gateway to train the autoencoder model, and stop training when the autoencoder model learns the normal traffic transmission behavior characteristics; use the trained autoencoder AE data to process the traffic feature data, and if the reconstruction error is greater than a threshold, it is determined that abnormal traffic is detected; the reconstruction error is the difference between the input data and the reconstructed data, and is calculated using the mean square error MSE; The abnormal traffic interception unit intercepts the abnormal traffic at the gateway; For abnormal traffic detected, the transmission of data packets of the abnormal traffic is blocked; The data encryption and decryption module includes a data encryption unit and a data decryption unit; The data encryption unit encrypts the data flow from the terminal device to the upstream system in the gateway; Capture the data stream transmitted by the network interface in the gateway, analyze the type and sensitivity of the data stream, and encrypt the specific type and high-sensitivity data stream; assign sensitivity labels to different types of terminal devices, and encrypt high-sensitivity data according to the sensitivity level in the sensitivity label; use the AES encryption algorithm to encrypt the terminal device data; The data decryption unit decrypts the instruction data sent by the upstream system to the terminal device; the data decryption unit retrieves the decryption key, decrypts the data sent by the upstream system, verifies the data format and data legitimacy after decryption, and sends the verified plaintext data to the target terminal device; The delay detection and adjustment module collects the communication delay data from each terminal device to the gateway in real time in the gateway. When the terminal device sends data to the upstream system, if there are inconsistent delays in multiple terminal devices in the same schedule, the data packets sent by different terminal devices are buffered and batched, and the data is temporarily stored in the buffer. When the aggregation of the same batch of data is completed, the gateway transmits the same batch of data to the upstream system.

2. A 5G-based terminal device centralized control gateway according to claim 1, It is characterized in that The protocol identification and conversion module converts the original protocol data at the identification point into the target protocol data. When the data protocol transmitted upstream of the gateway is inconsistent with the data protocol transmitted by the terminal device downstream of the gateway, at the gateway, the uplink data is converted into the data protocol of the gateway upstream system, and the downlink data is converted into the data protocol of the terminal device.

3. A 5G-based terminal device centralized control gateway according to claim 2, It is characterized in that The gateway also provides an operation user interface to configure, monitor and manage the terminal devices connected to the gateway.

4. A 5G-based terminal device centralized control gateway according to claim 3, It is characterized in that The gateway uses the 5G network for terminal device access and data transmission.