CN110493149A - A kind of method and apparatus of Message processing - Google Patents

A kind of method and apparatus of Message processing Download PDF

Info

Publication number
CN110493149A
CN110493149A CN201910656594.4A CN201910656594A CN110493149A CN 110493149 A CN110493149 A CN 110493149A CN 201910656594 A CN201910656594 A CN 201910656594A CN 110493149 A CN110493149 A CN 110493149A
Authority
CN
China
Prior art keywords
networking
view
depending
sent
mac address
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
CN201910656594.4A
Other languages
Chinese (zh)
Other versions
CN110493149B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910656594.4A priority Critical patent/CN110493149B/en
Publication of CN110493149A publication Critical patent/CN110493149A/en
Application granted granted Critical
Publication of CN110493149B publication Critical patent/CN110493149B/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
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling

Landscapes

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

Abstract

The embodiment of the invention provides a kind of method and apparatus of Message processing, are applied to view networked server, comprising: the view networked server receives the view networking message that the view networked devices are sent for the internet device by view networking physical interface;It is described to be converted to interconnection network packet depending on networking message for described depending on networked server, and the view networking bridge module is sent to by the virtual interface;The view networked server passes through view networking bridge module, the interconnection network packet is sent to the internet physical interface, and the internet device is sent to by the internet physical interface, virtual interface is realized directly to forward to depending on networking message, in message transmission without being again introduced into protocol stack, reduce overhead, and it is forwarded through virtual interface, it reduces message and regards the degree of coupling of networked server parameter, it avoids message from being absorbed depending on networked server, improves the forward efficiency of message.

Description

A kind of method and apparatus of Message processing
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of method and apparatus of Message processing.
Background technique
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video, High definition is face-to-face, will finally realize that the world without distance, realizes that the distance of person to person in global range is the distance of a screen.
When carrying out the transmission of three-tier message, connected depending on networking physical interface by the physical interface of bridge module and internet It connects, realizes the message transmission of view networked devices and internet device.
However, when regard networked devices to internet device send message when, view networked server from view networking physical interface After obtaining view networking message and being converted into interconnection network packet, need by protocol stack processing could from being forwarded so that Overhead is big.
Also, when handling message, due to the message parameter and view the Internet services directly obtained from view networking physical interface The device parameter degree of coupling of device is higher, is easy for message to be mistakenly considered the message of itself depending on networked server, not turned Hair, so that the normal processing of message has been blocked, so that Message processing inefficiency.
Summary of the invention
In view of the above problems, the present invention is proposed in order to provide overcoming the above problem or at least being partially solved above-mentioned ask A kind of method and apparatus of Message processing of topic, comprising:
A kind of method of Message processing, be applied to view networked server, it is described view networked server include with depending on network set The internet physical interface and virtual interface for regarding networking physical interface, being connect with internet device of standby connection, it is described virtual One end of interface connect with described depending on networking physical interface, the other end of the virtual interface by view network bridge module with it is described The connection of internet physical interface;The described method includes:
The view networked server receives the view networked devices and is directed to the interconnection by view networking physical interface The view networking message that net equipment is sent;
It is described to be converted to interconnection network packet depending on networking message for described depending on networked server, and sent out by the virtual interface It send to view networking bridge module;
The interconnection network packet is sent to the internet by view networking bridge module by the view networked server Physical interface, and the internet device is sent to by the internet physical interface.
Optionally, described by view networking bridge module, the interconnection network packet is sent to the internet physics The step of interface includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the MAC Address in the view networking bridge module Table;
When the mac address table includes the destination-mac address, the interconnection network packet is sent to the target The corresponding internet physical interface of MAC Address.
Optionally, described by view networking bridge module, the interconnection network packet is sent to the internet physics The step of interface includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the MAC Address in the view networking bridge module Table;
When the mac address table does not include the destination-mac address, the destination-mac address is learnt, to obtain Take the destination-mac address;
After obtaining the destination-mac address, it is corresponding mutually that the interconnection network packet is sent to the destination-mac address Networking physical interface.
Optionally, described to include: by described the step of being converted to interconnection network packet depending on networking message
By protocol stack entrance function, interconnection network packet is converted to depending on networking message by described.
A kind of method of Message processing, be applied to view networked server, it is described view networked server include with depending on network set The internet physical interface and virtual interface for regarding networking physical interface, being connect with internet device of standby connection, it is described virtual One end of interface connect with described depending on networking physical interface, the other end of the virtual interface by view network bridge module with it is described The connection of internet physical interface;The described method includes:
The view networked server is received the internet device and is joined for the view by the internet physical interface The interconnection network packet that net equipment is sent;
It is described that the interconnection network packet is sent to the view networking bridge module depending on networked server, and joined by the view The interconnection network packet is sent to the virtual interface by bridge modules;
The view networked server is converted to view networking message according to the virtual interface, by the interconnection network packet;
The view networked server is sent to the view networking physics depending on networking message by the virtual interface, by described Interface, and the view networked devices are sent to depending on networking physical interface by described.
Optionally, described according to the virtual interface, the interconnection network packet is converted to the step of regarding networking message packet It includes:
Determine the corresponding function of giving out a contract for a project of the virtual interface;
By the function of giving out a contract for a project, the interconnection network packet is converted into view networking message.
Optionally, described by view networking bridge module, the interconnection network packet is sent to the virtual interface Step includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the MAC Address in the view networking bridge module Table;
When the mac address table includes the destination-mac address, the interconnection network packet is sent to the target The corresponding virtual interface of MAC Address.
Optionally, described by view networking bridge module, the interconnection network packet is sent to the virtual interface Step includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the MAC Address in the view networking bridge module Table;
When the mac address table does not include the destination-mac address, the destination-mac address is learnt, to obtain Take the destination-mac address;
After obtaining the destination-mac address, the interconnection network packet is sent to the corresponding void of the destination-mac address Quasi- interface.
A kind of device of Message processing, be applied to view networked server, it is described view networked server include with depending on network set The internet physical interface and virtual interface for regarding networking physical interface, being connect with internet device of standby connection, it is described virtual One end of interface connect with described depending on networking physical interface, the other end of the virtual interface by view network bridge module with it is described The connection of internet physical interface;
Described device includes:
Depending on message receiving module of networking, for by view networking physical interface, reception is described to be directed to depending on networked devices The view networking message that the internet device is sent;
First message conversion module, for being converted to interconnection network packet depending on networking message for described, and by described virtual Interface is sent to the view networking bridge module;
Network packet sending module is interconnected, for by view networking bridge module, the interconnection network packet to be sent to institute Internet physical interface is stated, and the internet device is sent to by the internet physical interface.
A kind of device of Message processing, be applied to view networked server, it is described view networked server include with depending on network set The internet physical interface and virtual interface for regarding networking physical interface, being connect with internet device of standby connection, it is described virtual One end of interface connect with described depending on networking physical interface, the other end of the virtual interface by view network bridge module with it is described The connection of internet physical interface;
Described device includes:
Network packet receiving module is interconnected, for the internet device being received and being directed to by the internet physical interface The interconnection network packet that the view networked devices are sent;
Internet packet forwarding module for the interconnection network packet to be sent to the view networking bridge module, and passes through The view networking bridge module, is sent to the virtual interface for the interconnection network packet;
Second message conversion module, for according to the virtual interface, the interconnection network packet to be converted to view networking report Text;
Depending on message sending module of networking, for being sent to the view depending on networking message for described by the virtual interface Networking physical interface, and the view networked devices are sent to depending on networking physical interface by described.
The embodiment of the present invention has the advantage that
In embodiments of the present invention, receive what view networked devices were sent for internet device by view networking physical interface Depending on message of networking, interconnection network packet will be converted to depending on networking message, and view networking bridge module is sent to by virtual interface, then By view networking bridge module, interconnection network packet is sent to internet physical interface, and be sent to by internet physical interface Internet device realizes virtual interface and directly forwards to depending on networking message, in message transmission without being again introduced into protocol stack, Overhead is reduced, and is forwarded through virtual interface, message is reduced and regards the degree of coupling of networked server parameter, avoids message It is absorbed depending on networked server, improves the forward efficiency of message.
Detailed description of the invention
It, below will be attached needed in the description of this invention in order to illustrate more clearly of technical solution of the present invention Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of networking schematic diagram for view networking that one embodiment of the invention provides;
Fig. 2 is a kind of hardware structural diagram for node server that one embodiment of the invention provides;
Fig. 3 is a kind of hardware structural diagram for access switch that one embodiment of the invention provides;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association that one embodiment of the invention provides turns gateway;
Fig. 5 is a kind of step flow chart of the method for Message processing that one embodiment of the invention provides;
Fig. 6 is the connection schematic diagram for the view networked server interface that one embodiment of the invention provides;
Fig. 7 is a kind of schematic diagram for message forwarding that one embodiment of the invention provides;
Fig. 8 is the schematic diagram for another message forwarding that one embodiment of the invention provides;
Fig. 9 is the step flow chart of the method for another Message processing that one embodiment of the invention provides;
Figure 10 is a kind of structural block diagram of the device for Message processing that one embodiment of the invention provides;
Figure 11 is the structural block diagram of the device for another Message processing that one embodiment of the invention provides.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.Obviously, described embodiments are some of the embodiments of the present invention, without It is whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
1, view networked devices classification
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking (or national net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 304 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 308 is configured by CPU module 304, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Referring to Fig. 5, a kind of step flow chart of the method for Message processing of one embodiment of the invention offer is shown, it can be with Applied to view networked server, as shown in fig. 6, may include one or more depending on networked server and view networked devices 601 company The internet physical interface 604 and virtual interface 605 for regarding networking physical interface 602, being connect with internet device 603 connect, Virtual interface can be connect with one end with depending on networking physical interface, and the other end depending on networking bridge module 606 with internet physics by connecing Mouth connection.
As an example, the socket of access view networking cable can be depending on networking physical interface, for receiving view networking report Text, internet physical interface (IP interface) can be the socket of access internet cable, for receiving interconnection network packet (IP report Text), virtual interface can be view networking tunnel virtual interface, and view networking report may be implemented in view networked server in such as Fig. 7 The conversion and transmitting-receiving of text and interconnection network packet.
Specifically, may include steps of:
Step 501, by view networking physical interface, reception is described to be directed to the view networked server depending on networked devices The view networking message that the internet device is sent;
When view networked devices send message to an internet device, internet device can be first determined depending on networked devices Physical address, and view networking message is generated for the physical address, this message can be three-tier message, may then pass through view Message transmissions to networked server is regarded, are regarded networking message so as to receive depending on networked server by networking physical interface.
Step 502, described to be converted to interconnection network packet depending on networking message for described depending on networked server, and pass through the void Quasi- interface is sent to the view networking bridge module;
It may include mac address table depending on networking bridge module as an example, by the way that MAC can be carried out depending on networking bridge module The inquiry of address, MAC (Media Access Control, medium access control) address, also known as hardware address, can be used to The position of the network equipment is defined, during the physical transfer of network bottom layer, data are transmitted through physical address to identify host 's.
When the processing of view networked server receives view networking message from regarding networking physical interface, due to the view networking report of acquisition The parameter of text and the parameter degree of coupling of view networked server are high, if directly forwarding the message after conversion, hold depending on networked server Easily message will be needed to be mistakenly considered the message of itself without being forwarded.
In the concrete realization, one or more virtual interfaces can be set in view networked server in advance, and one virtual Interface can be connect with one depending on networking physical interface, can be modeled as by the message that virtual interface transmits from virtual interface Middle acquisition, rather than obtained from depending on networking physical interface, the risk that message is blocked forwarding by view networked server is reduced, is improved The forwarding precision of message.
It is forwarded directly to internet physical interface by virtual interface, message content is carried out without again passing by protocol stack Logical process realizes the transparent transmission of message, has simplified the process of message transmissions
After by getting view networking message depending on networking physical interface, place first can be decoded to depending on networking message Reason generates interconnection network packet, and interconnection network packet is sent to virtual interface, will have virtual interface mark via virtual interface The interconnection network packet of knowledge is sent to view networking bridge module.
In an embodiment of the present invention, described to may include by described the step of being converted to interconnection network packet depending on networking message Following sub-step:
By protocol stack entrance function, interconnection network packet is converted to depending on networking message by described.
Specifically, protocol stack entrance function can be the function for carrying out protocol conversion in protocol stack.
Protocol stack is also known as protocol stack, is a specific software realization of computer network protocol external member.Since view joins Communication protocol used by net equipment and internet device is not identical, in order to make the two realize communication, reports receiving view networking Wen Hou can will be sent to protocol stack depending on networking message depending on networked server, with the protocol stack entrance function in invocation protocol stack, Interconnection network packet will be converted to depending on networking message.
Step 503, the interconnection network packet is sent to institute by view networking bridge module by the view networked server Internet physical interface is stated, and the internet device is sent to by the internet physical interface.
It in practical applications, can be by internet physical interface and view networked virtual interface conjunctionn, In depending on networking bridge module By interconnection network packet and after sending view networking bridge module, it can be searched in depending on networking bridge module depending on networked server, Determine receive the interconnection network packet internet device internet physical interface address, and will interconnection network packet be sent to Depending on the internet physical interface of networking bridge module connection, so that internet device receives the message.
In an embodiment of the present invention, described by view networking bridge module, the interconnection network packet is sent to institute The step of stating internet physical interface may include following sub-step:
Sub-step 11 obtains the destination-mac address in the interconnection network packet, and traverses in the view networking bridge module Mac address table;
In the concrete realization, it can recorde the MAC Address of view networked devices or internet device depending on networking bridge module, and And in mac address table, the MAC Address depending on networked devices can be corresponding with virtual interface and view networking physical interface, interconnection The MAC Address of net equipment can be corresponding with internet physical interface.
For example, mac address table can be set in depending on networking bridge module in advance, to record multiple internet physical interfaces, And the MAC Address for the internet device being connect with internet physical interface.
After generating interconnection network packet, depending on the destination-mac address in the available message of networked server, determination is specifically connect The internet device of the interconnection network packet is received, and traverses mac address table, searches destination-mac address.
The interconnection network packet is sent to by sub-step 12 when the mac address table includes the destination-mac address The corresponding internet physical interface of the destination-mac address.
When in mac address table including destination-mac address, it can determine internet physical interface, and will be from virtually connecing The interconnection network packet obtained at mouthful is sent to internet physical interface.
In an alternative embodiment of the invention, described by view networking bridge module, the interconnection network packet is sent to The step of internet physical interface may include following sub-step:
Sub-step 21 obtains the destination-mac address in the interconnection network packet, and traverses in the view networking bridge module Mac address table;
Sub-step 22 carries out the destination-mac address when the mac address table does not include the destination-mac address Study, to obtain the destination-mac address;
After the mac address table that traversal regards in networking bridge module, if not finding destination-mac address, it can determine The interconnection network packet sent depending on not receiving the corresponding internet device of the destination-mac address before networking bridge module, is based on This, can learn destination-mac address, obtain destination-mac address.
Specifically, the virtual port of transmission interconnection network packet can be first determined depending on networked server, then to mac address table In all of the port in addition to the virtual port, send multiple test data packets comprising destination-mac address respectively.
When the corresponding target device of destination-mac address is after receiving the data packet, can be carried out for test data packet Response, sending response message to view networked server can recorde report depending on networked server after receiving this response message The MAC Address of target device in text, completes the study of destination-mac address.
And the other equipment other than target device are after receive test data packet, due to the target in test data packet MAC Address and the MAC Address of equipment itself are not inconsistent, then can abandon the test data packet, not respond.
Alternatively destination-mac address is learnt alternatively, can adopt.For example, can be with depending on networked server The message for waiting the corresponding target device of destination-mac address to upload is regarding after receiving the message from destination-mac address Mac address table in networking bridge module records this address, completes the study of destination-mac address.
Sub-step 23, after obtaining the destination-mac address, with being sent to the Destination MAC by the interconnection network packet The corresponding internet physical interface in location.
When in mac address table including destination-mac address, it can internet physical interface is determined, depending on networked server Internet device can be sent to by network packet is interconnected by the internet physical interface.
In a particular application, can will pass through depending on networking report after generating view networking message from view networked devices such as Fig. 7 It is sent in view networked server depending on networking interface, after receiving view networking message, can use agreement depending on networked server Stack entrance function is decoded to depending on networking message, generates interconnection network packet, and will interconnect network packet by virtual interface and send To view networking bridge module (" view networking bridge module " in Fig. 7), progress MAC table lookup, when finding interconnection in the mac table When destination-mac address in network packet, it can be sent to internet by networking the associated internet interface of bridge module with view and set It is standby;When not finding destination-mac address in MAC table, destination-mac address can be learnt (in Fig. 7 " depending on networking Bridge forward MAC table study "), when success learning objective MAC Address after, by with view network the associated internet interface of bridge module, It is sent to internet device.
In embodiments of the present invention, receive what view networked devices were sent for internet device by view networking physical interface Depending on message of networking, interconnection network packet will be converted to depending on networking message, and view networking bridge module is sent to by virtual interface, then By view networking bridge module, interconnection network packet is sent to internet physical interface, and be sent to by internet physical interface Internet device realizes virtual interface and directly forwards to depending on networking message, in message transmission without being again introduced into protocol stack, Overhead is reduced, and is forwarded through virtual interface, message is reduced and regards the degree of coupling of networked server parameter, avoids message quilt It is absorbed depending on networked server, improves the forward efficiency of message.
Referring to Fig. 9, the step flow chart of the method for another Message processing of one embodiment of the invention offer is shown, it can It may include one or more views networking objects being connect with depending on networked devices depending on networked server to be applied to view networked server The internet physical interface and virtual interface managing interface, connecting with internet device, virtual interface can be networked with one end and view Physical interface connection, the other end are connect by view networking bridge module with internet physical interface.
As an example, the socket of access view networking cable can be depending on networking physical interface, for receiving view networking report Text, internet physical interface (IP interface) can be the socket of access internet cable, for receiving interconnection network packet (IP report Text), virtual interface can be view networking tunnel virtual interface, and view networking report may be implemented in view networked server in such as Fig. 7 The conversion and transmitting-receiving of text and interconnection network packet.
Specifically, may include steps of:
Step 901, the view networked server is received the internet device and is directed to by the internet physical interface The interconnection network packet that the view networked devices are sent;
When internet device sends message to a view networked devices, message can be carried out by internet physical interface It sends.
For example, internet device can first obtain the physical address of view networked devices, and generated mutually for the physical address Networking message, after interconnection network packet generates, internet device can extremely be interconnected internet message transmissions by internet cable Net physical interface, so as to receive interconnection network packet by internet physical interface depending on networked server.
Step 902, described that the interconnection network packet is sent to the view networking bridge module depending on networked server, and pass through The view networking bridge module, is sent to the virtual interface for the interconnection network packet;
It may include mac address table depending on networking bridge module as an example, view networking bridge can be passed through depending on networked server The inquiry of module progress MAC Address.MAC (Media Access Control, medium access control) address, also known as hardware Location can be used to define the position of the network equipment, and during the physical transfer of network bottom layer, data are transmitted through physical address To identify host.
It in practical applications, can be by internet physical interface and view networked virtual interface conjunctionn, In depending on networking bridge module After receiving interconnection network packet, interconnection network packet can be sent to view networking bridge module depending on networked server, and network in view It carries out searching the view networked devices address for receiving interconnection network packet in bridge module, and determines virtual interface, by interconnection network packet hair It is sent to virtual interface.
In an embodiment of the present invention, described by view networking bridge module, the interconnection network packet is sent to institute The step of stating virtual interface may include following sub-step:
Sub-step 31 obtains the destination-mac address in the interconnection network packet, and traverses in the view networking bridge module Mac address table;
In the concrete realization, mac address table can be set in depending on networking bridge module in advance, with the one or more views of record The corresponding view networking physical interface of the MAC Address and MAC Address of networked devices and virtual interface.For example, a view networked devices MAC Address be a, corresponding depending on networking physical interface and virtual interface is respectively b and c, then is determining destination-mac address Afterwards, corresponding view networking physical interface and virtual interface can be determined.
After generating interconnection network packet, depending on the destination-mac address in the available message of networked server, determination is specifically connect The internet device of the interconnection network packet is received, and traverses mac address table, searches destination-mac address.
The interconnection network packet is sent to by sub-step 32 when the mac address table includes the destination-mac address The corresponding virtual interface of the destination-mac address.
When in mac address table including destination-mac address, it can determine virtual interface and view networking physical interface, depending on Networked server can send virtual interface for interconnection network packet.
In an embodiment of the present invention, described by view networking bridge module, the interconnection network packet is sent to institute The step of stating virtual interface may include following sub-step:
Sub-step 41 obtains the destination-mac address in the interconnection network packet, and traverses in the view networking bridge module Mac address table;
Sub-step 42 carries out the destination-mac address when the mac address table does not include the destination-mac address Study, to obtain the destination-mac address;
After the mac address table that traversal regards in networking bridge module, if not finding destination-mac address, it can determine The view networking message sent depending on not receiving the corresponding view networked devices of the destination-mac address before networking bridge module, is based on This, can learn destination-mac address, obtain the destination-mac address of view networked devices, specific destination-mac address Learning method is referred to the method that destination-mac address study is carried out in an embodiment, and details are not described herein.
Sub-step 43, after obtaining the destination-mac address, with being sent to the Destination MAC by the interconnection network packet The corresponding virtual interface in location.
Step 903, the interconnection network packet is converted to view networking according to the virtual interface by the view networked server Message;
The communication protocol as used by view networked devices and internet device is not identical, in order to realize that the two is realized logical Letter can regard networking physical interface after it will interconnect network packet and be sent to virtual interface according to virtual interface mapped, will be mutual Networking message is converted to view networking message.
In an embodiment of the present invention, described according to the virtual interface, the interconnection network packet is converted into view networking The step of message, may include steps of:
Determine the corresponding function of giving out a contract for a project of the virtual interface;By the function of giving out a contract for a project, the interconnection network packet is converted For view networking message.
As an example, function of giving out a contract for a project can be the function that view networking message is converted to for that will interconnect network packet.
Different virtual interfaces can map to different view networking physical interface and physical address, in order to make virtually to connect The received interconnection network packet of mouth can be sent to correct physical address, can be arranged in advance for different virtual interfaces different Function of giving out a contract for a project can determine the letter of giving out a contract for a project of virtual interface depending on networked server after it will interconnect network packet and be sent to virtual interface Number, and call function of giving out a contract for a project that will interconnect network packet and be converted to view networking message.
Step 904, the view networked server is sent to the view depending on networking message for described by the virtual interface Networking physical interface, and the view networked devices are sent to depending on networking physical interface by described.
As an example, the socket of access view networking cable can be depending on networking physical interface.
It in the concrete realization, can be by view networking physical interface access view networking, in view networking depending on networked devices Other equipment are communicated., can be via virtual interface depending on networked server after generating view networking message, it will view networking message It is sent to the view networking physical interface connecting with virtual interface, so that view networking physical interface hair can be passed through depending on networking message It is sent to view networked devices.
In a particular application, as Fig. 7 can after generating interconnection network packet (" IP packet " in Fig. 7) from internet device With by internet interface (" IP interface " in Fig. 7) by interconnect network packet be sent to view networking bridge module (in Fig. 7 " view join Net bridge module "), MAC table lookup is carried out, it, can when finding the destination-mac address in interconnection network packet in the mac table To determine and regard the networking associated virtual interface of bridge module, the corresponding function of giving out a contract for a project of the virtual interface is called, network packet will be interconnected Be converted to view networking message, and by with view network the associated virtual interface of bridge module, will view networking message be sent to view network Interface;When not finding destination-mac address in MAC table, destination-mac address can be learnt (in Fig. 7 " depending on connection Bridge forwards MAC table study "), after success learning objective MAC Address, the determining and view networking associated virtual interface of bridge module, Call the corresponding function of giving out a contract for a project of the virtual interface, will interconnection network packet be converted to view networking message, and by with view network bridge mould The associated virtual interface of block will be sent to view networking interface depending on networking message, so as to receive the message depending on networked devices.
In embodiments of the present invention, the internet device is received for view networked devices hair by internet physical interface Interconnection network packet is sent to view networking bridge module, and by view networking bridge module, will interconnect network packet by the interconnection network packet sent It is sent to virtual interface, and according to virtual interface, interconnection network packet is converted into view networking message, then pass through virtual interface, It will be sent to view networking physical interface depending on networking message, by being sent to view networked devices depending on networking physical interface, realized straight It connects from virtual interface to view networking physical interface and sends view networking message, without repeatedly passing through protocol stack, reduce message conversion In processing step, reduce overhead.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig.1 0, a kind of structural block diagram of the device of Message processing of one embodiment of the invention offer is provided, it can be with It include the view networking physical interface and internet being connect with depending on networked devices depending on networked server applied to view networked server The internet physical interface and virtual interface of equipment connection, one end of virtual interface are connect with depending on networking physical interface, virtually The other end of interface is connect by view networking bridge module with internet physical interface
Specifically, may include following module:
Depending on message receiving module 1001 of networking, for receiving the view networked devices by view networking physical interface The view networking message sent for the internet device;
First message conversion module 1002, for being converted to interconnection network packet depending on networking message for described, and by described Virtual interface is sent to the view networking bridge module;
Network packet sending module 1003 is interconnected, for by view networking bridge module, the interconnection network packet to be sent The extremely internet physical interface, and the internet device is sent to by the internet physical interface.
In an embodiment of the present invention, interconnection network packet sending module 1003 may include following submodule:
First object address acquisition submodule for obtaining the destination-mac address in the interconnection network packet, and traverses institute State the mac address table in view networking bridge module;
First internet physical interface determines submodule, for including the destination-mac address when the mac address table When, the interconnection network packet is sent to the corresponding internet physical interface of the destination-mac address.
In an alternative embodiment of the invention, interconnection network packet sending module 1003 may include following submodule:
Second destination address acquisition submodule for obtaining the destination-mac address in the interconnection network packet, and traverses institute State the mac address table in view networking bridge module;
First object address learning submodule, it is right for when the mac address table does not include the destination-mac address The destination-mac address is learnt, to obtain the destination-mac address;
Second internet physical interface determines submodule, is used for after obtaining the destination-mac address, by the internet Message is sent to the corresponding internet physical interface of the destination-mac address.
In an embodiment of the present invention, the first message conversion module 1002 may include following submodule:
Depending on message transform subblock of networking, for being converted to described mutually depending on networking message by protocol stack entrance function Networking message.
Referring to Fig.1 1, the structural block diagram of the device of another Message processing of one embodiment of the invention offer is provided, it can It include the view networking physical interface being connect with depending on networked devices and interconnection depending on networked server to be applied to view networked server The internet physical interface and virtual interface of net equipment connection, one end of virtual interface is connect with depending on networking physical interface, empty The other end of quasi- interface is connect by view networking bridge module with internet physical interface.
Specifically, may include following module:
Network packet receiving module 1101 is interconnected, for receiving the internet device by the internet physical interface The interconnection network packet sent for the view networked devices;
Internet packet forwarding module 1102, for the interconnection network packet to be sent to the view networking bridge module, and By view networking bridge module, the interconnection network packet is sent to the virtual interface;
Second message conversion module 1103, for according to the virtual interface, the interconnection network packet to be converted to view connection Network packet;
Depending on message sending module 1104 of networking, for being sent to institute depending on networking message for described by the virtual interface View networking physical interface is stated, and is sent to the view networked devices depending on networking physical interface by described.
In an embodiment of the present invention, the second message conversion module 1103 may include following submodule:
Function of giving out a contract for a project determines submodule, for determining the corresponding function of giving out a contract for a project of the virtual interface;
Network packet transform subblock is interconnected, for by the function of giving out a contract for a project, the interconnection network packet to be converted to view connection Network packet.
In an embodiment of the present invention, internet packet forwarding module 1102 may include following submodule:
First address table traverses submodule, for obtaining the destination-mac address in the interconnection network packet, and described in traversal Depending on the mac address table in networking bridge module;
First virtual interface sending submodule, for when the mac address table includes the destination-mac address, by institute It states interconnection network packet and is sent to the corresponding virtual interface of the destination-mac address.
In another embodiment of the application, internet packet forwarding module 1102 may include following submodule:
Second address table traverses submodule, for obtaining the destination-mac address in the interconnection network packet, and described in traversal Depending on the mac address table in networking bridge module;
Second destination address learns submodule, right for when the mac address table does not include the destination-mac address The destination-mac address is learnt, to obtain the destination-mac address;
Second virtual interface sending submodule, for after obtaining the destination-mac address, the interconnection network packet to be sent out Send virtual interface corresponding to the destination-mac address.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
One embodiment of the invention additionally provides electronic equipment, may include processor, memory and storage on a memory And the computer program that can be run on a processor, the side of Message processing as above is realized when computer program is executed by processor The step of method.
One embodiment of the invention additionally provides computer readable storage medium, stores and calculates on computer readable storage medium Machine program, the step of method of Message processing as above is realized when computer program is executed by processor.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method and apparatus of Message processing provided by the present invention, it is described in detail, answers herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, In There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (10)

1. a kind of method of Message processing, which is characterized in that be applied to view networked server, it is described depending on networked server include with Physical interface of networking, the internet physical interface and virtual interface connecting with internet device are regarded depending on networked devices connection, One end of the virtual interface is connect with described depending on networking physical interface, and the other end of the virtual interface passes through view networking bridge mould Block is connect with the internet physical interface;The described method includes:
By view networking physical interface, reception is described to be set depending on networked devices for the internet view networked server The view networking message that preparation is sent;
It is described to be converted to interconnection network packet depending on networking message for described depending on networked server, and be sent to by the virtual interface The view networking bridge module;
The interconnection network packet is sent to the internet physics by view networking bridge module by the view networked server Interface, and the internet device is sent to by the internet physical interface.
2. the method according to claim 1, wherein it is described by the view network bridge module, by the interconnection Network packet is sent to the step of internet physical interface and includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the mac address table in the view networking bridge module;
When the mac address table includes the destination-mac address, with being sent to the Destination MAC by the interconnection network packet The corresponding internet physical interface in location.
3. the method according to claim 1, wherein it is described by the view network bridge module, by the interconnection Network packet is sent to the step of internet physical interface and includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the mac address table in the view networking bridge module;
When the mac address table does not include the destination-mac address, the destination-mac address is learnt, to obtain State destination-mac address;
After obtaining the destination-mac address, the interconnection network packet is sent to the corresponding internet of the destination-mac address Physical interface.
4. the method according to claim 1, wherein described be converted to interconnection network packet depending on networking message for described The step of include:
By protocol stack entrance function, interconnection network packet is converted to depending on networking message by described.
5. a kind of method of Message processing, which is characterized in that be applied to view networked server, it is described depending on networked server include with Physical interface of networking, the internet physical interface and virtual interface connecting with internet device are regarded depending on networked devices connection, One end of the virtual interface is connect with described depending on networking physical interface, and the other end of the virtual interface passes through view networking bridge mould Block is connect with the internet physical interface;The described method includes:
The view networked server is received the internet device and is set for described depending on networking by the internet physical interface The interconnection network packet that preparation is sent;
It is described that the interconnection network packet is sent to the view networking bridge module depending on networked server, and pass through view networking bridge The interconnection network packet is sent to the virtual interface by module;
The view networked server is converted to view networking message according to the virtual interface, by the interconnection network packet;
The view networking message is sent to and described is connect depending on physics of networking by the virtual interface by the view networked server Mouthful, and the view networked devices are sent to depending on networking physical interface by described.
6. according to the method described in claim 5, it is characterized in that, described according to the virtual interface, by the internet report Text is converted to includes: depending on the step of networking message
Determine the corresponding function of giving out a contract for a project of the virtual interface;
By the function of giving out a contract for a project, the interconnection network packet is converted into view networking message.
7. according to the method described in claim 5, it is characterized in that, it is described by the view network bridge module, by the interconnection Network packet is sent to the step of virtual interface and includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the mac address table in the view networking bridge module;
When the mac address table includes the destination-mac address, with being sent to the Destination MAC by the interconnection network packet The corresponding virtual interface in location.
8. according to the method described in claim 5, it is characterized in that, it is described by the view network bridge module, by the interconnection Network packet is sent to the step of virtual interface and includes:
The destination-mac address in the interconnection network packet is obtained, and traverses the mac address table in the view networking bridge module;
When the mac address table does not include the destination-mac address, the destination-mac address is learnt, to obtain State destination-mac address;
After obtaining the destination-mac address, the interconnection network packet is sent to the destination-mac address is corresponding virtually to be connect Mouthful.
9. a kind of device of Message processing, which is characterized in that be applied to view networked server, it is described depending on networked server include with Physical interface of networking, the internet physical interface and virtual interface connecting with internet device are regarded depending on networked devices connection, One end of the virtual interface is connect with described depending on networking physical interface, and the other end of the virtual interface passes through view networking bridge mould Block is connect with the internet physical interface;
Described device includes:
Depending on message receiving module of networking, for receiving the view networked devices for described by view networking physical interface The view networking message that internet device is sent;
First message conversion module for being converted to interconnection network packet depending on networking message for described, and passes through the virtual interface It is sent to the view networking bridge module;
Network packet sending module is interconnected, for the interconnection network packet being sent to described mutual by view networking bridge module Networking physical interface, and the internet device is sent to by the internet physical interface.
10. a kind of device of Message processing, which is characterized in that it is applied to view networked server, it is described to include depending on networked server The internet physical interface for regarding networking physical interface, being connect with internet device being connect with depending on networked devices, and virtually connect Mouthful, one end of the virtual interface is connect with described depending on networking physical interface, and the other end of the virtual interface passes through view networking Bridge module is connect with the internet physical interface;
Described device includes:
Network packet receiving module is interconnected, for receiving the internet device for described by the internet physical interface The interconnection network packet sent depending on networked devices;
Internet packet forwarding module, for the interconnection network packet to be sent to the view networking bridge module, and by described Depending on bridge module of networking, the interconnection network packet is sent to the virtual interface;
Second message conversion module, for according to the virtual interface, the interconnection network packet to be converted to view networking message;
Depending on message sending module of networking, for being sent to the view networking depending on networking message for described by the virtual interface Physical interface, and the view networked devices are sent to depending on networking physical interface by described.
CN201910656594.4A 2019-07-19 2019-07-19 Message processing method and device Active CN110493149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656594.4A CN110493149B (en) 2019-07-19 2019-07-19 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656594.4A CN110493149B (en) 2019-07-19 2019-07-19 Message processing method and device

Publications (2)

Publication Number Publication Date
CN110493149A true CN110493149A (en) 2019-11-22
CN110493149B CN110493149B (en) 2020-12-18

Family

ID=68547612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656594.4A Active CN110493149B (en) 2019-07-19 2019-07-19 Message processing method and device

Country Status (1)

Country Link
CN (1) CN110493149B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405229A (en) * 2020-02-13 2020-07-10 视联动力信息技术股份有限公司 Video conference processing method, system, client, electronic device and storage medium
CN111614536A (en) * 2020-04-20 2020-09-01 视联动力信息技术股份有限公司 Data forwarding method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457439A (en) * 2011-12-07 2012-05-16 中标软件有限公司 Virtual switching system and method of cloud computing system
US20150139036A1 (en) * 2013-11-18 2015-05-21 Futurewei Technologies, Inc. Method and system for an overlay management control network
CN108540381A (en) * 2017-03-01 2018-09-14 丛林网络公司 Computational methods, computing device and computer readable storage medium
CN109787992A (en) * 2019-01-31 2019-05-21 视联动力信息技术股份有限公司 A kind of method and apparatus by view networking access private network
CN109889420A (en) * 2019-01-29 2019-06-14 视联动力信息技术股份有限公司 Method and device for business processing
CN110011891A (en) * 2018-01-05 2019-07-12 北京视联动力国际信息技术有限公司 A kind of method for processing business and system of across a network
CN110012322A (en) * 2019-03-28 2019-07-12 视联动力信息技术股份有限公司 A kind of method and system that view networking service is initiated

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457439A (en) * 2011-12-07 2012-05-16 中标软件有限公司 Virtual switching system and method of cloud computing system
US20150139036A1 (en) * 2013-11-18 2015-05-21 Futurewei Technologies, Inc. Method and system for an overlay management control network
CN108540381A (en) * 2017-03-01 2018-09-14 丛林网络公司 Computational methods, computing device and computer readable storage medium
CN110011891A (en) * 2018-01-05 2019-07-12 北京视联动力国际信息技术有限公司 A kind of method for processing business and system of across a network
CN109889420A (en) * 2019-01-29 2019-06-14 视联动力信息技术股份有限公司 Method and device for business processing
CN109787992A (en) * 2019-01-31 2019-05-21 视联动力信息技术股份有限公司 A kind of method and apparatus by view networking access private network
CN110012322A (en) * 2019-03-28 2019-07-12 视联动力信息技术股份有限公司 A kind of method and system that view networking service is initiated

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405229A (en) * 2020-02-13 2020-07-10 视联动力信息技术股份有限公司 Video conference processing method, system, client, electronic device and storage medium
CN111405229B (en) * 2020-02-13 2023-06-09 视联动力信息技术股份有限公司 Video conference processing method, system, client, electronic equipment and storage medium
CN111614536A (en) * 2020-04-20 2020-09-01 视联动力信息技术股份有限公司 Data forwarding method and device

Also Published As

Publication number Publication date
CN110493149B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN108881799B (en) A kind of system and method carrying out view networked video meeting
CN108173804A (en) It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN108965224A (en) A kind of method and apparatus of video on demand
CN109167960A (en) A kind of processing method and system of video stream data
CN108965223A (en) It is a kind of based on view networking web page processing method, proxy server and view networked terminals
CN109617956A (en) A kind of data processing method and device
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN108989837A (en) A kind of method and apparatus of picture interception
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109743555A (en) A kind of information processing method and system based on view networking
CN110365937A (en) Unmanned plane information displaying method and system
CN110046222A (en) A kind of intelligent answer method and system
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109743284A (en) A kind of method for processing video frequency and system based on view networking
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN110493149A (en) A kind of method and apparatus of Message processing
CN110505107A (en) A kind of monitoring method and view networking management system
CN110187846A (en) Print system, method and apparatus
CN109698790A (en) A kind of storage method and system regarding networking data
CN109873817A (en) A kind of method and apparatus of one-to-one access network
CN109819133A (en) A kind of photo acquisition methods and device based on view networking
CN109698859A (en) A kind of date storage method and device based on view networking
CN109067895A (en) A kind of method and apparatus remotely controlled
CN110049069A (en) A kind of data capture method and device
CN109787837A (en) The configuration method and device of a kind of view networking port

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