CN116390155B - Message receiving and transmitting control method and device, electronic equipment and storage medium - Google Patents

Message receiving and transmitting control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116390155B
CN116390155B CN202310648644.0A CN202310648644A CN116390155B CN 116390155 B CN116390155 B CN 116390155B CN 202310648644 A CN202310648644 A CN 202310648644A CN 116390155 B CN116390155 B CN 116390155B
Authority
CN
China
Prior art keywords
message
level
alarm
forwarding
rate
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.)
Active
Application number
CN202310648644.0A
Other languages
Chinese (zh)
Other versions
CN116390155A (en
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202310648644.0A priority Critical patent/CN116390155B/en
Publication of CN116390155A publication Critical patent/CN116390155A/en
Application granted granted Critical
Publication of CN116390155B publication Critical patent/CN116390155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a message receiving and transmitting control method, a message receiving and transmitting control device, electronic equipment and a storage medium. In this embodiment, in the process of copying and forwarding a message based on each wireless BSS interface, monitoring the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of wireless BSS interfaces currently used for forwarding the copied message, performing performance bottleneck alarm detection based on the monitored information and the currently adopted transceiving policy, and performing message transceiving control by adopting the messaging policy corresponding to the performance bottleneck alarm level according to the determined performance bottleneck alarm level, without additionally adding a chip on the AC to implement message copying; and carrying out message receiving and transmitting control according to the message receiving and transmitting strategy corresponding to the performance bottleneck alarm level, and avoiding the problems that the wireless client cannot be on line, fitAP is off line and the wireless client cannot normally communicate due to the fact that the performance bottleneck of the AC is achieved.

Description

Message receiving and transmitting control method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for controlling message sending and receiving, an electronic device, and a storage medium.
Background
In the centralized forwarding networking of the access controller (Access Controller, AC) and the thin access point (Fit AP), when the AC receives the broadcast/multicast message, the AC copies the message based on the generated wireless basic service set (Basic Service Set, BSS) interface and forwards the message to the switch. However, when the rate of sending the message to the AC is greater than the limit incoming rate, the delay of copying and forwarding the message becomes long, the CPU resource consumption of the AC is increased, and the problems that the wireless client cannot be on line, the FitAP is dropped, and the wireless client cannot normally communicate may occur.
At present, message copying is often realized by adding a chip to the AC to reduce the burden of the CPU, but adding the chip to the AC increases the hardware cost and has higher requirements on the AC.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for controlling message sending and receiving, which implement that a chip is not required to be additionally added to an AC to copy a message.
According to a first aspect of an embodiment of the present application, there is provided a method of controlling messaging, the method being applied to an access controller AC, the AC being configured with a plurality of wireless basic service set BSS interfaces, the method comprising:
in the process of copying and forwarding the message based on each wireless BSS interface, sampling the message input rate, the message output rate, the copying and forwarding time delay of the AC in the current sampling period and the number of the wireless BSS interfaces currently used for forwarding the copied message;
determining a performance bottleneck alarm level corresponding to a current sampling period according to at least two of a message input rate, a message output rate, a replication forwarding delay, the number of wireless BSS interfaces currently used for forwarding the replicated message and a currently adopted receiving and transmitting strategy of the AC;
and based on the performance bottleneck alarm level, carrying out message receiving and transmitting control according to a message receiving and transmitting strategy corresponding to the performance bottleneck alarm level.
According to a second aspect of an embodiment of the present application, there is provided a messaging control apparatus, the apparatus being applied to an access controller AC, the AC being configured with a plurality of wireless basic service set BSS interfaces, the apparatus comprising:
the sampling module is used for sampling the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of the wireless BSS interfaces currently used for forwarding the copied message in the current sampling period in the process of copying and forwarding the message based on each wireless BSS interface;
the performance bottleneck warning level determining module is used for determining the performance bottleneck warning level corresponding to the current sampling period according to at least two of the message input rate, the message output rate, the replication and forwarding delay of the AC, the number of wireless BSS interfaces currently used for forwarding the replicated message and the currently adopted receiving and transmitting strategy;
and the message receiving and transmitting control module is used for carrying out message receiving and transmitting control according to a message receiving and transmitting strategy corresponding to the performance bottleneck alarm level based on the performance bottleneck alarm level.
According to a third aspect of an embodiment of the present application, there is provided an electronic apparatus including: a processor and a memory;
wherein the memory is configured to store machine-executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory, so as to implement the method according to the first aspect.
According to a fourth aspect of embodiments of the present application, there is provided a machine readable storage medium having stored thereon a program which, when executed by a processor, implements a method as described in the first aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in this embodiment, in the process of copying and forwarding a message based on each wireless BSS interface, monitoring the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of wireless BSS interfaces currently used for forwarding the copied message, performing performance bottleneck alarm detection based on the monitored information and the currently adopted transceiving policy, and performing message transceiving control by adopting the messaging policy corresponding to the performance bottleneck alarm level according to the determined performance bottleneck alarm level, without additionally adding a chip on the AC to implement message copying;
further, the message receiving and sending control is performed according to the message receiving and sending strategy corresponding to the performance bottleneck alarm level, so that the problems that the wireless client cannot be on line, the FitAP is off line and the wireless client cannot normally communicate due to the fact that the performance bottleneck of the AC is achieved are solved.
Drawings
Fig. 1 is a flowchart of a method for controlling messaging according to an embodiment of the present application.
Fig. 2 is a diagram of a sample example shown in an embodiment of the present application.
Fig. 3 is a block diagram of a messaging control apparatus, in accordance with an embodiment of the present application.
Fig. 4 is a block diagram of an electronic device shown in an embodiment of the application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Next, embodiments of the present specification will be described in detail.
Referring to fig. 1, fig. 1 is a flowchart of a method provided in an embodiment of the present application. The method is applied to an access controller AC configured with a plurality of wireless basic service set BSS interfaces. In this embodiment, the AC is connected to a plurality of thin APs, and for any of the APs, when a service is bound to the AP, the AC generates a BSS interface that matches the service. Here, the service refers to a wireless network.
As shown in fig. 1, the process may include the steps of:
s110: in the process of copying and forwarding the message based on each radio BSS interface, the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of the radio BSS interfaces currently used for forwarding the copied message are sampled in the current sampling period.
In this embodiment, the message to be forwarded by copying the message based on each wireless BSS interface may be a broadcast message (for example, ARP message, etc.), or may be a multicast message (for example, a service message sent to a plurality of designated clients, etc.), which is not specifically limited in the embodiment of the present application.
Illustratively, in this embodiment, the sampling period may be any value set in advance, for example, 1 second, and embodiments of the present application are not particularly limited.
In this embodiment, as shown in fig. 2, in the process of packet replication and forwarding based on each wireless BSS interface, the packet input rate (denoted as bssratelnput), the packet output rate (denoted as BSSRateOutput), the replication and forwarding delay (denoted as BSSLatency) of the present AC, and the number of wireless BSS interfaces currently used for forwarding the replicated packet (denoted as bssnabber) are sampled in the current sampling period. The message input rate refers to: the number of messages input to the AC for message copying in unit time; the message output rate refers to: the number of duplicate messages output from the present AC per unit time; the duplicate forwarding delay refers to: the time required for a message from input to the present AC to output from the present AC.
There are many ways to copy the forwarding delay, for example, from a macroscopic view, calculate one copy forwarding delay corresponding to all the messages in the current calculation period; for another example, from the microcosmic view, the copy forwarding delay corresponding to each message in the current sampling period is calculated respectively; the embodiment of the present application is not particularly limited. As to how to calculate the copy forwarding delay macroscopically and microscopically, the following embodiments are described by way of example, and are not repeated here.
In this embodiment, there may be a number of determining methods for the number of wireless BSS interfaces currently used for forwarding the duplicated packet, for example, all wireless BSS interfaces configured on the AC are used as the number of wireless BSS interfaces currently used for forwarding the duplicated packet; for another example, the sum of the number of wireless BSS interfaces bound by all virtual local area network VLANs managed by the present AC is taken as the number of wireless BSS interfaces currently used for forwarding the duplicated message; the embodiment of the present application is not particularly limited.
Here, each VLAN may be bound to at least one wireless BSS interface, and each wireless BSS interface may also be bound to at least one VLAN. As for the binding process between the wireless BSS interface and the VLAN, the following embodiments are described by way of example, and are not described herein in detail.
S120: and determining a performance bottleneck alarm level corresponding to the current sampling period according to at least two of the message input rate, the message output rate, the replication forwarding delay, the number of wireless BSS interfaces currently used for forwarding the replicated message and the currently adopted receiving and transmitting strategy of the AC.
Illustratively, in the present embodiment, a performance bottleneck alert level is used to characterize the current replication performance of the present AC. In this embodiment, the performance bottleneck alert level may include a wide variety of levels, for example, the performance bottleneck alert level includes: the system comprises a first level and a second level, wherein the first level is used for indicating that the performance bottleneck reaches a second-level alarm; the second level is used to indicate that the performance bottleneck reaches a first level of alert. As another example, the performance bottleneck alert level includes: a first level, a second level, a third level, and a fourth level. The first level is used for indicating that the performance bottleneck reaches a second-level alarm; the second level is used for indicating the performance bottleneck to reach the first-level alarm, and the alarm level of the first-level alarm is higher than that of the second-level alarm; the third level is used for indicating to cancel the receiving and transmitting strategy corresponding to the currently adopted second-level alarm; the fourth level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the currently adopted first-level alarm. The embodiment of the present application is not particularly limited.
The embodiment of the application comprises the following steps in the performance bottleneck alarm level: in this embodiment, in step S120, there are many methods for determining the performance bottleneck alert level corresponding to the current sampling period according to the message input rate, the message output rate, the duplicate forwarding delay of the AC and the number of wireless BSS interfaces currently used for forwarding the duplicate message, as a specific embodiment:
and if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck warning level corresponding to the current sampling period is a first level.
In this embodiment, the first specified Rate threshold is determined in advance, for example, the first specified Rate threshold is 90% of the maximum Rate (Rate Max) of the packet forwarded and duplicated by the AC, which is not specifically limited in the embodiment of the present application.
In this embodiment, if the product of the packet input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold, and if the packet output rate is greater than the first specified rate threshold by at least one, it is determined that the performance bottleneck alert level corresponding to the current sampling period is the first level.
If the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck warning level corresponding to the current sampling period is a second level when the copy forwarding delay meets the specified delay condition.
Illustratively, in this embodiment, there may be a plurality of specified delay conditions, where the specified delay conditions are different for different duplication forwarding delay determination methods. For example, when the replication forwarding delay is calculated macroscopically, the specified delay condition may be that the replication forwarding delay is less than or equal to a specified delay threshold (e.g., 100 ms), and when the replication forwarding delay is calculated microscopically, the specified delay condition may be that the replication forwarding delay of a first specified proportion (e.g., 80%) of the packets is less than or equal to the specified delay threshold (e.g., 100 ms). The embodiment of the application does not specifically limit the specified time delay condition, the specified time delay threshold value and the first specified proportion, and can be determined by a person skilled in the art according to actual conditions.
If the receiving and transmitting strategy corresponding to the secondary alarm is adopted currently, when the product of the message input rate and the number of wireless BSS interfaces is smaller than or equal to the second specified rate threshold value, and the message output rate is smaller than or equal to the second specified rate threshold value, determining that the performance bottleneck alarm level corresponding to the current sampling period is a third level.
Illustratively, in this embodiment, the second specific speed threshold is determined in advance, for example, the second specific speed threshold is 50% of the maximum Rate (Rate Max) of the AC forwarding duplicated packet, which is not specifically limited in the embodiment of the present application.
In this embodiment, if a transceiving policy corresponding to a secondary alarm is currently adopted, when the product of the packet input rate and the number of wireless BSS interfaces is less than or equal to a second specified rate threshold, and the packet output rate is less than or equal to the second specified rate threshold, it is determined that the performance bottleneck alarm level corresponding to the current sampling period is a third level.
If the receiving and transmitting strategy corresponding to the primary alarm is adopted currently, when the message output rate is 0, determining that the performance bottleneck alarm level corresponding to the current sampling period is a fourth level.
S130: based on the performance bottleneck alarm level, carrying out message receiving and transmitting control according to a message receiving and transmitting strategy corresponding to the performance bottleneck alarm level.
Illustratively, in this embodiment, before executing step S130, the messaging policy corresponding to each performance bottleneck alarm level is configured in advance based on each performance bottleneck alarm level. In this step S130, when determining the performance bottleneck alarm level, the message receiving and sending control is directly performed according to the message receiving and sending policy set in advance and corresponding to the performance bottleneck alarm level.
Based on the description of the performance bottleneck alarm level, in this embodiment, the transceiving policy corresponding to the first level is an ingress speed limit policy, where the ingress speed limit policy is: and copying the message according to the specified limiting speed.
In this embodiment, the specified limiting speed may be set in advance, for example, the specified limiting speed is a ratio of a second specified ratio (for example, 70%) 70% of a maximum Rate (Rate Max) of the present AC forwarding duplicated packet to the number of wireless BSS interfaces currently used for forwarding the duplicated packet, and embodiments of the present application are not particularly limited.
Specifically, carinput=bssrateoutputsafe/bssnanber
Wherein, CARINPut is a specified limiting speed; BSSRateOutputSafe is the second specified proportion of the maximum Rate Max of the message that the AC forwards the duplicate.
The transceiving strategy corresponding to the second level is a message stopping strategy: the strategy for stopping sending and receiving the message is as follows: stopping message copying and stopping forwarding copied message.
The receiving and transmitting strategy corresponding to the third level is a message receiving and transmitting strategy, and the message receiving and transmitting strategy is started: and starting to receive the message and copying the message, and starting to forward the copied message.
The receiving and transmitting strategy corresponding to the fourth level is a cancel entrance speed limit strategy, and the cancel entrance speed limit strategy is: and canceling message copying according to the specified limiting speed.
This completes the description of the flowchart shown in fig. 1.
As can be seen from the flow shown in fig. 1, in this embodiment, in the process of copying and forwarding a message based on each wireless BSS interface, the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of wireless BSS interfaces currently used for forwarding the copied message are monitored, and based on the monitored information and the currently adopted receiving and transmitting policy, performance bottleneck alarm detection is performed, and according to the determined performance bottleneck alarm level, the message receiving and transmitting control is performed by adopting the message receiving and transmitting policy corresponding to the performance bottleneck alarm level, so that no additional chip is required to be added on the AC to implement message copying;
further, the message receiving and sending control is performed according to the message receiving and sending strategy corresponding to the performance bottleneck alarm level, so that the problems that the wireless client cannot be on line, the Fit AP is off line and the wireless client cannot normally communicate due to the fact that the performance bottleneck of the AC is achieved are solved.
As an alternative implementation of the embodiment of the present application, the replication and forwarding delay is determined macroscopically by:
if the message input rate is not matched with the message output rate according to the message input rate and the number of wireless BSS interfaces, the method comprises the following steps: when N continuous sampling periods are checked, determining that the message input rate is not matched with the message output rate, determining the copy forwarding time delay according to the duration of the N continuous sampling periods; and when the last sampling period is checked to determine that the message input rate is matched with the message output rate, determining that the copy forwarding delay is a specified value.
Illustratively, in this embodiment, the fact that the packet input rate and the packet output rate are not matched means that the product of the packet input rate and the number of wireless BSS interfaces is the same as the packet output rate, or that the product of the packet input rate and the number of wireless BSS interfaces is within a specified error range of the packet output rate, where the set error range may be, for example, that the product of the packet input rate and the number of wireless BSS interfaces is greater than 97% of the packet output rate and less than 102% of the packet output rate.
In this embodiment, if it is determined that the packet input rate and the packet output rate are not matched according to the packet input rate and the number of wireless BSS interfaces, if it is checked that the packet input rate and the packet output rate are matched in the last sampling period, it is determined that the copy forwarding delay is a specified value (e.g., 0); if it is checked that the previous sampling period has determined that the packet input rate and the packet output rate are not matched, it is further checked that there are several consecutive sampling periods at present to determine that the packet input rate and the packet output rate are not matched, if it is checked that there are N consecutive sampling periods at present to determine that the packet input rate and the packet output rate are not matched, the copy forwarding delay is determined according to the duration of N and the sampling period, where there are many ways to determine the copy forwarding delay according to the duration of N and the sampling period, for example, the product of N and the duration of the sampling period is taken as the copy forwarding delay, and for example, the product of N and the duration of the sampling period is multiplied by a coefficient (for example, 0.5) to be taken as the copy forwarding delay.
As a specific example:
BSSLatency=0(ifBSSRateInput×BSSnumber>=BSSRateOutput*97%&&BSSRateInput×BSSnumber<=BSSRateOutput*102%)
bsslitency=x×n, X is the length of the sampling period, (ifbssrateinput×bssnamber < bssrateoutput×97% or bssrateinput×bssnamber > bssrateoutput×102%)
As an alternative implementation of the embodiment of the present application, the replication and forwarding delay is determined from a microscopic point of view by:
for each message received in the current sampling period, determining the copy forwarding delay of the message according to the input time of the message and the forwarding time of the last wireless BSS interface in the VLAN to which the message belongs for forwarding the copied message.
In this embodiment, the determining the replication and forwarding delay of the message may specifically be to use a difference between the forwarding time of the last wireless BSS interface to forward the replicated message and the input time of the message as the replication and forwarding delay of the message according to the input time of the message and the forwarding time of the last wireless BSS interface to forward the replicated message in the VLAN to which the message belongs.
As an optional implementation manner of the embodiment of the present application, the method for controlling the sending and receiving of the message further includes:
first, when a first wireless client (STA) corresponding to a BSS is detected to be online, a VLAN is matched for the BSS, and the BSS is added to the matched VLAN.
In this embodiment, when a wireless client STA is online, the AC determines a BSS through a wireless network to which the STA is connected, and if it is determined that the BSS has joined at least one VLAN, it is determined that the STA is not the first STA corresponding to the BSS; if the BSS is determined not to be added with any VLAN, the STA is determined to be the first STA corresponding to the BSS, the VLAN is matched for the BSS, and the BSS is added to the matched VLAN.
In this embodiment, in this step, there are many ways to match VLANs for the BSS, for example, the VLAN specified according to the service corresponding to the BSS is the BSS matching VLAN, and for another example, the VLAN specified according to the radio frequency channel of the Fit AP corresponding to the BSS is the BSS matching VLAN, which is not specifically limited in this embodiment of the present application, and may be determined according to practical situations.
Secondly, when the last STA corresponding to a BSS in a VLAN is detected to be offline, the BSS is deleted from the VLAN.
Illustratively, in the present embodiment, for any VLAN, when the last STA corresponding to a BSS in a VLAN is detected to be down, the BSS is deleted from the VLAN.
Corresponding to the embodiment of the method, the embodiment of the application also provides the device and the embodiment of the terminal applied by the device.
As shown in fig. 3, fig. 3 is a block diagram of a messaging control apparatus, which is applied to an access controller AC configured with a plurality of wireless basic service set BSS interfaces, according to an embodiment of the present application, the messaging control apparatus includes:
the sampling module is used for sampling the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of the wireless BSS interfaces currently used for forwarding the copied message in the current sampling period in the process of copying and forwarding the message based on each wireless BSS interface;
the performance bottleneck warning level determining module is used for determining the performance bottleneck warning level corresponding to the current sampling period according to at least two of the message input rate, the message output rate, the replication and forwarding delay of the AC, the number of wireless BSS interfaces currently used for forwarding the replicated message and the currently adopted receiving and transmitting strategy;
and the message receiving and transmitting control module is used for carrying out message receiving and transmitting control according to the message receiving and transmitting strategy corresponding to the performance bottleneck alarm level based on the performance bottleneck alarm level.
As an optional implementation manner of the embodiment of the present application, the above performance bottleneck alarm level determining module is specifically configured to:
if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck alarm level corresponding to the current sampling period is a first level, wherein the first level is used for indicating that the performance bottleneck reaches a second-level alarm;
if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck alarm level corresponding to the current sampling period is a second level when the replication and forwarding time delay meets a specified time delay condition, wherein the second level is used for indicating that the performance bottleneck reaches a first-level alarm, and the alarm level of the first-level alarm is higher than that of the second-level alarm;
if the receiving and transmitting strategy corresponding to the secondary alarm is adopted currently, when the product of the message input rate and the number of wireless BSS interfaces is smaller than or equal to a second designated rate threshold value, and the message output rate is smaller than or equal to the second designated rate threshold value, determining that the performance bottleneck alarm level corresponding to the current sampling period is a third level, wherein the third level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the secondary alarm adopted currently;
if the receiving and transmitting strategy corresponding to the primary alarm is adopted currently, when the message output rate is 0, determining the performance bottleneck alarm level corresponding to the current sampling period as a fourth level, wherein the fourth level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the primary alarm adopted currently.
As an alternative implementation manner of the embodiment of the present application, the copy forwarding delay is determined by the following manner:
if the message input rate is not matched with the message output rate according to the message input rate and the number of wireless BSS interfaces, the method comprises the following steps: when N continuous sampling periods are checked, determining that the message input rate is not matched with the message output rate, determining the copy forwarding time delay according to the duration of the N continuous sampling periods; and when the last sampling period is checked to determine that the message input rate is matched with the message output rate, determining that the copy forwarding delay is a specified value.
As an alternative implementation manner of the embodiment of the present application, the foregoing copy forwarding delay is determined by:
for each message received in the current sampling period, determining the copy forwarding delay of the message according to the input time of the message and the forwarding time of the last wireless BSS interface in the VLAN to which the message belongs for forwarding the copied message.
As an optional implementation manner of the embodiment of the present application, the transceiving policy corresponding to the first level is an ingress speed limit policy, where the ingress speed limit policy is: message copying is carried out according to the appointed limiting speed;
the transceiving strategy corresponding to the second level is a message stopping strategy: the strategy for stopping sending and receiving the message is as follows: stopping message copying and stopping forwarding copied messages;
the receiving and transmitting strategy corresponding to the third level is a message receiving and transmitting strategy, and the message receiving and transmitting strategy is started: the method comprises the steps of starting to receive a message, copying the message and starting to forward the copied message;
the receiving and transmitting strategy corresponding to the fourth level is a cancel entrance speed limit strategy, and the cancel entrance speed limit strategy is: and canceling message copying according to the specified limiting speed.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
The description of the apparatus shown in fig. 3 is thus completed.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present description. Those of ordinary skill in the art will understand and implement the present application without undue burden.
Correspondingly, the embodiment of the application also provides a hardware structure diagram of the device shown in fig. 3, and in particular, as shown in fig. 4, the electronic device may be a device for implementing the method. As shown in fig. 4, the hardware structure includes: a processor and a memory.
Wherein the memory is configured to store machine-executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory, so as to implement the method embodiment of the corresponding messaging control as shown above.
The memory may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like, for one embodiment. For example, the memory may be: volatile memory, nonvolatile memory, or similar storage medium. In particular, the memory may be RAM (Radom Access Memory, random access memory), flash memory, a storage drive (e.g., hard drive), a solid state disk, any type of storage disk (e.g., optical disk, DVD, etc.), or a similar storage medium, or a combination thereof.
Thus, the description of the electronic device shown in fig. 4 is completed.
The embodiment of the application also provides a machine-readable storage medium, on which a program is stored, which when executed by a processor, implements a method for controlling messaging according to any of the preceding embodiments.
Embodiments of the application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Machine-readable storage media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of machine-readable storage media include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by the computing device.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It is to be understood that the present description is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (9)

1. A method of messaging control, the method being applied to an access controller AC, the AC being configured with a plurality of wireless basic service set BSS interfaces, the method comprising:
in the process of copying and forwarding the message based on each wireless BSS interface, sampling the message input rate, the message output rate, the copying and forwarding time delay of the AC in the current sampling period and the number of the wireless BSS interfaces currently used for forwarding the copied message;
if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck warning level corresponding to the current sampling period is a first level, wherein the first level is used for indicating that the performance bottleneck reaches a second-level warning;
if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck alarm level corresponding to the current sampling period is a second level when the copy forwarding delay meets a specified delay condition, wherein the second level is used for indicating that the performance bottleneck reaches a first-level alarm, and the alarm level of the first-level alarm is higher than that of the second-level alarm;
if a receiving and transmitting strategy corresponding to the secondary alarm is adopted currently, determining that the performance bottleneck alarm level corresponding to the current sampling period is a third level when the product of the message input rate and the number of wireless BSS interfaces is smaller than or equal to a second designated rate threshold value and the message output rate is smaller than or equal to the second designated rate threshold value, wherein the third level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the secondary alarm adopted currently;
if the receiving and transmitting strategy corresponding to the primary alarm is adopted currently, determining the performance bottleneck alarm level corresponding to the current sampling period to be a fourth level when the message output rate is 0, wherein the fourth level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the primary alarm adopted currently;
and based on the performance bottleneck alarm level, carrying out message receiving and transmitting control according to a message receiving and transmitting strategy corresponding to the performance bottleneck alarm level.
2. The method of claim 1, wherein the replica forwarding delay is determined by:
if it is determined that the message input rate is not matched with the message output rate according to the message input rate and the number of the wireless BSS interfaces, then: when N continuous sampling periods are checked, determining that the message input rate is not matched with the message output rate, determining the copy forwarding time delay according to the N and the duration of the sampling periods; and when the last sampling period is checked to determine that the message input rate is matched with the message output rate, determining that the copy forwarding delay is a specified value.
3. The method of claim 1, wherein the replica forwarding delay is determined by:
for each message received in the current sampling period, determining the copy forwarding delay of the message according to the input time of the message and the forwarding time of the last wireless BSS interface in the VLAN to which the message belongs for forwarding the copied message.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the receiving and transmitting strategy corresponding to the first level is an inlet speed limiting strategy, and the inlet speed limiting strategy is as follows: message copying is carried out according to the appointed limiting speed;
the receiving and transmitting strategy corresponding to the second level is a message stopping strategy: the strategy for stopping sending and receiving the message is as follows: stopping message copying and stopping forwarding copied messages;
the transceiving strategy corresponding to the third level is a message starting and transmitting strategy, and the message starting and transmitting strategy is as follows: the method comprises the steps of starting to receive a message, copying the message and starting to forward the copied message;
the receiving and transmitting strategy corresponding to the fourth level is a cancel entrance speed limit strategy, and the cancel entrance speed limit strategy is: and canceling message copying according to the specified limiting speed.
5. A messaging control apparatus, the apparatus being adapted for use with an access controller AC, the AC being configured with a plurality of wireless basic service set BSS interfaces, the apparatus comprising:
the sampling module is used for sampling the message input rate, the message output rate, the copying and forwarding delay of the AC and the number of the wireless BSS interfaces currently used for forwarding the copied message in the current sampling period in the process of copying and forwarding the message based on each wireless BSS interface;
the system comprises a performance bottleneck warning level determining module, a performance bottleneck warning level determining module and a wireless BSS interface processing module, wherein the performance bottleneck warning level determining module is used for determining that a performance bottleneck warning level corresponding to a current sampling period is a first level if the product of the message input rate and the number of wireless BSS interfaces is larger than a first appointed rate threshold value and/or the message output rate is larger than the first appointed rate threshold value, and the first level is used for indicating that the performance bottleneck reaches a second-level warning;
if the product of the message input rate and the number of wireless BSS interfaces is greater than a first specified rate threshold and/or the message output rate is greater than the first specified rate threshold, determining that the performance bottleneck alarm level corresponding to the current sampling period is a second level when the copy forwarding delay meets a specified delay condition, wherein the second level is used for indicating that the performance bottleneck reaches a first-level alarm, and the alarm level of the first-level alarm is higher than that of the second-level alarm;
if a receiving and transmitting strategy corresponding to the secondary alarm is adopted currently, determining that the performance bottleneck alarm level corresponding to the current sampling period is a third level when the product of the message input rate and the number of wireless BSS interfaces is smaller than or equal to a second designated rate threshold value and the message output rate is smaller than or equal to the second designated rate threshold value, wherein the third level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the secondary alarm adopted currently;
if the receiving and transmitting strategy corresponding to the primary alarm is adopted currently, determining the performance bottleneck alarm level corresponding to the current sampling period to be a fourth level when the message output rate is 0, wherein the fourth level is used for indicating cancellation of the receiving and transmitting strategy corresponding to the primary alarm adopted currently;
and the message receiving and transmitting control module is used for carrying out message receiving and transmitting control according to a message receiving and transmitting strategy corresponding to the performance bottleneck alarm level based on the performance bottleneck alarm level.
6. The apparatus of claim 5, wherein the duplicate forwarding delay is determined by:
if it is determined that the message input rate is not matched with the message output rate according to the message input rate and the number of the wireless BSS interfaces, then: when N continuous sampling periods are checked, determining that the message input rate is not matched with the message output rate, determining the copy forwarding time delay according to the N and the duration of the sampling periods; and when the last sampling period is checked to determine that the message input rate is matched with the message output rate, determining that the copy forwarding delay is a specified value.
7. The apparatus of claim 5, wherein the duplicate forwarding delay is determined by:
for each message received in the current sampling period, determining the copy forwarding delay of the message according to the input time of the message and the forwarding time of the last wireless BSS interface in the VLAN to which the message belongs for forwarding the copied message.
8. An electronic device, characterized in that the electronic device comprises: a processor and a memory;
wherein the memory is configured to store machine-executable instructions;
the processor is configured to read and execute the machine executable instructions stored in the memory to implement the method of any one of claims 1 to 4.
9. A machine readable storage medium having stored thereon a program which, when executed by a processor, implements the method of any of claims 1-4.
CN202310648644.0A 2023-06-02 2023-06-02 Message receiving and transmitting control method and device, electronic equipment and storage medium Active CN116390155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310648644.0A CN116390155B (en) 2023-06-02 2023-06-02 Message receiving and transmitting control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310648644.0A CN116390155B (en) 2023-06-02 2023-06-02 Message receiving and transmitting control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116390155A CN116390155A (en) 2023-07-04
CN116390155B true CN116390155B (en) 2023-08-25

Family

ID=86971438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310648644.0A Active CN116390155B (en) 2023-06-02 2023-06-02 Message receiving and transmitting control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116390155B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442358A (en) * 2013-08-30 2013-12-11 杭州华三通信技术有限公司 Method for local forwarding concentrated authentication and control device
WO2015085715A1 (en) * 2013-12-10 2015-06-18 中兴通讯股份有限公司 Method for processing radio access, forwarding device, and network controller
WO2018040648A1 (en) * 2016-08-29 2018-03-08 中兴通讯股份有限公司 Traffic allocation method and wireless access point
CN108124295A (en) * 2016-11-29 2018-06-05 华为技术有限公司 A kind of station associate method and device
CN108377531A (en) * 2016-10-29 2018-08-07 华为技术有限公司 A kind of data communications method and device
CN109348432A (en) * 2018-11-23 2019-02-15 新华三技术有限公司 A kind of message forwarding method and device
CN109982384A (en) * 2019-03-28 2019-07-05 新华三技术有限公司 Message forwarding method, device, the network equipment and medium
WO2021218582A1 (en) * 2020-04-29 2021-11-04 华为技术有限公司 Network performance monitoring method, network device, and storage medium
WO2022015229A1 (en) * 2020-07-16 2022-01-20 Telefonaktiebolaget Lm Ericsson (Publ) Dual active protocol stack and connection/link failure handling
WO2022078192A1 (en) * 2020-10-14 2022-04-21 华为技术有限公司 Wifi chip, wifi device and queue scheduling method
WO2023274165A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Parameter configuration method and apparatus, controller, communication device, and communication system
WO2023020707A1 (en) * 2021-08-19 2023-02-23 Lenovo International Coöperatief U.A Predictive application context relocation
WO2023044025A1 (en) * 2021-09-20 2023-03-23 Intel Corporation Using physical random access channel (prach) to identify multiple features and combinations of features

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442358A (en) * 2013-08-30 2013-12-11 杭州华三通信技术有限公司 Method for local forwarding concentrated authentication and control device
WO2015085715A1 (en) * 2013-12-10 2015-06-18 中兴通讯股份有限公司 Method for processing radio access, forwarding device, and network controller
WO2018040648A1 (en) * 2016-08-29 2018-03-08 中兴通讯股份有限公司 Traffic allocation method and wireless access point
CN113630852A (en) * 2016-10-29 2021-11-09 华为技术有限公司 Data communication method and device
CN108377531A (en) * 2016-10-29 2018-08-07 华为技术有限公司 A kind of data communications method and device
CN108124295A (en) * 2016-11-29 2018-06-05 华为技术有限公司 A kind of station associate method and device
CN109348432A (en) * 2018-11-23 2019-02-15 新华三技术有限公司 A kind of message forwarding method and device
CN109982384A (en) * 2019-03-28 2019-07-05 新华三技术有限公司 Message forwarding method, device, the network equipment and medium
WO2021218582A1 (en) * 2020-04-29 2021-11-04 华为技术有限公司 Network performance monitoring method, network device, and storage medium
WO2022015229A1 (en) * 2020-07-16 2022-01-20 Telefonaktiebolaget Lm Ericsson (Publ) Dual active protocol stack and connection/link failure handling
WO2022078192A1 (en) * 2020-10-14 2022-04-21 华为技术有限公司 Wifi chip, wifi device and queue scheduling method
WO2023274165A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Parameter configuration method and apparatus, controller, communication device, and communication system
WO2023020707A1 (en) * 2021-08-19 2023-02-23 Lenovo International Coöperatief U.A Predictive application context relocation
WO2023044025A1 (en) * 2021-09-20 2023-03-23 Intel Corporation Using physical random access channel (prach) to identify multiple features and combinations of features

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WLAN无漫游组网方式设计与实现;郭猷敏;肖根福;郑大腾;陈华伦;;井冈山大学学报(自然科学版)(02);全文 *

Also Published As

Publication number Publication date
CN116390155A (en) 2023-07-04

Similar Documents

Publication Publication Date Title
US9998337B2 (en) Identifying nodes in a ring network
US7911960B1 (en) Delayed-start method for minimizing internal switch congestion
US6829651B1 (en) Local MAC address learning in layer 2 frame forwarding
US20080082658A1 (en) Spam control systems and methods
US20090180377A1 (en) Adaptive Edge-Implemented Traffic Policy in a Data Processing Network
US20090003207A1 (en) Wireless performance improvement via client-free forward error correction
US9553812B2 (en) Interest keep alives at intermediate routers in a CCN
US11467922B2 (en) Intelligent snapshot generation and recovery in a distributed system
CN107547442B (en) Data transmission buffer queue distribution method and device
US20210044476A1 (en) Method, Device, and System for Providing Hot Reservation for In-Line Deployed Network Functions with Multiple Network Interfaces
CN113014689A (en) Method and device for network address translation
CN106549821B (en) Network loop detection method and controller
EP1514389A1 (en) Token bucket parameters computation for guaranteed services in a data network
CN116390155B (en) Message receiving and transmitting control method and device, electronic equipment and storage medium
Sharma et al. ETSP: Enhanced trust-based security protocol to handle blackhole attacks in opportunistic networks
CN100578484C (en) Self-adaptive multicast file transfer method and device
CN114050942B (en) Security policy configuration method, device, network equipment and medium
US11811834B2 (en) Lawfully intercepting traffic and providing the traffic to a content destination based on content destination availabilities and priorities
CN114301815B (en) Method and device for processing broadcast storm
CN113098788B (en) Method and device for releasing route
KR20010039385A (en) Backoff algorithm in consideration of the communication priority and collision protection protocol using thereof
Porretta et al. Adaptive Virtual Carrier Sense in Underwater Broadcasting
CN113630422B (en) Network security data processing method and system based on edge node
CN112291310B (en) Method and device for counting connection number
CN116319624B (en) Message processing method, device, equipment and storage 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
GR01 Patent grant
GR01 Patent grant