CN113923169A - Message filtering method and device, storage medium and electronic device - Google Patents

Message filtering method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113923169A
CN113923169A CN202111182608.7A CN202111182608A CN113923169A CN 113923169 A CN113923169 A CN 113923169A CN 202111182608 A CN202111182608 A CN 202111182608A CN 113923169 A CN113923169 A CN 113923169A
Authority
CN
China
Prior art keywords
message
target
filtering
cache
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111182608.7A
Other languages
Chinese (zh)
Inventor
李邓鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202111182608.7A priority Critical patent/CN113923169A/en
Publication of CN113923169A publication Critical patent/CN113923169A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a message filtering method and device, a storage medium and an electronic device, wherein the method comprises the following steps: under the condition that the terminal receives the target message, analyzing all filter tables in a filter table queue of the terminal; traversing the filtering table items of all the filtering tables, and determining whether one or more target filtering tables exist in the filtering table items of all the filtering tables, wherein the target message type of the target filtering table is consistent with the message type of the target message; and under the condition that one or more target filter tables exist in all the filter table items of the filter tables, determining whether the priority of the first message in the target filter table is smaller than the message priority of the target message, and under the condition that the priority of the first message is smaller than the message priority of the target message, discarding the first message.

Description

Message filtering method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for filtering a packet, a storage medium, and an electronic apparatus.
Background
In a communication network, network messages grow explosively with the continuous addition of network equipment, and the network is often congested or stormy under the condition of limited bandwidth. Under the condition of network congestion, a method for selectively receiving messages, discarding unnecessary messages, controlling the message receiving rate and the like to inhibit the network message receiving becomes an important means for ensuring the normal work of equipment.
In a conventional method for inhibiting network message reception, a counter is started at a device receiving end, a message to be limited is counted within a certain time window, and if the count exceeds a limit value, the message is cached or lost. However, when the number of the messages exceeds the limit value, packet loss processing is immediately performed, which causes abnormal service for processing the messages, thereby affecting the normal operation of the device.
Aiming at the problems that in the related art, the terminal receives a large amount of messages and exceeds the processing capacity of the messages, so that equipment enters a serious abnormal state and the like, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a message filtering method and device, a storage medium and an electronic device, which are used for at least solving the problems that in the related art, a terminal receives a large number of messages and exceeds the processing capacity of the messages, so that equipment enters a serious abnormal state and the like.
According to an embodiment of the present invention, a method for filtering a packet is provided, including: under the condition that a terminal receives a target message, analyzing all filter tables in a filter table queue of the terminal, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority; traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message; and under the condition that one or more target filter tables exist in all the filter table items of the filter tables, determining whether the priority of a first message in the target filter table is smaller than the message priority of the target message, and under the condition that the priority of the first message is smaller than the message priority of the target message, discarding the first message.
In an exemplary embodiment, in a case that it is determined that one or more target filter tables do not exist in the filter table entries of all the filter tables, all the buffer tables in the buffer table queue of the terminal are parsed, where the buffer table includes: the cache table entry includes: message type, priority; traversing cache table entries of all cache tables, and determining whether one or more target cache tables exist in the cache table entries of all the cache tables, wherein the target message type of the target cache table is consistent with the message type of the target message; and under the condition that one or more target cache tables exist in the cache table items of all the cache tables, determining a target cache table corresponding to the target message type, and caching the target message into a target message cache region corresponding to the target cache table.
In an exemplary embodiment, caching the target packet in a target packet cache region corresponding to the target cache table includes: determining whether the capacity of the target message buffer area meets a preset condition; and caching the target message into a target message cache region corresponding to the target cache table under the condition of meeting a preset condition.
In an exemplary embodiment, determining whether the capacity of the target packet buffer meets a preset condition includes: determining whether the number of second messages cached in the target message cache region is equal to a first preset threshold value, wherein the first preset threshold value is used for indicating the maximum number of messages cached in the target message cache region; and under the condition that the number of the second messages cached in the target message cache region is smaller than the first preset threshold value, determining that the capacity of the target message cache region meets a preset condition.
In an exemplary embodiment, after determining whether the capacity of the target packet buffer meets a preset condition, the method further includes: determining whether the priority of the second messages cached in the target cache database is greater than the priority of the target messages or not under the condition that the number of the second messages cached in the target cache database is equal to the first preset threshold; and under the condition that the priority of the second message is smaller than the priority of the target message, discarding the second message and caching the target message.
In an exemplary embodiment, in a case that a terminal receives a target packet, before parsing all filter tables in a filter table queue of the terminal, the method further includes: determining the number of received monitoring messages; and under the condition that the quantity of the monitoring messages is greater than the filtering waterline, establishing a filtering table corresponding to the monitoring messages, and adding the filtering table corresponding to the monitoring messages into the filtering table queue.
In an exemplary embodiment, after determining the number of received monitoring packets, the method further includes: under the condition that the number of the monitoring messages is smaller than the filtering waterline and the number of the monitoring messages is larger than the caching waterline, establishing a cache table corresponding to the monitoring messages, and adding the cache table corresponding to the monitoring messages into the cache table queue; and acquiring an alarm notification address in a cache table corresponding to the monitoring message, and sending alarm information to a source end corresponding to the alarm notification address, wherein the alarm information is used for indicating the source end corresponding to the alarm notification address to send the target message by using a preset strategy.
In an exemplary embodiment, after determining the number of received monitoring packets, the method further includes: determining whether a cache table corresponding to the monitoring message exists in the cache table queue or not under the condition that the number of the monitoring messages is smaller than the cache waterline; determining the delay receiving time of the target cache table under the condition that whether the cache table corresponding to the monitoring message exists in the cache table queue or not; and writing the target message in the target cache data into a network protocol stack corresponding to the target message according to the delay receiving time.
According to another embodiment of the present invention, there is also provided a message filtering apparatus, where an analysis module is configured to analyze all filter tables in a filter table queue of a terminal when the terminal receives a target message, where the filter table includes: a filter table entry, the filter table entry comprising: message type, message priority; a determining module, configured to traverse all filter table entries of the filter table, and determine whether one or more target filter tables exist in all filter table entries of the filter table, where a target packet type of the target filter table is consistent with a packet type of the target packet; and the filtering module is used for determining whether the priority of the first message in the target filtering table is smaller than the message priority of the target message or not under the condition that one or more target filtering tables exist in all the filtering table items of the filtering tables, and discarding the first message under the condition that the priority of the first message is smaller than the message priority of the target message.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to carry out the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
The invention provides a message filtering method, which comprises the following steps: under the condition that a terminal receives a target message, analyzing all filter tables in a filter table queue of the terminal, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority; traversing the filtering table entries of all the filtering tables, and determining whether a target message type consistent with the message type of the target message exists in the filtering table entries of all the filtering tables; determining that one or more target filtering tables exist in filtering table items of all the filtering tables, wherein the target message type of the target filtering table is consistent with the message type of the target message; the method comprises the steps of determining whether the priority of a first message in a target filtering table is smaller than the message priority of a target message or not under the condition that one or more target filtering tables exist in filtering table items of all the filtering tables, and discarding the first message under the condition that the priority of the first message is smaller than the message priority of the target message.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal of a message filtering method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of filtering messages according to an embodiment of the invention;
fig. 3 is a schematic diagram of a message filtering method according to an alternative embodiment of the present invention;
FIG. 4 is a flow diagram of counter processing for a method of filtering messages in accordance with an alternative embodiment of the present invention;
fig. 5 is a block diagram of a message filtering apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "history," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a computer terminal or a similar operation device. Taking the example of running on a computer terminal, fig. 1 is a hardware structure block diagram of a computer terminal of a message filtering method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the message filtering method of the computer terminal in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for filtering a message is provided, which is applied to the computer terminal, and fig. 2 is a flowchart of a method for filtering a message according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, under the condition that the terminal receives the target message, all filter tables in a filter table queue of the terminal are analyzed, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority;
it should be noted that the filter table includes: filter table name, packet loss priority, filter table entry (message type, priority).
Step S204, traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message;
step S206, determining whether the priority of the first packet in the target filter table is smaller than the packet priority of the target packet or not when determining that one or more target filter tables exist in the filter table entries of all the filter tables, and discarding the first packet when the priority of the first packet is smaller than the packet priority of the target packet.
Through the steps, under the condition that the terminal receives the target message, all filter tables in a filter table queue of the terminal are analyzed, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority; traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message; under the condition that one or more target filtering tables exist in all the filtering table items of the filtering tables, determining a target filtering table corresponding to the target message type; the method comprises the steps of determining whether the priority of a first message in the target filtering table is smaller than the message priority of the target message or not, and discarding the first message under the condition that the priority of the first message is smaller than the message priority of the target message.
In an exemplary embodiment, in a case that it is determined that one or more target filter tables do not exist in the filter table entries of all the filter tables, all the buffer tables in the buffer table queue of the terminal are parsed, where the buffer table includes: the cache table entry includes: message type, priority; traversing cache table entries of all cache tables, and determining whether one or more target cache tables exist in the cache table entries of all the cache tables, wherein the target message type of the target cache table is consistent with the message type of the target message; and under the condition that one or more target cache tables exist in the cache table items of all the cache tables, determining a target cache table corresponding to the target message type, and caching the target message into a target message cache region corresponding to the target cache table.
It should be noted that, determining whether a target packet type consistent with the packet type of the target packet exists in the cache table entries of all the cache tables may be understood as: determining whether the message type of the target message is consistent with the target message type in the target cache table, and caching the target message in a target message cache region corresponding to the target cache table under the condition of determining that the message type of the target message is consistent with the target message type in the target cache table; and under the condition that the message type of the target message is determined to be inconsistent with the target message type in the target cache table, determining whether to cache the target message according to the message priority.
In an exemplary embodiment, caching the target packet in a target packet cache region corresponding to the target cache table includes: determining whether the capacity of the target message buffer area meets a preset condition; and caching the target message into a target message cache region corresponding to the target cache table under the condition of meeting a preset condition.
That is, the relationship between the capacity of the target packet buffer and the preset condition is determined, and the target packet is cached in the target packet buffer corresponding to the target cache table when the capacity of the target packet buffer meets the preset condition.
Specifically, determining whether the number of second messages cached in the target message cache region is equal to a first preset threshold, where the first preset threshold is used to indicate the maximum number of messages cached in the target message cache region; and under the condition that the number of the second messages cached in the target message cache region is smaller than the first preset threshold value, determining that the capacity of the target message cache region meets a preset condition.
That is, the relationship between the capacity of the target packet buffer and the preset condition is determined by the following specific method: determining that the capacity of the target message cache region meets a preset condition under the condition that the number of second messages cached in the target message cache region is smaller than the first preset threshold value; and under the condition that the number of the second messages cached in the target message cache region is equal to the first preset threshold value, determining that the capacity of the target message cache region does not meet the preset condition.
In an exemplary embodiment, after determining whether the capacity of the target packet buffer meets a preset condition, and if the number of second packets cached in the target cache database is equal to the first preset threshold, determining whether the priority of the second packets cached in the target cache database is greater than the priority of the target packet; and under the condition that the priority of the second message is smaller than the priority of the target message, discarding the second message and caching the target message. Further, under the condition that the number of second messages cached in a target message cache region is equal to the first preset threshold value, namely under the condition that the capacity of the target message cache region does not meet preset conditions, determining the priority of the second messages and the priority of the target messages, comparing the size relationship between the priority of the second messages and the priority of the target messages, and discarding the target messages under the condition that the size relationship indicates that the priority of the second messages is greater than the priority of the target messages; and under the condition that the size relation indicates that the priority of the second message is smaller than that of the target message, discarding the second message and caching the target message.
Further, under the condition that the message type of the target message is determined to be inconsistent with the target message type in the target cache table and the message type of the target message is determined to be inconsistent with the target message type in the target filter table, the target message is normally processed.
In an exemplary embodiment, before parsing a target filter table in a filter table queue, determining the number of received monitoring messages; and under the condition that the quantity of the monitoring messages is greater than the filtering waterline, establishing a filtering table corresponding to the monitoring messages, and adding the filtering table corresponding to the monitoring messages into the filtering table queue.
That is to say, the number of the received monitoring messages is determined, a filtering table is established for the monitoring messages when the number of the received monitoring messages is larger than a filtering waterline, the filtering table is added to a filtering table queue, the packet loss priority of the filtering table is set to be the priority smaller than a second preset threshold, if the filtering table is already in the filtering table queue, the packet loss priority of the filtering table is added by one, and if the priority of the filtering table is larger than a third preset threshold, all the messages corresponding to the filtering table are discarded.
In an exemplary embodiment, when the number of the monitoring messages is smaller than a filtering waterline and the number of the monitoring messages is larger than a cache waterline, establishing a cache table corresponding to the monitoring messages, and adding the cache table corresponding to the monitoring messages to the cache table queue; and acquiring an alarm notification address in a cache table corresponding to the monitoring message, and sending alarm information to a source end corresponding to the alarm notification address, wherein the alarm information is used for indicating the source end corresponding to the alarm notification address to send the target message by using a preset strategy.
Further, under the condition that the number of the monitoring messages is smaller than the filtering waterline and the number of the monitoring messages is larger than the number of the caching waterline, establishing a cache table corresponding to the monitoring messages, adding the cache table corresponding to the monitoring messages into the cache table queue, determining an alarm notification address in the cache table corresponding to the monitoring messages, sending the alarm information to a source end corresponding to the alarm notification address through udp messages, after receiving the alarm information, performing message flow control according to the content of the cache table in the alarm information and a preset strategy, and if the cache table corresponding to the monitoring messages exists in the cache table queue, directly sending the alarm information to the source end corresponding to the alarm notification address through udp messages.
In an exemplary embodiment, after determining the number of received monitoring packets, in a case that the number of the monitoring packets is smaller than the cache waterline, determining whether a cache table corresponding to the monitoring packets exists in the cache table queue; determining the delay receiving time of the cache table corresponding to the monitoring message under the condition that whether the cache table corresponding to the monitoring message exists in the cache table queue; and writing the target message in the cache table corresponding to the monitoring message into a network protocol stack corresponding to the target message according to the delay receiving time.
Namely, the delay receiving time of the cache table corresponding to the monitoring message is read, the delay task processing work queue is started according to the read delay receiving time, the message in the target message cache region corresponding to the cache table corresponding to the monitoring message is read into the network protocol stack, meanwhile, the cache state of the cache table corresponding to the monitoring message is set to be empty, and the cache table corresponding to the monitoring message is moved out of the cache queue.
Further, under the condition of closing the target filtering table, adjusting the packet loss priority of the target filtering table to be lower than the priority of a second preset threshold, and simultaneously moving the target filtering table out of the filtering table queue. And dynamically adjusting the filtering waterline and the cache waterline according to the memory utilization rate or the utilization rate of the central processing unit.
In order to better understand the process of the above message filtering method, the following describes the flow of the above message filtering method with reference to an optional embodiment, but the flow is not limited to the technical solution of the embodiment of the present invention.
The embodiment of the invention provides a message filtering method, which realizes the caching, alarm notification and discarding of the received message of a central processing unit based on a preset filtering waterline, a preset caching table and a preset filtering table through a message receiving processing flow and a message monitoring counter processing flow. Therefore, the message receiving control is realized, and the impact of the network message on the equipment can be flexibly controlled according to different application scenes. The detailed process is as follows:
fig. 3 is a schematic diagram of a message filtering method according to an alternative embodiment of the present invention, and as shown in fig. 3, the specific steps of the message receiving processing flow are as follows:
step S301: counting the received monitoring messages (corresponding to the target messages in the above embodiment);
step S302: reading all filter tables in the filter table queue, and analyzing all the filter tables;
step S303: determining whether a target message type consistent with the message type of the monitoring message exists in a filtering table entry of a filtering table in a filtering table queue, and executing the step S304 if the target message type exists and meets the filtering condition; if the filtering condition is not present or not satisfied, executing step S305;
wherein the filtration conditions are: the priority of the second message of the target filtering table is greater than the message priority of the monitoring message.
Step S304: discarding the monitoring message and terminating the rest message receiving process;
step S305: reading all cache tables in the cache table queue, and analyzing all the cache tables;
step S306: determining whether a target message type consistent with the message type of the monitoring message exists in the cache entries of the cache tables in all the cache tables, and executing the step S307 if the target message type exists and meets the cache condition; if the cache condition does not exist or is not satisfied, executing step S308;
wherein the preset conditions are as follows: the capacity of the target message cache region corresponding to the target cache table has surplus or the message priority of the monitoring message is greater than the message priority of the first message in the target message cache region.
Step S307: caching the monitoring message and terminating the rest message receiving process;
step S308: and entering a normal message receiving and sending process under the condition that the monitoring message is not matched with the cache table and is not matched with the filtering table.
In the step S305, the target cache table is parsed as follows:
reading a notification address (corresponding to the alert notification address in the above embodiment) stored in the target cache table, sending alert information to the notification address, where the content of the alert information is the content of the cache table, and after receiving the alert information, a notified device (corresponding to the source end in the above embodiment) performs packet flow control according to the content of the cache table and a predetermined policy, so that the notified device reduces the sending of packets. Secondly, under the condition of receiving the monitoring message, matching the monitoring message with the message type of the target cache table, and caching the matched monitoring message into the cache distributed by the target cache table. And finally, in the process of storing the target message into the cache allocated by the target cache table, reading the number of the cache messages stored by the target cache table, and judging whether the number of the caches allocated by the internal cache table reaches the upper limit. If the distributed buffer memory number reaches the upper limit, judging the size relation between the priority of the stored message and the priority of the target message, indicating the priority of the stored message smaller than the priority of the target message in the size relation, releasing the space to the target message, and if the priority of the stored message is larger than the priority of the target message, discarding the target message.
In the step S302, the target filter table is parsed as follows:
according to the priority of the message of the target filter table, the message with the lowest priority is discarded, and in the next period, the message with the lowest priority is discarded continuously until the stored messages in the target filter table are discarded.
Fig. 4 is a flowchart of a counter processing of a message filtering method according to an alternative embodiment of the present invention, and as shown in fig. 4, the counter processing may be implemented by the following steps:
step S401: counting the monitoring messages, reading a monitoring message counter, and judging a monitoring message count value;
step S402: judging whether the count value of the monitoring message is larger than the filtering waterline or not; executing step S403 under the condition that the count value of the monitoring message is greater than the filtering waterline, and executing step S404 under the condition that the count value of the monitoring message is less than the filtering waterline;
step S403: adding a target filtering table corresponding to the monitoring message into a filtering table queue, setting the packet loss priority of the filtering table to be lower than the priority of a second preset threshold, if the target filtering table corresponding to the monitoring message is already in the filtering table queue, adding one to the packet loss priority of the target filtering table until the packet loss priority is higher than a third preset threshold, and discarding the message corresponding to the target filtering table;
step S404: judging whether the count value of the monitoring message is larger than the cache waterline or not; executing step S405 under the condition that the count value of the monitoring message is larger than the cache waterline, and executing step S406 under the condition that the count value of the monitoring message is smaller than the cache waterline;
step S405: adding a target cache table corresponding to the monitoring message into a cache table queue, sending the alarm information to a source end corresponding to the alarm notification address through a udp message, and directly sending the alarm information to the source end corresponding to the alarm notification address through the udp message if the target cache table corresponding to the monitoring message is already in the cache table queue;
step S406: if the target cache table corresponding to the monitoring message is already in the cache table queue, taking the target cache table out of the cache table queue, and closing the target cache table;
step S407: if the target filtering table corresponding to the monitoring message is already in the filtering table queue, taking the target filtering table out of the filtering table queue, and closing the target filtering table;
step S408: and resetting the monitoring message counter.
Specifically, the manner of closing the target cache table in step S406 is as follows:
reading the delay receiving time of the target cache table, starting a delay task processing work queue according to the read delay receiving time, reading the message in the target cache table into a network protocol stack, setting the cache state of the target cache table to be empty, and removing the target cache table from the cache table queue.
Specifically, the manner of closing the target filter table in step S407 is as follows:
and adjusting the packet loss priority of the target filtering table to be lower than the priority of a second preset threshold value, and simultaneously moving the target filtering table out of the filtering table queue.
Furthermore, the filtering waterline and the cache waterline can be dynamically adjusted according to the utilization rate of the memory or the utilization rate of the central processing unit.
In summary, the timer is started to count the number of the specific messages, and when the number exceeds the set cache waterline, the message caching action is triggered, the remote device is informed to inhibit the action, and when the number exceeds the message filtering waterline, the message filtering action is triggered. By utilizing the embodiment of the invention, the packet loss of the message can be prevented when the message flow is burst, and the impact damage to the equipment can be prevented when the message flow is overlarge.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a message filtering apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a message filtering apparatus according to an embodiment of the present invention; as shown in fig. 5, includes:
the parsing module 52 is configured to parse all filter tables in a filter table queue of the terminal under the condition that the terminal receives the target packet, where the filter table includes: a filter table entry, the filter table entry comprising: message type, message priority;
it should be noted that the target cache table includes: the method comprises the steps of caching table names, alarm notification addresses, message caching sizes, caching message delay receiving time and caching table entries (message types and priorities).
A determining module 54, configured to traverse all the filter table entries of the filter table, and determine whether one or more target filter tables exist in all the filter table entries of the filter table, where a target packet type of the target filter table is consistent with a packet type of the target packet;
it should be noted that the filter table includes: filter table name, packet loss priority, filter table entry (message type, priority)
A filtering module 56, configured to determine whether the priority of the first packet in the target filtering table is smaller than the packet priority of the target packet or not when it is determined that one or more target filtering tables exist in the filtering table entries of all the filtering tables, and discard the first packet when the priority of the first packet is smaller than the packet priority of the target packet.
Through the modules, under the condition that a terminal receives a target message, all filter tables in a filter table queue of the terminal are analyzed, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority; traversing the filtering table items of all the filtering tables, and determining whether one or more target filtering tables exist in the filtering table items of all the filtering tables, wherein the target message type of the target filtering table is consistent with the message type of the target message; under the condition that one or more target filtering tables exist in all the filtering table items of the filtering tables, determining a target filtering table corresponding to the target message type; the method comprises the steps of determining whether the priority of a first message in the target filtering table is smaller than the message priority of the target message or not, and discarding the first message under the condition that the priority of the first message is smaller than the message priority of the target message.
In an exemplary embodiment, the apparatus further includes: a buffer module, configured to parse all buffer tables in a buffer table queue of the terminal, where the buffer table includes: the cache table entry includes: message type, priority; traversing cache table entries of all cache tables, and determining whether one or more target cache tables exist in the cache table entries of all the cache tables, wherein the target message type of the target cache table is consistent with the message type of the target message; and under the condition that one or more target cache tables exist in the cache table items of all the cache tables, determining a target cache table corresponding to the target message type, and caching the target message into a target message cache region corresponding to the target cache table.
It should be noted that, determining whether a target packet type consistent with the packet type of the target packet exists in the cache table entries of all the cache tables may be understood as: determining whether the message type of the target message is consistent with the target message type in the target cache table, and caching the target message in a target message cache region corresponding to the target cache table under the condition of determining that the message type of the target message is consistent with the target message type in the target cache table; and under the condition that the message type of the target message is determined to be inconsistent with the target message type in the target cache table, determining whether to cache the target message according to the message priority.
In an exemplary embodiment, the cache module is further configured to determine whether the capacity of the target packet cache region meets a preset condition; and caching the target message into a target message cache region corresponding to the target cache table under the condition of meeting a preset condition.
That is, the relationship between the capacity of the target packet buffer and the preset condition is determined, and the target packet is cached in the target packet buffer corresponding to the target cache table when the capacity of the target packet buffer meets the preset condition.
Specifically, the determining module is further configured to determine whether the number of second packets cached in the target packet cache region is equal to a first preset threshold, where the first preset threshold is used to indicate the maximum number of packets cached in the target packet cache region; and under the condition that the number of the second messages cached in the target message cache region is smaller than the first preset threshold value, determining that the capacity of the target message cache region meets a preset condition.
That is, the relationship between the capacity of the target packet buffer and the preset condition is determined by the following specific method: determining that the capacity of the target message cache region meets a preset condition under the condition that the number of second messages cached in the target message cache region is smaller than the first preset threshold value; and under the condition that the number of the second messages cached in the target message cache region is equal to the first preset threshold value, determining that the capacity of the target message cache region does not meet the preset condition.
In an exemplary embodiment, the cache module is further configured to determine, when the number of second packets cached in the target cache database is equal to the first preset threshold, whether the priority of the second packet cached in the target cache database is greater than the priority of the target packet; and under the condition that the priority of the second message is smaller than the priority of the target message, discarding the second message and caching the target message.
Further, under the condition that the number of second messages cached in a target message cache region is equal to the first preset threshold value, namely under the condition that the capacity of the target message cache region does not meet preset conditions, determining the priority of the second messages and the priority of the target messages, comparing the size relationship between the priority of the second messages and the priority of the target messages, and discarding the target messages under the condition that the size relationship indicates that the priority of the second messages is greater than the priority of the target messages; and under the condition that the size relation indicates that the priority of the second message is smaller than that of the target message, discarding the second message and caching the target message.
Further, the apparatus further includes a processing module, configured to normally process the target packet when it is determined that the packet type of the target packet is inconsistent with the target packet type in the target cache table and when the packet type of the target packet is inconsistent with the target packet type in the target filter table.
In an exemplary embodiment, the apparatus further includes an establishing module, configured to determine the number of received monitoring packets before analyzing the target filter table in the filter table queue; and under the condition that the quantity of the monitoring messages is greater than the filtering waterline, establishing a filtering table corresponding to the monitoring messages, and adding a target filtering table corresponding to the monitoring messages into the filtering table queue.
That is to say, the number of the received monitoring messages is determined, when the number of the received monitoring messages is greater than the filtering waterline, a corresponding filtering table is established for the monitoring messages, the filtering table corresponding to the monitoring messages is added to a filtering table queue, the packet loss priority of the filtering table corresponding to the monitoring messages is set to be the priority less than the second preset threshold, if the filtering table corresponding to the monitoring messages already exists in the filtering table queue, the packet loss priority of the filtering table corresponding to the monitoring messages is increased by one, and when the priority of the filtering table corresponding to the monitoring messages is greater than the third preset threshold, the messages corresponding to the filtering table corresponding to the monitoring messages are all discarded.
In an exemplary embodiment, the establishing module is further configured to establish a cache table corresponding to the monitoring packet and add the cache table corresponding to the monitoring packet to the cache table queue when the number of the monitoring packets is smaller than a filtering waterline and the number of the monitoring packets is larger than the caching waterline; the method comprises the steps of obtaining an alarm notification address in a cache table corresponding to a monitoring message, and sending alarm information to a source end corresponding to the alarm notification address, wherein the alarm information is used for indicating the source end corresponding to the alarm notification address to send the target message by a preset strategy.
Further, under the condition that the number of the monitoring messages is smaller than the filtering waterline and the number of the monitoring messages is larger than the number of the caching waterline, establishing a cache table corresponding to the monitoring messages, adding the cache table corresponding to the monitoring messages into the cache table queue, determining an alarm notification address in the cache table corresponding to the monitoring messages, sending the alarm information to a source end corresponding to the alarm notification address through udp messages, after receiving the alarm information, performing message flow control according to the content of the cache table in the alarm information and a preset strategy, and if the cache table corresponding to the monitoring messages exists in the cache table queue, directly sending the alarm information to the source end corresponding to the alarm notification address through udp messages.
In an exemplary embodiment, the processing module is further configured to determine whether a cache table corresponding to the monitoring packet exists in the cache table queue under the condition that the number of the monitoring packets is smaller than the cache waterline; determining the delay receiving time of the cache table corresponding to the monitoring message under the condition that whether the cache table corresponding to the monitoring message exists in the cache table queue; and writing the target message in the target cache data into a network protocol stack corresponding to the target message according to the delay receiving time.
Namely, the delay receiving time of the target cache table is read, the delay task processing work queue is opened according to the read delay receiving time, the message in the target message cache region corresponding to the cache table corresponding to the monitoring message is read into the network protocol stack, meanwhile, the cache state of the cache table corresponding to the monitoring message is set to be empty, and the cache table corresponding to the monitoring message is moved out of the cache queue.
Further, under the condition that the target filtering table is closed, the packet loss priority of the filtering table corresponding to the monitoring message is adjusted to be lower than the priority of a second preset threshold, and meanwhile, the filtering table corresponding to the monitoring message is moved out of the filtering table queue. And dynamically adjusting the filtering waterline and the cache waterline according to the memory utilization rate or the utilization rate of the central processing unit.
In order to better understand the process of the above message filtering method, the following describes the flow of the above message filtering method with reference to an optional embodiment, but the flow is not limited to the technical solution of the embodiment of the present invention.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that the terminal receives the target message, analyzing all filter tables in the filter table queue of the terminal, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority;
s2, traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message;
s3, determining whether the priority of the first packet in the target filter table is less than the packet priority of the target packet when it is determined that one or more target filter tables exist in the filter table entries of all the filter tables, and discarding the first packet when the priority of the first packet is less than the packet priority of the target packet.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that the terminal receives the target message, analyzing all filter tables in the filter table queue of the terminal, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority;
s2, traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message;
s3, determining whether the priority of the first packet in the target filter table is less than the packet priority of the target packet when it is determined that one or more target filter tables exist in the filter table entries of all the filter tables, and discarding the first packet when the priority of the first packet is less than the packet priority of the target packet.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for filtering a message is characterized by comprising the following steps:
under the condition that a terminal receives a target message, analyzing all filter tables in a filter table queue of the terminal, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority;
traversing all the filtering table entries of the filtering table, and determining whether one or more target filtering tables exist in all the filtering table entries of the filtering table, wherein the target message type of the target filtering table is consistent with the message type of the target message;
and under the condition that one or more target filter tables exist in all the filter table items of the filter tables, determining whether the priority of a first message in the target filter table is smaller than the message priority of the target message, and under the condition that the priority of the first message is smaller than the message priority of the target message, discarding the first message.
2. The message filtering method according to claim 1, wherein after traversing all the filter table entries of the filter table and determining whether there are one or more target filter tables in all the filter table entries of the filter table, the method further comprises:
under the condition that one or more target filtering tables do not exist in the filtering table items of all the filtering tables, analyzing all the caching tables in the caching table queue of the terminal, wherein the caching tables comprise: the cache table entry includes: message type, priority;
traversing all the cache table entries of the cache table, and determining whether one or more target cache tables exist in all the cache table entries of the cache table, wherein the target message type of the target cache table is consistent with the message type of the target message;
and under the condition that one or more target cache tables exist in the cache table items of all the cache tables, caching the target message into a target message cache region corresponding to the target cache table.
3. The message filtering method according to claim 2, wherein caching the target message in a target message cache region corresponding to the target cache table comprises:
determining whether the capacity of the target message buffer area meets a preset condition;
and caching the target message into the target message cache region under the condition of meeting a preset condition.
4. The message filtering method according to claim 3, wherein determining whether the capacity of the target message buffer meets a preset condition comprises:
determining whether the number of second messages cached in the target message cache region is equal to a first preset threshold value, wherein the first preset threshold value is used for indicating the maximum number of messages cached in the target message cache region;
and under the condition that the second message quantity of the target message cache region is smaller than the first preset threshold value, determining that the capacity of the target message cache region meets a preset condition.
5. The message filtering method according to claim 4, wherein after determining whether the capacity of the target message buffer meets a preset condition, the method further comprises:
determining whether the priority of the second message cached in the target message cache region is greater than the priority of the target message or not under the condition that the number of the second message cached in the target message cache region is equal to the first preset threshold value;
and under the condition that the priority of the second message is smaller than the priority of the target message, discarding the second message and caching the target message.
6. The message filtering method according to claim 1, wherein before the terminal parses all the filter tables in the filter table queue of the terminal when receiving the target message, the method further comprises:
determining the number of received monitoring messages;
and under the condition that the quantity of the monitoring messages is greater than the filtering waterline, establishing a filtering table corresponding to the monitoring messages, and adding the filtering table corresponding to the monitoring messages into the filtering table queue.
7. The message filtering method according to claim 6, wherein after determining the number of received monitoring messages, the method further comprises:
under the condition that the number of the monitoring messages is smaller than the filtering waterline and the number of the monitoring messages is larger than the caching waterline, establishing a cache table corresponding to the monitoring messages, and adding the cache table corresponding to the monitoring messages into the cache table queue;
and acquiring an alarm notification address in a cache table corresponding to the monitoring message, and sending alarm information to a source end corresponding to the alarm notification address, wherein the alarm information is used for indicating the source end corresponding to the alarm notification address to send the target message by using a preset strategy.
8. The message filtering method according to claim 7, wherein after determining the number of received monitoring messages, the method further comprises:
determining whether a cache table corresponding to the monitoring message exists in the cache table queue or not under the condition that the number of the monitoring messages is smaller than the cache waterline;
determining the delay receiving time of the cache table corresponding to the monitoring message under the condition that whether the cache table corresponding to the monitoring message exists in the cache table queue;
and writing the target message in the target cache data into a network protocol stack corresponding to the target message according to the delay receiving time.
9. A message filtering apparatus, comprising:
the analysis module is used for analyzing all filter tables in a filter table queue of the terminal under the condition that the terminal receives the target message, wherein the filter tables comprise: a filter table entry, the filter table entry comprising: message type, message priority;
a determining module, configured to traverse all filter table entries of the filter table, and determine whether one or more target filter tables exist in all filter table entries of the filter table, where a target packet type of the target filter table is consistent with a packet type of the target packet;
and the filtering module is used for determining whether the priority of the first message in the target filtering table is smaller than the message priority of the target message or not under the condition that one or more target filtering tables exist in all the filtering table items of the filtering tables, and discarding the first message under the condition that the priority of the first message is smaller than the message priority of the target message.
10. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202111182608.7A 2021-10-11 2021-10-11 Message filtering method and device, storage medium and electronic device Pending CN113923169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111182608.7A CN113923169A (en) 2021-10-11 2021-10-11 Message filtering method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111182608.7A CN113923169A (en) 2021-10-11 2021-10-11 Message filtering method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113923169A true CN113923169A (en) 2022-01-11

Family

ID=79239156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111182608.7A Pending CN113923169A (en) 2021-10-11 2021-10-11 Message filtering method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113923169A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020181396A1 (en) * 2001-05-31 2002-12-05 Jen-Kai Chen Network switching apparatus and method for congestion control
CN101753440A (en) * 2009-12-18 2010-06-23 华为技术有限公司 Method, device and wireless network controller for active queue management
CN101800699A (en) * 2010-02-09 2010-08-11 上海华为技术有限公司 Method and device for dropping packets
CN102025638A (en) * 2010-12-21 2011-04-20 福建星网锐捷网络有限公司 Data transmission method and device based on priority level as well as network equipment
US20110267951A1 (en) * 2009-06-12 2011-11-03 Cygnus Broadband, Inc. Systems and Methods For Prioritization of Data For Intelligent Discard in a Communication Network
US8203956B1 (en) * 2008-08-28 2012-06-19 Raytheon Bbn Technologies Corp. Method and apparatus providing a precedence drop quality of service (PDQoS)
CN102594691A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Method and device for processing message
CN103036794A (en) * 2011-10-10 2013-04-10 华为技术有限公司 Learning method, device and system of message
CN104951373A (en) * 2015-05-28 2015-09-30 浙江元亨通信技术股份有限公司 Message queue processing method of scheduling system
CN107454014A (en) * 2016-05-30 2017-12-08 中兴通讯股份有限公司 A kind of method and device of Priority Queuing
CN107800643A (en) * 2016-08-29 2018-03-13 中兴通讯股份有限公司 Message forwarding method and device
CN110493145A (en) * 2019-08-01 2019-11-22 新华三大数据技术有限公司 A kind of caching method and device
CN111314240A (en) * 2018-12-12 2020-06-19 深圳市中兴微电子技术有限公司 Congestion control method and device, network equipment and storage medium
CN111555974A (en) * 2020-03-19 2020-08-18 视联动力信息技术股份有限公司 Data packet processing method and device, terminal equipment and storage medium
CN112468413A (en) * 2020-11-26 2021-03-09 迈普通信技术股份有限公司 Message processing method and device, electronic equipment and storage medium
CN113206800A (en) * 2021-03-15 2021-08-03 新华三信息安全技术有限公司 Message caching method and device and network equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020181396A1 (en) * 2001-05-31 2002-12-05 Jen-Kai Chen Network switching apparatus and method for congestion control
US8203956B1 (en) * 2008-08-28 2012-06-19 Raytheon Bbn Technologies Corp. Method and apparatus providing a precedence drop quality of service (PDQoS)
US20110267951A1 (en) * 2009-06-12 2011-11-03 Cygnus Broadband, Inc. Systems and Methods For Prioritization of Data For Intelligent Discard in a Communication Network
CN101753440A (en) * 2009-12-18 2010-06-23 华为技术有限公司 Method, device and wireless network controller for active queue management
CN101800699A (en) * 2010-02-09 2010-08-11 上海华为技术有限公司 Method and device for dropping packets
CN102025638A (en) * 2010-12-21 2011-04-20 福建星网锐捷网络有限公司 Data transmission method and device based on priority level as well as network equipment
CN103036794A (en) * 2011-10-10 2013-04-10 华为技术有限公司 Learning method, device and system of message
CN102594691A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Method and device for processing message
CN104951373A (en) * 2015-05-28 2015-09-30 浙江元亨通信技术股份有限公司 Message queue processing method of scheduling system
CN107454014A (en) * 2016-05-30 2017-12-08 中兴通讯股份有限公司 A kind of method and device of Priority Queuing
CN107800643A (en) * 2016-08-29 2018-03-13 中兴通讯股份有限公司 Message forwarding method and device
CN111314240A (en) * 2018-12-12 2020-06-19 深圳市中兴微电子技术有限公司 Congestion control method and device, network equipment and storage medium
CN110493145A (en) * 2019-08-01 2019-11-22 新华三大数据技术有限公司 A kind of caching method and device
CN111555974A (en) * 2020-03-19 2020-08-18 视联动力信息技术股份有限公司 Data packet processing method and device, terminal equipment and storage medium
CN112468413A (en) * 2020-11-26 2021-03-09 迈普通信技术股份有限公司 Message processing method and device, electronic equipment and storage medium
CN113206800A (en) * 2021-03-15 2021-08-03 新华三信息安全技术有限公司 Message caching method and device and network equipment

Similar Documents

Publication Publication Date Title
CN109076013B (en) Packet switching service identification method and terminal
CN101547159B (en) Method and device for preventing network congestion
CN110138610B (en) Service message sending method and device
CN106685827B (en) Downlink message forwarding method and AP (access point) equipment
US20210021503A1 (en) Telemetry Event Aggregation
CN108401263B (en) Voice quality assessment method and device
EP1471695A1 (en) Method for flow control in a communication system
CN115037700B (en) Complex network data packet transmission method, system, terminal and storage medium
CN116233018A (en) Message processing method and device, electronic equipment and storage medium
US20030165116A1 (en) Traffic shaping procedure for variable-size data units
CN106850714B (en) Cache sharing method and device
CN113645140B (en) Message statistical method, device, storage medium and network equipment
CN112737940A (en) Data transmission method and device
KR100819271B1 (en) Packet switch device and bandwidth control method thereof
CN113438169A (en) Data scheduling method, electronic equipment and storage medium
CN111740922B (en) Data transmission method, device, electronic equipment and medium
CN110661722B (en) Flow control method and device
CN113923169A (en) Message filtering method and device, storage medium and electronic device
EP4181479A1 (en) Method for identifying flow, and apparatus
CN115514709B (en) Congestion control event queue scheduling method, device, equipment and storage medium
CN109547287B (en) Bandwidth testing method and device and storage medium
CN111727590A (en) Control device, communication control method, and program
CN109787922B (en) Method and device for acquiring queue length and computer readable storage medium
CN112367265B (en) Reliable data transmission method and device suitable for narrow-band weak connection network
CN115242892A (en) Flow identification obtaining method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination