CN108900375B - Service message transmission method, device and network equipment - Google Patents

Service message transmission method, device and network equipment Download PDF

Info

Publication number
CN108900375B
CN108900375B CN201810669302.6A CN201810669302A CN108900375B CN 108900375 B CN108900375 B CN 108900375B CN 201810669302 A CN201810669302 A CN 201810669302A CN 108900375 B CN108900375 B CN 108900375B
Authority
CN
China
Prior art keywords
control channel
opposite
service
occupancy rate
end member
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
CN201810669302.6A
Other languages
Chinese (zh)
Other versions
CN108900375A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201810669302.6A priority Critical patent/CN108900375B/en
Publication of CN108900375A publication Critical patent/CN108900375A/en
Application granted granted Critical
Publication of CN108900375B publication Critical patent/CN108900375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Abstract

The embodiment of the invention provides a service message transmission method, a device and network equipment, wherein the service message transmission method can be applied to member equipment in an intelligent elastic architecture and comprises the following steps: receiving a detection message sent by member equipment at an opposite end, wherein the detection message carries link mode information and control channel occupancy rate; determining a link mode of the opposite-end member equipment according to the link mode information; if the link mode of the opposite-end member equipment is the separation mode, judging whether the occupancy rate of the control channel is smaller than a first preset threshold value; if the number is smaller than the preset value, the service message is transmitted with the opposite-end member equipment through the service channel and/or the control. By the scheme, the transmission efficiency of the service message can be improved.

Description

Service message transmission method, device and network equipment
Technical Field
The present invention relates to the field of virtual network technologies, and in particular, to a method, an apparatus, and a network device for transmitting a service packet.
Background
An Intelligent Resilient Framework (IRF) is a software virtualization technology, and multiple network devices are connected together and virtualized into one device after necessary configuration. The virtualization technology can be used for integrating hardware resources and software processing capacity of a plurality of network devices, and realizing cooperative work, unified management and uninterrupted maintenance of the plurality of network devices.
Each network device in the IRF is called a member device, two interconnected member devices are opposite-end member devices, and the member device and the opposite-end member devices are connected through a special physical port to perform communication. Through configuration, the transmission mode of the physical port can be specified, and the transmission mode of the physical port is mainly divided into: control mode, traffic mode, and hybrid mode. In the control mode, the physical ports are only used for transmitting control messages, such as IRF protocol messages and the like, and a control channel is formed among the physical ports; in the service mode, the physical ports are only used for transmitting service messages, and service channels are formed among the physical ports; in the hybrid mode, the physical port may be used to transmit control packets and service packets.
In order to ensure that the control message and the service message are not affected each other in the transmission process, a plurality of physical ports on the member device are respectively connected with a plurality of physical ports on the opposite-end member device, and the link mode between the member device and the opposite-end member device is set to be a separation mode, namely, channels among a part of physical ports are divided into control channels, and channels among another part of physical ports are divided into service channels. The data volume of the service packet is often large, and the fixed channel allocation results in low transmission efficiency of the service packet.
Disclosure of Invention
The embodiment of the invention aims to provide a service message transmission method, a service message transmission device and network equipment so as to improve the transmission efficiency of service messages. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a service packet transmission method, which is applied to a member device in an intelligent resilient framework, where the method includes:
receiving a detection message sent by member equipment at an opposite end, wherein the detection message carries link mode information and control channel occupancy rate; determining the link mode of the opposite-end member equipment according to the link mode information;
if the link mode of the opposite-end member equipment is a separation mode, judging whether the occupancy rate of the control channel is smaller than a first preset threshold value;
and if the number of the messages is smaller than the preset value, transmitting a service message with the opposite-end member equipment through a service channel and/or the control channel.
In a second aspect, an embodiment of the present invention provides a service packet transmission apparatus, which is applied to a member device in an intelligent resilient framework, where the apparatus includes:
the receiving module is used for receiving a detection message sent by the opposite-end member equipment, wherein the detection message carries link mode information and control channel occupancy rate; determining the link mode of the opposite-end member equipment according to the link mode information;
a judging module, configured to judge whether the occupancy rate of the control channel is smaller than a first preset threshold if the link mode of the opposite-end member device is a separation mode;
and the transmission module is used for transmitting the service message with the opposite-end member equipment through a service channel and/or the control channel if the judgment result of the judgment module is less than the judgment result of the judgment module.
In a third aspect, an embodiment of the present invention provides a network device, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps of the first aspect of the embodiments of the present invention are implemented.
In the method, the apparatus, and the network device for transmitting a service packet provided in the embodiments of the present invention, a member device in an IRF receives a probe packet sent by an opposite-end member device, and determines, according to link mode information carried in the probe packet, that a link mode of the opposite-end member device is a split mode, determines whether an occupancy rate of a control channel carried in the probe packet is smaller than a first preset threshold, and if the occupancy rate of the control channel is smaller than the first preset threshold, it is considered that the service packet is allowed to be transmitted through the control channel, so that the service packet can be transmitted with the opposite-end member device through a service channel and/or the control channel. Under the condition that the link mode is the separation mode, whether the service message is allowed to be transmitted through the control channel is judged by detecting the occupancy rate of the control channel carried in the message, if the service message is allowed to be transmitted through the control channel, the service message can be transmitted through the service channel and the control channel, the bandwidth utilization rate among member devices is improved, the transmission of the service message by the service channel can be shared to the control channel, more channels can be ensured to transmit the service message, and the transmission efficiency of the service message is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a service packet transmission method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a frame format of a probe packet according to the prior art;
fig. 3 is a schematic structural diagram of a service packet transmission apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the transmission efficiency of a service message, embodiments of the present invention provide a service message transmission method, an apparatus, and a network device.
Next, a method for transmitting a service packet according to an embodiment of the present invention is first described.
The execution main body of the service message transmission method provided by the embodiment of the invention can be member equipment in the IRF, such as a switch, computer equipment, a router, a gateway, access equipment and the like. The method for implementing the service packet transmission method provided by the embodiment of the present invention may be at least one of software, a hardware circuit, and a logic circuit provided in the execution main body.
As shown in fig. 1, the service packet transmission method provided in the embodiment of the present invention may include the following steps.
S101, receiving a detection message sent by opposite-end member equipment, wherein the detection message carries link mode information and control channel occupancy rate; and determining the link mode of the opposite-end member equipment according to the link mode information.
In the IRF, member devices collect the topology of the whole IRF through interactive detection messages. The detection packet carries topology information such as an IRF port connection relationship, a member device Number, a member device priority, a bridge MAC (Media access Control) of the member device, and the like, and a frame format of the detection packet is shown in fig. 2, where DstMAC is a target MAC, SrcMAC is a source MAC, DomainID is a domain name identifier, Control Flag is a Control identifier, Sequence Number is a sending end serial Number, Acknowledgement Number is an Acknowledgement serial Number, and Reserved is a Reserved bit.
In the conventional probe message, 24 reserved bits are not utilized, and in the embodiment of the present invention, the 24 reserved bits may be utilized to record the link mode information, the control channel occupancy rate, and the like of the member device. These 24 bits may specifically include the following information: link mode information, which indicates that the link mode is a separation mode or a mixed mode, when the link mode is the separation mode, channels among a part of physical ports are control channels, channels among another part of physical ports are service channels, and when the link mode is the mixed mode, all the physical ports are the mixed mode, that is, all the channels can transmit control messages and service messages; control channel occupancy, which represents the ratio of occupied control channels in the total control channel.
The link mode information indicates a link mode of the opposite-end member device, and may account for 1 bit in the detection message, for example, when the bit is 0, the link mode of the opposite-end member device is a separation mode, and when the bit is 1, the link mode of the opposite-end member device is a mixed mode; or, when the bit is 0, the link mode of the opposite-end member device is the hybrid mode, and when the bit is 1, the link mode of the opposite-end member device is the separation mode.
The link mode determines the transmission mode of the service message and the control message, and for the condition that the link mode is a mixed mode, a link with a small link number is preferably selected between two member devices of member devices at opposite ends to transmit the service message and the control message at the same time, only when the link fails, other links are selected to transmit the service message and the control message, and if a large number of messages need to be transmitted between the two member devices, the bandwidth of one link is insufficient, and the transmission is overtime; for the case that the link mode is the split mode, the fixed channel allocation may result in low transmission efficiency of the service packet. In order to solve the above problem, in this embodiment, when the link modes of the local end member device and the opposite end member device are both in the separation mode, the control channel is renegotiated to transmit the service packet.
And S102, if the link mode of the opposite-end member equipment is the separation mode, judging whether the occupancy rate of the control channel is less than a first preset threshold value.
In the prior art, after determining that the link mode of the opposite-end member device is the separation mode, since the control channel for transmitting the control message and the service channel for transmitting the service message are fixed, the transmission efficiency of the service message is low, and therefore, in order to improve the transmission efficiency of the service message, in the method provided by the embodiment of the invention, when the link mode is the separation mode, the control channel is negotiated to transmit the service message by judging whether the occupancy rate of the control channel is smaller than a first preset threshold.
In a conventional detection message, a Control Flag is 8 bits, the lowest two bits indicate that the detection message is a detection request message or a detection response message, values are 01 (detection request) and 10 (detection response), and the rest bits are reserved bits. In the embodiment of the present invention, besides the need to determine the peer-to-peer relationship between two member devices, a negotiation Control channel is also needed to transmit a service message, and the Control Flag has a 6-bit reserved bit, so that it can also determine whether to enter a process of negotiating a Control channel to transmit a service message through the Control Flag.
Optionally, the detection packet further carries a control identifier;
before determining whether the occupancy rate of the control channel is smaller than the first preset threshold in S102, the method provided in the embodiment of the present invention may further perform the following steps:
judging whether the control identifier is a negotiation identifier;
if yes, executing the step of judging whether the occupancy rate of the control channel is smaller than a first preset threshold value.
After determining that the link mode of the opposite-end member device is the separation mode, judging whether the control identifier is a negotiation identifier or not, and if the control identifier is the negotiation identifier, negotiating to transmit the service message by judging whether the occupancy rate of the control channel is smaller than a first preset threshold or not; if the control mark is not the negotiation mark, the negotiation of the control channel for transmitting the service message is not carried out. The service message is still transmitted according to the original transmission strategy, i.e. only through the service channel. Illustratively, the value of the negotiation id may be 100, 1000, 10000, etc., and is not limited herein.
Optionally, the detection packet also carries the device carrying capacity of the member device at the opposite end;
the method provided by the embodiment of the invention can also execute the following steps:
judging whether the equipment bearing capacity of the opposite-end member equipment exceeds a second preset threshold value or not;
and if the equipment bearing capacity of the opposite-end member equipment does not exceed a second preset threshold value and the occupancy rate of the control channel is smaller than the first preset threshold value, executing the step of transmitting the service message with the opposite-end member equipment through the service channel and/or the control channel.
The device bearing capacity is inversely proportional to the bearing capacity of how much data the device can receive or process, and is usually reflected by a Central Processing Unit (CPU) utilization rate, a memory occupancy rate, and the like of the device, and the probe packet may also carry information such as the CPU utilization rate, the memory occupancy rate, and the like, and if the CPU utilization rate exceeds a certain threshold and the memory occupancy rate also exceeds a certain threshold, it indicates that the device bearing capacity exceeds a second preset threshold, that is, it indicates that the number of service packets that the opposite-end member device can continue to receive is limited, and it is not suitable to transmit a large number of service packets to the opposite-end member device.
The step of determining whether the device carrying capacity of the peer member device exceeds the second preset threshold may be performed before or after the step of determining whether the occupancy rate of the control channel is less than the first preset threshold, and is not specifically limited herein. If the equipment bearing capacity of the opposite-end member equipment does not exceed a second preset threshold value and the occupancy rate of the control channel is smaller than a first preset threshold value, transmitting a service message with the opposite-end member equipment through the service channel and/or the control channel; and if the equipment bearing capacity of the opposite-end member equipment exceeds a second preset threshold value or the occupancy rate of the control channel is smaller than the first preset threshold value, maintaining the transmission of the service message with the opposite-end member equipment through the service channel or not transmitting the service message with the opposite-end member equipment.
Certainly, the member device at the local end may also detect the device carrying capacity of the member device itself, and if the device carrying capacity of the member device at the local end exceeds a certain threshold, it also indicates that a large number of service messages should not be transmitted between the member device at the local end and the member device at the opposite end, the service messages are maintained to be transmitted with the member device at the opposite end through the service channel, or the service messages are not transmitted with the member device at the opposite end.
The detection message may simultaneously carry link mode information, CPU utilization, memory occupancy, negotiation status, and control channel occupancy. The link mode information occupies 1 bit in the detection message, the CPU utilization rate, the memory occupancy rate and the control channel occupancy rate respectively occupy 7 bits in the detection message, the negotiation state occupies 2 bits in the detection message, and the negotiation state is used for representing that the member equipment at the opposite end is currently in an initial transmission state, a negotiation state or a control channel occupied state.
And S103, if the occupancy rate of the control channel is smaller than a first preset threshold value, transmitting the service message with the opposite-end member equipment through the service channel and/or the control channel.
If the occupancy rate of the control channel is less than the first preset threshold, it indicates that the traffic message is allowed to be transmitted through the control channel, so that a part of the control channel can be occupied to transmit the traffic message, and it can be determined how many control channels are occupied to transmit the traffic message according to the occupancy rate of the control channel, for example, if the occupancy rate of the control channel is 10%, it indicates that 90% of the control channels are not occupied by the control message, then a part of the 90% can be proportionally occupied to transmit the traffic message.
Because the control channel is allowed to transmit the service message, the control channel does not represent that the service channel is not idle, and the service message can be continuously transmitted through the service channel under normal conditions, after the member equipment at the opposite end is determined to allow the service message to be transmitted through the control channel, the service message can be transmitted through the service channel and/or the control channel, that is, the service message can be transmitted through the service channel alone, the service message can be transmitted through the control channel alone, and the service message can also be transmitted through the service channel and the control channel simultaneously.
Optionally, after S102, the method provided in the embodiment of the present invention may further perform the following steps:
and if the occupancy rate of the control channel is not less than the first preset threshold, transmitting the service message with the opposite-end member equipment only through the service channel.
If the occupancy rate of the control channel is not less than the first preset threshold, it indicates that more control messages are transmitted, and in order to not affect the transmission of the control messages, the control channel should not be negotiated to transmit the service messages, i.e. the service messages are not allowed to be transmitted through the control channel, so that the service messages can be transmitted only through the service channel between two member devices according to the original separation mode.
Optionally, after S103, the method provided in the embodiment of the present invention may further perform the following steps:
acquiring information for controlling whether the occupancy rate of the channel changes;
and under the condition that the occupancy rate of the control channel is changed, executing a step of judging whether the occupancy rate of the control channel is smaller than a first preset threshold value according to the changed occupancy rate of the control channel.
In the process of message interaction between two member devices of the devices at opposite ends, the occupancy rate of the control channel is always changed, and the occupancy rate of the control channel is increased no matter the control channel or the service message is, and based on the changed occupancy rate of the control channel, the control channel needs to be renegotiated to transmit the service message.
On the other hand, the method provided by the embodiment of the present invention may further perform the steps provided by any one of the following embodiments:
the first implementation mode comprises the following steps: acquiring information whether the equipment bearing capacity of opposite-end member equipment is changed; and if the equipment bearing capacity of the opposite-end member equipment changes, stopping transmitting the service message through the control channel when the equipment bearing capacity of the opposite-end member equipment exceeds a preset threshold value.
Because the device bearing capacity of the member device at the opposite end is constantly changed in the process of receiving and processing the service messages, if the device bearing capacity of the member device at the opposite end exceeds the preset threshold value, the member device at the opposite end cannot continuously receive or process a large number of service messages, and the service messages are stopped being transmitted through the control channel.
The second embodiment: acquiring information of whether the equipment bearing capacity of the member equipment at the home terminal changes; and if the equipment bearing capacity of the member equipment at the local end changes, stopping transmitting the service message through the control channel when the equipment bearing capacity of the member equipment at the local end exceeds a preset threshold value.
In the process of receiving and processing the service message, the device bearing capacity of the member device at the home terminal is also changed continuously, and if the device bearing capacity of the member device at the home terminal exceeds a preset threshold value, it indicates that the member device at the home terminal cannot continuously receive or process a large number of service messages, and the transmission of the service message through the control channel should be stopped.
Of course, the device carrying capacities of the member device at the home terminal and the member device at the opposite terminal may also be monitored at the same time, that is, the methods provided in the first and second embodiments may be performed at the same time.
The member device negotiates the control channel to transmit the service message, and when negotiation is successful, the following conditions can occur: A. and B, two member devices, namely a control channel and a service channel are separated, data are allowed to be transmitted in the control channel, and the physical ports are A/1 (control mode), A/2 (service mode), B/1 (control mode) and B/2 (service mode). For the device a, the physical port in the control channel is a/1, and the physical ports in the service channel are a/1 and a/2; for the device B, the physical port of the control channel is B/1, and the physical ports of the traffic channel are B/1 and B/2.
By applying this embodiment, the member device in the IRF, by receiving the probe packet sent by the opposite-end member device, determines whether the link mode of the opposite-end member device is the split mode according to the link mode information carried in the probe packet, and determines whether the occupancy rate of the control channel carried in the probe packet is smaller than a first preset threshold, and if the occupancy rate of the control channel is smaller than the first preset threshold, it is determined that the service packet is allowed to be transmitted through the control channel, so that the service packet can be transmitted with the opposite-end member device through the service channel and/or the control channel. Under the condition that the link mode is the separation mode, whether the service message is allowed to be transmitted through the control channel is judged by detecting the occupancy rate of the control channel carried in the message, if the service message is allowed to be transmitted through the control channel, the service message can be transmitted through the service channel and the control channel, the bandwidth utilization rate among member devices is improved, the transmission of the service message by the service channel can be shared to the control channel, more channels can be ensured to transmit the service message, and the transmission efficiency of the service message is improved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention provides a service packet transmission apparatus, which is applied to a member device in an intelligent resilient framework, where a link mode is a separation mode, and as shown in fig. 3, the service packet transmission apparatus may include:
a receiving module 310, configured to receive a probe packet sent by an opposite-end member device, where the probe packet carries link mode information and control channel occupancy rate; determining the link mode of the opposite-end member equipment according to the link mode information;
a determining module 320, configured to determine whether the occupancy rate of the control channel is smaller than a first preset threshold if the link mode of the peer member device is a split mode;
a transmission module 330, configured to transmit a service packet with the opposite-end member device through a service channel and/or the control channel if the determination result of the determination module 320 is smaller than the predetermined value.
Optionally, the detection packet further carries a control identifier;
the determining module 320 may be further configured to:
judging whether the control identification is a negotiation identification;
and if so, executing the judgment to judge whether the occupancy rate of the control channel is smaller than a first preset threshold value.
Optionally, the detection packet further carries a device carrying capacity of the opposite-end member device;
the determining module 320 may be further configured to:
judging whether the equipment bearing capacity of the opposite-end member equipment exceeds a second preset threshold value or not;
the transmission module 330 may be specifically configured to:
and if the equipment bearing capacity of the opposite-end member equipment does not exceed the second preset threshold value and the occupancy rate of the control channel is smaller than the first preset threshold value, transmitting a service message with the opposite-end member equipment through a service channel and/or the control channel.
Optionally, the transmission module 330 may be further configured to:
and if the occupancy rate of the control channel is not less than the first preset threshold, transmitting a service message only through the service channel and the opposite-end member equipment.
Optionally, the apparatus may further include:
the acquisition module is used for acquiring the information whether the occupancy rate of the control channel is changed;
the determining module 320 may be further configured to, when the occupancy rate of the control channel is changed, perform the determination on whether the occupancy rate of the control channel is smaller than a first preset threshold according to the changed occupancy rate of the control channel.
By applying this embodiment, the member device in the IRF, by receiving the probe packet sent by the opposite-end member device, determines whether the link mode of the opposite-end member device is the split mode according to the link mode information carried in the probe packet, and determines whether the occupancy rate of the control channel carried in the probe packet is smaller than a first preset threshold, and if the occupancy rate of the control channel is smaller than the first preset threshold, it is determined that the service packet is allowed to be transmitted through the control channel, so that the service packet can be transmitted with the opposite-end member device through the service channel and/or the control channel. Under the condition that the link mode is the separation mode, whether the service message is allowed to be transmitted through the control channel is judged by detecting the occupancy rate of the control channel carried in the message, if the service message is allowed to be transmitted through the control channel, the service message can be transmitted through the service channel and the control channel, the bandwidth utilization rate among member devices is improved, the transmission of the service message by the service channel can be shared to the control channel, more channels can be ensured to transmit the service message, and the transmission efficiency of the service message is improved.
In order to improve the transmission efficiency of the service packet, an embodiment of the present invention further provides a network device, as shown in fig. 4, which may include a processor 401 and a machine-readable storage medium 402, where the machine-readable storage medium 402 stores machine-executable instructions that can be executed by the processor 401, and the processor 401 is caused by the machine-executable instructions to implement the steps of the service packet transmission method as described above.
In this embodiment, the processor 401 can realize that by reading the machine executable instructions stored in the machine-readable storage medium 402 and executing the machine executable instructions: the member device in the IRF judges whether the occupancy rate of the control channel carried in the detection message is smaller than a first preset threshold value or not when determining that the link mode of the opposite-end member device is the separation mode according to the link mode information carried in the detection message by receiving the detection message sent by the opposite-end member device, and if the occupancy rate of the control channel is smaller than the first preset threshold value, the member device considers that the service message is allowed to be transmitted through the control channel, so that the service message can be transmitted with the opposite-end member device through the service channel and/or the control channel. Under the condition that the link mode is the separation mode, whether the service message is allowed to be transmitted through the control channel is judged by detecting the occupancy rate of the control channel carried in the message, if the service message is allowed to be transmitted through the control channel, the service message can be transmitted through the service channel and the control channel, the bandwidth utilization rate among member devices is improved, the transmission of the service message by the service channel can be shared to the control channel, more channels can be ensured to transmit the service message, and the transmission efficiency of the service message is improved.
Corresponding to the service packet transmission method provided in the foregoing embodiments, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions and implements the steps of the service packet transmission method when the machine-readable storage medium is called and executed by a processor.
In this embodiment, the machine-readable storage medium stores machine-executable instructions for executing the service packet transmission method provided in the embodiment of the present invention when running, so that the following can be implemented: the member device in the IRF judges whether the occupancy rate of the control channel carried in the detection message is smaller than a first preset threshold value or not when determining that the link mode of the opposite-end member device is the separation mode according to the link mode information carried in the detection message by receiving the detection message sent by the opposite-end member device, and if the occupancy rate of the control channel is smaller than the first preset threshold value, the member device considers that the service message is allowed to be transmitted through the control channel, so that the service message can be transmitted with the opposite-end member device through the service channel and/or the control channel. Under the condition that the link mode is the separation mode, whether the service message is allowed to be transmitted through the control channel is judged by detecting the occupancy rate of the control channel carried in the message, if the service message is allowed to be transmitted through the control channel, the service message can be transmitted through the service channel and the control channel, the bandwidth utilization rate among member devices is improved, the transmission of the service message by the service channel can be shared to the control channel, more channels can be ensured to transmit the service message, and the transmission efficiency of the service message is improved.
The machine-readable storage medium may include a RAM (Random Access Memory) and a NVM (Non-Volatile Memory), such as at least one disk Memory. Alternatively, the machine-readable storage medium may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
As for the embodiments of the network device and the machine-readable storage medium, since the contents of the related methods are substantially similar to those of the foregoing embodiments of the methods, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiments of the methods.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the network device and the machine-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A service message transmission method is applied to member equipment in an intelligent elastic architecture, and the method comprises the following steps:
receiving a detection message sent by member equipment at an opposite end, wherein the detection message carries link mode information and control channel occupancy rate; determining the link mode of the opposite-end member equipment according to the link mode information;
if the link mode of the opposite-end member device is a separation mode, judging whether the occupancy rate of the control channel is smaller than a first preset threshold value, wherein a plurality of physical ports on the member device are respectively connected with a plurality of physical ports on the opposite-end member device, and when the link mode is the separation mode, channels among a part of the physical ports are control channels, and channels among another part of the physical ports are service channels;
if the number of the messages is smaller than the preset value, transmitting a service message with the opposite-end member equipment through a service channel and the control channel.
2. The method according to claim 1, wherein the probe packet further carries a control identifier;
before the determining whether the occupancy rate of the control channel is smaller than a first preset threshold, the method further includes:
judging whether the control identification is a negotiation identification;
and if so, executing the judgment to judge whether the occupancy rate of the control channel is smaller than a first preset threshold value.
3. The method according to claim 1, wherein the probe packet further carries a device carrying capacity of the opposite-end member device;
the method further comprises the following steps:
judging whether the equipment bearing capacity of the opposite-end member equipment exceeds a second preset threshold value or not;
and if the equipment bearing capacity of the opposite-end member equipment does not exceed the second preset threshold value and the occupancy rate of the control channel is smaller than the first preset threshold value, executing the transmission of the service message with the opposite-end member equipment through the service channel and the control channel.
4. The method of claim 1, wherein after the determining whether the control channel occupancy is less than a first preset threshold, the method further comprises:
and if not, transmitting the service message with the opposite-end member equipment only through the service channel.
5. The method of claim 1, further comprising:
acquiring information whether the occupancy rate of the control channel is changed;
and under the condition that the occupancy rate of the control channel is changed, executing the judgment of whether the occupancy rate of the control channel is smaller than a first preset threshold value according to the changed occupancy rate of the control channel.
6. A service message transmission device is applied to member equipment in an intelligent elastic architecture, and the device comprises:
the receiving module is used for receiving a detection message sent by the opposite-end member equipment, wherein the detection message carries link mode information and control channel occupancy rate; determining the link mode of the opposite-end member equipment according to the link mode information;
a determining module, configured to determine whether the occupancy rate of the control channel is smaller than a first preset threshold if the link mode of the opposite-end member device is a split mode, where a plurality of physical ports on the member device are connected to a plurality of physical ports on the opposite-end member device, respectively, and when the link mode is the split mode, a channel between a part of the physical ports is a control channel, and a channel between another part of the physical ports is a service channel;
and the transmission module is used for transmitting the service message with the opposite-end member equipment through the service channel and the control channel if the judgment result of the judgment module is less than the judgment result of the judgment module.
7. The apparatus according to claim 6, wherein the probe packet further carries a control identifier;
the judging module is further configured to:
judging whether the control identification is a negotiation identification;
and if so, executing the judgment to judge whether the occupancy rate of the control channel is smaller than a first preset threshold value.
8. The apparatus according to claim 6, wherein the probe packet further carries a device carrying capacity of the peer member device;
the judging module is further configured to:
judging whether the equipment bearing capacity of the opposite-end member equipment exceeds a second preset threshold value or not;
the transmission module is specifically configured to:
and if the equipment bearing capacity of the opposite-end member equipment does not exceed the second preset threshold value and the occupancy rate of the control channel is smaller than the first preset threshold value, transmitting a service message with the opposite-end member equipment through a service channel and the control channel.
9. The apparatus of claim 6, wherein the transmission module is further configured to:
and if the occupancy rate of the control channel is not less than the first preset threshold, transmitting a service message only through the service channel and the opposite-end member equipment.
10. The apparatus of claim 6, further comprising:
the acquisition module is used for acquiring the information whether the occupancy rate of the control channel is changed;
the judging module is further configured to, when the occupancy rate of the control channel changes, execute the judgment on whether the occupancy rate of the control channel is smaller than a first preset threshold according to the changed occupancy rate of the control channel.
11. A network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 5.
CN201810669302.6A 2018-06-26 2018-06-26 Service message transmission method, device and network equipment Active CN108900375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810669302.6A CN108900375B (en) 2018-06-26 2018-06-26 Service message transmission method, device and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810669302.6A CN108900375B (en) 2018-06-26 2018-06-26 Service message transmission method, device and network equipment

Publications (2)

Publication Number Publication Date
CN108900375A CN108900375A (en) 2018-11-27
CN108900375B true CN108900375B (en) 2020-06-05

Family

ID=64346126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810669302.6A Active CN108900375B (en) 2018-06-26 2018-06-26 Service message transmission method, device and network equipment

Country Status (1)

Country Link
CN (1) CN108900375B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810459A (en) * 2021-07-29 2021-12-17 奇安信科技集团股份有限公司 Data transmission method and device, electronic equipment and storage medium
CN114500605A (en) * 2022-02-18 2022-05-13 百斯特(广州)信息技术有限公司 Industrial Internet of things data transmission method based on 5G and intelligent gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254504A (en) * 2010-05-20 2011-11-23 乐金显示有限公司 Image processing method and display device using the same
CN102469021A (en) * 2010-11-18 2012-05-23 杭州华三通信技术有限公司 Method of transmitting business flow and member equipment in intelligent resilience frame system
WO2017195656A1 (en) * 2016-05-12 2017-11-16 シャープ株式会社 Transmission device, receiving device, and communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254504A (en) * 2010-05-20 2011-11-23 乐金显示有限公司 Image processing method and display device using the same
CN102469021A (en) * 2010-11-18 2012-05-23 杭州华三通信技术有限公司 Method of transmitting business flow and member equipment in intelligent resilience frame system
WO2017195656A1 (en) * 2016-05-12 2017-11-16 シャープ株式会社 Transmission device, receiving device, and communication method

Also Published As

Publication number Publication date
CN108900375A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN108156074B (en) Protection switching method, network equipment and system
EP2075974B1 (en) Method and apparatus for aggregating ports
JP5882353B2 (en) Method and system for multi-connection in a file system session
CN100579034C (en) Method for reporting equipment information, system and device for obtaining equipment information
EP1919138A1 (en) A method for implementing backup of the uplink
CN109842868B (en) Frame aggregation and network setting frame sending method and equipment
US7561587B2 (en) Method and system for providing layer-4 switching technologies
CN102388581B (en) Method, device and system of reference link negotiation
CN111726293B (en) Message transmission method and device
US20080235699A1 (en) System for providing quality of service in link layer and method using the same
CN108900375B (en) Service message transmission method, device and network equipment
CN105262836A (en) Information push method of server and push information reception method of client
KR20180047172A (en) Method and Apparatus for Controlling Congestion in Communication Systems with Services
EP2553870A1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN102017549A (en) Methods and devices for managing a network
CN101808043B (en) Method and device for detecting service message forwarding state of TRUNK members
CN106411731B (en) Method and device for auto-negotiation LACP protocol reference system and reference port
WO2003045010A2 (en) Method and device for managing a connection and resource reservation in a communication network comprising a bridge
CN101262421B (en) Relay apparatus and relay method
US20150138979A1 (en) Network management control device, network management control system, and network management control method
US7903686B2 (en) Connected device to be connected to an IEEE 1394 serial bus
CN113347681A (en) Data transmission method, data transmission device, storage medium and electronic device
KR20050044917A (en) Method for determining a parent portal in a wireless network and corresponding portal device
JP2001244979A (en) Quality control method for ip network, network managing device for the same, and medium with recorded program for executing the same
CN116208549A (en) Data transmission method and device and WAN port aggregation equipment

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