CN109525479A - A kind of message processing method and equipment - Google Patents

A kind of message processing method and equipment Download PDF

Info

Publication number
CN109525479A
CN109525479A CN201811567216.0A CN201811567216A CN109525479A CN 109525479 A CN109525479 A CN 109525479A CN 201811567216 A CN201811567216 A CN 201811567216A CN 109525479 A CN109525479 A CN 109525479A
Authority
CN
China
Prior art keywords
vxlan
message
expansion card
identification information
processing
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
CN201811567216.0A
Other languages
Chinese (zh)
Other versions
CN109525479B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201811567216.0A priority Critical patent/CN109525479B/en
Publication of CN109525479A publication Critical patent/CN109525479A/en
Application granted granted Critical
Publication of CN109525479B publication Critical patent/CN109525479B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Landscapes

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

Abstract

The present invention provides a kind of message processing method and equipment, is related to field of communication technology, suitable for including the switching equipment of exchange substrate and virtual expansible local area network VXLAN expansion card;The VXLAN expansion card is detachable to be connected with the substrate that exchanges;The described method includes: the message is sent to the VXLAN expansion card when determining that the message received needs VXLAN expansion card processing by the exchange substrate;After the VXLAN expansion card carries out VXLAN processing to the message, it is sent to the exchange substrate;The exchange substrate is sent through the VXLAN expansion card treated message.In embodiments of the present invention, the low-cost equipment of VLAN processing will can be only supported, according to demand, can upgrade to can both handle VLAN message, also can handle the VLAN equipment of VXLAN message, save input cost.

Description

A kind of message processing method and equipment
Technical field
The present invention relates to field of communication technology more particularly to a kind of message processing method and equipment.
Background technique
VLAN (Virtual Local Area Network) i.e. virtual LAN, is by the local network LAN of a physics It is logically divided into the communication technology of multiple broadcast domains.But as the development of virtualization technology promotes big data, cloud computing Technology company carries out networking by the way of the virtual more virtual machines of single physical equipment, right with the increase of application module In supporting the requirement of VLAN number also being promoted, the ability of VLAN can no longer meet demand instantly, and the MAC in interchanger Table is extremely huge, affects the forwarding performance of interchanger, be based on the above demand, VXLAN (Virtual Extensible LAN, Expansible virtual LAN) technology is suggested.VXLAN is a kind of network void like change technology, and the two-layer virtual of IP based network is special It is a kind of extension to VLAN with network technology.
It, can be according to the Networking Solutions & provisioned of planning, which kind of network infrastructure determined to buy in network planning phase.When Planning network does not account for VXLAN technology, and in the network operation find solution cannot support well two layers isolation and When cross-region sets up big double layer network, or the network new when building, and the old network equipment cannot be torn open and directly support newly When the demand of network, need to buy new equipment, to meet network demand, this undoubtedly increases network responsible person to infrastructure Input cost.
In conclusion lacking a kind of method that can extend VXLAN technology in the prior art.
Summary of the invention
The present invention provides a kind of message processing method and equipment, can extend for solving to lack one kind in the prior art The problem of method of VXLAN technology.
The embodiment of the present invention provides a kind of message processing method, is suitable for including exchange substrate and virtual expansible local area network The switching equipment of VXLAN expansion card;The VXLAN expansion card is detachable to be connected with the substrate that exchanges;The described method includes:
The exchange substrate sends out the message when determining that the message received needs VXLAN expansion card processing Give the VXLAN expansion card;
After the VXLAN expansion card carries out VXLAN processing to the message, it is sent to the exchange substrate;
The exchange substrate is sent through the VXLAN expansion card treated message.
Further, it before the exchange substrate determines that the message received needs the VXLAN expansion card processing, also wraps It includes:
The exchange substrate generates VXLAN configuration information according to user configuration information;
The VXLAN configuration information is handed down to the VXLAN expansion card by the exchange substrate;
The VXLAN expansion card carries out VXLAN processing to the message, comprising:
The VXLAN expansion card carries out VXLAN processing to the message according to the VXLAN configuration information.
Further, the VXLAN configuration information includes the identification information of customer flow message and the mark of VXLAN message The binding relationship of information, the VXLAN expansion card carry out VXLAN processing, packet to the message according to the VXLAN configuration information It includes:
The VXLAN expansion card is if it is determined that the message is customer flow message, then according to the customer flow message The customer flow message, is encapsulated as the mark of VXLAN message by the binding relationship of the identification information of identification information and VXLAN message Know the corresponding VXLAN message of information.
Further, the VXLAN configuration information includes the identification information of tunnel traffic message and the mark of VLAN message The binding relationship of information, the VXLAN expansion card carry out VXLAN processing, packet to the message according to the VXLAN configuration information It includes:
The VXLAN expansion card is if it is determined that the message is tunnel traffic message, then according to the tunnel traffic message The binding relationship of the identification information of identification information and VLAN message adds the VLAN message after message decapsulation Identification information.
Further, the method also includes:
The exchange substrate generates drainage table according to the user configuration information, includes needing to drain in the drainage table Identification information;
The exchange substrate determines whether the message received needs the VXLAN expansion card to handle, comprising:
Whether the exchange substrate matches determining reception with the identification information in the drainage table according to the message received To message whether need the VXLAN expansion card to handle.
The present invention also provides a kind of message processors, including exchange substrate, virtual expansible local area network VXLAN extension Card;The VXLAN expansion card is detachable to be connected with the substrate that exchanges;
The exchange substrate, when the message for receiving in determination needs VXLAN expansion card processing, by the report Text is sent to the VXLAN expansion card;It sends through the VXLAN expansion card treated message;
The VXLAN expansion card is sent to the exchange substrate after carrying out VXLAN processing to the message.
In the embodiment of the present invention, substrate is exchanged after receiving message, however, it is determined that is needed VXLAN expansion card to handle, then will Message is sent to VXLAN expansion card, after VXLAN expansion card carries out VXLAN processing, then by VXLAN expansion card is sent to exchange base Plate will can only support the low-cost equipment of VLAN processing, according to demand, can upgrade to can be in embodiments of the present invention Both VLAN message had been handled, also can handle the VLAN equipment of VXLAN message, has not needed just to put into high cost support at deployment initial stage The equipment of VXLAN, later period extension is at low cost, to save input cost.Further, the exchange substrate is also used to:
VXLAN configuration information is generated according to user configuration information;
The VXLAN configuration information is handed down to the VXLAN expansion card;
The VXLAN expansion card is used for:
VXLAN processing is carried out to the message according to the VXLAN configuration information.
Further, the VXLAN configuration information includes the identification information of customer flow message and the mark of VXLAN message The binding relationship of information,
The VXLAN expansion card is specifically used for:
If it is determined that the message is customer flow message, then according to the identification information and VXLAN of the customer flow message The binding relationship of the identification information of message, the identification information that the customer flow message is encapsulated as VXLAN message are corresponding VXLAN message.
Further, the VXLAN configuration information includes the identification information of tunnel traffic message and the mark of VLAN message The binding relationship of information,
The VXLAN expansion card is specifically used for:
If it is determined that the message is tunnel traffic message, then reported according to the identification information of the tunnel traffic message and VLAN The binding relationship of the identification information of text adds the identification information of the VLAN message after message decapsulation.
Further, the exchange substrate is also used to:
Drainage table is generated according to the user configuration information, includes the identification information for needing to drain in the drainage table;
Whether the determining message received whether is matched with the identification information in the drainage table according to the message received The VXLAN expansion card is needed to handle.
The embodiment of the present invention also provides a kind of terminal device, including at least one processing unit and at least one storage Unit, wherein the storage unit is stored with computer program, when described program is executed by the processing unit, so that institute State the step of processing unit executes any of the above-described Message processing.
The embodiment of the present invention also provides a kind of computer-readable medium, is stored with the computer that can be executed by terminal device Program, when described program is run on the terminal device, so that the step of terminal device executes any of the above-described Message processing.
In the embodiment of the present invention, substrate is exchanged after receiving message, however, it is determined that is needed VXLAN expansion card to handle, then will Message is sent to VXLAN expansion card, after VXLAN expansion card carries out VXLAN processing, then by VXLAN expansion card is sent to exchange base Plate will can only support the low-cost equipment of VLAN processing, according to demand, upgrading to both to locate in embodiments of the present invention VLAN message is managed, also can handle the VLAN equipment of VXLAN message, does not need just to put into high cost support at deployment initial stage The equipment of VXLAN, later period extension is at low cost, to save input cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of flow diagram of message processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of message processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of message processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of message processor provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of message processing method, and this method is suitable for a kind of including exchanging substrate and virtually may be used The switching equipment of local area network VXLAN expansion card is extended, in switching equipment, VXLAN expansion card is detachable with substrate is exchanged It is connected, specific steps are as shown in Figure 1:
Step 101, message is sent to by exchange substrate when determining that the message received needs VXLAN expansion card to handle VXLAN expansion card;
Step 102, after VXLAN expansion card carries out VXLAN processing to message, it is sent to exchange substrate;
Step 103, exchange substrate is sent through VXLAN expansion card treated message.
Exchange substrate in embodiments of the present invention refers to that the exchange substrate that expansion card can be supported to be inserted into, VXLAN expand Zhan Kawei has the function expansion card of processing VXLAN message.
In a step 101, whether exchange substrate is after getting message, it is thus necessary to determine that need message draining into VXLAN Expansion card is handled, if exchange substrate determines that the message needs to be transmitted to the processing of VXLAN expansion card, message is sent to VXLAN expansion card.
Optionally, in a step 101, it if exchange substrate determines that the message needs not move through the processing of VXLAN expansion card, hands over It changes substrate and directly handles the message, i.e., in embodiments of the present invention, exchange substrate can be used both to handle message, can also make Message is handled with VXLAN expansion card.
Optionally, in embodiments of the present invention, exchanging processing substrate is the message for using vlan technology, VXLAN extension What card was handled is the message using VXLAN technology.
In a step 102, after VXLAN expansion card handles message, it is also necessary to which by treated, message is sent back to Substrate is exchanged, the operation of transmitting-receiving message is carried out by exchange substrate.
In step 103, after exchange substrate gets the message of VXLAN expansion card processing, by treated, message is sent out It sees off.
Optionally, in embodiments of the present invention, exchange substrate is according to the destination address of treated message, and treated by general Message is sent to the destination address.
In embodiments of the present invention, VXLAN expansion card is preconfigured to the processing of message, so implementing in the present invention In example, exchange substrate receives user configuration information first, which is used to indicate the process flow of VXLAN, exchange Substrate is after getting user configuration information, the configuration information that user configuration information generation VXLAN expansion card is used, and will VXLAN configuration information is sent to VXLAN expansion card.
Optionally, in inventive embodiments, user configuration information includes the Message processing for needing to drain into VXLAN expansion card Information, the mapping relations of VLAN mark and VXLAN mark including draining message, tunnel interface information used etc., for example, User configuration information is as follows:
Configure the mapping of VXLAN mark VNI 100 and VLAN mark VLAN 10;
Configure the incidence relation of VNI 100 and VXLAN tunnel interface 1;
The source address for constructing VXLAN tunnel interface 1 is 1.1.1.1, and the destination address of tunnel interface is 2.2.2.2;
The incidence relation of the physical port loopback of configuration purpose address 2.2.2.2 and switching equipment, i.e. IP are 1.1.1.1.1 logic port is loopback1.
When VXLAN expansion card handles message, handled according to the VXLAN configuration information of generation.
Optionally, in embodiments of the present invention, exchange substrate generates drainage table according to the user configuration information, described to draw It include the identification information for needing to drain in flow table;The identification information of drainage includes customer flow identification information and tunnel traffic mark Know information.
For example, customer flow identification information is VLAN mark, tunnel traffic identification information is source MAC, purpose MAC or source IP, destination IP.
In embodiments of the present invention, VLAN mark and the mapping relations of VXLAN mark are established in user configuration information VLAN mark drained, be configured with VXLAN tunnel interface VLAN identify is drained, and with VXLAN tunnel The IP address that pipeline joint establishes incidence relation is drained.After exchange substrate gets message, drainage table is used It determines the need for being sent to VXLAN expansion card, if exchange substrate determines that the identification information of message and customer flow drainage identify Information or tunnel traffic drain identification information match, it is determined that the message needs to be transmitted to VXLAN expansion card.
Optionally, in embodiments of the present invention, after exchange substrate gets user configuration information, the VXLAN of generation matches It include the identification information for not carrying out the identification information and VXLAN message of the customer flow message of VXLAN encapsulation in confidence breath The binding relationship VXLAN expansion card of binding relationship, i.e. VLAN identification information and VXLAN identification information is determining report to be treated When text is customer flow message, the corresponding VXLAN message of the identification information that customer flow message is encapsulated as VXLAN message.That is: After VXLAN expansion card receives drainage message, however, it is determined that drainage message is customer flow message, then turns customer flow message It is changed to VXLAN message.
Specifically, when VXLAN expansion card determine the identification information of message received be customer flow identification information and with Table matching is drained, i.e. VXLAN expansion card has determined that this does not carry out VXLAN encapsulation according to the VLAN mark for needing to drain in drainage table The identification information of customer flow message drained, then VXLAN expansion card is true by customer flow identification information Determine the corresponding VXLAN identification information of customer flow identification information and VXLAN configuration information, message is encapsulated as VXLAN message.
Optionally, in embodiments of the present invention, VXLAN configuration information includes the identification information and VLAN of tunnel traffic message The binding relationship of the identification information of message, VXLAN expansion card is if it is determined that the message is tunnel traffic message, then according to the tunnel The binding relationship of the identification information of the identification information and VLAN message of road traffic messages adds institute after message decapsulation State the identification information of VLAN message.
Specifically, when the identification information that VXLAN expansion card receives message and the determining message is to have carried out VXLAN encapsulation Tunnel traffic message, and determine the tunnel traffic message with drain table match, i.e., VXLAN expansion card determines the tunnel traffic report After text is matched with the source address of VXLAN message and destination address for needing to drain in drainage table, VXLAN expansion card is first to tunnel Road traffic messages are decapsulated, and the internal layer service message of tunnel traffic is obtained, according to the identification information of tunnel traffic message with Corresponding VLAN identification information is added in message by the binding relationship of VLAN identification information.
Optionally, in embodiments of the present invention, VXLAN expansion card is after carrying out VXLAN encapsulation for message, after encapsulation Message is sent to exchange substrate, and substrate exports the message of encapsulation according to routing table.
Optionally, in embodiments of the present invention, message is being decapsulated and is being added the mark of VLAN message by VXLAN expansion card After knowing information, by treated, message is sent to exchange substrate, and what exchange substrate received is the message with VLAN identification information, It then exchanges substrate and message forwarding is carried out according to common MAC forwarding table.
Method in embodiment to facilitate the understanding of the present invention, herein for example, as shown in Fig. 2, the present invention provides one Kind message processing method, in embodiments of the present invention, user configuration information includes the physical port PORT1 and VLAN of switching equipment The binding relationship of VLAN 10 is identified, and is configured with the mapping relations of VXLAN mark VNI 100 and VLAN mark VLAN 10, is drawn Flow identification information is VLAN10 and UDP (User Datagram Protocol, User Datagram Protocol) mark 4789, specifically Step are as follows:
Step 201, exchange substrate receives message information from PORT1, and the identification information of the determining message information is VLAN10;
Step 202, exchange substrate is determined according to identification information VLAN10 needs the message draining into VXLAN expansion card;
Step 203, message is drained into VXLAN expansion card by exchange substrate;
Step 204, it after VXLAN expansion card receives message, is determined according to identification information VLAN 10 and mapping relations The corresponding VXLAN of VLAN10 is identified as VXLAN100;
Step 205, message is packaged into the tunnel packet that identification information is VXLAN100 by VXLAN expansion card;
Step 206, the message after encapsulation is sent to exchange substrate by VXLAN expansion card;
Step 207, exchange substrate determines that the corresponding outlet of encapsulated message is according to the destination address 2.2.2.2 of message PORT2;
Step 208, exchange substrate is sent to destination address 2.2.2.2 by encapsulated message by PORT2.
Method in embodiment to facilitate the understanding of the present invention, herein for example, as shown in figure 3, the present invention provides one Kind message processing method, in embodiments of the present invention, user configuration information include tying up for the PORT1 and VLAN 10 of exchange substrate Determine relationship, and be configured with the mapping relations of VXLAN mark VNI 100 and VLAN mark VLAN 10, drainage identification information is VLAN10 and UDP4789, specific steps are as follows:
Step 301, exchange substrate receives message information from PORT2, and the identification information of the determining message information is VXLAN100, the destination IP of the message are 1.1.1.1, and the UDP of the message is 4789;
Step 302, exchange substrate determines that the message needs to drain into VXLAN expansion card according to the UDP4789 of the message;
Step 303, which is sent to VXLAN expansion card by exchange substrate;
Step 304, VXLAN expansion card determines that the identification information of the message is VXLAN100 after receiving drainage message, And determine that corresponding VLAN is identified as VLAN10 according to identification information VXLAN100;
Step 305, VXLAN expansion card decapsulates the message, obtains internal layer message, and VLAN10 is added to report In the label tag of text;
Step 306, by treated, message is transmitted to exchange substrate to VXLAN expansion card;
Step 307, exchange substrate determines that delivery outlet is PORT1 according to identification information VLAN10 after getting message;
Step 308, exchange substrate sends purpose MAC corresponding with VLAN10 from PORT1 for message.
The present invention also provides a kind of packet switch facilities 400, as shown in figure 4, including exchange substrate 401, virtual expansible Local area network VXLAN expansion card 402;The VXLAN expansion card 402 is detachable to be connected with the substrate 401 that exchanges;
The exchange substrate 401 will when the message for receiving in determination needs the VXLAN expansion card 402 processing The message is sent to the VXLAN expansion card 402;It sends through the VXLAN expansion card 402 treated message;
The VXLAN expansion card 402 is sent to the exchange substrate after carrying out VXLAN processing to the message 401。
Further, the exchange substrate 401 is also used to:
VXLAN configuration information is generated according to user configuration information;
The VXLAN configuration information is handed down to the VXLAN expansion card 402;
The VXLAN expansion card 402 is used for:
VXLAN processing is carried out to the message according to the VXLAN configuration information.
Further, the VXLAN configuration information includes the identification information of customer flow message and the mark of VXLAN message The binding relationship of information,
The VXLAN expansion card 402 is specifically used for:
If it is determined that the message is customer flow message, then according to the identification information and VXLAN of the customer flow message The binding relationship of the identification information of message, the identification information that the customer flow message is encapsulated as VXLAN message are corresponding VXLAN message.
Further, the VXLAN configuration information includes the identification information of tunnel traffic message and the mark of VLAN message The binding relationship of information,
The VXLAN expansion card 402 is specifically used for:
If it is determined that the message is tunnel traffic message, then reported according to the identification information of the tunnel traffic message and VLAN The binding relationship of the identification information of text adds the identification information of the VLAN message after message decapsulation.
Further, the exchange substrate 401 is also used to:
Drainage table is generated according to the user configuration information, includes the identification information for needing to drain in the drainage table;
Whether the determining message received whether is matched with the identification information in the drainage table according to the message received The VXLAN expansion card 402 is needed to handle.
The embodiment of the invention provides a kind of electronic equipment, including at least one processing unit and at least one storage list Member, wherein the storage unit is stored with computer program, when described program is executed by the processing unit, so that described Processing unit executes the step of operation method.As shown in figure 5, for the hardware configuration of electronic equipment described in the embodiment of the present invention Schematic diagram, the electronic equipment are specifically as follows desktop computer, portable computer, smart phone, tablet computer etc..Specifically Ground, the electronic equipment may include memory 501, the computer program of processor 502 and storage on a memory, the processing The step of device 502 realizes any message processing method in above-described embodiment when executing described program.Wherein, memory 501 can To include read-only memory (ROM) and random access memory (RAM), and provides to processor 502 and to be stored in memory 501 Program instruction and data.In Fig. 5 for being connected by bus.The program instruction that processor 502 calls memory 501 to store is simultaneously Message processing method provided by the above embodiment is executed according to the program instruction of acquisition.
The embodiment of the present application provides a kind of computer program product, and the computer program product is non-temporary including being stored in Calculation procedure on state computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, the computer is made to execute any of the above-described message processing method.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of message processing method, which is characterized in that be suitable for including that exchange substrate and virtual expansible local area network VXLAN expand Open up the switching equipment of card;The VXLAN expansion card is detachable to be connected with the substrate that exchanges;The described method includes:
The message is sent to by the exchange substrate when determining that the message received needs VXLAN expansion card processing The VXLAN expansion card;
After the VXLAN expansion card carries out VXLAN processing to the message, it is sent to the exchange substrate;
The exchange substrate is sent through the VXLAN expansion card treated message.
2. the method according to claim 1, wherein the exchange substrate determines described in the message needs received Before the processing of VXLAN expansion card, further includes:
The exchange substrate generates VXLAN configuration information according to user configuration information;
The VXLAN configuration information is handed down to the VXLAN expansion card by the exchange substrate;
The VXLAN expansion card carries out VXLAN processing to the message, comprising:
The VXLAN expansion card carries out VXLAN processing to the message according to the VXLAN configuration information.
3. according to the method described in claim 2, it is characterized in that, the VXLAN configuration information includes customer flow message The binding relationship of the identification information of identification information and VXLAN message, the VXLAN expansion card is according to the VXLAN configuration information VXLAN processing is carried out to the message, comprising:
The VXLAN expansion card is if it is determined that the message is customer flow message, then according to the mark of the customer flow message The binding relationship of the identification information of information and VXLAN message believes the mark that the customer flow message is encapsulated as VXLAN message Cease corresponding VXLAN message.
4. according to the method described in claim 2, it is characterized in that, the VXLAN configuration information includes tunnel traffic message The binding relationship of the identification information of identification information and VLAN message, the VXLAN expansion card is according to the VXLAN configuration information pair The message carries out VXLAN processing, comprising:
The VXLAN expansion card is if it is determined that the message is tunnel traffic message, then according to the mark of the tunnel traffic message The binding relationship of the identification information of information and VLAN message adds the mark of the VLAN message after message decapsulation Information.
5. according to any method of claim 2-4, which is characterized in that the method also includes:
The exchange substrate generates drainage table according to the user configuration information, includes the mark for needing to drain in the drainage table Information;
The exchange substrate determines whether the message received needs the VXLAN expansion card to handle, comprising:
Whether the exchange substrate matches what determination received with the identification information in the drainage table according to the message received Whether message needs the VXLAN expansion card to handle.
6. a kind of message processor, which is characterized in that including exchange substrate, virtual expansible local area network VXLAN expansion card;Institute State VXLAN expansion card it is detachable with it is described exchange substrate be connected;
The exchange substrate, for when determining that the message received needs VXLAN expansion card processing, the message to be sent out Give the VXLAN expansion card;It sends through the VXLAN expansion card treated message;
The VXLAN expansion card is sent to the exchange substrate after carrying out VXLAN processing to the message.
7. equipment according to claim 6, which is characterized in that the exchange substrate is also used to:
VXLAN configuration information is generated according to user configuration information;
The VXLAN configuration information is handed down to the VXLAN expansion card;
The VXLAN expansion card is used for:
VXLAN processing is carried out to the message according to the VXLAN configuration information.
8. equipment according to claim 7, which is characterized in that the VXLAN configuration information includes customer flow message The binding relationship of the identification information of identification information and VXLAN message,
The VXLAN expansion card is specifically used for:
If it is determined that the message is customer flow message, then according to the identification information of the customer flow message and VXLAN message Identification information binding relationship, the identification information that the customer flow message is encapsulated as VXLAN message corresponding VXLAN report Text.
9. equipment according to claim 7, which is characterized in that the VXLAN configuration information includes tunnel traffic message The binding relationship of the identification information of identification information and VLAN message,
The VXLAN expansion card is specifically used for:
If it is determined that the message is tunnel traffic message, then according to the identification information of the tunnel traffic message and VLAN message The binding relationship of identification information adds the identification information of the VLAN message after message decapsulation.
10. equipment according to claim 7, which is characterized in that the exchange substrate is also used to:
Drainage table is generated according to the user configuration information, includes the identification information for needing to drain in the drainage table;
Whether matched according to the message received and the identification information in the drainage table determine the message that receives whether needs The VXLAN expansion card processing.
11. a kind of terminal device, which is characterized in that including at least one processing unit and at least one storage unit, In, the storage unit is stored with computer program, when described program is executed by the processing unit, so that the processing is single First perform claim requires the step of 1~5 any the method.
12. a kind of computer-readable medium, which is characterized in that it is stored with the computer program that can be executed by terminal device, when When described program is run on the terminal device, so that the terminal device perform claim requires the step of 1~5 any the method Suddenly.
CN201811567216.0A 2018-12-19 2018-12-19 Message processing method and device Active CN109525479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811567216.0A CN109525479B (en) 2018-12-19 2018-12-19 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811567216.0A CN109525479B (en) 2018-12-19 2018-12-19 Message processing method and device

Publications (2)

Publication Number Publication Date
CN109525479A true CN109525479A (en) 2019-03-26
CN109525479B CN109525479B (en) 2021-09-14

Family

ID=65796548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811567216.0A Active CN109525479B (en) 2018-12-19 2018-12-19 Message processing method and device

Country Status (1)

Country Link
CN (1) CN109525479B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290078A (en) * 2019-06-13 2019-09-27 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium
CN110505138A (en) * 2019-08-23 2019-11-26 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140201733A1 (en) * 2013-01-15 2014-07-17 International Business Machines Corporation Scalable network overlay virtualization using conventional virtual switches
CN105306335A (en) * 2015-11-11 2016-02-03 杭州数梦工场科技有限公司 Message forwarding method and device
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
CN106209557A (en) * 2016-06-30 2016-12-07 杭州迪普科技有限公司 Message forwarding method and device
CN106230749A (en) * 2016-08-30 2016-12-14 锐捷网络股份有限公司 A kind of method E-Packeted in virtual expansible LAN and convergence switch
CN108809796A (en) * 2018-07-16 2018-11-13 成都芮捷科技发展有限责任公司 A kind of Metropolitan Area Network (MAN) power system service communication means based on VxLAN
CN108833250A (en) * 2018-06-22 2018-11-16 山东超越数控电子股份有限公司 A kind of retransmission method between VxLAN and VLAN

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140201733A1 (en) * 2013-01-15 2014-07-17 International Business Machines Corporation Scalable network overlay virtualization using conventional virtual switches
CN105306335A (en) * 2015-11-11 2016-02-03 杭州数梦工场科技有限公司 Message forwarding method and device
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
CN106209557A (en) * 2016-06-30 2016-12-07 杭州迪普科技有限公司 Message forwarding method and device
CN106230749A (en) * 2016-08-30 2016-12-14 锐捷网络股份有限公司 A kind of method E-Packeted in virtual expansible LAN and convergence switch
CN108833250A (en) * 2018-06-22 2018-11-16 山东超越数控电子股份有限公司 A kind of retransmission method between VxLAN and VLAN
CN108809796A (en) * 2018-07-16 2018-11-13 成都芮捷科技发展有限责任公司 A kind of Metropolitan Area Network (MAN) power system service communication means based on VxLAN

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290078A (en) * 2019-06-13 2019-09-27 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium
CN110505138A (en) * 2019-08-23 2019-11-26 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium

Also Published As

Publication number Publication date
CN109525479B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN104871483B (en) Method and apparatus for managing the multicast service in cloud network
CN106209553B (en) Message processing method, equipment and system
CN105207873B (en) A kind of message processing method and device
KR101718374B1 (en) Network function virtualization for a network device
WO2016034074A1 (en) Method, apparatus and system for implementing software-defined networking (sdn)
CN102238230B (en) Method and system for offloading tunnel packet processing in cloud computing
CN105471740B (en) Gateway based on software defined network migrates processing method and processing device
CN107005471A (en) Universal Subscriber premises equipment
CN111064649B (en) Method and device for realizing binding of layered ports, control equipment and storage medium
CN107070691A (en) Docker containers across host communication method and system
CN105323136A (en) Information processing method and device
CN104283980A (en) Address resolution protocol (ARP) reply on-behalf method and device
CN105430110A (en) Container configuration method and network transmission device of virtual network system
CN110460684A (en) The broadcast domain partition method and device of VXLAN same network segment
US9225631B2 (en) Implementation of protocol in virtual link aggregate group
CN107113892A (en) A kind of method and device of gateway device automatic network-building
CN108574613B (en) Two-layer intercommunication method and device for SDN data center
CN104579889B (en) A kind of method and device for being used to call network function
CN103634423A (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
CN113938405B (en) Data processing method and device
CN109525479A (en) A kind of message processing method and equipment
EP4161003A1 (en) Evpn host routed bridging (hrb) and evpn cloud native data center
CN109756419B (en) Routing information distribution method and device and RR
CN109412925A (en) Forwarding-table item update method and VTEP based on VTEP
CN108696370B (en) Method, device and system for binding and unbinding server and service

Legal Events

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