Flow protection method, device, electronic device and storage medium

By deploying embedded programs in industrial gateways, monitoring traffic and setting thresholds, generating alarm information, and controlling data link switching using SMS or email, the real-time and security problems of industrial gateway traffic management are solved, and the automated protection of traffic is achieved.

CN116032808BActive Publication Date: 2025-08-05INSPUR COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211717106.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2025-08-05
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

Existing industrial-grade gateways cannot realize real-time monitoring and automated management of cellular network traffic, resulting in bandwidth configuration limitation errors or excessive traffic, and cannot effectively protect data traffic.

Method used

By deploying embedded programs in industrial gateways, monitoring traffic and setting traffic protection thresholds, generating alarm information, and controlling data link switching using SMS or email methods to avoid excessive traffic consumption.

Benefits of technology

Real-time monitoring and automated management of industrial gateway traffic is realized, unexpected high fees are avoided, and customers can remotely control the opening and closing of data links, which improves the flexibility and security of traffic use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116032808B_ABST
    Figure CN116032808B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technologies, and provides a traffic protection method, apparatus, electronic device, and storage medium. The method includes: obtaining the monitored traffic of an industrial gateway; determining a comparison result between the monitored traffic and a set threshold value, and generating an alarm message based on the comparison result; and controlling a data link based on the alarm message. By setting a traffic protection threshold value for the industrial gateway, once the industrial gateway monitors that the statistical value of the forwarded traffic exceeds the set threshold value, the data link is automatically controlled to switch, so as to protect the excessive consumption of data traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular, to a traffic protection method, apparatus, electronic device, and storage medium. Background Art

[0002] As a terminal communication device for device network access, an Internet of Things gateway or a router usually provides networking methods such as WAN (e.g., ADLS broadband), WWAN (e.g., 3G / 4G / 5G, NB-IoT), and WLAN (e.g., WIFI, LORAWAN) for lower-end devices.

[0003] Currently, most industrial-grade gateways do not have effective automated monitoring and management for cellular network traffic consumption. They focus more on monitoring the network traffic usage on the traditional LAN side and are basically in the traditional end-side intranet management stage. Regarding the usage and statistics of Internet of Things SIM card traffic, users can only rely on the management platform provided by the operator or SMS services to know afterwards and take measures such as adding data traffic packages and reactivating SIM cards to ensure the Internet of Things data transmission service. This belongs to manual traffic management and cannot achieve fast and accurate traffic statistics for a single device and real-time traffic policy execution, resulting in problems such as incorrect bandwidth configuration restrictions or over-traffic, and cannot play a role in traffic protection. Summary of the Invention

[0004] The present invention provides a traffic protection method, apparatus, electronic device, and storage medium to solve the traffic protection problem. By setting a traffic protection threshold for an industrial gateway, once the industrial gateway monitors that the forwarded traffic statistic value exceeds the set threshold, it automatically controls the data link to switch to protect the excessive consumption of data traffic.

[0005] The present invention provides a traffic protection method, including:

[0006] Obtain the monitored traffic of the industrial gateway;

[0007] Determine the comparison result between the monitored traffic and the set threshold, and generate an alarm message based on the comparison result;

[0008] Control the data link based on the alarm message.

[0009] In one embodiment, the controlling the data link based on the alarm message includes:

[0010] Send the alarm message by means of SMS and / or email;

[0011] Receive a first SMS message returned based on the alarm message, where the first SMS message carries a data link shutdown instruction;

[0012] In response to the first SMS message, close the data link.

[0013] In one embodiment, after responding to the first SMS message to close the data link, the method further includes:

[0014] Receive a second SMS message, which carries an instruction to open the data link;

[0015] In response to the second SMS message, open the data link.

[0016] In one embodiment, the set threshold includes a traffic protection threshold and multiple traffic warning thresholds, and the traffic protection threshold is greater than the traffic warning threshold.

[0017] In one embodiment, the traffic warning threshold and the traffic protection threshold are determined based on the available traffic in the traffic package information.

[0018] In one embodiment, the method further includes:

[0019] Obtain traffic deduction information;

[0020] Based on the traffic deduction information, re - count the traffic usage information.

[0021] In one embodiment, before obtaining the monitored traffic of the industrial gateway, the method further includes:

[0022] Obtain an alarm requirement;

[0023] Configure alarm information based on the alarm requirement.

[0024] The present invention also provides a traffic protection device, including:

[0025] An acquisition module, configured to acquire the monitored traffic of the industrial gateway;

[0026] An alarm information generation module, configured to determine the comparison result between the monitored traffic and the set threshold, and generate alarm information based on the comparison result;

[0027] A control module, configured to control the data link based on the alarm information.

[0028] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the traffic protection method as described in any one of the above.

[0029] The present invention also provides a non - transient computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the traffic protection method as described in any one of the above.

[0030] The traffic protection method, device, electronic device, and storage medium provided by the present invention obtain the monitored traffic of an industrial gateway; determine the comparison result between the monitored traffic and a set threshold, generate an alarm message based on the comparison result; and control a data link based on the alarm message. By setting a traffic protection threshold for the industrial gateway, once the industrial gateway monitors that the statistical value of the forwarded traffic exceeds the set threshold, it automatically controls the data link to switch to protect the data traffic from being overly consumed. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0032] Figure 1 is one of the flow diagrams of the traffic protection method provided by the present invention;

[0033] Figure 2 is another flow diagram of the traffic protection method provided by the present invention;

[0034] Figure 3 is the flow diagram of the SMS control data connection provided by the present invention;

[0035] Figure 4 is the structural diagram of the traffic protection device provided by the present invention;

[0036] Figure 5 is the structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

[0038] The following will describe Figures 1 - 5 the traffic protection method, device, electronic device, and storage medium of the present invention.

[0039] Specifically, the present invention provides a traffic protection method. Referring to Figure 1 , Figure 1 is one of the flow diagrams of the traffic protection method provided by the present invention.

[0040] The traffic protection method provided by the embodiment of the present invention includes:

[0041] Step 100, obtaining the monitored traffic of the industrial gateway;

[0042] It should be noted that the object of traffic monitoring in the embodiment of the present invention is the industrial gateway, and a traffic protection method on the industrial gateway side based on the 5G R16 and R17 Redcap standard mobile cellular network SIM card (Subscriber Identification Module) is proposed.

[0043] In order to adapt to different gateways, the traffic protection method in the embodiment of the present invention is implemented in the form of a traffic protector embedded program. It can be understood that by deploying this traffic protector embedded program in the industrial gateway, the traffic of the industrial gateway can be monitored to achieve the purpose of traffic protection. Among them, the traffic protector embedded program aims to help customers reduce problems existing in the M2M mode (Mobile-to-Mobile, a mobile Internet mode based on mobile terminals) or the Internet of Things space. For example, the problem of over-traffic bills. The user purchases a SIM card with traffic limits. Due to unreasonable procurement and allocation of traffic packages in the early stage, the Internet of Things SIM card exceeds the traffic and causes service interruption.

[0044] The embedded gateway device in the embodiment of the present invention has computing capabilities. By using CPU architectures such as SoC (System on Chip) and Arm (Advanced RISC Machines), it integrates a Linux kernel or a Unix-like operating system and develops its own gateway operating system. As an intelligent or embedded gateway, a traffic protector embedded program can be developed on its operating system to monitor the packet reception and transmission of the cellular network module interface of the router, indirectly monitor the usage of the SIM card, and further provide functions such as traffic warning, traffic protection, and mobile data switch.

[0045] Deploy a traffic protector embedded program in the industrial gateway, and monitor the traffic of the industrial gateway through this program. For example, monitor the packet reception and transmission of the industrial gateway interface, and determine the traffic used by the industrial gateway based on the packet reception and transmission situation.

[0046] Step 200, determining the comparison result between the monitored traffic and the set threshold, and generating an alarm message based on the comparison result;

[0047] It should be noted that the set threshold includes a traffic protection threshold and multiple traffic warning thresholds. Among them, the traffic protection threshold is greater than the traffic warning threshold. Multiple traffic warning thresholds can be set, such as traffic warning threshold 1 and traffic warning threshold 2. If the monitored traffic is greater than any traffic warning threshold, an alarm is triggered.

[0048] After obtaining the monitored traffic of the industrial gateway, compare the monitored traffic with the pre-set threshold, and then generate alarm information based on the comparison result. For example, assume that the set threshold is the traffic warning threshold. If the monitored traffic is greater than the traffic warning threshold, such as the traffic warning threshold is 90MB and the monitored traffic is 92MB, then the first alarm information is generated. Among them, the first alarm information includes information such as the traffic warning threshold, the monitored traffic, and the exceeded traffic.

[0049] For example, assume that the set threshold is the traffic protection threshold. If the monitored traffic is greater than the traffic protection threshold, such as the traffic protection threshold is 1024MB and the monitored traffic is 1023MB, then the second alarm information is generated. Among them, the second alarm information includes information such as the traffic protection threshold, the monitored traffic, and the exceeded traffic.

[0050] Step 300, control the data link based on the alarm information.

[0051] It should be noted that in a data communication network, a telecommunications facility that connects two or more data stations according to the technical requirements of a link protocol is called a data link.

[0052] After generating the alarm information, send the alarm information by text message and / or email.

[0053] It should be noted that since emails go through the PS (Packet Switch) domain, and the PS domain is the packet switching domain (consuming data traffic); text messages go through the CS (Circuit Switched) domain, and the CS domain is the circuit switching domain (not consuming data traffic). Therefore, the alarm information is preferably sent in the form of text messages.

[0054] Receive the first text message information returned based on the alarm information, where the first text message information carries a shutdown instruction for the data link; respond to the first text message information to shut down the data link. For example, when the monitored traffic is greater than the traffic protection threshold, the data link needs to be shut down to avoid unexpected high fees for users.

[0055] Optionally, when it is detected that the monitored traffic is greater than the traffic protection threshold, the data link can also be automatically shut down and the user can be informed that the data link has been shut down.

[0056] In one embodiment, after closing the data link, the user can open the data link via SMS. Specifically, receive a second SMS message, where the second SMS message carries an instruction to open the data link; then respond to the second SMS message to open the data link.

[0057] It should be noted that regardless of whether the monitored traffic exceeds the traffic protection threshold, the customer can remotely control the opening and closing of the data link of the gateway via SMS.

[0058] The embodiment of the present invention adopts SMS monitoring to realize remotely controlling the opening and closing of the data link of the gateway via SMS, and flexibly and real-time protects the data channel.

[0059] The traffic protection method provided by the embodiment of the present invention includes: obtaining the monitored traffic of the industrial gateway; determining the comparison result between the monitored traffic and the set threshold, generating an alarm message based on the comparison result; and controlling the data link based on the alarm message. By utilizing the 5G network connection ability, combining the 5G module and the intelligent industrial end computing gateway, the present invention applies technologies such as data traffic monitoring, link switching, SMS control, and charging rules to the data management of the industrial Internet of Things cellular network, realizes the traffic monitoring and traffic protection of the terminal nodes, protects the link security and avoids the user from generating unexpected high fees.

[0060] Based on the above embodiment, the traffic alarm threshold and the traffic protection threshold are determined based on the available traffic in the traffic package information.

[0061] It should be noted that the traffic package information generally includes information such as package type, monthly available traffic, how much each MB of traffic is charged, package usage period, free call duration, and how much each minute of call is charged.

[0062] After obtaining the traffic package information, determine the available traffic based on the traffic package information, and then determine the traffic alarm threshold and the traffic protection threshold based on the available traffic. For example, assuming the monthly available traffic is 5G, then set the traffic alarm threshold to 4.5G or 4.8G, and set the traffic protection threshold to 5G. In addition, the traffic alarm threshold for each day, such as 200MB, and the traffic protection threshold for each day, such as 500MB, can also be set based on personal usage requirements.

[0063] The embodiment of the present invention sets the traffic alarm threshold and the traffic protection threshold based on the available traffic in the traffic package information. Thus, when the traffic used by the user exceeds the set threshold, an alarm message is triggered, protecting the link security and avoiding the user from generating unexpected high fees.

[0064] Based on the above embodiment, the method further includes: obtaining traffic deduction information; re-statistical the usage information of the traffic based on the traffic deduction information.

[0065] When the billing date arrives, determine whether the traffic deduction has ended. If it has ended, re - count the traffic usage information, that is, reset the traffic counter; after the billing date ends, if it is necessary to resume the connection, redial to connect to the cellular network.

[0066] In the embodiment of the present invention, after the deduction ends, the traffic usage information is re - counted. Thus, it can ensure that users can use traffic normally and improve user satisfaction.

[0067] Based on the above - mentioned embodiment, before obtaining the monitored traffic of the industrial gateway, it further includes: obtaining an alarm requirement; configuring alarm information based on the alarm requirement.

[0068] It should be noted that the alarm requirement includes information such as alarm methods (such as text messages, emails), alarm content, alarm time, alarm recipients, receiving numbers, receiving addresses, data links, etc.

[0069] After determining the alarm requirement, alarm information can be configured based on the alarm requirement. For example:

[0070] Link settings: The data link is set to 1, the SIM card is set to Card 1, and both text message alarms and email alarms are enabled. The recipients of the text message alarm and the email alarm are Card 1 and / or Card 2. Multiple receiving numbers can be set for the text message alarm, and multiple receiving addresses can also be set for the email alarm.

[0071] Alarm settings: Multiple alarm levels are enabled simultaneously, and information such as a traffic limit threshold, a traffic alarm level 1 threshold, and a traffic alarm level 2 threshold is configured.

[0072] Starting - point traffic setting: The starting - point traffic setting is enabled, and the starting - point traffic value is set.

[0073] In the embodiment of the present invention, by determining the alarm requirement and then configuring the alarm information based on the alarm requirement, thus, it can protect the link security and at the same time avoid users from generating unexpected high fees.

[0074] Based on the above - mentioned embodiment, the embodiment of the present invention proposes a traffic protection method on the industrial gateway side of a mobile cellular network SIM card based on the 5G R16 and R17 Redcap standards. The method includes: an industrial gateway, a mobile cellular network SIM card, and an embedded program of the industrial gateway. Based on the 5G network, it realizes the monitoring, rule management, and remote switching of the SIM card traffic consumption at the device end without the participation of the SIM card management platform. Among them, the 5G - side gateway can use 4FF SIM and eSIM, and the embedded intelligent program developed by the industrial gateway uses 3GPP AT commands to query and manage the data network, text messages, operator signals, traffic, etc. of the 5G cellular network module.

[0075] The traffic protection APP includes two processes: traffic protection and SMS (Short Message Service) SMS control data connection.

[0076] Reference Figure 2 , Figure 2 is the second flow schematic diagram of the traffic protection method provided by the present invention.

[0077] Statistically analyze the traffic of the data link of the cellular network. The cellular network is the basic structure mode of the mobile communication network. This structure is somewhat similar to a honeycomb, consisting of multiple cells. Each cell has a base station composed of a transmitter and a receiver, which is responsible for the communication connection between the users in this cell and the users in this area or other cells. Then, compare the statistically analyzed traffic with traffic warning thresholds 1 or 2. If the statistically analyzed traffic exceeds traffic warning threshold 1 or 2, send SMS and / or email warning messages. If the warning message is successfully sent, continue to statistically analyze the traffic of the data link of the cellular network. If the statistically analyzed traffic exceeds the traffic protection threshold, send SMS and / or email warning messages. If the warning message is successfully sent, close the data link of the cellular network. Determine whether to enable periodic clearing of traffic statistical data. If not, continue to statistically analyze the traffic of the data link of the cellular network; if enabled, when the billing date arrives, reset the traffic counter; after the end of the billing date, if it is necessary to restore the connection again, redial to connect to the cellular network.

[0078] Reference Figure 3 , Figure 3 is the flow schematic diagram of the SMS control data connection provided by the present invention.

[0079] Enable SMS monitoring. Based on the monitoring results, determine whether a SMS request to disconnect the data link is received. If a SMS request to disconnect the data link is received, disconnect the data link of the cellular network and continue SMS monitoring; if a SMS request to disconnect the data link is not received, based on the monitoring results, determine whether a SMS request to connect the data link is received; if a SMS request to connect the data link is received, start the data link of the cellular network; if a SMS request to connect the data link is not received, continue SMS monitoring.

[0080] The embodiments of the present invention have the following advantages:

[0081] (1) By setting a traffic protection threshold on the 5G gateway, once the gateway monitors that the 5G traffic statistical value forwarded exceeds the set threshold, automatically disconnect the data service to protect the excessive consumption of data traffic.

[0082] (2) In the case where the traffic exceeds or does not exceed the set threshold, support the customer to remotely control the opening and closing of the data link of the gateway through SMS, flexibly and real-timely protecting the data channel.

[0083] (3) Support viewing the usage and specific log information of traffic from the edge of the gateway, rather than obtaining a monthly bill from the operator side in a summary manner.

[0084] (4) The customer-specified mobile phone and email can receive warnings about the usage of traffic, preventing business interruption caused by the depletion of SIM card traffic without awareness or high costs resulting from continuous consumption of SIM card traffic exceeding the traffic pool.

[0085] Figure 4 is a schematic structural diagram of the traffic protection device provided by the present invention. Refer to Figure 4 , an embodiment of the present invention provides a traffic protection device, including an acquisition module 401, an alarm information generation module 402, and a control module 403.

[0086] The acquisition module 401 is used to acquire the monitored traffic of the industrial gateway;

[0087] The alarm information generation module 402 is used to determine the comparison result between the monitored traffic and the set threshold, and generate alarm information based on the comparison result;

[0088] The control module 403 is used to control the data link based on the alarm information.

[0089] The traffic protection device provided by the embodiment of the present invention acquires the monitored traffic of the industrial gateway; determines the comparison result between the monitored traffic and the set threshold, and generates alarm information based on the comparison result; controls the data link based on the alarm information. By utilizing the 5G network connection ability, combining the 5G module and the intelligent industrial end computing gateway, the present invention applies technologies such as data traffic monitoring, link switching, SMS control, and charging rules to the data management of the industrial Internet of Things cellular network, realizes traffic monitoring and traffic protection of terminal nodes, protects link security, and avoids users from generating unexpected high costs.

[0090] In one embodiment, the control module 403 is specifically used for:

[0091] Send the alarm information by means of SMS and / or email;

[0092] Receive the first SMS information returned based on the alarm information, and the first SMS information carries a data link closing instruction;

[0093] Respond to the first SMS information to close the data link.

[0094] In one embodiment, the control module 403 is further used for:

[0095] Receive the second SMS information, and the second SMS information carries a data link opening instruction;

[0096] In response to the second short message information, the data link is enabled.

[0097] In one embodiment, the set threshold includes a traffic protection threshold and a plurality of traffic warning thresholds, and the traffic protection threshold is greater than the traffic warning thresholds.

[0098] In one embodiment, the traffic warning thresholds and the traffic protection threshold are determined based on the available traffic in the traffic package information.

[0099] In one embodiment, the method further includes:

[0100] Obtain traffic deduction information;

[0101] Based on the traffic deduction information, re - count the traffic usage information.

[0102] In one embodiment, the obtaining module 401 is further configured to:

[0103] Obtain an alarm requirement;

[0104] Configure alarm information based on the alarm requirement.

[0105] Figure 5 Illustrates a schematic diagram of the physical structure of an electronic device, as Figure 5 shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logical instructions in the memory 530 to execute a traffic protection method, and the method includes:

[0106] Obtain the monitored traffic of the industrial gateway;

[0107] Determine the comparison result between the monitored traffic and the set threshold, and generate alarm information based on the comparison result;

[0108] Control the data link based on the alarm information.

[0109] In addition, when the logical instructions in the above-mentioned memory 530 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 such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0110] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the traffic protection method provided by the above-mentioned various methods. The method includes:

[0111] Obtain the monitored traffic of the industrial gateway;

[0112] Determine the comparison result between the monitored traffic and the set threshold, and generate an alarm message based on the comparison result;

[0113] Control the data link based on the alarm message.

[0114] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0115] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disks, optical discs, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A flow protection method, characterized in that: include: Obtain monitoring traffic of industrial gateways; Determining a comparison result between the monitored flow rate and a set threshold, and generating an alarm message based on the comparison result; The set threshold includes a flow protection threshold and multiple flow alarm thresholds, and the flow protection threshold is greater than the flow alarm threshold; controlling a data link based on the warning information; The traffic protection method is applied to an industrial IoT cellular network environment based on the 5G R16 and R17 Redcap standards; the industrial gateway is deployed with a traffic protector embedded program, which is used to monitor the traffic of the industrial gateway; The controlling the data link based on the alarm information includes: Sending the warning information via SMS and / or email; receiving a first text message returned based on the alarm information, wherein the first text message carries a data link closing instruction; Responding to the first SMS message to close the data link; After responding to the first SMS message to close the data link, the method further includes: receiving a second text message, wherein the second text message carries an instruction to start a data link; Respond to the second SMS message to open the data link.

2. The flow protection method according to claim 1, characterized in that: The traffic alarm threshold and the traffic protection threshold are determined based on the available traffic in the traffic package information.

3. The flow protection method according to claim 1, characterized in that: The method further comprises: Get traffic deduction information; Recalculate traffic usage information based on the traffic deduction information.

4. The flow protection method according to claim 1, characterized in that: Before obtaining the monitoring traffic of the industrial gateway, the following steps are also included: Obtain alarm requirements; Configure alarm information based on the alarm requirement.

5. A flow protection device, characterized in that: include: Acquisition module, used to obtain monitoring traffic of industrial gateway; an alarm information generating module, configured to determine a comparison result between the monitored flow rate and a set threshold value, and generate an alarm information based on the comparison result; The set threshold includes a flow protection threshold and multiple flow alarm thresholds, and the flow protection threshold is greater than the flow alarm threshold; a control module, configured to control a data link based on the warning information; The traffic protection device is applied to an industrial IoT cellular network environment based on the 5G R16 and R17 Redcap standards; the industrial gateway is deployed with a traffic protector embedded program, which is used to monitor the traffic of the industrial gateway; The control module is further configured to send the alarm information via SMS and / or email; receive a first SMS message returned based on the alarm information, the first SMS message carrying a data link closing instruction; and respond to the first SMS message to close the data link; The control module is further configured to receive a second SMS message carrying an instruction to start a data link; and respond to the second SMS message to start the data link.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the traffic protection method according to any one of claims 1 to 4 is implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the traffic protection method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Flow processing method, device and system

    CN106713216A

  • Multi-dimensional flow control method and system

    CN111935030A