CN104094568A - Message processing method, apparatus and system - Google Patents

Message processing method, apparatus and system Download PDF

Info

Publication number
CN104094568A
CN104094568A CN201380002445.7A CN201380002445A CN104094568A CN 104094568 A CN104094568 A CN 104094568A CN 201380002445 A CN201380002445 A CN 201380002445A CN 104094568 A CN104094568 A CN 104094568A
Authority
CN
China
Prior art keywords
message
sending
received
cache
received message
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
CN201380002445.7A
Other languages
Chinese (zh)
Other versions
CN104094568B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104094568A publication Critical patent/CN104094568A/en
Application granted granted Critical
Publication of CN104094568B publication Critical patent/CN104094568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Landscapes

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

Abstract

The invention provides a message processing method. The method comprises: provider edge equipment PE receives a receiving message sent to an integrated controller from client edge equipment CE; the PE finds the receiving message in a cache list of receiving messages according to the message type and business identification in the receiving message; if the PE does not find the receiving message, the PE sends the receiving message to the integrated controller; if the PE finds the receiving message, the PE compares data content of the receiving message with data content of the found receiving message stored in the cache list; and if the data content of the receiving message is different from the data content of the stored receiving message, the PE sends the receiving message to the integrated controller. Processing of refreshing messages by the integrated controller is reduced due to the fact that each network element processes periodical refreshing messages locally, so that CPU utilization rate of the integrated controller is improved, and network size controlled by the integrated controller is increased.

Description

Message processing method, device and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method, device, and system for processing a message.
Background
When a router device Network crosses a transport Network, interaction of protocols such as Multiprotocol Label Switching (MPLS), Border Gateway Protocol (BGP) and the like needs to be performed between the router device and the transport device, so as to complete establishment of an MPLS Label Switching Path (Label switch Path, LSP) or a Level3Virtual Private Network (L3 VPN) service. Because the transmission Network realizes a Software Defined Network (SDN), the transfer device moves the control plane up to the centralized controller, no control function exists on the transfer device, the transfer device reports the protocol message from the router to the centralized controller, the protocol message is processed by the centralized controller, the centralized controller constructs a corresponding response message, and sends the response message to the transfer device, and the transfer device sends the response message to the router. In an actual network, in order to ensure the reliability of a service established by a control protocol, handshake detection of the service protocol needs to be periodically performed between devices, and the content of a handshake detection message (also referred to as a protocol refresh message) is unchanged when the service is not changed.
If the traffic between the router and the transmission device is large, the transmission network centralized controller needs to process a large number of periodical protocol refresh messages with the router, which causes the following problems: (1) a large amount of CPU resources of the centralized controller are occupied by processing a large amount of protocol refreshing messages, so that the rapid control capability of the centralized controller on the network is reduced; (2) a large amount of transmission network devices periodically perform protocol refreshing message interaction with the centralized controller, which occupies a large amount of control channel bandwidth between the centralized controller and the transmission network devices, and reduces the control capability of the centralized controller on the transmission devices.
Disclosure of Invention
The embodiment of the invention provides a method, equipment and a system for processing messages, and aims to solve the problem that a centralized controller needs to process a large number of periodic refresh messages.
In a first aspect, a method of message processing, the method comprising:
provider edge equipment PE receives a receiving message sent by customer edge equipment CE to the centralized controller;
the PE searches the received message in a cache list of the received message according to the message type and the service identification in the received message;
under the condition that the PE does not find the received message, the PE sends the received message to the centralized controller;
when the PE finds the received message, the PE compares the data content of the received message with the data content of the received message stored in the cache list;
and if the data content of the received message is different from the stored data content of the received message, the PE sends the received message to the centralized controller.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the PE sends the received message to the centralized controller, the method further includes:
the PE receives a first message sent by the centralized controller, wherein the first message at least comprises a cache type and the received message;
searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message;
if the received message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the received message according to the message type and the service identifier in the received message;
the PE adds the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
and if the received message is found in the cache list corresponding to the cache type, the PE updates the data content of the received message to the cache list of the received message.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first message further includes an interface identifier that the PE receives the received message, a receiving period duration of the received message, and a receiving period number of the received message.
In a second aspect, a method of message processing, the method comprising:
a Provider Edge (PE) receives a first message sent by a controller, wherein the first message at least comprises a cache type and a sending message;
searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message;
if the sending message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the sending message according to the message type and the service identifier in the sending message;
the PE adds the data content of the sent message to a cache list of the sent message;
the PE sends the sending message to a receiving Customer Edge (CE) according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
and if the sending message is found in the cache list corresponding to the cache type, the PE updates the data content of the sending message to the cache list of the sending message.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first message further includes an interface identifier for sending the sending message and a sending period of the sending message;
the sending, by the PE, the sending message to the receiving customer edge device CE according to the cache list of the sending message specifically includes:
and the PE sends the sending message to a receiving Customer Edge (CE) device at the sending period on the interface of the sending message according to the cache list of the sending message.
In a third aspect, a method of message processing, the method comprising:
the centralized controller determines whether the sending message or the receiving message is a periodic refreshing message;
if yes, the centralized controller sends a first message to provider edge equipment (PE), wherein the first message at least comprises a cache type and message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
With reference to the third aspect, in a first possible implementation manner of the third aspect, before the determining, by the centralized controller, whether the received message is a periodic refresh message, the method further includes:
and the centralized controller receives the receiving message sent by the PE.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the message content of the first message at least includes an interface identifier for the PE to receive the received message, a receiving period duration of the received message, a number of receiving periods of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the first message further includes:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
In a fourth aspect, an apparatus, the apparatus comprising:
a first receiving unit, configured to receive a receiving message sent by a customer edge device CE to a centralized controller;
the first searching unit is used for searching the received message in a cache list of the received message according to the message type and the service identifier in the received message and sending a first searching result to the sending unit and the comparing unit;
a sending unit, configured to send the received message to the centralized controller when the first search result indicates that the received message is not found; the centralized controller is further configured to send the received message to the centralized controller if the comparison result indicates that the data content of the received message is different from the stored data content of the received message;
and the comparison unit is used for comparing the data content of the received message with the searched data content of the received message stored in the cache list under the condition that the received message is searched according to the first search result, and sending the comparison result to the sending unit.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the apparatus further includes:
a second receiving unit, configured to receive a first message sent by the centralized controller, where the first message at least includes a cache type and the received message;
the second searching unit is used for searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message and sending a second searching result to the creating unit;
a creating unit, configured to create, if the second search result indicates that the received message is not found in the cache list corresponding to the cache type, the cache list of the received message according to the message type and the service identifier in the received message; adding the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the apparatus further includes:
the second searching unit is also used for sending a second searching result to the updating unit;
and if the second search result is that the received message is searched in the cache list corresponding to the cache type, the updating unit is used for updating the data content of the received message into the cache list of the received message.
With reference to the first possible implementation manner of the fourth aspect or the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the first message further includes an interface identifier that the device receives the received message, a receiving period duration of the received message, and a receiving period number of the received message.
In a fifth aspect, an apparatus, the apparatus comprising:
a receiving unit, configured to receive a first message sent by a controller, where the first message at least includes a cache type and a send message;
the searching unit is used for searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message, and sending a third searching result to the creating unit;
a creating unit, configured to create a cache list of the sent message according to a message type and a service identifier in the sent message, if the third search result indicates that the sent message is not found in the cache list corresponding to the cache type; adding the data content of the sending message to a cache list of the sending message;
a sending unit, configured to send the sending message to a receiving customer edge device CE according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the apparatus further includes:
the searching unit is also used for sending the third searching result to the updating unit;
and an updating unit, configured to update the data content of the sent message to the cache list of the sent message if the third search result indicates that the sent message is searched in the cache list corresponding to the cache type.
With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the first message further includes an interface identifier for sending the sending message and a sending period of the sending message;
the sending unit is specifically configured to:
and sending the sending message to a receiving Customer Edge (CE) device at the sending message interface in the sending period according to the cache list of the sending message.
In a sixth aspect, a centralized controller includes:
a determining unit, configured to determine whether the sending message or the receiving message is a periodic refresh message;
a sending unit, configured to send a first message to provider edge equipment PE if the determining unit determines that the sent message or the received message is a periodic refresh message, where the first message at least includes a cache type and a message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the centralized controller further includes:
a receiving unit, configured to receive the receive message sent by the PE.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the message content of the first message at least includes an interface identifier for the PE to receive the received message, a receiving cycle duration of the received message, a number of receiving cycles of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect or the second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect, the first message further includes:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
In a seventh aspect, a system for message processing, the system comprising: the device according to any one of the fourth aspect, the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner of the fourth aspect, the centralized controller according to any one of the sixth aspect, the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner of the sixth aspect, and the customer edge device CE;
the CE is configured to send the receive message to the centralized controller.
In an eighth aspect, a system for message processing, the system comprising: the device according to any one of the fifth aspect, the first possible implementation manner or the second possible implementation manner of the fifth aspect, the centralized controller according to any one of the sixth aspect, the first possible implementation manner, the second possible implementation manner or the third possible implementation manner of the sixth aspect, and the customer edge device CE;
the CE is used for receiving the sending message.
In the method for processing a message provided in the embodiment of the present invention, by processing the periodic refresh message by each network element local proxy centralized controller, processing of the refresh message by the centralized controller and bandwidth occupation of a communication channel between the centralized controller and a network element are reduced, so that a utilization rate of a CPU of the centralized controller is increased, and a network scale controlled by the centralized controller is increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a message according to an embodiment of the present invention;
fig. 2 is a diagram of an application scenario of message processing according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a method for processing a message according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for processing a message according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a method for processing a message according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a method for processing a message according to an embodiment of the present invention;
fig. 7 is a flowchart of a method for processing a message according to an embodiment of the present invention;
FIG. 8 is a block diagram of an apparatus according to an embodiment of the present invention;
FIG. 9 is a block diagram of an apparatus according to an embodiment of the present invention;
fig. 10 is a device structure diagram of a centralized controller according to an embodiment of the present invention;
FIG. 11 is a system block diagram provided by an embodiment of the present invention;
FIG. 12 is a system block diagram provided by an embodiment of the present invention;
FIG. 13 is a block diagram of an apparatus according to an embodiment of the present invention;
fig. 14 is a device structure diagram of a centralized controller according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for processing a message according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step 101, Provider Edge equipment (PE) receives a receiving message sent by Customer Edge equipment (Customer Edge, CE) to a centralized controller;
102, the PE searches the received message in a cache list of the received message according to the message type and the service identifier in the received message;
specifically, when the received message is a Resource Reservation Protocol (RSVP) PATH message or an RSVP RESV message, the service identifier may be a message receiving interface, a source end node IP of the RSVP LSP, a destination end node IP, a Tunnel ID, and an LSP ID.
Searching the received message in the cache list of the received message comprises two steps:
searching for a received message according to the message type and the service identifier, for example, the message type is PATH, and the PATH message has different cache lists for different services;
and after the received message is found, comparing whether the specific data content is consistent or not.
103, under the condition that the PE does not find the received message, the PE sends the received message to the centralized controller;
104, when the PE finds the received message, the PE compares the data content of the received message with the data content of the received message stored in the cache list;
step 105, if the data content of the received message is different from the stored data content of the received message, the PE sends the received message to the centralized controller.
Optionally, after the PE sends the received message to the centralized controller, the method further includes:
the PE receives a first message sent by the centralized controller, wherein the first message at least comprises a cache type and the received message;
searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message;
if the received message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the received message according to the message type and the service identifier in the received message;
the PE adds the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
Optionally, the method further comprises:
and if the received message is found in the cache list corresponding to the cache type, the PE updates the data content of the received message to the cache list of the received message.
Optionally, the first message further includes an interface identifier of the received message received by the PE, a receiving cycle duration of the received message, and a receiving cycle number of the received message.
Fig. 2 is an application scenario diagram of message processing according to an embodiment of the present invention, where a Controller is a centralized Controller, PE1 and PE2 are provider edge devices, and CE1 and CE2 are customer edge devices.
In this embodiment, the PE1 receives a received message sent by the CE1, compares the received message with a created receiving buffer list, sends the received message to the centralized controller if the received message is not stored in the receiving buffer list, and does not forward the received message to the centralized controller if the received message is stored in the receiving buffer list.
Specifically, referring to fig. 3, fig. 3 is a schematic diagram of a message processing method according to an embodiment of the present invention, and takes an example that a received message is an RSVP protocol message.
Step 301, PE1 receives an RSVP protocol message sent by CE1, and PE1 encapsulates the received RSVP protocol message as a new Packet payload into a Packet _ IN message of an OpenFlow protocol, and sends the Packet _ IN message to the centralized controller by PE 1;
step 302, after receiving the Packet _ IN message sent by PE1, the centralized Controller analyzes the identifier of PE1 and the Packet payload carried IN the Packet _ IN message from the Packet _ IN message. The centralized controller analyzes the message payload carried IN the Packet _ IN message, checks the message protocol type and determines the message to be RSVP protocol message, and the centralized controller processes the RSVP protocol message and determines the RSVP protocol message to be periodic RSVP PATH or RSVP RESV refreshing message; acquiring, IN the Packet _ IN message of the centralized controller, an interface identifier ID of PE1, a receiving cycle duration of an RSVP protocol message, a receiving cycle number of the RSVP protocol message, and data content of the Packet _ IN message (i.e., an RSVP protocol message);
step 303, the centralized controller sends an add message for creating a cache list of received messages to PE1, where the add message carries RSVP protocol message type, interface identifier of PE1, receiving cycle duration of RSVP protocol message, receiving cycle number of RSVP protocol message, and data content of Packet _ IN message;
at step 304, PE1 creates a cached list of the received messages based on the add message.
The embodiment of the invention provides a message processing method, which reduces the process that network elements send various protocol messages to an integrated controller for processing by processing periodic refreshing messages through each network element local proxy integrated controller, thereby reducing the processing of the refreshing messages by the integrated controller; interactive processing of protocol messages between the centralized controller and each network element is reduced, and occupation of communication channel bandwidth between the controller and the network elements is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Referring to fig. 4, fig. 4 is a flowchart of a method for processing a message according to an embodiment of the present invention. As shown in fig. 4, the method comprises the steps of:
step 401, a provider edge PE receives a first message sent by a controller, where the first message at least includes a cache type and a send message;
step 402, searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message;
specifically, when the sending message is an RSVP PATH message or an RSVP RESV message, the service identifier may be a message receiving interface, a source end node IP of the RSVP LSP, a destination end node IP, a Tunnel ID, and an LSP ID.
Searching the sending message in the cache list of the sending message comprises two steps:
searching for a sent message according to the message type and the service identifier, wherein the message type is PATH, and the PATH message has different cache lists for different services;
and after the sending message is found, comparing whether the specific data content is consistent or not.
Step 403, if the sending message is not found in the cache list corresponding to the cache type, the PE creates a cache list of the sending message according to the message type and the service identifier in the sending message;
step 404, the PE adds the data content of the sent message to the cache list of the sent message;
step 405, the PE sends the sending message to a receiving customer edge device CE according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
Optionally, the method further comprises:
and if the sending message is found in the cache list corresponding to the cache type, the PE updates the data content of the sending message to the cache list of the sending message.
Optionally, the first message further includes an interface identifier for sending the sending message, and a sending period of the sending message;
the sending, by the PE, the sending message to the receiving customer edge device CE according to the cache list of the sending message specifically includes:
and the PE sends the sending message to a receiving Customer Edge (CE) in the sending period at the interface for sending the sending message according to the cache list of the sending message.
In this embodiment, the centralized controller sends a message specifying a message buffer to the PE1, the PE1 creates a receiving buffer list of the specified message or a sending buffer list of the specified message according to the message sent by the centralized controller, and the PE1 sends the specified message to the CE1 periodically according to the created sending buffer list of the specified message.
Fig. 5 and fig. 6 are schematic diagrams of a method for processing a message according to an embodiment of the present invention. As shown in fig. 5 and 6, the centralized controller needs to periodically send RSVP protocol refresh message to CE1 based on the established MPLS TE LSP service; the centralized controller constructs RSVP PATH or RSVP RESV refreshing message data based on local LSP data, and determines the sending interface index of RSVP protocol message and the sending cycle duration of RSVP protocol message based on LSP data.
Step 501, the centralized controller sends an add message for creating a cache list for sending a message to edge PE1 of the LSP, where the add message may be a newly defined or newly extended message of OpenFlow, and the add message carries a cache type and an RSVP protocol message, and the RSVP protocol message includes an RSVP protocol message type (RSVP PATH or RSVP RESV) and a service identifier. The adding message can also carry the sending interface index of the RSVP protocol message and the sending period duration of the RSVP protocol message; the Packet _ Out message of OpenFlow may also be employed as the add message.
At step 502, PE1 creates a cache list of the sent messages based on the add message.
After PE1 creates the cache list of the sent message according to the add message, optionally, the method may further include:
step 503, PE1 finds that the cache send message node timer in the cache send message list is overtime; PE1 obtains the content of the cache sending message stored in the cache sending message node, such as RSVP PATH message or RSVP RESV message, finds the corresponding designated sending interface according to the sending interface identifier set in the cache sending message node, and sends out the stored content of the cache sending message RSVPPATH or RSVP RESV;
at step 504, PE1 resets and clears the timer of the cache-sent message node.
The embodiment of the invention provides a message processing method, which completes periodical protocol interaction through each network element proxy controller. Through the local processing of the periodic refreshing messages by each network element, the process that the network elements send various protocol messages to the centralized controller for processing is reduced, so that the processing of the refreshing messages by the centralized controller is reduced, the interactive processing of the protocol messages between the centralized controller and each network element is reduced, and the occupation of the communication channel bandwidth between the controller and each network element is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Referring to fig. 7, fig. 7 is a flowchart of a method for processing a message according to an embodiment of the present invention. As shown in fig. 7, the method comprises the steps of:
step 701, the centralized controller determines whether the sending message or the receiving message is a periodic refresh message;
optionally, before the centralized controller determines whether the received message is a periodic refresh message, the method further includes:
and the centralized controller receives the receiving message sent by the PE.
Step 702, if yes, the centralized controller sends a first message to a provider edge device PE, where the first message at least includes a cache type and a message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
Specifically, the message content of the first message at least includes an interface identifier of the PE receiving the received message, a receiving cycle duration of the received message, a receiving cycle number of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
Specifically, as shown in fig. 2, the centralized controller sends a message specifying a message cache to PE1, and PE1 creates a receiving cache list of the specified message or a sending cache list of the specified message according to the message sent by the centralized controller; when the PE1 receives a receive message sent by the CE1, the PE1 compares the received receive message with the created receive buffer list, and sends the receive message to the centralized controller if the receive message is not stored in the receive buffer list, or does not forward the receive message to the centralized controller if the receive message is stored in the receive buffer list. The PE1 periodically transmits the specified message to the CE1 according to the transmission buffer list of the specified message that has been created.
Optionally, the first message further includes:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
Specifically, the centralized Controller may send an add message to PE1, or send a delete message to PE1, that is, may instruct PE1 to create a cache list of received or sent messages of a specified message, or instruct PE1 to delete the cache list of received or sent messages of the specified message that has been created.
The embodiment of the invention provides a message processing method, which is characterized in that a corresponding periodic message with a fixed message format is sent to each network element by the centralized controller, each network element agent controller completes periodic protocol interaction, and the periodic protocol interaction comprises the steps of receiving the processing of a periodic refreshing message sent by an external device and the periodic refreshing message sent by the local network element to the external device. Through the local processing of the periodic refreshing messages by each network element, the process that the network elements send various protocol messages to the centralized controller for processing is reduced, so that the processing of the refreshing messages by the centralized controller is reduced, the interactive processing of the protocol messages between the centralized controller and each network element is reduced, and the occupation of the communication channel bandwidth between the controller and each network element is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Referring to fig. 8, fig. 8 is a block diagram of an apparatus according to an embodiment of the present invention. As shown in fig. 8, the apparatus includes the following units:
a first receiving unit 801, configured to receive a receiving message sent by a customer edge device CE to a centralized controller;
a first searching unit 802, configured to search the received message in a cache list of the received message according to the message type and the service identifier in the received message, and send a first search result to the sending unit 803 and the comparing unit 804;
specifically, when the received message is a Resource Reservation Protocol (RSVP) PATH or RSVP RESV, the service identifier may be a message receiving interface, a source end node IP of the RSVP LSP, a destination end node IP, a Tunnel ID, and an LSP ID.
Searching the received message in the cache list of the received message comprises two steps:
searching for a received message according to the message type and the service identifier, for example, the message type is a PATH message, and the PATH message has different cache lists for different services;
and after the received message is found, comparing whether the specific data content is consistent or not.
A sending unit 803, configured to send the received message to the centralized controller if the first search result indicates that the received message is not found; the centralized controller is further configured to send the received message to the centralized controller if the comparison result indicates that the data content of the received message is different from the stored data content of the received message;
a comparing unit 804, configured to compare the data content of the received message with the data content of the received message stored in the cache list, and send the comparison result to a sending unit 803, if the first search result is that the received message is found.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive a first message sent by the centralized controller, where the first message at least includes a cache type and the received message;
the second searching unit is used for searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message and sending a second searching result to the creating unit;
a creating unit, configured to create, if the second search result indicates that the received message is not found in the cache list corresponding to the cache type, the cache list of the received message according to the message type and the service identifier in the received message; adding the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
Optionally, the apparatus further comprises:
the second searching unit is also used for sending a second searching result to the updating unit;
and if the second search result is that the received message is searched in the cache list corresponding to the cache type, the updating unit is used for updating the data content of the received message into the cache list of the received message.
Optionally, the first message further includes an interface identifier of the device receiving the received message, a receiving cycle duration of the received message, and a receiving cycle number of the received message.
Specifically, the description referring to fig. 3 is omitted here for brevity.
Referring to fig. 9, fig. 9 is a block diagram of an apparatus according to an embodiment of the present invention. As shown in fig. 9, the apparatus includes the following units:
a receiving unit 901, configured to receive a first message sent by a controller, where the first message at least includes a cache type and a send message;
a searching unit 902, configured to search the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message, and send a third search result to the creating unit 903;
specifically, when the sending message is a Resource Reservation Protocol (RSVP) PATH or RSVP RESV message, the service identifier may be a message receiving interface, a source end node IP of the RSVP LSP, a destination end node IP, a Tunnel ID, and an LSP ID.
Searching the sending message in the cache list of the sending message comprises two steps:
searching for a sent message according to the message type and the service identifier, wherein the message type is PATH, and the PATH message has different cache lists for different services;
and after the sending message is found, comparing whether the specific data content is consistent or not.
A creating unit 903, configured to create, if the third search result indicates that the sent message is not found in the cache list corresponding to the cache type, a cache list of the sent message according to the message type and the service identifier in the sent message; adding the data content of the sending message to a cache list of the sending message;
a sending unit 904, configured to send the sending message to a receiving customer edge device CE according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
Optionally, the apparatus further comprises:
the searching unit is also used for sending the third searching result to the updating unit;
and an updating unit, configured to update the data content of the sent message to the cache list of the sent message if the third search result indicates that the sent message is searched in the cache list corresponding to the cache type.
Optionally, the first message further includes an interface identifier for sending the sending message and a sending period of the sending message;
the sending unit is specifically configured to:
and sending the sending message to a receiving Customer Edge (CE) device at the sending message interface in the sending period according to the cache list of the sending message.
Specifically, the description referring to fig. 5 and fig. 6 is omitted here for brevity.
The above embodiment of the present invention provides a device, where the device agent controller completes a periodic protocol interaction, and includes receiving a processing of a periodic refresh message sent by an external device and a periodic refresh message sent by a local network element to the external device. Through the local processing of the periodical refreshing messages by each network element, the process that the network elements send various protocol messages to the centralized controller for processing is reduced, the interactive processing of the protocol messages between the centralized controller and each network element is reduced, and the occupation of the communication channel bandwidth between the controller and the network elements is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Referring to fig. 10, fig. 10 is a structural diagram of an apparatus of a centralized controller according to an embodiment of the present invention. As shown in fig. 10, the centralized controller includes the following units:
a determining unit 1001 configured to determine whether a sending message or a receiving message is a periodic refresh message;
a sending unit 1002, configured to send a first message to a provider edge PE if the determining unit determines that the sent message or the received message is a periodic refresh message, where the first message at least includes a cache type and a message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
Optionally, the centralized controller further includes:
a receiving unit, configured to receive the receive message sent by the PE.
Specifically, the description referring to fig. 2 is omitted here for brevity.
Specifically, the message content of the first message at least includes an interface identifier of the PE receiving the received message, a receiving cycle duration of the received message, a receiving cycle number of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
Optionally, the first message further includes:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
Specifically, the centralized Controller may send an add message to PE1, or send a delete message to PE1, that is, may instruct PE1 to create a cache list of received or sent messages of a specified message, or instruct PE1 to delete the cache list of received or sent messages of the specified message that has been created.
The embodiment of the invention provides an integrated controller, wherein the integrated controller issues a corresponding periodic message with a fixed message format to each network element, and each network element agent controller completes periodic protocol interaction, including receiving processing of a periodic refresh message sent by an external device and a periodic refresh message sent by the local network element to the external device. The processing of the refreshing protocol message by the centralized controller is reduced, the interactive processing of the protocol message between the centralized controller and each network element is reduced, and the occupation of the communication channel bandwidth between the controller and the network element is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Fig. 13 is a block diagram of an apparatus according to an embodiment of the present invention. Referring to fig. 13, fig. 13 is a device 1300 according to an embodiment of the present invention, and the specific implementation of the device is not limited by the specific embodiment of the present invention. The apparatus 1300 comprises:
a processor (processor)1301, a communication Interface (Communications Interface)1302, a memory (memory)1303, and a bus 1304.
The processor 1301, the communication interface 1302 and the memory 1303 communicate with each other via the bus 1304.
A communication interface 1302 for communicating with other devices;
a processor 1301 for executing programs.
In particular, the program may include program code comprising computer operating instructions.
Processor 1301 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
And a memory 1303 for storing programs. The memory 1303 may be a volatile memory (RAM) such as a random-access memory (RAM), or a non-volatile memory (non-volatile memory) such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD), or a solid-state drive (SSD). Processor 1301, according to program instructions stored in memory 1303, performs the following methods:
provider edge equipment PE receives a receiving message sent by customer edge equipment CE to the centralized controller;
the PE searches the received message in a cache list of the received message according to the message type and the service identification in the received message;
under the condition that the PE does not find the received message, the PE sends the received message to the centralized controller;
when the PE finds the received message, the PE compares the data content of the received message with the data content of the received message stored in the cache list;
and if the data content of the received message is different from the stored data content of the received message, the PE sends the received message to the centralized controller.
After the PE sends the received message to the centralized controller, the method further includes:
the PE receives a first message sent by the centralized controller, wherein the first message at least comprises a cache type and the received message;
searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message;
if the received message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the received message according to the message type and the service identifier in the received message;
the PE adds the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
The method further comprises the following steps:
and if the received message is found in the cache list corresponding to the cache type, the PE updates the data content of the received message to the cache list of the received message.
The first message further includes an interface identifier of the received message received by the PE, a receiving cycle duration of the received message, and a receiving cycle number of the received message.
The processor 1301 may also perform the following methods according to the program instructions stored in the memory 1303:
a Provider Edge (PE) receives a first message sent by a controller, wherein the first message at least comprises a cache type and a sending message;
searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message;
if the sending message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the sending message according to the message type and the service identifier in the sending message;
the PE adds the data content of the sent message to a cache list of the sent message;
the PE sends the sending message to a receiving Customer Edge (CE) according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
The method further comprises the following steps:
and if the sending message is found in the cache list corresponding to the cache type, the PE updates the data content of the sending message to the cache list of the sending message.
The first message also comprises an interface identifier for sending the sending message and a sending period of the sending message;
the sending, by the PE, the sending message to the receiving customer edge device CE according to the cache list of the sending message specifically includes:
and the PE sends the sending message to a receiving Customer Edge (CE) device at the sending period on the interface of the sending message according to the cache list of the sending message.
The embodiment of the invention provides equipment, wherein an equipment proxy controller finishes periodical protocol interaction and comprises a process of receiving a periodical refreshing message sent by external equipment and a periodical refreshing message sent by a network element to the external equipment. The processing of periodically refreshing messages by each network element locally reduces the process that the network elements send various protocol messages to the centralized controller for processing, thereby reducing the processing of refreshing protocol messages by the centralized controller and reducing the CPU utilization rate of the centralized controller; interactive processing of protocol messages between the centralized controller and each network element is reduced, and occupation of communication channel bandwidth between the controller and the network elements is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
Fig. 14 is a device structure diagram of a centralized controller according to an embodiment of the present invention. Referring to fig. 14, fig. 14 is a centralized controller 1400 provided in the embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the centralized controller. The centralized controller 1400 includes:
a processor (processor) 1401, a communication Interface (Communications Interface)1402, a memory (memory)1403, and a bus 1404.
The processor 1401, the communication interface 1402 and the memory 1403 are communicated with each other through a bus 1404.
A communication interface 1402 for communicating with other devices;
a processor 1401 for executing the program.
In particular, the program may include program code comprising computer operating instructions.
Processor 1401 may be a Central Processing Unit (CPU), or an application Specific Integrated circuit (asic), or one or more Integrated circuits configured to implement embodiments of the present invention.
A memory 1403 for storing the program. The memory 1403 may be a volatile memory (volatile memory) such as a random-access memory (RAM), or a non-volatile memory (non-volatile memory) such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD), or a solid-state drive (SSD). The processor 1401, according to program instructions stored in the memory 1403, performs the following method:
the centralized controller determines whether the sending message or the receiving message is a periodic refreshing message;
if yes, the centralized controller sends a first message to provider edge equipment (PE), wherein the first message at least comprises a cache type and message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
Before the centralized controller determines whether the received message is a periodic refresh message, the method further includes:
and the centralized controller receives the receiving message sent by the PE.
The message content of the first message at least comprises an interface identifier for the PE to receive the received message, the receiving cycle duration of the received message, the receiving cycle times of the received message and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
The first message further comprises:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
The embodiment of the invention provides an integrated controller, which issues a corresponding periodic message with a fixed message format to each network element, and each network element agent controller completes periodic protocol interaction, wherein the periodic protocol interaction comprises the steps of receiving a periodic refreshing message sent by an external device and a periodic refreshing message sent by a local network element to the external device. The processing of periodically refreshing messages by each network element locally reduces the process that the network elements send various protocol messages to the centralized controller for processing, thereby reducing the processing of refreshing protocol messages by the centralized controller and reducing the CPU utilization rate of the centralized controller; interactive processing of protocol messages between the centralized controller and each network element is reduced, and occupation of communication channel bandwidth between the controller and the network elements is reduced; due to the reduction of the processing of the refreshing protocol message by the centralized controller, the utilization rate of a Central Processing Unit (CPU) of the centralized controller is improved, and the occupation of the communication channel bandwidth between the centralized controller and the network element is reduced, so that the centralized controller has a larger control scale on the network element and can control more network element devices.
The content of information interaction, execution process and the like among the units of the device in the above device embodiment is based on the same concept as that of the method embodiment of the present invention, and specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
Referring to fig. 11, fig. 11 is a system structure diagram according to an embodiment of the present invention. The system comprises:
a customer edge device CE1101, a device 1102 described in the embodiment corresponding to fig. 8, and a centralized controller 1103 described in the embodiment corresponding to fig. 10;
the CE1101 is configured to send the received message to the centralized controller.
Referring to fig. 12, fig. 12 is a system structure diagram according to an embodiment of the present invention. The system comprises:
a customer edge device CE1201, a device 1202 according to the embodiment corresponding to fig. 9, and a centralized controller 1203 according to the embodiment corresponding to fig. 10;
CE1201 is configured to receive the transmission message.
The embodiment of the invention provides a system, which comprises:
a customer edge device CE, a device according to the embodiment corresponding to fig. 13, and a centralized controller according to the embodiment corresponding to fig. 14;
the CE is configured to send the receiving message to the centralized controller or receive the sending message.
Since the above system embodiment and the contents of information interaction and execution process between the devices therein are based on the same concept as the method embodiment and the device embodiment of the present invention, specific contents may refer to the descriptions in the method embodiment and the device embodiment of the present invention, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the procedures of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (24)

1. A method of message processing, the method comprising:
provider edge equipment PE receives a receiving message sent by customer edge equipment CE to the centralized controller;
the PE searches the received message in a cache list of the received message according to the message type and the service identification in the received message;
under the condition that the PE does not find the received message, the PE sends the received message to the centralized controller;
when the PE finds the received message, the PE compares the data content of the received message with the data content of the received message stored in the cache list;
and if the data content of the received message is different from the stored data content of the received message, the PE sends the received message to the centralized controller.
2. The method of claim 1, wherein after the PE sends the received message to the centralized controller, the method further comprises:
the PE receives a first message sent by the centralized controller, wherein the first message at least comprises a cache type and the received message;
searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message;
if the received message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the received message according to the message type and the service identifier in the received message;
the PE adds the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
3. The method of claim 2, further comprising:
and if the received message is found in the cache list corresponding to the cache type, the PE updates the data content of the received message to the cache list of the received message.
4. The method according to claim 2 or 3, wherein the first message further includes an interface identifier of the received message received by the PE, a receiving period duration of the received message, and a number of receiving periods of the received message.
5. A method of message processing, the method comprising:
a Provider Edge (PE) receives a first message sent by a controller, wherein the first message at least comprises a cache type and a sending message;
searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message;
if the sending message is not found in the cache list corresponding to the cache type, the PE creates the cache list of the sending message according to the message type and the service identifier in the sending message;
the PE adds the data content of the sent message to a cache list of the sent message;
the PE sends the sending message to a receiving Customer Edge (CE) according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
6. The method of claim 5, further comprising:
and if the sending message is found in the cache list corresponding to the cache type, the PE updates the data content of the sending message to the cache list of the sending message.
7. The method according to claim 5 or 6, wherein the first message further comprises an interface identifier for transmitting the transmission message and a transmission period of the transmission message;
the sending, by the PE, the sending message to the receiving customer edge device CE according to the cache list of the sending message specifically includes:
and the PE sends the sending message to a receiving Customer Edge (CE) device at the sending period on the interface of the sending message according to the cache list of the sending message.
8. A method of message processing, the method comprising:
the centralized controller determines whether the sending message or the receiving message is a periodic refreshing message;
if yes, the centralized controller sends a first message to provider edge equipment (PE), wherein the first message at least comprises a cache type and message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
9. The method of claim 8, wherein before the centralized controller determines whether the received message is a periodic refresh message, the method further comprises:
and the centralized controller receives the receiving message sent by the PE.
10. The method according to claim 8 or 9, wherein the message content of the first message at least comprises an interface identifier of the PE receiving the received message, a receiving period duration of the received message, a number of receiving periods of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
11. The method of any one of claims 8-10, wherein the first message further comprises:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
12. An apparatus, characterized in that the apparatus comprises:
a first receiving unit, configured to receive a receiving message sent by a customer edge device CE to a centralized controller;
the first searching unit is used for searching the received message in a cache list of the received message according to the message type and the service identifier in the received message and sending a first searching result to the sending unit and the comparing unit;
a sending unit, configured to send the received message to the centralized controller when the first search result indicates that the received message is not found; the centralized controller is further configured to send the received message to the centralized controller if the comparison result indicates that the data content of the received message is different from the stored data content of the received message;
and the comparison unit is used for comparing the data content of the received message with the searched data content of the received message stored in the cache list under the condition that the received message is searched according to the first search result, and sending the comparison result to the sending unit.
13. The apparatus of claim 12, further comprising:
a second receiving unit, configured to receive a first message sent by the centralized controller, where the first message at least includes a cache type and the received message;
the second searching unit is used for searching the received message in a cache list corresponding to the cache type according to the message type and the service identifier in the received message and sending a second searching result to the creating unit;
a creating unit, configured to create, if the second search result indicates that the received message is not found in the cache list corresponding to the cache type, the cache list of the received message according to the message type and the service identifier in the received message; adding the data content of the received message to a cache list of the received message;
wherein the cache type is used for indicating that the first message carries the received message.
14. The apparatus of claim 13, further comprising:
the second searching unit is also used for sending a second searching result to the updating unit;
and if the second search result is that the received message is searched in the cache list corresponding to the cache type, the updating unit is used for updating the data content of the received message into the cache list of the received message.
15. The apparatus according to claim 13 or 14, wherein the first message further includes an interface identifier of the apparatus receiving the received message, a receiving period duration of the received message, and a number of receiving periods of the received message.
16. An apparatus, characterized in that the apparatus comprises:
a receiving unit, configured to receive a first message sent by a controller, where the first message at least includes a cache type and a send message;
the searching unit is used for searching the sending message in a cache list corresponding to the cache type according to the message type and the service identifier in the sending message, and sending a third searching result to the creating unit;
a creating unit, configured to create a cache list of the sent message according to a message type and a service identifier in the sent message, if the third search result indicates that the sent message is not found in the cache list corresponding to the cache type; adding the data content of the sending message to a cache list of the sending message;
a sending unit, configured to send the sending message to a receiving customer edge device CE according to the cache list of the sending message;
wherein the cache type is used to indicate that the first message carries the sending message, and the sending message is a message sent by the centralized controller to the CE.
17. The apparatus of claim 16, further comprising:
the searching unit is also used for sending the third searching result to the updating unit;
and an updating unit, configured to update the data content of the sent message to the cache list of the sent message if the third search result indicates that the sent message is searched in the cache list corresponding to the cache type.
18. The apparatus according to claim 16 or 17, wherein the first message further comprises an interface identifier for transmitting the transmission message and a transmission period of the transmission message;
the sending unit is specifically configured to:
and sending the sending message to a receiving Customer Edge (CE) device at the sending message interface in the sending period according to the cache list of the sending message.
19. A centralized controller, comprising:
a determining unit, configured to determine whether the sending message or the receiving message is a periodic refresh message;
a sending unit, configured to send a first message to provider edge equipment PE if the determining unit determines that the sent message or the received message is a periodic refresh message, where the first message at least includes a cache type and a message content; the message content is the received message or the sent message;
the cache type is configured to indicate that the first message carries the received message or the sent message, where the received message is a message that is received by the PE and sent by the CE to the centralized controller, and the sent message is a message that is sent by the centralized controller to the CE.
20. The centralized controller of claim 19, wherein the centralized controller further comprises:
a receiving unit, configured to receive the receive message sent by the PE.
21. The centralized controller according to claim 19 or 20, wherein the message content of the first message comprises at least an interface identifier of the PE receiving the received message, a receiving period duration of the received message, a number of receiving periods of the received message, and the received message; or,
the message content of the first message at least comprises an interface identifier of the PE for sending the sending message, a sending period of the sending message and the sending message.
22. The centralized controller according to any of claims 19-21, wherein the first message further comprises:
a first identifier, where the first identifier is used to instruct the PE to create a new cache list of messages carried by the first message or delete a created cache list of messages carried by the first message.
23. A system for message processing, the system comprising: a customer edge device CE, a device according to any of claims 12-15 and a centralized controller according to any of claims 19-22;
the CE is configured to send the receive message to the centralized controller.
24. A system for message processing, the system comprising: a customer edge device CE, a device according to any of claims 16-18 and a centralized controller according to any of claims 19-22; the CE is used for receiving the sending message.
CN201380002445.7A 2013-11-29 2013-11-29 A kind of method of Message Processing, equipment and system Active CN104094568B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088214 WO2015078002A1 (en) 2013-11-29 2013-11-29 Message processing method, device and system

Publications (2)

Publication Number Publication Date
CN104094568A true CN104094568A (en) 2014-10-08
CN104094568B CN104094568B (en) 2017-07-21

Family

ID=51640979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380002445.7A Active CN104094568B (en) 2013-11-29 2013-11-29 A kind of method of Message Processing, equipment and system

Country Status (2)

Country Link
CN (1) CN104094568B (en)
WO (1) WO2015078002A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404615A (en) * 2008-10-27 2009-04-08 中兴通讯股份有限公司 Configuration data processing method and system used for multi-component analog structure
JP2009077138A (en) * 2007-09-20 2009-04-09 Hitachi Ltd Data transfer system and data transfer method
CN102026125A (en) * 2010-12-21 2011-04-20 北京中创信测科技股份有限公司 Method and device for generating roaming welcome short message
CN102833172A (en) * 2012-09-12 2012-12-19 杭州华三通信技术有限公司 Route processing method and route forwarding equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102228B (en) * 2007-08-08 2010-06-02 华为技术有限公司 A method and device for flow statistics
US8867406B2 (en) * 2010-04-07 2014-10-21 Hewlett-Packard Development Company, L.P. System and method for automated discovery of customer-edge devices and interface connections in a virtual-private-networking environment
CN103312611B (en) * 2013-06-03 2016-12-28 华为技术有限公司 Message processing method, device label processing method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009077138A (en) * 2007-09-20 2009-04-09 Hitachi Ltd Data transfer system and data transfer method
CN101404615A (en) * 2008-10-27 2009-04-08 中兴通讯股份有限公司 Configuration data processing method and system used for multi-component analog structure
CN102026125A (en) * 2010-12-21 2011-04-20 北京中创信测科技股份有限公司 Method and device for generating roaming welcome short message
CN102833172A (en) * 2012-09-12 2012-12-19 杭州华三通信技术有限公司 Route processing method and route forwarding equipment

Also Published As

Publication number Publication date
CN104094568B (en) 2017-07-21
WO2015078002A1 (en) 2015-06-04

Similar Documents

Publication Publication Date Title
US11233884B2 (en) Service process control method and network device
US10659344B2 (en) Information transmission method, apparatus and system
EP3143732B1 (en) Scalable segment identifier allocation in segment routing
US10148573B2 (en) Packet processing method, node, and system
US8856386B2 (en) Cloud resource placement using placement pivot in physical topology
CN108432194B (en) Congestion processing method, host and system
CN114128228B (en) Transmitting MTNC-ID through SRv head to realize 5G transmission
US20240146609A1 (en) Software defined networking portal
US10791051B2 (en) System and method to bypass the forwarding information base (FIB) for interest packet forwarding in an information-centric networking (ICN) environment
CN114205295B (en) Establishing virtual network routes in a computer network
US20230127464A1 (en) Packet forwarding method, apparatus and system, network device and storage medium
WO2015101066A1 (en) Method and node for establishing quality of service reservation
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
US20240297841A1 (en) Path computation method and apparatus, storage medium, and electronic device
CN106911549B (en) Data message processing method and device
WO2024140374A1 (en) Information processing method, device, and storage medium
CN109831378B (en) Message timeout response method and device
CN104038421B (en) A kind of VPN message forwarding methods and device
CN106230730B (en) Multicast transmission method and device
EP4340318A1 (en) Routing obtaining method and apparatus, storage medium, and electronic apparatus
CN104094568B (en) A kind of method of Message Processing, equipment and system
CN112994928B (en) Virtual machine management method, device and system
WO2016000481A1 (en) Path switching method and network device
US20180006944A1 (en) Processing data flows based on information provided via beacons
WO2024139547A1 (en) Path finding method, packet transmission method, device, and 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
GR01 Patent grant