CN110493149B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN110493149B
CN110493149B CN201910656594.4A CN201910656594A CN110493149B CN 110493149 B CN110493149 B CN 110493149B CN 201910656594 A CN201910656594 A CN 201910656594A CN 110493149 B CN110493149 B CN 110493149B
Authority
CN
China
Prior art keywords
internet
message
video
mac address
physical interface
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.)
Active
Application number
CN201910656594.4A
Other languages
Chinese (zh)
Other versions
CN110493149A (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

Images

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

Abstract

The embodiment of the invention provides a method and a device for processing messages, which are applied to a video network server and comprise the following steps: the video networking server receives a video networking message sent by the video networking equipment aiming at the Internet equipment through the video networking physical interface; the video networking server converts the video networking message into an Internet message and sends the Internet message to the video networking bridge module through the virtual interface; the video network server sends the internet message to the internet physical interface through the video network bridge module and sends the internet message to the internet equipment through the internet physical interface, so that the virtual interface can directly forward the video network message, the protocol stack does not need to be entered again during message transparent transmission, the system overhead is reduced, the message is forwarded through the virtual interface, the coupling degree of the message and the video network server parameter is reduced, the message is prevented from being absorbed by the video network server, and the message forwarding efficiency is improved.

Description

Message processing method and device
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for processing a packet.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the Internet at present, pushes a plurality of Internet applications to high-definition video, and finally realizes no distance in the world and realizes that the distance between people in the world is only the distance of one screen.
When three-layer message transmission is carried out, the video networking physical interface is connected with the physical interface of the internet through the bridge module, and message transparent transmission of the video networking equipment and the internet equipment is realized.
However, when the video network device sends a packet to the internet device, the video network server obtains the video network packet from the video network physical interface and converts the video network packet into an internet packet, and then the internet packet needs to be processed by a protocol stack for forwarding, so that the system overhead is high.
Moreover, when the message is processed, because the coupling degree of the message parameters directly acquired from the physical interface of the video network and the device parameters of the video network server is high, the video network server easily considers the message as the message of the video network server and does not forward the message, thereby blocking the normal processing of the message and causing the message processing efficiency to be low.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a method and apparatus for message processing that overcomes or at least partially solves the above problems, comprising:
a message processing method is applied to a video network server, the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module; the method comprises the following steps:
the video networking server receives a video networking message sent by the video networking equipment aiming at the Internet equipment through the video networking physical interface;
the video networking server converts the video networking message into an Internet message and sends the Internet message to the video networking bridge module through the virtual interface;
and the video network server sends the internet message to the internet physical interface through the video network bridge module and sends the internet message to the internet equipment through the internet physical interface.
Optionally, the step of sending the internet message to the internet physical interface through the video-networking bridge module includes:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
and when the MAC address table comprises the target MAC address, the Internet message is sent to an Internet physical interface corresponding to the target MAC address.
Optionally, the step of sending the internet message to the internet physical interface through the video-networking bridge module includes:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
when the MAC address table does not comprise the target MAC address, learning the target MAC address to acquire the target MAC address;
and after the target MAC address is obtained, sending the internet message to an internet physical interface corresponding to the target MAC address.
Optionally, the step of converting the video networking message into an internet message includes:
and converting the video networking message into an internet message through a protocol stack entry function.
A message processing method is applied to a video network server, the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module; the method comprises the following steps:
the video networking server receives an internet message sent by the internet equipment aiming at the video networking equipment through the internet physical interface;
the video network server sends the internet message to the video network bridge module and sends the internet message to the virtual interface through the video network bridge module;
the video network server converts the internet message into a video network message according to the virtual interface;
and the video networking server sends the video networking message to the video networking physical interface through the virtual interface and sends the video networking message to the video networking equipment through the video networking physical interface.
Optionally, the step of converting the internet message into a video internet message according to the virtual interface includes:
determining a packet sending function corresponding to the virtual interface;
and converting the internet message into a video networking message through the packet sending function.
Optionally, the step of sending the internet message to the virtual interface through the video-networking bridge module includes:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
and when the MAC address table comprises the target MAC address, the Internet message is sent to a virtual interface corresponding to the target MAC address.
Optionally, the step of sending the internet message to the virtual interface through the video-networking bridge module includes:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
when the MAC address table does not comprise the target MAC address, learning the target MAC address to acquire the target MAC address;
and after the target MAC address is obtained, sending the internet message to a virtual interface corresponding to the target MAC address.
A message processing device is applied to a video network server, the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module;
the device comprises:
the video networking message receiving module is used for receiving a video networking message sent by the video networking equipment aiming at the Internet equipment through the video networking physical interface;
the first message conversion module is used for converting the video networking message into an internet message and sending the internet message to the video networking bridge module through the virtual interface;
and the internet message sending module is used for sending the internet message to the internet physical interface through the video network bridge module and sending the internet message to the internet equipment through the internet physical interface.
A message processing device is applied to a video network server, the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module;
the device comprises:
the internet message receiving module is used for receiving an internet message sent by the internet equipment aiming at the video networking equipment through the internet physical interface;
the internet message forwarding module is used for sending the internet message to the video network bridge module and sending the internet message to the virtual interface through the video network bridge module;
the second message conversion module is used for converting the internet message into a video internet message according to the virtual interface;
and the video networking message sending module is used for sending the video networking message to the video networking physical interface through the virtual interface and sending the video networking message to the video networking equipment through the video networking physical interface.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the video networking message sent by the video networking equipment aiming at the Internet equipment is received through the video networking physical interface, the video networking message is converted into the Internet message and is sent to the video networking bridge module through the virtual interface, then the Internet message is sent to the Internet physical interface through the video networking bridge module and is sent to the Internet equipment through the Internet physical interface, so that the virtual interface directly forwards the video networking message, the message does not need to enter a protocol stack again during transparent transmission, the system overhead is reduced, the coupling degree of the message and the video networking server parameter is reduced through the forwarding of the virtual interface, the message is prevented from being absorbed by the video networking server, and the message forwarding efficiency is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic networking diagram of a video network according to an embodiment of the present invention;
fig. 2 is a schematic hardware structure diagram of a node server according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of an access switch according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of an ethernet protocol conversion gateway according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating steps of a method for message processing according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the connection of a video networking server interface provided by an embodiment of the invention;
fig. 7 is a schematic diagram of packet forwarding according to an embodiment of the present invention;
fig. 8 is a schematic diagram of another packet forwarding method according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating steps of another method for message processing according to an embodiment of the present invention;
fig. 10 is a block diagram illustrating a message processing apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram of another message processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
1. Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a flowchart illustrating steps of a method for message processing according to an embodiment of the present invention may be applied to a video network server, and as shown in fig. 6, the video network server may include one or more video network physical interfaces 602 connected to a video network device 601, an internet physical interface 604 connected to an internet device 603, and a virtual interface 605, where one end of the virtual interface may be connected to the video network physical interface, and the other end of the virtual interface may be connected to the internet physical interface through a video network bridge module 606.
As an example, the video network physical interface may be a socket accessing a video network cable for receiving a video network message, the internet physical interface (IP interface) may be a socket accessing an internet network cable for receiving an internet message (IP message), and the virtual interface may be a video network tunnel virtual interface, as shown in fig. 7, and in the video network server, the conversion and transceiving between the video network message and the internet message may be implemented.
Specifically, the method can comprise the following steps:
step 501, the video networking server receives a video networking message sent by the video networking equipment aiming at the internet equipment through the video networking physical interface;
when the video network device sends a message to an internet device, the video network device may determine a physical address of the internet device, generate a video network message for the physical address, where the message may be a three-layer message, and then transmit the message to a video network server through a video network physical interface, so that the video network server receives the video network message.
Step 502, the video network server converts the video network message into an internet message and sends the internet message to the video network bridge module through the virtual interface;
as an example, the bridge-over-video module may include a MAC address table, through which a query of a MAC address may be performed, and a MAC (Media Access Control) address, also called a hardware address, may be used to define a location of the network device, and during a physical transmission process of a network bottom layer, data transmission identifies a host through the physical address.
When the video network server processes the video network message received from the video network physical interface, because the obtained parameter of the video network message has high coupling degree with the parameter of the video network server, if the converted message is directly forwarded, the video network server easily mistakenly regards the required message as the message of the video network server and does not forward the message.
In specific implementation, one or more virtual interfaces can be set in the video network server in advance, one virtual interface can be connected with one video network physical interface, and a message transmitted through the virtual interface can be simulated to be acquired from the virtual interface instead of the video network physical interface, so that the risk that the message is blocked and forwarded by the video network server is reduced, and the forwarding precision of the message is improved.
The message is directly forwarded to the Internet physical interface through the virtual interface without carrying out logic processing on the message content through the protocol stack again, so that transparent transmission of the message is realized, and the process of message transmission is simplified
After the video networking message is acquired through the video networking physical interface, the video networking message can be decoded to generate an internet message, and the internet message is sent to the virtual interface, so that the internet message with the virtual interface identifier is sent to the video networking bridge module through the virtual interface.
In an embodiment of the present invention, the step of converting the video network message into an internet message may include the following sub-steps:
and converting the video networking message into an internet message through a protocol stack entry function.
Specifically, the protocol stack entry function may be a function for performing protocol conversion in the protocol stack.
A protocol stack, also called a protocol stack, is a specific software implementation of a computer network protocol suite. Because the communication protocols adopted by the video networking equipment and the internet equipment are different, in order to realize communication between the video networking equipment and the internet equipment, after receiving the video networking message, the video networking server can send the video networking message to the protocol stack so as to call the protocol stack entry function in the protocol stack and convert the video networking message into the internet message.
Step 503, the video network server sends the internet message to the internet physical interface through the video network bridge module, and sends the internet message to the internet device through the internet physical interface.
In practical application, the video network bridge module can associate the internet physical interface with the video network virtual interface, and after the internet message is sent to the video network bridge module, the video network server can search in the video network bridge module, determine the address of the internet physical interface of the internet device receiving the internet message, and send the internet message to the internet physical interface connected with the video network bridge module, so that the internet device receives the message.
In an embodiment of the present invention, the step of sending the internet message to the internet physical interface through the video-networking bridge module may include the following sub-steps:
substep 11, obtaining a target MAC address in the internet message, and traversing an MAC address table in the video bridge module;
in a specific implementation, the video networking bridge module may record MAC addresses of the video networking device or the internet device, and in the MAC address table, the MAC address of the video networking device may correspond to the virtual interface and the video networking physical interface, and the MAC address of the internet device may correspond to the internet physical interface.
For example, a MAC address table may be set in the video bridge module in advance to record a plurality of internet physical interfaces and MAC addresses of internet devices connected to the internet physical interfaces.
After the internet message is generated, the video network server can obtain a target MAC address in the message, determine the specific internet equipment for receiving the internet message, traverse the MAC address table and search the target MAC address.
And a substep 12, when the MAC address table includes the target MAC address, sending the internet message to an internet physical interface corresponding to the target MAC address.
When the MAC address table comprises the target MAC address, the Internet physical interface can be determined, and the Internet message acquired from the virtual interface is sent to the Internet physical interface.
In another embodiment of the present invention, the step of sending the internet message to the internet physical interface through the video bridge module may include the following sub-steps:
substep 21, obtaining a target MAC address in the internet message, and traversing an MAC address table in the video network bridge module;
substep 22, when the MAC address table does not include the target MAC address, learning the target MAC address to obtain the target MAC address;
after traversing the MAC address table in the video bridge module, if the target MAC address is not found, it may be determined that the video bridge module has not previously received the internet packet sent by the internet device corresponding to the target MAC address, and based on this, the target MAC address may be learned to obtain the target MAC address.
Specifically, the video network server may determine a virtual port for transmitting the internet packet, and then send a plurality of test packets including the target MAC address to all ports except the virtual port in the MAC address table.
After receiving the data packet, the target device corresponding to the target MAC address can respond to the test data packet and send a response message to the video network server, and after receiving the response message, the video network server can record the MAC address of the target device in the message, thereby completing the learning of the target MAC address.
When other devices except the target device receive the test data packet, the target MAC address in the test data packet is not consistent with the MAC address of the device itself, and the test data packet may be discarded without responding.
Alternatively, another method may be used to learn the destination MAC address. For example, the video network server may wait for a message uploaded by a target device corresponding to the target MAC address, and after receiving the message from the target MAC address, record the address in the MAC address table in the video network bridge module, thereby completing the learning of the target MAC address.
And a substep 23, after obtaining the target MAC address, sending the internet packet to an internet physical interface corresponding to the target MAC address.
When the MAC address table comprises the target MAC address, the Internet physical interface can be determined, and the video networking server can send the Internet message to the Internet equipment through the Internet physical interface.
In a specific application, as shown in fig. 7, after a video networking message is generated from a video networking device, the video networking message may be sent to a video networking server through a video networking interface, after the video networking message is received, the video networking server may decode the video networking message by using a protocol stack entry function to generate an internet message, and send the internet message to a video networking bridge module (the "video networking bridge module" in fig. 8) through a virtual interface for MAC table lookup, and when a target MAC address in the internet message is found in the MAC table, the internet message may be sent to an internet device through an internet interface associated with the video networking bridge module; when the target MAC address is not found in the MAC table, the target MAC address may be learned ("view bridge forwarding MAC table learning" in fig. 8), and after successfully learning the target MAC address, the learned target MAC address may be sent to the internet device through the internet interface associated with the view bridge module.
In the embodiment of the invention, the video networking message sent by the video networking equipment aiming at the Internet equipment is received through the video networking physical interface, the video networking message is converted into the Internet message and is sent to the video networking bridge module through the virtual interface, then the Internet message is sent to the Internet physical interface through the video networking bridge module and is sent to the Internet equipment through the Internet physical interface, so that the virtual interface directly forwards the video networking message, the message does not need to enter a protocol stack again during transparent transmission, the system overhead is reduced, the coupling degree of the message and the video networking server parameter is reduced through the forwarding of the virtual interface, the message is prevented from being absorbed by the video networking server, and the message forwarding efficiency is improved.
Referring to fig. 9, a flowchart illustrating steps of another message processing method according to an embodiment of the present invention is shown, and may be applied to a video network server, where the video network server may include one or more video network physical interfaces connected to a video network device, internet physical interfaces connected to an internet device, and a virtual interface, where one end of the virtual interface may be connected to the video network physical interface, and the other end of the virtual interface may be connected to the internet physical interface through a video network bridge module.
As an example, the video network physical interface may be a socket accessing a video network cable for receiving a video network message, the internet physical interface (IP interface) may be a socket accessing an internet network cable for receiving an internet message (IP message), and the virtual interface may be a video network tunnel virtual interface, as shown in fig. 7, and in the video network server, the conversion and transceiving between the video network message and the internet message may be implemented.
Specifically, the method can comprise the following steps:
step 901, the video networking server receives an internet message sent by the internet equipment aiming at the video networking equipment through the internet physical interface;
when the internet equipment sends a message to the video networking equipment, the message can be sent through the internet physical interface.
For example, the internet device may obtain a physical address of the video networking device, generate an internet message for the physical address, and transmit the internet message to the internet physical interface through the internet network cable after the internet message is generated, so that the video networking server receives the internet message through the internet physical interface.
Step 902, the video network server sends the internet message to the video network bridge module, and sends the internet message to the virtual interface through the video network bridge module;
as an example, the bridge of video networking module may include a MAC address table, and the video networking server may query the MAC address through the bridge of video networking module. The MAC (Media Access Control) address, also called a hardware address, may be used to define the location of the network device, and during the physical transmission process of the network bottom layer, the data transmission identifies the host through the physical address.
In practical application, the video network bridge module can associate the internet physical interface with the video network virtual interface, after receiving an internet message, the video network server can send the internet message to the video network bridge module, search the video network equipment address for receiving the internet message in the video network bridge module, determine the virtual interface, and send the internet message to the virtual interface.
In an embodiment of the present invention, the step of sending the internet message to the virtual interface through the video bridge module may include the following sub-steps:
substep 31, obtaining a target MAC address in the internet message, and traversing an MAC address table in the video bridge module;
in a specific implementation, a MAC address table may be set in the video bridge module in advance to record MAC addresses of one or more video devices, and video physical interfaces and virtual interfaces corresponding to the MAC addresses. For example, if the MAC address of an internet-of-view device is a and the corresponding physical and virtual interfaces are b and c, respectively, after the target MAC address is determined, the corresponding physical and virtual interfaces of the internet-of-view device can be determined.
After the internet message is generated, the video network server can obtain a target MAC address in the message, determine the specific internet equipment for receiving the internet message, traverse the MAC address table and search the target MAC address.
And a substep 32, when the MAC address table includes the target MAC address, sending the internet packet to a virtual interface corresponding to the target MAC address.
When the target MAC address is included in the MAC address table, the virtual interface and the video network physical interface can be determined, and the video network server can send the Internet message to the virtual interface.
In an embodiment of the present invention, the step of sending the internet message to the virtual interface through the video bridge module may include the following sub-steps:
substep 41, obtaining a target MAC address in the internet message, and traversing a MAC address table in the video bridge module;
substep 42, when the MAC address table does not include the target MAC address, learning the target MAC address to obtain the target MAC address;
after traversing the MAC address table in the video bridge module, if the target MAC address is not found, it may be determined that the video bridge module has not received the video network packet sent by the video network device corresponding to the target MAC address before, and based on this, the target MAC address may be learned to obtain the target MAC address of the video network device.
And a substep 43, after obtaining the target MAC address, sending the internet packet to a virtual interface corresponding to the target MAC address.
Step 903, the video network server converts the internet message into a video network message according to the virtual interface;
because the communication protocols adopted by the video network equipment and the internet equipment are different, in order to realize the communication between the video network equipment and the internet equipment, after the internet message is sent to the virtual interface, the internet message can be converted into the video network message according to the video network physical interface mapped by the virtual interface.
In an embodiment of the present invention, the step of converting the internet packet into a video internet packet according to the virtual interface may include the following steps:
determining a packet sending function corresponding to the virtual interface; and converting the internet message into a video networking message through the packet sending function.
As an example, the packaging function may be a function for converting an internet message to an internet-of-view message.
Different virtual interfaces can be mapped to different video networking physical interfaces and physical addresses, in order to enable the internet message received by the virtual interfaces to be sent to the correct physical address, different packet sending functions can be set for the different virtual interfaces in advance, after the internet message is sent to the virtual interfaces, the video networking server can determine the packet sending function of the virtual interfaces and call the packet sending function to convert the internet message into the video networking message.
Step 904, the internet of vision server sends the internet of vision message to the physical interface of the internet of vision through the virtual interface, and sends the internet of vision message to the internet of vision equipment through the physical interface of the internet of vision.
As an example, the video networking physical interface may be a socket that accesses a video networking cable.
In a particular implementation, the video networking device may access the video networking through a video networking physical interface to communicate with other devices in the video networking. After generating the video networking message, the video networking server may send the video networking message to a video networking physical interface connected to the virtual interface via the virtual interface, so that the video networking message may be sent to the video networking device through the video networking physical interface.
In a specific application, as shown in fig. 7, after an internet message ("IP message" in fig. 7) is generated from an internet device, the internet message may be sent to a video bridge module ("video bridge module" in fig. 8) through an internet interface ("IP interface" in fig. 7), an MAC table lookup is performed, when a target MAC address in the internet message is found in the MAC table, a virtual interface associated with the video bridge module may be determined, a packet sending function corresponding to the virtual interface is called, the internet message is converted into the video message, and the video message is sent to the video bridge module through the virtual interface associated with the video bridge module; when the target MAC address is not found in the MAC table, the target MAC address may be learned ("MAC table learning forwarded by the video bridge" in fig. 8), and after the target MAC address is successfully learned, a virtual interface associated with the video bridge module is determined, a packet forwarding function corresponding to the virtual interface is called, the internet message is converted into a video network message, and the video network message is sent to the video network interface through the virtual interface associated with the video bridge module, so that the video network device receives the message.
In the embodiment of the invention, the internet message sent by the internet equipment aiming at the video network equipment is received through the internet physical interface, the internet message is sent to the video network bridge module, the internet message is sent to the virtual interface through the video network bridge module, the internet message is converted into the video network message according to the virtual interface, the video network message is sent to the video network physical interface through the virtual interface and is sent to the video network equipment through the video network physical interface, the video network message is directly sent from the virtual interface to the video network physical interface, the video network message does not need to pass through a protocol stack for many times, the processing steps in message conversion are reduced, and the system overhead is reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 10, a block diagram of a message processing apparatus according to an embodiment of the present invention is shown, which may be applied to a video networking server, where the video networking server includes a video networking physical interface connected to a video networking device, an internet physical interface connected to the internet device, and a virtual interface, one end of the virtual interface is connected to the video networking physical interface, and the other end of the virtual interface is connected to the internet physical interface through a video networking bridge module
Specifically, the method may include the following modules:
a video networking message receiving module 1001, configured to receive, through the video networking physical interface, a video networking message sent by the video networking device for the internet device;
the first message conversion module 1002 is configured to convert the video networking message into an internet message, and send the internet message to the video networking bridge module through the virtual interface;
an internet message sending module 1003, configured to send the internet message to the internet physical interface through the video bridge module, and send the internet message to the internet device through the internet physical interface.
In an embodiment of the present invention, the internet message sending module 1003 may include the following sub-modules:
the first target address acquisition submodule is used for acquiring a target MAC address in the Internet message and traversing an MAC address table in the video network bridge module;
and the first internet physical interface determining submodule is used for sending the internet message to the internet physical interface corresponding to the target MAC address when the MAC address table comprises the target MAC address.
In another embodiment of the present invention, the internet message sending module 1003 may include the following sub-modules:
the second target address acquisition submodule is used for acquiring a target MAC address in the Internet message and traversing an MAC address table in the video network bridge module;
a first target address learning submodule, configured to learn the target MAC address to obtain the target MAC address when the MAC address table does not include the target MAC address;
and the second internet physical interface determining submodule is used for sending the internet message to the internet physical interface corresponding to the target MAC address after the target MAC address is obtained.
In an embodiment of the present invention, the first packet conversion module 1002 may include the following sub-modules:
and the video networking message conversion sub-module is used for converting the video networking message into an Internet message through a protocol stack entry function.
Referring to fig. 11, a block diagram of another message processing apparatus according to an embodiment of the present invention is shown, which may be applied to a video networking server, where the video networking server includes a video networking physical interface connected to a video networking device, an internet physical interface connected to an internet device, and a virtual interface, one end of the virtual interface is connected to the video networking physical interface, and the other end of the virtual interface is connected to the internet physical interface through a video networking bridge module.
Specifically, the method may include the following modules:
an internet message receiving module 1101, configured to receive, through the internet physical interface, an internet message sent by the internet device for the video networking device;
an internet message forwarding module 1102, configured to send the internet message to the video bridge module, and send the internet message to the virtual interface through the video bridge module;
a second message conversion module 1103, configured to convert the internet message into a video network message according to the virtual interface;
and the video networking message sending module 1104 is configured to send the video networking message to the video networking physical interface through the virtual interface, and send the video networking message to the video networking device through the video networking physical interface.
In an embodiment of the present invention, the second packet conversion module 1103 may include the following sub-modules:
the packet sending function determining submodule is used for determining a packet sending function corresponding to the virtual interface;
and the Internet message conversion sub-module is used for converting the Internet message into a video networking message through the packet sending function.
In an embodiment of the present invention, the internet message forwarding module 1102 may include the following sub-modules:
the first address table traversal submodule is used for acquiring a target MAC address in the Internet message and traversing an MAC address table in the video network bridge module;
and the first virtual interface sending submodule is used for sending the internet message to a virtual interface corresponding to the target MAC address when the MAC address table comprises the target MAC address.
In another embodiment of the present application, the internet message forwarding module 1102 may include the following sub-modules:
the second address table traversal submodule is used for acquiring a target MAC address in the Internet message and traversing the MAC address table in the video network bridge module;
a second target address learning submodule, configured to learn the target MAC address to obtain the target MAC address when the MAC address table does not include the target MAC address;
and the second virtual interface sending submodule is used for sending the internet message to a virtual interface corresponding to the target MAC address after the target MAC address is obtained.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method as described above.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the apparatus for processing a message provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A message processing method is characterized by being applied to a video network server, wherein the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module; the method comprises the following steps:
the video networking server receives a video networking message sent by the video networking equipment aiming at the Internet equipment through the video networking physical interface;
the video networking server converts the video networking message into an Internet message and sends the Internet message to the video networking bridge module through the virtual interface;
the video network server sends the internet message to the internet physical interface through the video network bridge module and sends the internet message to the internet equipment through the internet physical interface; the internet physical interface is determined according to the address of the internet physical interface of the internet equipment which is searched in the video network bridge module and used for receiving the internet message.
2. The method of claim 1, wherein the step of sending the internet message to the internet physical interface via the video bridge module comprises:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
and when the MAC address table comprises the target MAC address, the Internet message is sent to an Internet physical interface corresponding to the target MAC address.
3. The method of claim 1, wherein the step of sending the internet message to the internet physical interface via the video bridge module comprises:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
when the MAC address table does not comprise the target MAC address, learning the target MAC address to acquire the target MAC address;
and after the target MAC address is obtained, sending the internet message to an internet physical interface corresponding to the target MAC address.
4. The method of claim 1, wherein the step of converting the video networking message to an internet message comprises:
and converting the video networking message into an internet message through a protocol stack entry function.
5. A message processing method is characterized by being applied to a video network server, wherein the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module; the method comprises the following steps:
the video networking server receives an internet message sent by the internet equipment aiming at the video networking equipment through the internet physical interface;
the video network server sends the internet message to the video network bridge module and sends the internet message to the virtual interface through the video network bridge module; the virtual interface is determined according to the address of the video networking equipment which is searched in the video networking bridge module and used for receiving the internet message;
the video network server converts the internet message into a video network message according to the virtual interface;
and the video networking server sends the video networking message to the video networking physical interface through the virtual interface and sends the video networking message to the video networking equipment through the video networking physical interface.
6. The method of claim 5, wherein the step of converting the internet message to a video internet message according to the virtual interface comprises:
determining a packet sending function corresponding to the virtual interface;
and converting the internet message into a video networking message through the packet sending function.
7. The method of claim 5, wherein the step of sending the internet message to the virtual interface via the video bridge module comprises:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
and when the MAC address table comprises the target MAC address, the Internet message is sent to a virtual interface corresponding to the target MAC address.
8. The method of claim 5, wherein the step of sending the internet message to the virtual interface via the video bridge module comprises:
acquiring a target MAC address in the Internet message, and traversing an MAC address table in the video network bridge module;
when the MAC address table does not comprise the target MAC address, learning the target MAC address to acquire the target MAC address;
and after the target MAC address is obtained, sending the internet message to a virtual interface corresponding to the target MAC address.
9. A message processing device is characterized by being applied to a video network server, wherein the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module;
the device comprises:
the video networking message receiving module is used for receiving a video networking message sent by the video networking equipment aiming at the Internet equipment through the video networking physical interface;
the first message conversion module is used for converting the video networking message into an internet message and sending the internet message to the video networking bridge module through the virtual interface;
the internet message sending module is used for sending the internet message to the internet physical interface through the video network bridge module and sending the internet message to the internet equipment through the internet physical interface; the internet physical interface is determined according to the address of the internet physical interface of the internet equipment which is searched in the video network bridge module and used for receiving the internet message.
10. A message processing device is characterized by being applied to a video network server, wherein the video network server comprises a video network physical interface connected with video network equipment, an Internet physical interface connected with the Internet equipment and a virtual interface, one end of the virtual interface is connected with the video network physical interface, and the other end of the virtual interface is connected with the Internet physical interface through a video network bridge module;
the device comprises:
the internet message receiving module is used for receiving an internet message sent by the internet equipment aiming at the video networking equipment through the internet physical interface;
the internet message forwarding module is used for sending the internet message to the video network bridge module and sending the internet message to the virtual interface through the video network bridge module; the virtual interface is determined according to the address of the video networking equipment which is searched in the video networking bridge module and used for receiving the internet message;
the second message conversion module is used for converting the internet message into a video internet message according to the virtual interface;
and the video networking message sending module is used for sending the video networking message to the video networking physical interface through the virtual interface and sending the video networking message to the video networking equipment through the video networking physical interface.
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 CN110493149A (en) 2019-11-22
CN110493149B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (5)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9231848B2 (en) * 2013-11-18 2016-01-05 Futurewei Technologies, Inc. Method and system for an overlay management control network
CN109889420B (en) * 2019-01-29 2021-07-30 视联动力信息技术股份有限公司 Service processing method and device

Patent Citations (5)

* 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
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
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

Also Published As

Publication number Publication date
CN110493149A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109167960B (en) Method and system for processing video stream data
CN109617956B (en) Data processing method and device
CN109547163B (en) Method and device for controlling data transmission rate
CN110602266B (en) Domain name resolution method and system
CN110557319B (en) Message processing method and device based on video network
CN108809921B (en) Audio processing method, video networking server and video networking terminal
CN109743284B (en) Video processing method and system based on video network
CN109347844B (en) Method and device for accessing equipment to Internet
CN110650147A (en) Data acquisition method and system
CN110545244A (en) message distribution method and device
CN110493149B (en) Message processing method and device
CN111211982B (en) Data forwarding method and device, electronic equipment and storage medium
CN109889516B (en) Method and device for establishing session channel
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110022500B (en) Packet loss processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN110677315A (en) Method and system for monitoring state
CN110445701B (en) Business object processing method and device and storage medium
CN110149306B (en) Media data processing method and device
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110166443B (en) Data transmission method, device, system, network equipment and storage medium
CN109688073B (en) Data processing method and system based on video network
CN109873969B (en) Method for acquiring video data and video networking system
CN111614921A (en) Communication method and device

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