CN106385378A - Processing method and device for controlling message in in-band management control - Google Patents

Processing method and device for controlling message in in-band management control Download PDF

Info

Publication number
CN106385378A
CN106385378A CN201610796963.6A CN201610796963A CN106385378A CN 106385378 A CN106385378 A CN 106385378A CN 201610796963 A CN201610796963 A CN 201610796963A CN 106385378 A CN106385378 A CN 106385378A
Authority
CN
China
Prior art keywords
message
cpu resource
service message
management
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610796963.6A
Other languages
Chinese (zh)
Inventor
赵跃明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NSFOCUS Information Technology Co Ltd
Beijing NSFocus Information Security Technology Co Ltd
Original Assignee
NSFOCUS Information Technology Co Ltd
Beijing NSFocus Information Security Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NSFOCUS Information Technology Co Ltd, Beijing NSFocus Information Security Technology Co Ltd filed Critical NSFOCUS Information Technology Co Ltd
Priority to CN201610796963.6A priority Critical patent/CN106385378A/en
Publication of CN106385378A publication Critical patent/CN106385378A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6295Queue scheduling characterised by scheduling criteria using multiple queues, one for each individual QoS, connection, flow or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal
    • H04L49/9068Intermediate storage in different physical parts of a node or terminal in the network interface card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9084Reactions to storage capacity overflow
    • H04L49/9089Reactions to storage capacity overflow replacing packets in a storage arrangement, e.g. pushout

Landscapes

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

Abstract

The present invention discloses a processing method and device for controlling message in the in-band management control. The method comprises: based on a first CPU source obtained through distribution, receiving the data flow sent by an upstream device, distinguishing the management message and the business message from the data flow, and storing the management message and the business message into a buffer queue; based on a second CPU source obtained through distribution, processing the management message; and based on a third CPU source obtained through distribution, processing the business message, and when determining that the third CPU source reaches a business performance limitation, and based on the first CPU source, performing abandoning process of the business message. Therefore, a device can receive all the data flow sent by the upstream device at the line speed all the time and ensures that the business message is only abandoned even if the business performance reaches the limitation so as to allow the management message to be processed in time and ensure the stability of the management message protocol, the effective and stable operation of the network and the continuous and stable operation of the user business.

Description

A kind of in-band management controls the lower processing method and processing device controlling message
Technical field
The present invention relates to communication technical field, under more particularly, to a kind of in-band management, control processing method and the dress of message Put.
Background technology
With multi-Core Development external members such as data surface developing instrument external members (Data Plane Development Kit, DPDK) Increasingly mature, increasing developer in order to reduce hardware cost and exploitation difficulty, do not use special network Processor (Network Processor, NP), and begin with general X86 server.
Under normal circumstances, X86 server is typically by the way of in-band management, at management message and service message Reason, with cost-effective, improves port utilization ratio, so-called in-band management, will manage message and service message is all carried on one In physical link.
Specifically, refering to shown in Fig. 1, in-band management transfer management message and industry between upstream equipment and upstream device, are passed through Business message.
But, when service traffics are close to the processing limit of upstream device, upstream device due to having reached process bottleneck, and Management message can not timely be processed, therefore, this can cause the problems such as network concussion, service disconnection.
For the problems referred to above, under prior art, generally in upstream equipment, the precedence information of configuration management message, with When, speed limit (e.g., the transmission bandwidth of limit service message) is carried out to the service message sending, so that it is guaranteed that management message is preferential Reliable diffusion.
Accordingly, refering to shown in Fig. 2, in downstream equipment, enable business process, management message is added to management message Processing unit, but, because management message and service message are all unified to preserve, therefore, management message and service message All in contention central processing unit (Central Processing Unit, CPU) resource.And upstream device can adopt polling mode, Cpu resource is distributed and is used for being managed Message processing and is used for carrying out service message process.
And when service traffics are close to the processing limit of upstream device, upstream device can not process all of pipe by poll in time Reason message and service message, this can cause the spilling of part management message and service message, thus being dropped.
Obviously, though management message preferentially sent, do not ensure that yet upstream device can to management message carry out and When process, management message still may be dropped, therefore, still result in the problems such as network concussion, service disconnection.
Content of the invention
The embodiment of the present invention provides the processing method and processing device controlling message under a kind of in-band management, for for managing message With service message reasonable distribution resource, to carry out respective handling to management message and service message respectively, make management message permissible Process in time, and will not be dropped, ensure that the stability of the agreement of management message it is ensured that the stability of network, and The stability of customer service.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
Control the processing method of message under a kind of in-band management, including:
The first cpu resource being obtained based on distribution, is received the data flow that upstream equipment sends, and distinguishes from data flow Management message and service message, and management message and service message are stored in buffer queue respectively;
The second cpu resource being obtained based on distribution, is processed to management message;
The 3rd cpu resource being obtained based on distribution, is processed to service message, and reaches in determination the 3rd cpu resource During the service feature limit, based on the first cpu resource, discard processing is carried out to service message.
Preferably, further including:
In pretreatment stage, mark off the first cpu resource, the second cpu resource and the 3rd CPU money from CPU total resources Source;
First cpu resource is distributed and receives flow process to message, wherein, the size of the first cpu resource is used for guaranteeing that upstream sets Standby all data streams are smoothly received all the time;
Second cpu resource is distributed to management Message processing flow process;
3rd cpu resource is distributed to service message handling process.
Preferably, distinguishing management message and service message from data flow, specifically include:
Extract the identification information of each message from data flow, based on the identification information of each message, distinguish management Message and service message;Or,
Extract the flag bit of each message from data flow, based on the flag bit of each message, distinguish management message And service message.
Preferably, management message and service message are stored in buffer queue respectively, specifically include:
Management message is stored in the buffer queue of management message, and service message is stored in the buffer queue of service message.
Preferably, when determining that the 3rd cpu resource reaches the service feature limit, based on the first cpu resource, to service message Carry out discard processing, specifically include:
Determine and be based on the 3rd cpu resource, the processing speed that service message is processed;
Determine and be based on the first cpu resource, new service message is stored in the storage speed of buffer queue;
When determining that the difference of processing speed and storage speed is less than pre-determined threshold, the business report that will overflow from buffer queue Literary composition abandons.
Control the processing meanss of message under a kind of in-band management, specifically include:
Memory element, for the first cpu resource obtaining based on distribution, receives the data flow that upstream equipment sends, and from Distinguish management message and service message in data flow, and management message and service message are stored in buffer queue respectively;
Processing unit, for the second cpu resource being obtained based on distribution, is processed to management message;
Discarding unit, for the 3rd cpu resource being obtained based on distribution, is processed to service message, and is determining the When three cpu resources reach the service feature limit, based on the first cpu resource, discard processing is carried out to service message.
Preferably, memory element is additionally operable to:
In pretreatment stage, mark off the first cpu resource, the second cpu resource and the 3rd CPU money from CPU total resources Source;
First cpu resource is distributed and receives flow process to message, wherein, the size of the first cpu resource is used for guaranteeing that upstream sets Standby all data streams are smoothly received all the time;
Second cpu resource is distributed to management Message processing flow process;
3rd cpu resource is distributed to service message handling process.
Preferably, distinguishing management message from data flow and during service message, memory element specifically for:
Extract the identification information of each message from data flow, based on the identification information of each message, distinguish management Message and service message;Or,
Extract the flag bit of each message from data flow, based on the flag bit of each message, distinguish management message And service message.
Preferably, by management message and service message be stored in buffer queue respectively when, memory element specifically for:
Management message is stored in the buffer queue of management message, and service message is stored in the buffer queue of service message.
Preferably, reaching the service feature limit in determination the 3rd cpu resource, based on the first cpu resource, service message is entered During row discard processing, discarding unit specifically for:
Determine and be based on the 3rd cpu resource, the processing speed that service message is processed;
Determine and be based on the first cpu resource, new service message is stored in the storage speed of buffer queue;
When determining that the difference of processing speed and storage speed is less than pre-determined threshold, the business report that will overflow from buffer queue Literary composition abandons.
In the embodiment of the present invention, based on the first cpu resource of distribution acquisition, receive the data flow that upstream equipment sends, and Distinguish management message and service message from data flow, and management message and service message are stored in buffer queue respectively; The second cpu resource being obtained based on distribution, is processed to management message;The 3rd cpu resource being obtained based on distribution, to business Message is processed, and when determining that the 3rd cpu resource reaches the service feature limit, based on the first cpu resource, to service message Carry out discard processing.So, based on the first cpu resource it is ensured that all of message of upstream equipment can be received with linear speed, based on the Two cpu resources and the 3rd cpu resource, even if be respectively processed it is ensured that reaching business to management message and service message During performance boundary, also will not abandon management message, and only discarding traffic message, thus ensure that the timely process of management message, Ensure that effective stable operation of network it is ensured that the continual and steady operation of customer service.
Brief description
Fig. 1 is the network topological diagram of message transmissions;
Fig. 2 is the configuration diagram of traditional message transmissions;
Fig. 3 is the configuration diagram of the processing method controlling message under in-band management in the embodiment of the present invention;
Fig. 4 is the general introduction flow chart of the processing method controlling message under in-band management in the embodiment of the present invention;
Fig. 5 is the flow chart of the processing method controlling message under in-band management in the embodiment of the present invention;
Fig. 6 is the structural representation of the processing meanss controlling message under in-band management in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description, it is clear that described embodiment is only a part of embodiment of the present invention, is not whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
In order to ensure to manage the timely process of message, so that it is guaranteed that effective stable operation of network is it is ensured that customer service Continual and steady run, refering to shown in Fig. 3, in the embodiment of the present invention, there is provided control the process side of message under a kind of in-band management Method, the method includes, and system is divided into the transmitting-receiving of the processing unit, the processing unit of service message and message of management message And shunting processing unit, and it is respectively this three and each distributes exclusive cpu resources, so, the transmitting-receiving of message and the place of message Reason just logically achieves the differentiation on cpu resource, will not fight for cpu resource, further, the transmitting-receiving of message each other And shunting processing unit can will split into management message and service message by the message that the receiving queue of network interface card receives, and point It is not stored in buffer queue, and the processing unit managing message can be to the management message extracting from the buffer queue of management message Processed, from the processing unit of service message can be carried out to the service message extracting from the buffer queue of service message Reason, and when the processing unit of service message reaches the service feature limit, the transmitting-receiving of message and shunting processing unit will overflow Service message abandons, and the message that will send is transmitted by the transmit queue of network interface card.
Below by specific embodiment, the present invention program is described in detail, certainly, the present invention is not limited to following reality Apply example.
In the embodiment of the present invention, in pretreatment stage, upstream device can divide to local cpu resource in advance, tool Body ground, can adopt but be not limited to following steps:
First, upstream device marks off the first cpu resource, the second cpu resource and the 3rd CPU money from CPU total resources Source;
Secondly, upstream device distributes the first cpu resource to message reception flow process, and wherein, a CPU is provided by upstream device Being dimensioned to of source:It is able to ensure that all data streams of upstream equipment are smoothly received all the time.
For example, a width of 10G of the band of network interface card, upstream device marks off 20% (being only for example) as from CPU total resources One cpu resource, and the first cpu resource is distributed to message reception flow process.Because the first cpu resource is sufficiently large, and data flow Reception there is not time delay, therefore, even if it is also ensured that upstream device all exists all the time in the case that Business Processing is busy Intactly receiving data stream in the bandwidth of 10G.
Again, upstream device distributes the second cpu resource to management Message processing flow process, for the place to management message Reason.
For example, upstream device marks off 40% (being only for example) as the second cpu resource from CPU total resources.
Finally, upstream device distributes the 3rd cpu resource to service message handling process, for the place to service message Reason.
For example, upstream device marks off 40% (being only for example) as the 3rd cpu resource from CPU total resources.
Refering to shown in Fig. 4, in the embodiment of the present invention, the idiographic flow that upstream device is processed to message is as follows:
Step 400:The first cpu resource being obtained based on distribution, receives the data flow that upstream equipment sends, and from data flow In distinguish management message and service message, and management message and service message are stored in buffer queue respectively.
Specifically, in upstream equipment downstream equipment sending data stream, the CPU that upstream device is obtained based on distribution Resource, receives the data flow that upstream equipment sends, and distinguishes management message and service message from data flow.Wherein, in area When separating management message and service message, upstream device can adopt but be not limited to following several ways:
First kind of way is:Extract the identification information of each message from data flow, the mark letter based on each message Breath, distinguishes management message and service message.
For example, the identification information of management message is " Manage ", and the identification information of service message is " Business ".
The second way is:Extract the flag bit of each message from data flow, based on the flag bit of each message, area Separate management message and service message.
For example, the flag bit of management message is " 00 ", and the flag bit of service message is " 01 ".
After upstream device distinguishes management message and service message from data flow, management message is stored in management message Buffer queue, and service message is stored in the buffer queue of service message.
Step 410:The second cpu resource that upstream device is obtained based on distribution, is processed to management message.
Specifically, the second cpu resource that upstream device is obtained based on distribution, extracts to from the buffer queue of management message Management message processed.
Step 420:The 3rd cpu resource that upstream device is obtained based on distribution, is processed to service message, and is determining When 3rd cpu resource reaches the service feature limit, based on the first cpu resource, discard processing is carried out to service message.
Specifically, during execution step 410, can adopt but be not limited to following steps:
First, the 3rd cpu resource that upstream device is obtained based on distribution, to extract from the buffer queue of service message Service message is processed.
Then, upstream device reaches the service feature limit in determination the 3rd cpu resource, based on the first cpu resource, to business When message carries out discard processing, can adopt but be not limited to following steps:
First, upstream device determines based on the 3rd cpu resource, the processing speed that service message is processed;
Then, upstream device determines based on the first cpu resource, new service message is stored in the storage speed of buffer queue Degree;
Finally, when upstream device determines that the difference of processing speed and storage speed is less than pre-determined threshold, will be from buffer queue The service message of middle spilling abandons.
Below in conjunction with the accompanying drawings the application is preferred embodiment described in detail.
Refering to shown in Fig. 5, in the embodiment of the present invention, to the idiographic flow of the processing method controlling message under in-band management such as Under:
Step 500:In pretreatment stage, upstream device marks off the first cpu resource, the 2nd CPU money from CPU total resources Source and the 3rd cpu resource, and the first cpu resource, the second cpu resource and the 3rd cpu resource are allocated respectively.
In practical application, in pretreatment stage, upstream device mark off from CPU total resources the first cpu resource, second Cpu resource and the 3rd cpu resource, optionally, CPU total resources can be CPU total resources or the equipment of equipment The total process resource of CPU.
First, the first cpu resource is distributed and receives flow process to message by upstream device, and upstream device is by the first cpu resource It is dimensioned to:It is able to ensure that all data streams of upstream equipment are smoothly received all the time.
For example, when the speed that upstream equipment sends data is 9M Byte/s, upstream device marks off from CPU total resources 10% as the first cpu resource, and the first cpu resource is distributed to message reception flow process, now, determines the bandwidth of upstream device For 80M.Because bandwidth represents transmittability, the unit of bandwidth is bit/s (bps), and speed is the speed of real data circulation, Speed unit is Byte/s (Bps), and because 1B=8bit, therefore, when carrying a width of 80M, the speed of real data circulation is band Wide divided by 8, i.e. 10M Byte/s.Therefore, even if in the case of upstream equipment continual downstream equipment sending data stream, It is also ensured that upstream device all the time can intactly receiving data stream.
Then, upstream device distributes the second cpu resource to management Message processing flow process, for the place to management message Reason.
For example, upstream device marks off 30% as the second cpu resource from CPU total resources, and the second cpu resource is divided It is assigned to management Message processing flow process, to process to management message.
Finally, upstream device distributes the 3rd cpu resource to service message handling process, for the place to service message Reason.
For example, upstream device marks off 40% as the 3rd cpu resource from CPU total resources, and the 3rd cpu resource is divided It is assigned to service message handling process, to process to service message.
So, upstream device passes through to divide the first cpu resource, the second cpu resource and the 3rd CPU from CPU total resources Resource, and the first cpu resource, the 2nd CPU and the 3rd cpu resource resource are carried out reasonable distribution, it is on upstream device receives The data flow that trip equipment sends has carried out sufficient preparation.
Step 510:The first cpu resource that upstream device is obtained based on distribution, receives the data flow that upstream equipment sends, and Management message and service message is distinguished from data flow.
In practical application, upstream equipment in downstream equipment sending data stream, upstream device obtained based on distribution the One cpu resource, receives the data flow that upstream equipment sends.Then, upstream device distinguishes management message and industry from data flow Business message, can adopt but be not limited to following several ways:
First kind of way is:Extract the identification information of each message from data flow, the mark letter based on each message Breath, distinguishes management message and service message, optionally, identification information can be serial number or the message of message Typonym.
For example, upstream device sets the type of first three bit digital in serial number and the message being combined as " 00m " of letter For managing message, first three bit digital in serial number is service message with the type of the message being combined as " 11b " of letter.As, Identification information is the message of serial number " 00m00012 " is management message, and identification information is that the message of serial number " 11b00031 " is Service message.
The second way is:Extract the flag bit of each message from data flow, based on the flag bit of each message, area Separate management message and service message.
For example, the type that upstream device sets the message as " 0000 " for the flag bit is management message, and flag bit is " 0100 " The type of message be service message.
So, upstream device just can be by the serial number of message, or, the typonym of message, or, the flag bit of message Determine the type of message, thus the identification information based on message, management message and service message are shunted.
Step 520:Management message and service message are stored in buffer queue by upstream device respectively.
In practical application, upstream device is stored in the buffer queue of management message by managing message, and service message is stored in The buffer queue of service message.
So, management message and service message are stored in different buffer queues by upstream device, so that upstream device is to report The subsequent treatment of literary composition.
Step 530:Upstream device based on distribution obtain the second cpu resource, to management message process, and based on point Join the 3rd cpu resource of acquisition, service message is processed.
In practical application, the second cpu resource that upstream device is obtained based on distribution, carry from the buffer queue of management message Take management message, and the management message extracting is processed.
Meanwhile, the 3rd cpu resource that upstream device is obtained based on distribution, extracts business from the buffer queue of service message Message, and the service message extracting is processed.
So, upstream device passes through to distribute the second enough cpu resource and the 3rd cpu resource, to management message and industry Even if business message is respectively processed it is ensured that managing message when Business Processing is busy it is also possible to process in time, thus ensureing The stability of the agreement of management message, and the stablizing of network.
Step 540:Upstream device determine the 3rd cpu resource reach the service feature limit when, based on the first cpu resource, Discard processing is carried out to service message.
In practical application, upstream device determine be based on the 3rd cpu resource, the processing speed that service message is processed, And determine based on the first cpu resource, new service message is stored in the storage speed of buffer queue, further, at determination When the difference of reason speed and storage speed is less than pre-determined threshold, the service message overflowing from buffer queue is abandoned.
For example, upstream device determines that, based on the 3rd cpu resource, the processing speed that service message is processed is 9M Byte/s, and determine that, based on the first cpu resource, the storage speed that new service message is stored in buffer queue is 10M Byte/ S, further, when determining that the difference that processing speed is with storage speed is 0.5M Byte/s less than pre-determined threshold, will be from caching The service message overflowing in queue abandons.
So, upstream device pass through reasonable distribution cpu resource, by management message and service message be stored in respectively caching right Row, are then processed respectively, are made upstream device when reaching the service feature limit, a discarding traffic message, without being abandoned Management message, thus ensure that the timely process of management message, it is ensured that the stability of the agreement of management message, makes customer service Can continually and steadily run.
Based on above-described embodiment, refering to shown in Fig. 6, under in-band management, control the structural representation of the processing meanss of message, In the embodiment of the present invention, the processing meanss of message under in-band management, are controlled to specifically include:
Memory element 600, for the first cpu resource obtaining based on distribution, receives the data flow that upstream equipment sends, and Distinguish management message and service message from data flow, and management message and service message are stored in buffer queue respectively;
Processing unit 610, for the second cpu resource being obtained based on distribution, is processed to management message;
Discarding unit 620, for the 3rd cpu resource being obtained based on distribution, is processed to service message, and is determining When 3rd cpu resource reaches the service feature limit, based on the first cpu resource, discard processing is carried out to service message.
Preferably, memory element 600 is additionally operable to:
In pretreatment stage, mark off the first cpu resource, the second cpu resource and the 3rd CPU money from CPU total resources Source;
First cpu resource is distributed and receives flow process to message, wherein, the size of the first cpu resource is used for guaranteeing that upstream sets Standby all data streams are smoothly received all the time;
Second cpu resource is distributed to management Message processing flow process;
3rd cpu resource is distributed to service message handling process.
Preferably, distinguishing management message from data flow and during service message, memory element 600 specifically for:
Extract the identification information of each message from data flow, based on the identification information of each message, distinguish management Message and service message;Or,
Extract the flag bit of each message from data flow, based on the flag bit of each message, distinguish management message And service message.
Preferably, by management message and service message be stored in buffer queue respectively when, memory element 600 specifically for:
Management message is stored in the buffer queue of management message, and service message is stored in the buffer queue of service message.
Preferably, reaching the service feature limit in determination the 3rd cpu resource, based on the first cpu resource, service message is entered During row discard processing, discarding unit 620 specifically for:
Determine and be based on the 3rd cpu resource, the processing speed that service message is processed;
Determine and be based on the first cpu resource, new service message is stored in the storage speed of buffer queue;
When determining that the difference of processing speed and storage speed is less than pre-determined threshold, the business report that will overflow from buffer queue Literary composition abandons.
In the embodiment of the present invention, based on the first cpu resource of distribution acquisition, receive the data flow that upstream equipment sends, and Distinguish management message and service message from data flow, and management message and service message are stored in buffer queue respectively; The second cpu resource being obtained based on distribution, is processed to management message;The 3rd cpu resource being obtained based on distribution, to business Message is processed, and when determining that the 3rd cpu resource reaches the service feature limit, based on the first cpu resource, to service message Carry out discard processing.So, based on the first cpu resource it is ensured that all of message of upstream equipment can be received with linear speed, based on the Two cpu resources and the 3rd cpu resource, even if be respectively processed it is ensured that reaching business to management message and service message During performance boundary, also will not abandon management message, and only discarding traffic message, thus ensure that the timely process of management message, Ensure that effective stable operation of network it is ensured that the continual and steady operation of customer service.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspect Apply the form of example.And, the present invention can be using in one or more computers wherein including computer usable program code The upper computer program implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) produces The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produce A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to including excellent Select embodiment and fall into being had altered and changing of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications of the embodiment of the present invention and modification belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (10)

1. control the processing method of message under a kind of in-band management it is characterised in that including:
The the first central processor CPU resource being obtained based on distribution, receives the data flow that upstream equipment sends, and from described data Distinguish management message and service message in stream, and described management message and described service message are stored in caching team respectively Row;
The second cpu resource being obtained based on distribution, is processed to described management message;
The 3rd cpu resource being obtained based on distribution, is processed to described service message, and is determining described 3rd cpu resource When reaching the service feature limit, based on described first cpu resource, discard processing is carried out to described service message.
2. the method for claim 1 is it is characterised in that further include:
In pretreatment stage, mark off the first cpu resource, the second cpu resource and the 3rd cpu resource from CPU total resources;
Described first cpu resource is distributed and receives flow process to message, wherein, the size of described first cpu resource is used for guaranteeing institute The all data streams stating upstream equipment are smoothly received all the time;
Described second cpu resource is distributed to management Message processing flow process;
Described 3rd cpu resource is distributed to service message handling process.
3. the method for claim 1 is it is characterised in that distinguish management message and business report from described data flow Literary composition, specifically includes:
Extract the identification information of each message from described data flow, based on the identification information of each message, distinguish management Message and service message;Or,
Extract the flag bit of each message from described data flow, based on the flag bit of each message, distinguish management message And service message.
4. method as claimed in claim 3 it is characterised in that be stored in slow respectively by described management message and described service message Deposit queue, specifically include:
Described management message is stored in the buffer queue of management message, and described service message is stored in the caching team of service message Row.
5. the method as described in any one of claim 1-4 is it is characterised in that reach business in the 3rd cpu resource as described in determination During performance boundary, based on described first cpu resource, discard processing is carried out to described service message, specifically includes:
Determine and be based on described 3rd cpu resource, the processing speed that described service message is processed;
Determine and be based on described first cpu resource, new service message is stored in the storage speed of buffer queue;
When determining that the difference of described processing speed and described storage speed is less than pre-determined threshold, will overflow from described buffer queue Service message abandon.
6. control the processing meanss of message under a kind of in-band management it is characterised in that including:
Memory element, for the first cpu resource obtaining based on distribution, receives the data flow that upstream equipment sends, and from described Distinguish management message and service message in data flow, and described management message and described service message are stored in caching respectively Queue;
Processing unit, for the second cpu resource being obtained based on distribution, is processed to described management message;
Discarding unit, for the 3rd cpu resource being obtained based on distribution, is processed to described service message, and is determining institute When stating the 3rd cpu resource and reaching the service feature limit, based on described first cpu resource, described service message is carried out at discarding Reason.
7. device as claimed in claim 6 is it is characterised in that memory element is additionally operable to:
In pretreatment stage, mark off the first cpu resource, the second cpu resource and the 3rd cpu resource from CPU total resources;
Described first cpu resource is distributed and receives flow process to message, wherein, the size of described first cpu resource is used for guaranteeing institute The all data streams stating upstream equipment are smoothly received all the time;
Described second cpu resource is distributed to management Message processing flow process;
Described 3rd cpu resource is distributed to service message handling process.
8. device as claimed in claim 6 is it is characterised in that distinguish management message and service message from described data flow When, memory element specifically for:
Extract the identification information of each message from described data flow, based on the identification information of each message, distinguish management Message and service message;Or,
Extract the flag bit of each message from described data flow, based on the flag bit of each message, distinguish management message And service message.
9. device as claimed in claim 8 it is characterised in that be stored in slow respectively by described management message and described service message When depositing queue, memory element is additionally operable to:
Described management message is stored in the buffer queue of management message, and described service message is stored in the caching team of service message Row.
10. the device as described in claim 6-9 is it is characterised in that reach service feature pole in the 3rd cpu resource as described in determination In limited time, based on described first cpu resource, when discard processing is carried out to described service message, discarding unit specifically for:
Determine and be based on described 3rd cpu resource, the processing speed that described service message is processed;
Determine and be based on described first cpu resource, new service message is stored in the storage speed of buffer queue;
When determining that the difference of described processing speed and described storage speed is less than pre-determined threshold, will overflow from described buffer queue Service message abandon.
CN201610796963.6A 2016-08-31 2016-08-31 Processing method and device for controlling message in in-band management control Pending CN106385378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610796963.6A CN106385378A (en) 2016-08-31 2016-08-31 Processing method and device for controlling message in in-band management control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610796963.6A CN106385378A (en) 2016-08-31 2016-08-31 Processing method and device for controlling message in in-band management control

Publications (1)

Publication Number Publication Date
CN106385378A true CN106385378A (en) 2017-02-08

Family

ID=57937966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610796963.6A Pending CN106385378A (en) 2016-08-31 2016-08-31 Processing method and device for controlling message in in-band management control

Country Status (1)

Country Link
CN (1) CN106385378A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768882A (en) * 2018-04-23 2018-11-06 烽火通信科技股份有限公司 A kind of processing method and system of protocol massages
CN112445868A (en) * 2019-08-30 2021-03-05 北京京东振世信息技术有限公司 Service message processing method and device
CN115242711A (en) * 2022-07-14 2022-10-25 天翼云科技有限公司 Message transmission method and device
CN116016362A (en) * 2023-03-28 2023-04-25 北京六方云信息技术有限公司 Flow control method, device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787479A (en) * 2004-12-09 2006-06-14 上海贝尔阿尔卡特股份有限公司 Method for processing of double layer channel protocol message and apparatus thereof
CN101090340A (en) * 2007-06-29 2007-12-19 华为技术有限公司 System, method and device for alarm information buffer
CN101951389A (en) * 2010-10-22 2011-01-19 华为技术有限公司 Method and device for controlling information channel flow
CN102270180A (en) * 2011-08-09 2011-12-07 清华大学 Multicore processor cache and management method thereof
CN103117873A (en) * 2013-01-11 2013-05-22 杭州初灵信息技术股份有限公司 Equipment in-band management achieving method based on media access control (MAC) frame
US20150124626A1 (en) * 2013-11-05 2015-05-07 Electronics And Telecommunications Research Institute Method of supporting in-band operations, administration and maintenance (oam) for point-to-multipoint (p2mp) data transfer in multi-protocol label switching-transport profile (mpls-tp) network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787479A (en) * 2004-12-09 2006-06-14 上海贝尔阿尔卡特股份有限公司 Method for processing of double layer channel protocol message and apparatus thereof
CN101090340A (en) * 2007-06-29 2007-12-19 华为技术有限公司 System, method and device for alarm information buffer
CN101951389A (en) * 2010-10-22 2011-01-19 华为技术有限公司 Method and device for controlling information channel flow
CN102270180A (en) * 2011-08-09 2011-12-07 清华大学 Multicore processor cache and management method thereof
CN103117873A (en) * 2013-01-11 2013-05-22 杭州初灵信息技术股份有限公司 Equipment in-band management achieving method based on media access control (MAC) frame
US20150124626A1 (en) * 2013-11-05 2015-05-07 Electronics And Telecommunications Research Institute Method of supporting in-band operations, administration and maintenance (oam) for point-to-multipoint (p2mp) data transfer in multi-protocol label switching-transport profile (mpls-tp) network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768882A (en) * 2018-04-23 2018-11-06 烽火通信科技股份有限公司 A kind of processing method and system of protocol massages
CN112445868A (en) * 2019-08-30 2021-03-05 北京京东振世信息技术有限公司 Service message processing method and device
CN112445868B (en) * 2019-08-30 2024-04-12 北京京东振世信息技术有限公司 Service message processing method and device
CN115242711A (en) * 2022-07-14 2022-10-25 天翼云科技有限公司 Message transmission method and device
CN116016362A (en) * 2023-03-28 2023-04-25 北京六方云信息技术有限公司 Flow control method, device, terminal equipment and storage medium
CN116016362B (en) * 2023-03-28 2023-07-07 北京六方云信息技术有限公司 Flow control method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113315700B (en) Computing resource scheduling method, device and storage medium
CN106385378A (en) Processing method and device for controlling message in in-band management control
CN109787921B (en) CDN bandwidth scheduling method, acquisition and scheduling server and storage medium
CN103986715B (en) A kind of method and device of control of network flow quantity
CN103281252B (en) Message flow control method and device based on multi-path transmission
WO2023039965A1 (en) Cloud-edge computing network computational resource balancing and scheduling method for traffic grooming, and system
CN101964749A (en) Message retransmission method and system based on multi-core architecture
CN102594671B (en) A kind of method and apparatus that speed limit is carried out to user
CN101286937A (en) Network flow control method, device and system
CN102724103A (en) Proxy server, hierarchical network system and distributed workload management method
CN104618253B (en) A kind of transmitting message treating method and apparatus of dynamic change
CN102811176B (en) A kind of data flow control method and device
CN112217725B (en) Delay optimization method based on edge calculation
CN103634223B (en) A kind of dynamic control transmission method based on network service flow and device
CN109361762A (en) A kind of document transmission method, apparatus and system
CN104734983A (en) Scheduling system, method and device for service data request
CN110278104A (en) The technology that service quality for optimization accelerates
CN104010228A (en) Apparatus and method for level-based self-adjusting peer-to-peer media streaming
CN108259221A (en) Flow control methods, device, system, storage medium and processor
CN106911572A (en) A kind of message processing method and device of the virtual machine realized based on SDN frameworks
CN103281158B (en) Degree of depth network service particle size detection method and checkout equipment thereof
CN105049485B (en) A kind of Load-aware cloud computing system towards real time video processing
CN102413054B (en) Method, device and system for controlling data traffic as well as gateway equipment and switchboard equipment
CN103441943B (en) A kind of traffic messages control method and device
CN113032410A (en) Data processing method and device, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170208