CN105245428A - Method and device for configuring message processing rule - Google Patents

Method and device for configuring message processing rule Download PDF

Info

Publication number
CN105245428A
CN105245428A CN201410320470.6A CN201410320470A CN105245428A CN 105245428 A CN105245428 A CN 105245428A CN 201410320470 A CN201410320470 A CN 201410320470A CN 105245428 A CN105245428 A CN 105245428A
Authority
CN
China
Prior art keywords
message processing
processing rule
rule
message
network equipment
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.)
Granted
Application number
CN201410320470.6A
Other languages
Chinese (zh)
Other versions
CN105245428B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201410320470.6A priority Critical patent/CN105245428B/en
Publication of CN105245428A publication Critical patent/CN105245428A/en
Application granted granted Critical
Publication of CN105245428B publication Critical patent/CN105245428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for configuring a message processing rule. The method is applied to a configuration server, wherein the configuration server is used for configuring a message processing rule for network equipment. The method comprises the steps of receiving a message processing rule request sent by the network equipment, wherein the message processing rule request carries a virtual equipment identifier corresponding to the network equipment, and the virtual equipment identifier is used for identifying functions executed by the network equipment in a network; determining a message processing rule corresponding to the virtual equipment identifier in a stored first table item and a stored second table item according to the virtual equipment identifier, wherein the searched message processing rule is a rule processing rule corresponding to all messages which are received by the network equipment subsequently; and sending the searched message processing rule to the network equipment. The method and the device disclosed by the invention enable the network equipment to acquire the required message processing rule from the configuration server, thereby greatly reducing the amount of transmitted data, reducing occupation for the network bandwidth, and improving the message forwarding rate.

Description

A kind of collocation method of Message processing rule and device
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of collocation method and device of Message processing rule.
Background technology
VLAN (VirtualLocalAreaNetwork, VLAN) is the logic section of the network user to the layer 2 switch port be connected to, and does not carry out network segmentation by the physical location restriction of the network user according to user's request.When VLAN can divide into groups according to the position of the network user, effect, department etc., administrative staff are needed manually to be configured the business of the equipment in network and access transmission.Like this, when the business in network is more, can very loaded down with trivial details, there is task amount large, easily make mistakes, not easily debugging, changed network topology difficulty shortcoming.
In prior art, in order to solve the problem, administrative staff in advance by the message repeating rule configuration finished writing to configuration server, when the network equipment starts, automatically load message repeating rule from configuration server.Wherein, the network equipment comprises with under type from configuration server loading message repeating rule:
Mode one: each network equipment is all from all message repeating rules of the disposable loading of configuration server, over time, by aging mechanism, delete the unwanted message repeating rule of this network equipment, obtain the message repeating rule that this network equipment often uses.
Mode two: each network equipment all loads the message repeating rule on basis from configuration server, after the network equipment receives message, the message repeating rule that this message is corresponding is searched in the message repeating rule that this locality is preserved, if do not find the message repeating rule that this message is corresponding, then this network equipment sends the request of downloading the corresponding message repeating rule of this message to configuration server.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Although load the workload that the mode presetting message repeating rule decreases keeper to a certain extent when the network equipment starts, pass-through mode one downloads message repeating rule from configuration server batch, causes data volume large, takies the larger network bandwidth; In addition, pass-through mode two downloads part message repeating rule from configuration server, if this locality is not preserved receive message repeating rule corresponding to message, needs to dock receiving literary composition after configuration server download and processes, cause message repeating rate reduction.
Summary of the invention
In view of the above problems, the embodiment of the present invention provides a kind of collocation method and device of Message processing rule.
The embodiment of the present invention provides a kind of collocation method of Message processing rule, is applied to configuration server, and described method comprises:
Receive the Message processing rule request that the network equipment sends, described Message processing rule request carries virtual unit mark corresponding to the described network equipment, and described virtual unit mark is for identifying the function that the described network equipment performs in a network;
Identify according to described virtual unit, in the first stored list item, determine the rule numbers that described virtual unit mark is corresponding, described first list item corresponding stored virtual unit mark, rule numbers and network device identity;
According to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in the second stored list item, described second list item corresponding stored rule numbers, type of message and Message processing rule, described in the Message processing rule that finds be Message processing rule corresponding to all messages of described network equipment receipt of subsequent;
Found Message processing rule is sent to the described network equipment.
The embodiment of the present invention provides a kind of inking device of Message processing rule, is applied to configuration server, and described configuration server is used for for network equipments configuration Message processing rule, and it is characterized in that, described device comprises:
Receiver module, for receiving the Message processing rule request that the network equipment sends, described Message processing rule request carries virtual unit mark corresponding to the described network equipment, and described virtual unit mark is for identifying the function that the described network equipment performs in a network;
Searching module, for identifying according to described virtual unit, in described first list item, determining the rule numbers that described virtual unit mark is corresponding, described first list item corresponding stored virtual unit mark, rule numbers and network device identity; According to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in described second list item, described second list item corresponding stored rule numbers, type of message and Message processing rule, described in the Message processing rule that finds be Message processing rule corresponding to all messages of described network equipment receipt of subsequent;
Sending module, for sending found Message processing rule to the described network equipment.
The method that the embodiment of the present invention provides, by being configuration server corresponding stored virtual unit mark, rule numbers and the first list item of network device identity and the second list item of corresponding stored rule numbers, type of message and Message processing rule, make the network equipment from configuration server, only can obtain Message processing rule corresponding to this network equipment, greatly reduce transmitted data amount, reduce taking the network bandwidth, and improve message repeating speed.
Accompanying drawing explanation
The collocation method flow chart of a kind of Message processing rule that Fig. 1 provides for the embodiment of the present invention;
The collocation method flow chart of a kind of Message processing rule that Fig. 2 provides for the embodiment of the present invention;
The inking device structural representation of a kind of Message processing rule that Fig. 3 provides for the embodiment of the present invention;
The inking device structural representation of a kind of Message processing rule that Fig. 4 provides for the embodiment of the present invention.
Embodiment
The present invention is in order to improve message repeating speed, and taking network bandwidth during minimizing message repeating regular transmission, provides a kind of collocation method and device of Message processing rule.
Below in conjunction with Figure of description, the present invention is described in detail.
Fig. 1 is the collocation method flow chart of the Message processing rule that the embodiment of the present invention provides.The method is applied to configuration server, and this configuration server is used for for network equipments configuration Message processing rule.See Fig. 1, this embodiment comprises:
101, receive the Message processing rule request that the network equipment sends, this Message processing rule request carries virtual unit mark corresponding to this network equipment, and this virtual unit mark is for identifying the function that this network equipment performs in a network;
102, identify according to this virtual unit, in the first stored list item, determine the rule numbers that this virtual unit mark is corresponding, this first list item corresponding stored virtual unit mark, rule numbers and network device identity;
103, according to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in the second stored list item, this the second list item corresponding stored rule numbers, type of message and Message processing rule, the Message processing rule that this finds is the Message processing rule that all messages of this network equipment receipt of subsequent are corresponding;
104, found Message processing rule is sent to this network equipment.
The method that the embodiment of the present invention provides, by being configuration server corresponding stored virtual unit mark, rule numbers and the first list item of network device identity and the second list item of corresponding stored rule numbers, type of message and Message processing rule, make the network equipment from configuration server, only can obtain Message processing rule corresponding to this network equipment, greatly reduce transmitted data amount, reduce taking the network bandwidth, and improve message repeating speed.
Alternatively, this Message processing rule request also carries network device identity, and the method also comprises:
This network device identity is added in the network device identity that this virtual unit mark is corresponding.
Alternatively, the method also comprises:
When amendment in this configuration server or when adding arbitrary Message processing rule, determine this amendment according to this second list item or add rule numbers corresponding to Message processing rule, the network device identity that this rule numbers is corresponding is determined according to this first list item, and send Message processing rules modification to the network equipment that this network device identity is corresponding or add message, this Message processing rules modification or interpolation message are carried this amendment or are added Message processing rule;
When deleting arbitrary Message processing rule in this configuration server, the rule numbers that this deletion Message processing rule is corresponding is determined according to this second list item, the network device identity that this rule numbers is corresponding is determined according to this first list item, send Message processing redundant rule elimination message to the network equipment that this network device identity is corresponding, this Message processing redundant rule elimination message carries the mark of this deletion Message processing rule.
Alternatively, the method also comprises:
When the network equipment receives this Message processing rules modification message, judge whether local Message processing rule database stores Message processing to be modified rule; If do not store this Message processing rule to be modified, do not carry out subsequent treatment; If store this Message processing rule to be modified, then judge whether this Message processing rule to be modified is issued to hardware further; If this Message processing rule to be modified is not issued to hardware, in this Message processing rule database, this Message processing rule to be modified is modified; If this Message processing rule to be modified is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule to be modified is modified;
When the network equipment receives this Message processing redundant rule elimination message, judge whether local Message processing rule database stores the Message processing rule of the mark correspondence of this deletion Message processing rule; If do not store this Message processing rule, do not carry out subsequent treatment; If store this Message processing rule, then judge whether this Message processing rule is issued to hardware further; If this Message processing rule is not issued to hardware, in this Message processing rule database, this Message processing rule is deleted; If this Message processing rule is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule is deleted;
When the network equipment receives this Message processing rule interpolation message, this interpolation Message processing rule is added into this Message processing rule database.
Fig. 2 is the collocation method flow chart of the Message processing rule that the embodiment of the present invention provides.See Fig. 2, this embodiment comprises:
201, the network equipment sends Message processing rule request to configuration server, and this Message processing rule request carries virtual unit mark corresponding to this network equipment and network device identity;
In embodiments of the present invention, Message processing rule is classified according to business demand by technical staff, for configuration server first list item and the second list item, this first list item corresponding stored virtual unit mark, rule numbers and network device identity, as shown in table 1; This second list item corresponding stored rule numbers, type of message and Message processing rule, as shown in table 2.The type of message of technical staff handled by the network equipment is the virtual unit that network equipments configuration is corresponding.Wherein, virtual unit is used for the function that marked network equipment performs in a network, that is to say institute's role in a network.
Table 1
Virtual unit identifies Rule numbers Network device identity
A tcp1
B tcp1,udp1
C tcp2,upd1
Table 2
Rule numbers Type of message Processing rule
tcp1 tcp vlan10
tcp2 tcp Abandon
udp1 udp vlan20
It should be noted that, technical staff is when configuration the first list item, the embodiment of the present invention only thinks that each virtual unit only configures corresponding rule numbers, and do not configure the corresponding network equipment, when configuration server is connected with the network equipment, by virtual unit corresponding to the network equipment of configuration server according to access, be that example is described for adding this access network device in virtual unit corresponding to this virtual unit in the first list item.In fact, in another embodiment of the invention, technical staff is when configuration the first list item, also can be the rule numbers of each virtual unit configuration correspondence and the network equipment on basis, when configuration server is connected with the network equipment, the virtual unit corresponding according to the network equipment of access by configuration server, the network equipment corresponding to this virtual unit in the first list item upgrades.In another embodiment of the present invention, in order to ensure network security, technical staff is when configuration the first list item, can also be rule numbers and the network equipment of each virtual unit configuration correspondence, when there being the network equipment to access, configuration server searches virtual unit corresponding to this access network device in multiple virtual units of the first list item, judge whether comprise this network equipment in the network equipment that this virtual unit is corresponding, if not, configuration server can think that the network equipment of this access is for illegal access, stops as this network equipment sends Message processing rule.
202, when this configuration server receives the Message processing rule request of this network equipment transmission, identify according to this virtual unit, in the first stored list item, determine the rule numbers that this virtual unit mark is corresponding;
In embodiments of the present invention, when this configuration server receives the Message processing rule request of this network equipment transmission, judge whether comprise this virtual unit mark in multiple virtual unit marks that the first list item comprises, when not comprising this virtual unit mark in multiple virtual unit marks that the first list item comprises, acquiescence Message processing rule is sent to this network equipment, as, to abandon, warning etc.; When comprising this virtual unit mark in multiple virtual unit marks that the first list item comprises, determine the rule numbers that this virtual unit mark is corresponding.
203, this configuration server is according to determined rule numbers, in the second stored list item, search the Message processing rule that determined rule numbers is corresponding, the Message processing rule that this finds is the Message processing rule that all messages of this network equipment receipt of subsequent are corresponding;
Wherein, the rule numbers comprised in this second list item is no less than the rule numbers comprised in this first list item.Technical staff according to business demand, in the multiple rule numbers comprised from this second list item, selection rule numbering composition first list item.
In embodiments of the present invention, in this first list item, virtual unit mark at least one rule numbers corresponding, when the corresponding multiple rule numbers of this virtual unit mark, searches the Message processing rule that each rule numbers is corresponding respectively in the second stored list item.Such as, when finding virtual unit table C rule of correspondence numbering tcp2 and udp1 in Table 1, in multiple rule numbers that table 2 stores, the Message processing rule that search rule numbering tcp2 is corresponding respectively abandons Message processing rule vlan20 corresponding to Sum fanction numbering udp1.
204, the Message processing rule that this finds by this configuration server sends to this network equipment;
In embodiments of the present invention, after this network equipment receives the Message processing rule of configuration server transmission, when this network equipment receives message, the Message processing rule that this reception message is corresponding is searched in this locality, if find the Message processing rule that this reception message is corresponding, then according to the Message processing rule found, this reception message is processed; If do not find the Message processing rule that this reception message is corresponding, then this network equipment sends the request of carrying this reception type of message to server, makes configuration server search Message processing rule corresponding to this reception message according to this reception type of message.
It should be noted that, after the embodiment of the present invention only connects configuration server with the network equipment, namely obtain Message processing rule from configuration server, accelerating Message processing speed is that example is described.In fact, in another embodiment of the invention, after the network equipment connects configuration server, the network equipment only sends virtual unit corresponding to this network equipment to configuration server, configuration server is stored, Message processing rule can not be obtained from configuration server, but when this network equipment receives message, obtain Message processing rule from configuration server again, Message processing aged rule can be avoided.
205, this configuration server adds this network device identity in the network device identity that this virtual unit mark is corresponding.
Wherein, this network device identity can be IP (InternetProtocol, Internet Protocol) address.
In embodiments of the present invention, this configuration server is when receiving the Message processing rule that this network equipment sends, on the one hand according to the virtual unit mark that this Message processing rule request is carried, determine the Message processing rule that this network equipment is corresponding, the network device identity on the other hand this Message processing rule request carried, be added in network device identity corresponding to this virtual unit mark, so that when subsequent packet processing rule upgrades, Message processing Policy Updates message can be sent according to the network device identity preserved to the network equipment.As shown in table 3, when virtual unit mark C and network device identity 1 are carried in the Message processing request that configuration server receives, configuration server finds this virtual unit mark C in multiple virtual units that the first list item comprises identify, and adds this network device identity 1 by network device identity corresponding for this virtual unit mark C.
Table 3
Virtual unit identifies Rule numbers Network device identity
A tcp1
B tcp1,udp1
C tcp2,upd1 1
In the embodiment of the present invention, the virtual unit that configuration server is corresponding according to the network equipment of access, the network equipment corresponding to virtual unit in the first list item adds.Virtual unit after interpolation corresponding at least one process the network equipment of identical message.That is to say, virtual unit can a corresponding network equipment, also can the network equipment of the identical message of corresponding multiple process.In addition, because a network equipment may play the part of different roles in a network simultaneously, in the multiple ports comprised by this network equipment, a part of port is played a role in a network, and another part port plays the part of another role in a network, now corresponding two virtual units of this network equipment.That is to say, network equipment can a corresponding virtual unit, also can corresponding multiple virtual unit.
As shown in Figure 3, a part of port of virtual unit A map network equipment 1, the network equipment 2 and the network equipment 3; Another part port of virtual unit B map network equipment 3 and the network equipment 4; Virtual unit C is map network equipment 5 only.
206, when revising arbitrary Message processing rule in this configuration server, this configuration server determines according to this second list item the rule numbers that this amendment Message processing rule is corresponding, determines according to this first list item the network device identity that this rule numbers is corresponding;
Such as, when table 2 Message processing rule vlan20 is revised as vlan30, first configuration server finds rule numbers udp1 corresponding to amendment rear Message processing rule vlan30 in the second list item, the network device identity that then search rule numbering udp1 is corresponding in the first list item.
207, this configuration server sends Message processing rules modification message to the network equipment that this network device identity is corresponding, and this Message processing rules modification message carries this amendment Message processing rule;
In embodiments of the present invention, when Message processing Policy Updates, only the network equipment of the Message processing upgraded rule to correspondence is sent, decrease taking the network bandwidth, and do not need to restart the network equipment, simplify the operating process of downward message processing rule.
It should be noted that, when the embodiment of the present invention is only to revise Message processing rule, it is that example is described that configuration server sends the message of carrying amendment Message processing rule to the network equipment of correspondence.In fact, in another embodiment of the invention, when deleting arbitrary Message processing rule in configuration server, configuration server determines according to this second list item the rule numbers that this deletion Message processing rule is corresponding, the network device identity that this rule numbers is corresponding is determined according to this first list item, send Message processing redundant rule elimination message to the network equipment that this network device identity is corresponding, this Message processing redundant rule elimination message carries the mark of this deletion Message processing rule.Certainly, this Message processing redundant rule elimination message also can carry this deletion Message processing rule.When adding arbitrary Message processing rule in configuration server, configuration server determines according to this second list item the rule numbers that this interpolation Message processing rule is corresponding, the network device identity that this rule numbers is corresponding is determined according to this first list item, and sending Message processing rule interpolation message to the network equipment that this network device identity is corresponding, this Message processing rule is added message and is carried this amendment or add Message processing rule.
208, when this network equipment receives this Message processing rules modification message, local Message processing rule is modified.
In embodiments of the present invention, when this network equipment receives this Message processing rules modification message, judge whether local Message processing rule database stores Message processing to be modified rule; If do not store this Message processing rule to be modified, do not carry out subsequent treatment; If store this Message processing rule to be modified, then judge whether this Message processing rule to be modified is issued to hardware further; If this Message processing rule to be modified is not issued to hardware, in this Message processing rule database, this Message processing rule to be modified is modified; If this Message processing rule to be modified is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule to be modified is modified;
It should be noted that, the embodiment of the present invention only receives Message processing rules modification message for the network equipment and is described.In fact, in another embodiment of the invention, when the network equipment receives Message processing redundant rule elimination message, judge whether local Message processing rule database stores the Message processing rule of the mark correspondence of this deletion Message processing rule; If do not store this Message processing rule, do not carry out subsequent treatment; If store this Message processing rule, then judge whether this Message processing rule is issued to hardware further; If this Message processing rule is not issued to hardware, in this Message processing rule database, this Message processing rule is deleted; If this Message processing rule is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule is deleted; When the network equipment receives Message processing rule interpolation message, this interpolation Message processing rule is added into this Message processing rule database.
The method that the embodiment of the present invention provides, by being configuration server corresponding stored virtual unit mark, rule numbers and the first list item of network device identity and the second list item of corresponding stored rule numbers, type of message and Message processing rule, make the network equipment from configuration server, only can obtain Message processing rule corresponding to this network equipment, greatly reduce transmitted data amount, reduce taking the network bandwidth, and improve message repeating speed.
Fig. 4 is the inking device structural representation of the Message processing rule that the embodiment of the present invention provides.This application of installation is in configuration server, and this configuration server is used for for network equipments configuration Message processing rule.See Fig. 4, this device comprises: receiver module 401, search module 402 and sending module 403.Wherein:
The Message processing rule request that receiver module 401 sends for receiving the network equipment, this Message processing rule request carries virtual unit mark corresponding to this network equipment, and this virtual unit mark is for identifying the function that this network equipment performs in a network; Receiver module 401 with search module 402 and be connected, search module 402 for identifying according to this virtual unit, the rule numbers that this virtual unit mark is corresponding is determined, this first list item corresponding stored virtual unit mark, rule numbers and network device identity in the first stored list item; According to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in the second stored list item, this the second list item corresponding stored rule numbers, type of message and Message processing rule, the Message processing rule that this finds is the Message processing rule that all messages of this network equipment receipt of subsequent are corresponding; Search module 402 to be connected with sending module 403, sending module 403 is for sending found Message processing rule to this network equipment.
Alternatively, this searches module 402 also for adding this network device identity in the network device identity that this virtual unit mark is corresponding.
Alternatively, this device also comprises: amendment or interpolation message transmission module, for when revising in this configuration server or add arbitrary Message processing rule, determine this amendment according to this second list item or add rule numbers corresponding to Message processing rule, the network device identity that this rule numbers is corresponding is determined according to this first list item, and send Message processing rules modification to the network equipment that this network device identity is corresponding or add message, this Message processing rules modification or interpolation message are carried this amendment or are added Message processing rule; Delete message transmission module, for when deleting arbitrary Message processing rule in this configuration server, the rule numbers that this deletion Message processing rule is corresponding is determined according to this second list item, the network device identity that this rule numbers is corresponding is determined according to this first list item, send Message processing redundant rule elimination message to the network equipment that this network device identity is corresponding, this Message processing redundant rule elimination message carries the mark of this deletion Message processing rule.
Alternatively, this device also comprises: amendment message reception module, during for receiving this Message processing rules modification message when the network equipment, judges whether local Message processing rule database stores Message processing to be modified rule; If do not store this Message processing rule to be modified, do not carry out subsequent treatment; If store this Message processing rule to be modified, then judge whether this Message processing rule to be modified is issued to hardware further; If this Message processing rule to be modified is not issued to hardware, in this Message processing rule database, this Message processing rule to be modified is modified; If this Message processing rule to be modified is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule to be modified is modified;
Delete message reception module, during for receiving this Message processing redundant rule elimination message when the network equipment, judge whether local Message processing rule database stores the Message processing rule of the mark correspondence of this deletion Message processing rule; If do not store this Message processing rule, do not carry out subsequent treatment; If store this Message processing rule, then judge whether this Message processing rule is issued to hardware further; If this Message processing rule is not issued to hardware, in this Message processing rule database, this Message processing rule is deleted; If this Message processing rule is issued to hardware, in this Message processing rule database and this hardware, this Message processing rule is deleted;
Add message reception module, during for receiving this Message processing rule interpolation message when the network equipment, this interpolation Message processing rule is added into this Message processing rule database.
The device that the embodiment of the present invention provides, by being configuration server corresponding stored virtual unit mark, rule numbers and the first list item of network device identity and the second list item of corresponding stored rule numbers, type of message and Message processing rule, make the network equipment from configuration server, only can obtain Message processing rule corresponding to this network equipment, greatly reduce transmitted data amount, reduce taking the network bandwidth, and improve message repeating speed.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various change and modification to the application and not depart from the spirit and scope of the application.Like this, if these amendments of the application and modification belong within the scope of the application's claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.

Claims (8)

1. a collocation method for Message processing rule, is applied to configuration server, and described configuration server is used for for network equipments configuration Message processing rule, and it is characterized in that, described method comprises:
Receive the Message processing rule request that the network equipment sends, described Message processing rule request carries virtual unit mark corresponding to the described network equipment, and described virtual unit mark is for identifying the function that the described network equipment performs in a network;
Identify according to described virtual unit, in the first stored list item, determine the rule numbers that described virtual unit mark is corresponding, described first list item corresponding stored virtual unit mark, rule numbers and network device identity;
According to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in the second stored list item, described second list item corresponding stored rule numbers, type of message and Message processing rule, described in the Message processing rule that finds be Message processing rule corresponding to all messages of described network equipment receipt of subsequent;
Found Message processing rule is sent to the described network equipment.
2. method according to claim 1, is characterized in that, described Message processing rule request also carries network device identity, and described method also comprises:
Described network device identity is added in the network device identity that described virtual unit mark is corresponding.
3. method according to claim 2, is characterized in that, described method also comprises:
When amendment in described configuration server or when adding arbitrary Message processing rule, determine described amendment according to described second list item or add rule numbers corresponding to Message processing rule, the network device identity that described rule numbers is corresponding is determined according to described first list item, and send Message processing rules modification to the network equipment that described network device identity is corresponding or add message, described Message processing rules modification or interpolation message are carried described amendment or are added Message processing rule;
When deleting arbitrary Message processing rule in described configuration server, the rule numbers that described deletion Message processing rule is corresponding is determined according to described second list item, the network device identity that described rule numbers is corresponding is determined according to described first list item, send Message processing redundant rule elimination message to the network equipment that described network device identity is corresponding, described Message processing redundant rule elimination message carries the mark of described deletion Message processing rule.
4. method according to claim 3, is characterized in that, described method also comprises:
When the network equipment receives described Message processing rules modification message, judge whether local Message processing rule database stores Message processing to be modified rule; If do not store described Message processing rule to be modified, do not carry out subsequent treatment; If store described Message processing rule to be modified, then judge whether described Message processing rule to be modified is issued to hardware further; If described Message processing rule to be modified is not issued to hardware, in described Message processing rule database, described Message processing rule to be modified is modified; If described Message processing rule to be modified is issued to hardware, in described Message processing rule database and described hardware, described Message processing rule to be modified is modified;
When the network equipment receives described Message processing redundant rule elimination message, judge whether local Message processing rule database stores the Message processing rule of the mark correspondence of this deletion Message processing rule; If do not store described Message processing rule, do not carry out subsequent treatment; If store described Message processing rule, then judge whether described Message processing rule is issued to hardware further; If described Message processing rule is not issued to hardware, in described Message processing rule database, described Message processing rule is deleted; If described Message processing rule is issued to hardware, in described Message processing rule database and described hardware, described Message processing rule is deleted;
When the network equipment receives described Message processing rule interpolation message, described interpolation Message processing rule is added into described Message processing rule database.
5. an inking device for Message processing rule, is applied to configuration server, and described configuration server is used for for network equipments configuration Message processing rule, and it is characterized in that, described device comprises:
Receiver module, for receiving the Message processing rule request that the network equipment sends, described Message processing rule request carries virtual unit mark corresponding to the described network equipment, and described virtual unit mark is for identifying the function that the described network equipment performs in a network;
Searching module, for identifying according to described virtual unit, in the first stored list item, determining the rule numbers that described virtual unit mark is corresponding, described first list item corresponding stored virtual unit mark, rule numbers and network device identity; According to determined rule numbers, the Message processing rule that determined rule numbers is corresponding is searched in the second stored list item, described second list item corresponding stored rule numbers, type of message and Message processing rule, described in the Message processing rule that finds be Message processing rule corresponding to all messages of described network equipment receipt of subsequent;
Sending module, for sending found Message processing rule to the described network equipment.
6. device according to claim 5, is characterized in that, described in search module also for adding described network device identity in the network device identity that described virtual unit mark is corresponding.
7. device according to claim 6, is characterized in that, described device also comprises:
Amendment or interpolation message transmission module, for when revising in described configuration server or add arbitrary Message processing rule, determine described amendment according to described second list item or add rule numbers corresponding to Message processing rule, the network device identity that described rule numbers is corresponding is determined according to described first list item, and send Message processing rules modification to the network equipment that described network device identity is corresponding or add message, described Message processing rules modification or interpolation message are carried described amendment or are added Message processing rule;
Delete message transmission module, for when deleting arbitrary Message processing rule in described configuration server, the rule numbers that described deletion Message processing rule is corresponding is determined according to described second list item, the network device identity that described rule numbers is corresponding is determined according to described first list item, send Message processing redundant rule elimination message to the network equipment that described network device identity is corresponding, described Message processing redundant rule elimination message carries the mark of described deletion Message processing rule.
8. device according to claim 7, is characterized in that, described device also comprises:
Amendment message reception module, during for receiving described Message processing rules modification message when the network equipment, judges whether local Message processing rule database stores Message processing to be modified rule; If do not store described Message processing rule to be modified, do not carry out subsequent treatment; If store described Message processing rule to be modified, then judge whether described Message processing rule to be modified is issued to hardware further; If described Message processing rule to be modified is not issued to hardware, in described Message processing rule database, described Message processing rule to be modified is modified; If described Message processing rule to be modified is issued to hardware, in described Message processing rule database and described hardware, described Message processing rule to be modified is modified;
Delete message reception module, during for receiving described Message processing redundant rule elimination message when the network equipment, judge whether local Message processing rule database stores the Message processing rule of the mark correspondence of this deletion Message processing rule; If do not store described Message processing rule, do not carry out subsequent treatment; If store described Message processing rule, then judge whether described Message processing rule is issued to hardware further; If described Message processing rule is not issued to hardware, in described Message processing rule database, described Message processing rule is deleted; If described Message processing rule is issued to hardware, in described Message processing rule database and described hardware, described Message processing rule is deleted;
Add message reception module, during for receiving described Message processing rule interpolation message when the network equipment, described interpolation Message processing rule is added into described Message processing rule database.
CN201410320470.6A 2014-07-07 2014-07-07 A kind of configuration method and device of Message processing rule Active CN105245428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410320470.6A CN105245428B (en) 2014-07-07 2014-07-07 A kind of configuration method and device of Message processing rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410320470.6A CN105245428B (en) 2014-07-07 2014-07-07 A kind of configuration method and device of Message processing rule

Publications (2)

Publication Number Publication Date
CN105245428A true CN105245428A (en) 2016-01-13
CN105245428B CN105245428B (en) 2018-07-31

Family

ID=55042936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410320470.6A Active CN105245428B (en) 2014-07-07 2014-07-07 A kind of configuration method and device of Message processing rule

Country Status (1)

Country Link
CN (1) CN105245428B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995678A (en) * 2017-12-29 2019-07-09 迈普通信技术股份有限公司 Message transmitting method and device
CN110753006A (en) * 2019-09-17 2020-02-04 优刻得科技股份有限公司 Data processing method and device and electronic equipment
CN111431875A (en) * 2020-03-12 2020-07-17 杭州迪普科技股份有限公司 Method and device for issuing insertion rule
CN112866410A (en) * 2021-02-10 2021-05-28 北京字节跳动网络技术有限公司 Forwarding control method, forwarding control device, forwarding control medium and electronic equipment of data message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070549A (en) * 2009-09-28 2011-04-07 Nec Corp Computer system and migration method of virtual machine
CN102263667A (en) * 2011-08-24 2011-11-30 迈普通信技术股份有限公司 Network management system and network management processing method
CN103812930A (en) * 2014-01-16 2014-05-21 华为技术有限公司 Method and device for resource scheduling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011070549A (en) * 2009-09-28 2011-04-07 Nec Corp Computer system and migration method of virtual machine
CN102263667A (en) * 2011-08-24 2011-11-30 迈普通信技术股份有限公司 Network management system and network management processing method
CN103812930A (en) * 2014-01-16 2014-05-21 华为技术有限公司 Method and device for resource scheduling

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995678A (en) * 2017-12-29 2019-07-09 迈普通信技术股份有限公司 Message transmitting method and device
CN109995678B (en) * 2017-12-29 2022-06-10 迈普通信技术股份有限公司 Message transmission method and device
CN110753006A (en) * 2019-09-17 2020-02-04 优刻得科技股份有限公司 Data processing method and device and electronic equipment
CN111431875A (en) * 2020-03-12 2020-07-17 杭州迪普科技股份有限公司 Method and device for issuing insertion rule
CN111431875B (en) * 2020-03-12 2022-07-01 杭州迪普科技股份有限公司 Method and device for issuing insertion rule
CN112866410A (en) * 2021-02-10 2021-05-28 北京字节跳动网络技术有限公司 Forwarding control method, forwarding control device, forwarding control medium and electronic equipment of data message
CN112866410B (en) * 2021-02-10 2023-04-07 北京字节跳动网络技术有限公司 Forwarding control method, forwarding control device, forwarding control medium and electronic equipment of data message

Also Published As

Publication number Publication date
CN105245428B (en) 2018-07-31

Similar Documents

Publication Publication Date Title
US20240223612A1 (en) Method and system for virtual machine aware policy management
US10715485B2 (en) Managing dynamic IP address assignments
CN105531972B (en) It controls data and stores input/output request
US7779010B2 (en) Repartitioning live data
CN109981493B (en) Method and device for configuring virtual machine network
WO2016175768A1 (en) Map tables for hardware tables
CN105245428A (en) Method and device for configuring message processing rule
CN105589744A (en) Virtual machine migration method and apparatus
CN105282003A (en) Tunnel establishing method and system, tunnel controller and virtual switch
CN108259218A (en) A kind of IP address distribution method and device
CN111345008A (en) Mobile edge host service notification method and device
CN108965094A (en) A kind of virtual machine network connection method and device
CN108540408B (en) Openstack-based distributed virtual switch management method and system
EP3178215B1 (en) Routing requests with varied protocols to the same endpoint within a cluster
CN106878052B (en) User migration method and device
CN110417777B (en) Optimized method and device for communication between microservices
EP3384642B1 (en) Forwarding table compression
US20120166657A1 (en) Gateway system, gateway device, and load distribution method
CN111327509B (en) Information updating method and device
CN114257545B (en) Message forwarding method and device
CN107294989B (en) Method and device for preventing ARP gateway spoofing
US20050240609A1 (en) Method and apparatus for setting storage groups
CN113162782B (en) Data center network configuration method and device
CN116028196A (en) Data processing method, device and storage medium
CN110769462B (en) Network access control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant