Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message processing method and device and electronic equipment

A message processing and message technology, applied in the computer field, can solve problems such as inflexibility of the conversion process, increase of network delay and deployment complexity and cost, increase of business deployment complexity and equipment cost overhead, etc.

Pending Publication Date: 2020-03-10
ALIBABA GRP HLDG LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although some existing solutions use specific physical machine equipment to convert the underlay network and the overlay network, only one network conversion direction can be fixed, and the conversion process is still inflexible.
In addition, this specific physical machine device increases the delay of the network and the complexity and cost of deployment, which in turn increases the complexity of business deployment and additional equipment cost overhead

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message processing method and device and electronic equipment
  • Message processing method and device and electronic equipment
  • Message processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] Based on the idea of ​​the above packet processing scheme, such as Figure 4a As shown, it is the flow of the message processing method shown in the embodiment of the present invention Figure 1 , the execution body of this method can be image 3 The message output processing device 310 shown in . In an actual application scenario, the packet outbound processing device 310 may be set in a local virtual switch. Such as Figure 4a As shown, the message processing method includes the following steps:

[0075] S410. Obtain a message to be sent.

[0076] For example, after a container or virtual machine deployed on a physical machine generates a packet, it needs to be sent to the destination through a specified network, such as an underlay network or an overlay network. The virtual switch can obtain the above-mentioned packets according to the communication ports interconnected with these containers or virtual machines.

[0077] S420, according to the destination IP ad...

Embodiment 2

[0091] Based on the idea of ​​the above packet processing scheme, such as Figure 5aAs shown, it is the flow of the message processing method shown in the embodiment of the present invention Figure three , the execution body of this method can be image 3 The message shown in enters the processing means 320. In an actual application scenario, the packet input processing device 320 may be set in a local virtual switch. Such as Figure 5a As shown, the message processing method includes the following steps:

[0092] S510. Obtain a message sent by the network, where the message carries destination port information.

[0093] The message is transmitted to the destination physical machine through the transmission network. The virtual switch on the physical machine can obtain the above-mentioned packets according to the communication port interconnected with the transmission network. The message carries information about the destination port. This destination port is the port...

Embodiment 3

[0108] Based on the message processing methods shown in the first and second embodiments above, this embodiment shows a specific execution process of message transmission between different network types.

[0109] First, if Figure 6 As shown, it is the execution flow chart of transmitting packets from the underlay network to the overlay network. For example, when the underlay container 1 needs to send a packet to the overlay container 4, the following steps can be performed:

[0110] Step 1: In the sending direction of the message of the underlay container 1, the routing judging device of the virtual switch of the physical machine A first determines that the destination of the access is a container in the overlay network, and the network type applicable to the current message is the overlay network.

[0111] Step 2: The virtual switch uses the overlay to process logical encapsulation and forward packets to the overlay network.

[0112] Step 3: After receiving the message, the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a message processing method and device and electronic equipment, and the method comprises the steps: obtaining a to-be-transmitted message; when it is determined that the message is suitable for the first network type, adopting a transmission protocol corresponding to the first network type to package the message, and sending the packaged message to the first network; obtaining a message sent by the network; and when determining that the message is suitable for the first network type, performing de-encapsulation processing on the message by adopting a first network transmission protocol corresponding to the first network type, and sending the de-encapsulated message to a destination port. According to the scheme provided by the embodiment of the invention, message mutual transmission between different transmission networks can be flexibly and quickly realized, and the realization cost of the scheme is relatively low.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a message processing method, device and electronic equipment. Background technique [0002] Usually, cloud hosts or containers use ordinary bridges to access the underlay network, and use virtual switches with overlay network functions to access the overlay network. [0003] However, the underlay network and the overlay network are completely isolated in conventional network deployment. In many cases, the services of the same user are deployed on the underlay network and the overlay network at the same time, and the services need to communicate with each other. However, in reality, there is no direct, efficient and flexible interworking method between the underlay network and the overlay network. Although some existing solutions use specific physical machine equipment to convert the underlay network and the overlay network, only one network conversion direction can b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06
CPCH04L69/22
Inventor 朱良伟
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products