Network congestion control method and apparatus based on software, and storage medium

By adopting a software-based network congestion control method in the industrial Internet of Things, using priority rules and scheduling rules to handle data transmission between working equipment and control points, the congestion and data loss caused by harsh network conditions are solved, and the network is realized stability and reliability of data transmission.

WO2025000385A1PCT designated stage expired Publication Date: 2025-01-02SIEMENS AG +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/104159
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2025-01-02

AI Technical Summary

Technical Problem

In the industrial Internet of Things scenario, the network conditions between the working equipment and the control points in the hierarchical distribution system are harsh, resulting in network errors and data loss, and the existing system fails to effectively handle traffic priority, resulting in network congestion and loss of important data .

Method used

Using software-based network congestion control method, by obtaining and saving sent data, classifying based on predefined priority rules, and pushing and transmitting according to priority order and scheduling rules, ensuring that high-priority data is cached when network blocks, Avoid network congestion and receive data when the communication port is not occupied.

Benefits of technology

The control and scheduling of network data is realized, network congestion and data loss are avoided, network flexibility and stability are ensured, and important data transmission and system reliability are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023104159_02012025_PF_FP_ABST
    Figure CN2023104159_02012025_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a network congestion control method and apparatus based on software, and a storage medium. The method comprises: acquiring sending data, and acquiring and storing sending data of at least one application in a device; scheduling the sending data, comprising: performing priority classification on the stored sending data on the basis of a predefined priority rule, and pushing the sending data according to a priority classification sequence and a predefined scheduling rule; and transmitting the sending data, and transmitting the pushed sending data to a control node. According to the technical solution in embodiments of the present invention, data in a network can be controlled and scheduled. In addition, data is cached when the network is blocked, thus preventing network congestion, and ensuring the flexibility and stability of the network.
Need to check novelty before this filing date? Find Prior Art

Description

Software-based network congestion control method, device and storage medium Technical Field

[0001] The present invention relates to the fields of edge computing and distributed control, and in particular to a software-based network congestion control method, device, and storage medium. Background Art

[0002] With the development of the Industrial Internet of Things (IIoT) and the convergence of IT and Operational Technology (OT), numerous hierarchical distribution systems have been developed and deployed in production sites such as smart factories, smart buildings, and smart mines to provide scalable, upgradeable, and manageable low-latency, reliable industrial applications and services. These hierarchical systems typically consist of one or more control points located within the central IT infrastructure of a factory or building. Equipment, distributed throughout production lines, plant buildings, and mines, receives instructions and commands from the control points and reports its status and data based on application requirements. Consequently, significant data traffic occurs between the various equipment and control points. In scenarios with relatively good network conditions, such as smart factories and smart buildings, this data traffic does not pose a significant problem. However, many hierarchical distribution systems are not specifically designed for scenarios with poor network conditions between equipment and control points, such as water plants and mines. When equipment updates applications or executes instructions, control points often encounter network errors. If the equipment doesn't receive the information it needs, they retry connections, which only worsens the situation and can lead to damage to the control points. Furthermore, connections in the distribution system are initiated by different applications developed by different developers. Redeveloping all applications requires extensive work and is sometimes impractical. Finally, the priority of traffic is not taken into account. In some cases, high-priority traffic, such as error reports and status changes, must wait for low-priority traffic, such as software updates, to complete, resulting in the loss of important data.

[0003] Summary of the Invention

[0004] To solve the above problems, the present invention proposes a software-based network congestion control method, device and storage medium to control and schedule data in the network and cache data when the network is blocked, thereby avoiding the occurrence of network congestion and ensuring the flexibility and stability of the network.

[0005] A device anomaly location method proposed in an embodiment of the present invention includes: acquiring and storing transmission data from at least one application within the device; scheduling the transmission data, including prioritizing the stored transmission data based on predefined priority rules and pushing the transmission data according to the priority classification order and predefined scheduling rules; and transmitting the transmission data, including transmitting the pushed transmission data to a control node. This method enables the control and scheduling of data within the network without the need for cooperation from third-party software developers, avoids network congestion, and ensures network flexibility and stability.

[0006] In one embodiment, the method of pushing the transmission data according to the priority classification order and predefined scheduling rules further includes: the priority classification includes immediate transmission data and non-immediate transmission data; the immediate transmission data is pushed first, and the non-immediate transmission data is pushed later; the scheduling rules include the network retention time and network blocking status of the transmission data; and the transmission data is pushed within the network retention time and when the network blocking status is not blocked. This achieves data transmission according to the priority importance of the data and caches the data when the network is blocked, further avoiding the occurrence of network congestion and ensuring the flexibility and stability of the network.

[0007] In one embodiment, the method further includes: scheduling received data, obtaining received data from a control node, and determining whether a communication port within the device is occupied; if so, transmitting the received data to a corresponding application after the port is unoccupied; if not, directly transmitting the received data to the corresponding application. This allows for temporary suspension of data reception when a network is blocked, preventing data loss and ensuring system reliability.

[0008] A software-based network congestion control device proposed in an embodiment of the present invention includes: a transmission data acquisition module configured to acquire and store transmission data from at least one application within a device; a transmission data scheduling module configured to prioritize the stored transmission data based on predefined priority rules and push the transmission data according to the priority classification order and predefined scheduling rules; and a transmission data transmission module configured to transmit the pushed transmission data to a control node. This device controls and schedules data within the network, avoids network congestion, and ensures network flexibility and stability.

[0009] In one embodiment, the method of pushing the transmission data according to the priority classification order and predefined scheduling rules further includes: the priority classification includes immediate transmission data and non-immediate transmission data; the immediate transmission data is pushed first, and the non-immediate transmission data is pushed later; the scheduling rules include the network retention time and network blocking status of the transmission data; and the transmission data is pushed within the network retention time and when the network blocking status is not blocked. This achieves data transmission according to the priority importance of the data and caches the data when the network is blocked, further avoiding the occurrence of network congestion and ensuring the flexibility and stability of the network.

[0010] In one embodiment, the device further includes a data receiving scheduling module configured to: obtain received data from the control node, determine whether the communication port within the device is occupied, and if so, transmit the received data to the corresponding application after the port is unoccupied; if not, directly transmit the received data to the corresponding application. This allows for temporary suspension of data reception when the network is blocked, preventing data loss and ensuring system reliability.

[0011] An electronic device proposed in an embodiment of the present invention includes: at least one processor; and a memory coupled to the at least one processor, wherein the memory is used to store instructions, and when the instructions are executed by the at least one processor, the processor executes the method described above.

[0012] An embodiment of the present invention provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed, the method described in any of the above embodiments is executed.

[0013] A computer program product provided in an embodiment of the present invention includes a computer program. When the computer program is executed by a processor, the method described in any one of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The following drawings are only intended to illustrate and explain the present invention, and do not limit the scope of the present invention.

[0015] FIG1 is a flow chart of a software-based network congestion control method according to an embodiment of the present invention.

[0016] FIG2 is a schematic structural diagram of a software-based network congestion control device according to an embodiment of the present invention.

[0017] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0018] The following are the descriptions of the reference numerals: DETAILED DESCRIPTION

[0019] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.

[0020] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0021] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.

[0022] A typical distributed control system can be deployed in physical locations such as factories, buildings, mines, and water plants. Centralized IT infrastructure manages and controls edge devices (operating equipment) at the field level. These operating equipment is responsible for low-latency business applications such as monitoring and controlling field equipment. For example, in a building, edge devices run a set of applications that monitor sensor readings such as smoke detectors and temperature, and control fire extinguishers and air conditioners accordingly.

[0023] Several applications may be running on edge devices. These applications may need to upload data to or receive instructions from the central IT infrastructure. More specifically, these applications are not limited to business applications. System applications, such as system and application updates and configuration tools, also communicate with the central IT infrastructure. All applications independently initiate connections to the central IT infrastructure through the system's network stack, including routing tables. If network conditions are suboptimal, the lack of coordination between different applications can degrade application performance. For example, a working device may miss important instructions from the central IT infrastructure. The central IT infrastructure may also miss important notifications from working devices, such as emergencies and functional failures. Furthermore, constantly establishing too many connections can overwhelm the central IT infrastructure.

[0024] Therefore, an embodiment of the present invention provides a more optimized software-based network congestion control method, device and storage medium. The method includes: obtaining transmission data, obtaining and saving transmission data of at least one application in the device; scheduling transmission data, including: prioritizing the saved transmission data based on predefined priority rules, and pushing the transmission data according to the priority classification order and predefined scheduling rules; transmitting transmission data, transmitting the pushed transmission data to the control node. The technical solution in the embodiment of the present invention can control and schedule data in the network, and cache data when the network is blocked, thereby avoiding the occurrence of network congestion and ensuring the flexibility and stability of the network.

[0025] FIG1 is a flow chart of a software-based network congestion control method 100 according to an embodiment of the present invention. As shown in FIG1 , the method 100 may include:

[0026] Step S101: Acquire sending data, obtain and save sending data of at least one application in the device.

[0027] Specifically, from the application perspective, the application does not need to make any improvements and still maintains the regular port for data transmission. It only needs to continuously monitor the port to obtain the data sent by different applications for subsequent control.

[0028] Step S102 : scheduling the sending data, performing priority classification on the stored sending data based on a predefined priority rule, and pushing the sending data according to the priority classification order and the predefined scheduling rule.

[0029] In one embodiment, pushing the sending data according to the priority classification order and predefined scheduling rules further includes: the priority classification includes immediately sending data and non-instant sending data; the immediately sending data is pushed first, and the non-instant sending data is waited for subsequent push; the scheduling rules include the network retention time and network blocking status of pushing the sending data; the transmission data is pushed within the network retention time and when the network blocking status is not blocked.

[0030] Specifically, data can be categorized into two types: instant messages and non-instant messages. Instant messages are immediately pushed to the control point connector and delivered to the control point. Other non-instant messages are pushed later. For more complex implementations, data can be tagged with a numerical priority. Furthermore, communications can be retained by time and date. Furthermore, whether or not the communication is interruptible can be specified. All data tags are traversed, and data is pushed according to the tag requirements.

[0031] Step S103: Transmit the pushed sending data to the control node.

[0032] Step S104, scheduling received data, obtaining received data from the control node, and determining whether the communication port in the device is occupied; if so, transmitting the received data to the corresponding application after the occupancy is released; if not, directly transmitting the received data to the corresponding application.

[0033] Specifically, the reception data of the control node can be scheduled, and the data of the control node can be received only when the normal port of the network is not occupied, thereby avoiding data loss.

[0034] FIG2 is a schematic diagram of the structure of a software-based network congestion control device 200 according to an embodiment of the present invention. As shown in FIG2 , the device 200 may include:

[0035] The sending data acquisition module 201 is configured to acquire and save the sending data of at least one application in the device.

[0036] Specifically, from the application perspective, the application does not need to make any improvements and still maintains the regular port for data transmission. It only needs to continuously monitor the port to obtain the data sent by different applications for subsequent control.

[0037] The sending data scheduling module 202 is configured to: prioritize the stored sending data based on a predefined priority rule, and push the sending data according to the priority classification order and the predefined scheduling rule.

[0038] In one embodiment, pushing the sending data according to the priority classification order and predefined scheduling rules further includes: the priority classification includes immediately sending data and non-instant sending data; the immediately sending data is pushed first, and the non-instant sending data is waited for subsequent push; the scheduling rules include the network retention time and network blocking status of pushing the sending data; the transmission data is pushed within the network retention time and when the network blocking status is not blocked.

[0039] Specifically, data can be categorized into two types: instant messages and non-instant messages. Instant messages are immediately pushed to the control point connector and delivered to the control point. Other non-instant messages are pushed later. For more complex implementations, data can be tagged with a numerical priority. Furthermore, communications can be retained by time and date. Furthermore, whether or not the communication is interruptible can be specified. All data tags are traversed, and data is pushed according to the tag requirements.

[0040] The data transmission module 203 is configured to transmit the pushed data to the control node.

[0041] The receiving data scheduling module 204 is configured to: obtain the received data from the control node and determine whether the communication port in the device is occupied; if so, transmit the received data to the corresponding application after the occupancy is released; if not, directly transmit the received data to the corresponding application.

[0042] Specifically, the reception data of the control node can be scheduled, and the data of the control node can be received only when the normal port of the network is not occupied, thereby avoiding data loss.

[0043] The present invention also provides an electronic device 300. FIG3 is a schematic diagram of an electronic device 300 according to an embodiment of the present invention. As shown in FIG3 , the electronic device 300 includes a processor 310 and a memory 320. The memory 320 stores instructions, wherein the instructions, when executed by the processor 310, implement the method 100 described above.

[0044] The present invention further provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed, the method described above is executed.

[0045] The present invention also provides a computer program product, comprising a computer program, which implements the above-mentioned method when executed by a processor.

[0046] Some aspects of the methods and apparatus of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks," "modules," "engines," "units," "components," or "systems." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLCs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. In addition, various aspects of the present invention may be embodied as computer products in one or more computer-readable media, the product including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).

[0047] Flowcharts are used herein to illustrate the operations performed by the methods according to the embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps may be performed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.

[0048] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

[0049] The above description is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principle of the present invention shall fall within the scope of protection of the present invention.

Claims

1. A software-based network congestion control method (100), characterized in that: The method comprises: Acquiring sending data (S101), acquiring and saving sending data of at least one application in the device; Scheduling the transmission data (S102), including: prioritizing the stored transmission data based on a predefined priority rule, and pushing the transmission data according to the priority classification order and the predefined scheduling rule; Transmitting the sending data (S103), transmitting the pushed sending data to the control node.

2. The method according to claim 1, characterized in that The pushing of the transmission data according to the priority classification order and the predefined scheduling rules further comprises: The priority classification includes instant sending data and non-instant sending data; the instant sending data is pushed first, and the non-instant sending data waits for subsequent pushing; The scheduling rule includes pushing the network retention time and network blocking status of the sending data; and pushing the transmission data within the network retention time and when the network blocking status is not blocked.

3. The method according to claim 1, characterized in that The method further comprises: Scheduling received data (S104), obtaining received data from the control node, and determining whether the communication port in the device is occupied; If so, transmitting the received data to the corresponding application after the occupancy is released; If not, the received data is directly transmitted to the corresponding application.

4. A software-based network congestion control device (200), characterized in that: include: A sending data acquisition module (201), configured to acquire and save sending data of at least one application in the device; A sending data scheduling module (202) is configured to: classify the stored sending data by priority based on a predefined priority rule, and push the sending data according to the priority classification order and the predefined scheduling rule; The sending data transmission module (203) is configured to transmit the pushed sending data to the control node.

5. The device according to claim 4, characterized in that The pushing of the transmission data according to the priority classification order and the predefined scheduling rules further comprises: The priority classification includes instant sending data and non-instant sending data; the instant sending data is pushed first, and the non-instant sending data waits for subsequent pushing; The scheduling rule includes pushing the network retention time and network blocking status of the sending data; and pushing the transmission data within the network retention time and when the network blocking status is not blocked.

6. The device according to claim 4, characterized in that The device further comprises: The receiving data scheduling module (204) is configured to: obtain the received data from the control node and determine whether the communication port in the device is occupied; If so, transmitting the received data to the corresponding application after the occupancy is released; If not, the received data is directly transmitted to the corresponding application.

7. An electronic device (300), comprising: at least one processor (310); as well as A memory (320) coupled to the at least one processor (310), the memory (320) being used to store instructions, which, when executed by the at least one processor (310), causes the processor (310) to perform the method according to any one of claims 1 to 3.

8. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed, execute the method according to any one of claims 1 to 3.

9. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 3 when being executed by a processor.

Citation Information

Patent Citations

  • Service scheduling method suitable for wireless TDMA ad hoc network

    CN109962760A

  • Priority control method for network and transfer equipment

    JP2004304525A

  • Method and module of priority division and queue scheduling for communication services in smart substation

    US20210367895A1

  • Internet-of-things network congestion reduction method and router

    WO2018232917A1