CN109818960B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109818960B
CN109818960B CN201910088233.4A CN201910088233A CN109818960B CN 109818960 B CN109818960 B CN 109818960B CN 201910088233 A CN201910088233 A CN 201910088233A CN 109818960 B CN109818960 B CN 109818960B
Authority
CN
China
Prior art keywords
video network
message
space
video
data
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
CN201910088233.4A
Other languages
Chinese (zh)
Other versions
CN109818960A (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 CN201910088233.4A priority Critical patent/CN109818960B/en
Publication of CN109818960A publication Critical patent/CN109818960A/en
Application granted granted Critical
Publication of CN109818960B publication Critical patent/CN109818960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data processing method and a data processing device, which are applied to a video network. The method comprises the following steps: the method comprises the steps that a first video networking gateway device receives an IP data message sent by a first Internet device; the first video network gateway equipment judges whether a used video network message with a residual space exists or not; when the first video network gateway equipment judges that the IP data message exists, the first video network gateway equipment encapsulates the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message; and when the first video network gateway equipment does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message. The invention can make full use of the video network messages which are used before and have residual space, avoids the waste of the residual space, makes full use of transmission bandwidth, improves the throughput parameter and improves the performance index.

Description

Data processing method and device
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a data processing method and a data processing apparatus.
Background
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.
Because the video network is based on the video network video telephone service, the data area of the video network message carrying data has fixed length, so the data transmitted in the video network all occupy the space of the fixed length of one video network message.
However, for data having a large deviation from the fixed length, when the data is transmitted in the above manner, bandwidth is wasted, throughput parameters are low, and performance indexes are not ideal.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data processing method and a corresponding data processing apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, where the method is applied in a video network, where the video network includes a first video network gateway device, and the internet includes a first internet device, and the method includes: the first video networking gateway equipment receives an IP data message sent by the first Internet equipment; the first video network gateway equipment judges whether a used video network message with a residual space exists or not; when the first video network gateway equipment judges that the IP data message exists, the first video network gateway equipment encapsulates the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message; and when the first video network gateway equipment does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message.
Optionally, the step of encapsulating the IP data packet by using the used video network packet or by using the used video network packet and an unused video network packet according to the length of the IP data packet includes: when the length of the IP data message is smaller than or equal to a first preset value, packaging the IP data message by using the residual space of the used video network message; when the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, packaging a part of the IP data message with the same length as the rest space by using the rest space of the used video network message, dividing the space of an unused video network message, and packaging the rest part of the IP data message by using the part of the space of the unused video network message; and when the length of the IP data message is larger than a second preset value, packaging the part of the IP data message with the same length as the residual space by using the residual space of the used video network message, and packaging the residual part of the IP data message by using an unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; after the step of encapsulating the IP datagram with the remaining space of the used video networking datagram, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as non-existent; after the step of encapsulating the remaining part of the IP data packet by using the part of the space of the unused video network packet, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as existing; after the step of encapsulating the remaining portion of the IP data packet with an unused video network packet, the method further comprises: and the first video network gateway equipment marks the mark corresponding to the video network tunnel for transmitting the IP data message as nonexistent.
Optionally, the step of encapsulating the IP data packet with at least one unused video network packet according to the length of the IP data packet includes: when the length of the IP data message is smaller than or equal to a first preset value, dividing the space of an unused video network message, and packaging the IP data message by using part of the space of the unused video network message; when the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, packaging the IP data message by using an unused video network message; when the length of the IP data message is larger than a second preset value, a part of the IP data message with the same length as the unused video network message is packaged by using the unused video network message, the space of the unused video network message is divided, and the rest part of the IP data message is packaged by using the part of the space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; after the step of encapsulating the IP datagram with the partial space of the unused video networking datagram, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as existing; after the step of encapsulating the IP datagram with an unused video networking datagram, further comprising: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as non-existent; after the step of encapsulating the remaining part of the IP data packet by using the part of the space of the unused video network packet, the method further includes: and the first video network gateway equipment marks the mark corresponding to the video network tunnel for transmitting the IP data message as existing.
Optionally, the first preset value is equal to one half of the length of the video network message, and the second preset value is equal to the length of the video network message; the step of dividing the space of an unused video network message and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message comprises the following steps: dividing a space average of unused video network messages into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the step of judging whether the used video network message with the residual space exists by the first video network gateway equipment comprises the following steps: the first video network gateway equipment acquires a mark corresponding to a video network tunnel for transmitting the IP data message; when the mark is marked as existing, the first video network gateway equipment judges that the mark exists; and when the mark is marked to be absent, judging that the mark is absent.
Optionally, a second video network gateway device and a video network server are further included in the video network, and a second internet device is further included in the internet; the method further comprises the following steps: the first video network gateway equipment forwards the used video network messages which are packaged with the IP data messages and have no residual space to the second video network gateway equipment through the video network server; and the second video network gateway equipment analyzes the used video network message which is packaged with the IP data message and has no residual space to obtain the IP data message, and sends the IP data message to the second internet equipment.
Optionally, the method further comprises: and when the first video network gateway equipment detects that the residence time of the used video network messages with the residual space exceeds a set time threshold value, forwarding the used video network messages with the residual space to the second video network gateway equipment through the video network server.
On the other hand, the embodiment of the invention also discloses a data processing device, which is applied to the video network, wherein the video network comprises a first video network gateway device, the internet comprises a first internet device, and the first video network gateway device comprises: the receiving module is used for receiving the IP data message sent by the first Internet equipment; the judging module is used for judging whether the used video networking message with the residual space exists or not; the first encapsulation module is used for encapsulating the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message when the judgment result is that the IP data message exists; and the second packaging module is used for packaging the IP data message by utilizing at least one unused video network message according to the length of the IP data message when the judgment result is that the IP data message does not exist.
Optionally, the first package module includes: the first encapsulation submodule is used for encapsulating the IP data message by using the residual space of the used video network message when the length of the IP data message is less than or equal to a first preset value; a second encapsulation submodule, configured to encapsulate, when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value, a portion of the IP data packet having the same length as the remaining space in the used video packet by using the remaining space of the used video packet, divide a space in which the video packet is not used, and encapsulate the remaining portion of the IP data packet by using the space in which the video packet is not used; and the third encapsulation submodule is used for encapsulating the part of the IP data message with the same length as the residual space by using the residual space of the used video network message and encapsulating the residual part of the IP data message by using an unused video network message when the length of the IP data message is larger than a second preset value.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the first video networking gateway device further comprises: the first marking module is used for marking a mark corresponding to a video network tunnel for transmitting the IP data message as nonexistence after the first packaging sub-module utilizes the residual space of the used video network message to package the IP data message; a second marking module, configured to mark, after the second encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present; a third marking module, configured to mark, after the third encapsulation sub-module encapsulates the remaining part of the IP data packet with an unused video network packet, that a flag corresponding to a video network tunnel used for transmitting the IP data packet is not present.
Optionally, the second package module includes: a fourth encapsulation submodule, configured to partition a space where the video network packet is not used when the length of the IP data packet is less than or equal to a first preset value, and encapsulate the IP data packet using a part of the space where the video network packet is not used; a fifth encapsulation submodule, configured to encapsulate the IP data packet using an unused video network packet when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value; and the sixth packaging submodule is used for packaging a part of the IP data message with the same length as the unused video network message by using the unused video network message when the length of the IP data message is larger than a second preset value, dividing the space of the unused video network message, and packaging the rest part of the IP data message by using the part of the space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the first video networking gateway device further comprises: a fourth marking module, configured to mark, after the fourth encapsulation sub-module encapsulates the IP data packet using the partial space of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present; a fifth marking module, configured to mark, after the fifth encapsulation sub-module encapsulates the IP data packet with an unused video network packet, that a flag corresponding to a video network tunnel used for transmitting the IP data packet is absent; a sixth marking module, configured to mark, after the sixth encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as existence.
Optionally, the first preset value is equal to one half of the length of the video network message, and the second preset value is equal to the length of the video network message; the step of dividing the space of an unused video network message and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message comprises the following steps: dividing a space average of unused video network messages into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the judging module comprises: the obtaining submodule is used for obtaining a mark corresponding to a video network tunnel for transmitting the IP data message; the determining submodule is used for judging that the mark exists when the mark is marked to exist; and when the mark is marked to be absent, judging that the mark is absent.
Optionally, a second video network gateway device and a video network server are further included in the video network, and a second internet device is further included in the internet; the first video networking gateway device further comprises: the first forwarding module is used for forwarding the used video network message which is packaged with the IP data message and has no residual space to the second video network gateway equipment through the video network server; the second video networking gateway device comprises: and the sending module is used for analyzing the used video network message which is packaged with the IP data message and has no residual space, obtaining the IP data message and sending the IP data message to the second internet equipment.
Optionally, the first video networking gateway device further comprises: the second forwarding module is used for forwarding the used video network messages with the residual space to the second video network gateway device through the video network server when detecting that the residence time of the used video network messages with the residual space exceeds a set time threshold.
In the embodiment of the invention, a first video networking gateway device receives an IP data message sent by a first Internet device; the first video network gateway equipment judges whether a used video network message with a residual space exists or not; when the first video network gateway equipment judges that the IP data message exists, the first video network gateway equipment encapsulates the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message; and when the first video network gateway equipment does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message. Therefore, when the IP data message is encapsulated, the video network message which is used before and has the residual space can be fully utilized, the waste of the residual space is avoided, the transmission bandwidth is fully utilized, the throughput parameter is improved, and the performance index is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of steps of a data processing method according to a first embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a data processing method according to a second embodiment of the present invention;
fig. 7 is a diagram illustrating IP data packet encapsulation in the related art;
fig. 8 is a schematic diagram of IP data packet encapsulation according to a second embodiment of the present invention;
fig. 9 is a block diagram of a data processing apparatus according to a third 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.
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: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination 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 data packets, and is 64 bytes if the data packet is a variety of protocol packets, and is 32+1024 or 1056 bytes if the data packet is a unicast data 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.
Based on the characteristics of the video network, the data processing scheme provided by the embodiment of the invention follows the protocol of the video network, and fully utilizes the transmission bandwidth and improves the throughput parameter when data is transmitted in the video network.
Example one
The data processing method of the embodiment of the invention can be applied to the video network, the video network can comprise a first video network gateway device, and the internet can comprise a first internet device.
Referring to fig. 5, a flowchart illustrating steps of a data processing method according to a first embodiment of the present invention is shown.
The data processing method of the embodiment of the invention can comprise the following steps:
step 501, a first video network gateway device receives an IP data packet sent by the first internet device.
The first Internet device processes data based on an Internet Protocol, and therefore, after the data to be transmitted is encapsulated into an IP (Internet Protocol) data packet, the first Internet device transmits the IP data packet to the first video network gateway device through the Internet. The IP data packet may include an IP header and a data segment.
Step 502, the first video network gateway device determines whether there is a used video network message with a remaining space. If so, step 503 is executed, and if not, step 504 is executed.
If the IP data message is to be transmitted in the video network, the IP data message is encapsulated by the video network message. The video network message is a message transmitted in a video network link and consists of a video network packet header and a message carrying data segment. The video network packet header refers to a header of a video network message, and includes information such as a Media Access Control (MAC) address and a video network protocol. The data section of the bearer message is a data area for bearing an IP data message in the video networking message.
In the embodiment of the invention, because the video networking message has the fixed length, if the video networking message with the fixed length is adopted to encapsulate the IP data message no matter how long the IP data message is, the waste of the video networking message space is caused. Therefore, after receiving the IP data packet, the first video network gateway device does not directly encapsulate the IP data packet with a new video network packet, but first determines whether there is a used video network packet with a remaining space. The used video network message with the remaining space means that part of the space of the video network message is encapsulated with the IP data message before, that is, part of the space is used, but there is still remaining unused space.
Step 503, when the first video network gateway device determines that the IP data packet exists, the first video network gateway device encapsulates the IP data packet according to the length of the IP data packet, using the used video network packet, or using the used video network packet and the unused video network packet.
And if the first video network gateway equipment has the judgment result that the IP data message exists, according to the length of the IP data message, if the residual space in the used video network message with the residual space can bear all the IP data messages, the IP data message can be packaged by using the residual space in the used video network message with the residual space. And if the residual space in the used video network message with the residual space can not bear all IP data messages, packaging a part of the IP data messages by using the residual space of the used video network message with the residual space, and packaging the rest of the IP data messages by using the space which does not use the video network message.
And step 504, when the first video network gateway device does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message.
And if the first video network gateway equipment does not exist according to the judgment result, if the space which does not use the video network message can bear all the IP data messages according to the length of the IP data messages, the IP data messages can be packaged by utilizing the space which does not use the video network message. If the space which does not use the video network message can not bear all IP data messages, a part of the IP data messages is packaged by using the space which does not use the video network message, and the rest part of the IP data messages is packaged by using the space which does not use the video network message.
When the IP data message is packaged, the video network message which is used before and has the residual space can be fully utilized, the waste of the residual space is avoided, the transmission bandwidth is fully utilized, the throughput parameter is improved, and the performance index is improved.
Example two
The data processing method of the embodiment of the invention can be applied to the video network. A first, second, and an internet-of-view server (which may be the node server described above) may be included in the internet-of-view. The first and second video network gateway devices are both registered in the video network server for access to the video network. After registration, dialing is carried out between the first video network gateway equipment and the second video network gateway equipment so as to establish connection between the first video network gateway equipment and the second video network gateway equipment, and the connection relation between the first video network gateway equipment and the second video network gateway equipment can be stored in the video network server.
The first video network gateway device may include a plurality of virtual terminals, each virtual terminal corresponds to one video network tunnel, and after the first video network gateway device is registered in the video network server, the video network server may allocate information such as a video network MAC address and a video network number to each virtual terminal in the first video network gateway device. The second video network gateway device may include a plurality of virtual terminals, each virtual terminal corresponds to one video network tunnel, and after the second video network gateway device is registered in the video network server, the video network server may allocate information such as a video network MAC address and a video network number to each virtual terminal in the second video network gateway device. The corresponding connection relation between the virtual terminal (namely, the video networking tunnel) in the first video networking gateway device and the virtual terminal (namely, the video networking tunnel) in the second video networking gateway device can be stored in the video networking server. In the implementation, the connection relationship between the first video network gateway device and the second video network gateway device can be embodied by storing the corresponding connection relationship between the video network MAC address of the virtual terminal in the first video network gateway device and the video network MAC address of the virtual terminal in the second video network gateway device.
For example, the video networking gateway device may include an upper video networking Modem (Modem) and a lower video networking Modem. The superior video networking Modem can be used as a first video networking gateway device and can also be used as a second video networking gateway device. Similarly, the lower-level video networking Modem can be used as a first video networking gateway device and can also be used as a second video networking gateway device. One upper internet of view Modem can be connected to a plurality of lower internet of view modems.
The first internet device and the second internet device may be included in the internet. For example, the internet appliance may include a web server and a web client. The network disk server can be used as a first internet gateway device and can also be used as a second internet gateway device. Similarly, the network disk client may serve as a first internet gateway device, and may also serve as a second internet gateway device. The network disk server is a video network data storage network disk system. The network disk client may be client software installed on a PC (personal computer), a mobile phone, a tablet computer, or the like, and is used for logging in a network disk server, reading and writing network disk data, and the like.
For example, the first internet device is a network disk client, the first video network gateway device is a lower-level video network Modem, the second video network gateway device is a higher-level video network Modem, and the second internet device is a network disk server. Or, the first internet device is a network disk server, the first video network gateway device is a superior video network Modem, the second video network gateway device is a subordinate video network Modem, and the second internet device is a network disk client.
Referring to fig. 6, a flowchart illustrating steps of a data processing method according to a second embodiment of the present invention is shown.
The data processing method of the embodiment of the invention can comprise the following steps:
step 601, the first video network gateway device receives the IP data packet sent by the first internet device.
The first internet equipment and the first video network gateway equipment are communicated based on an internet protocol, the first video network gateway equipment and the second video network gateway equipment are communicated based on a video network protocol, and the second video network gateway equipment and the second internet equipment are communicated based on an internet protocol.
And the first Internet equipment encapsulates the IP data to be sent to the first video network gateway equipment into an IP data message, and sends the IP data message to the first video network gateway equipment.
In step 602, the first video network gateway device determines whether there is a used video network message with a remaining space. If present, step 603 is executed, and if not, step 604 is executed.
The first video network gateway device receives the IP data message, and because the IP data message is transmitted in the video network, the first video network gateway device encapsulates the IP data message by using the video network message.
The first video Network gateway device includes a plurality of ports, such as Virtual Local Area Network (VLAN) ports, for communicating with the first internet device, where each port corresponds to a video Network tunnel. Therefore, the first video network gateway device can determine the video network tunnel corresponding to the port for transmitting the IP data message through the port for receiving the IP data message sent by the first internet device.
Each video network tunnel corresponds to a mark, and the mark is used for marking whether the used video network message with the residual space exists in the video network tunnel. Thus, step 602 may comprise: the method comprises the steps that a first video network gateway device obtains a mark corresponding to a video network tunnel used for transmitting an IP data message; when the mark is marked as existing, judging that the mark exists; and when the mark is marked to be absent, judging that the mark is absent.
Step 603, when the first video network gateway device determines that the IP data packet exists, the first video network gateway device encapsulates the IP data packet according to the length of the IP data packet by using the used video network packet, or by using the used video network packet and the unused video network packet.
The video networking message has a fixed length. Because the length of the IP data packet is more, if the IP data packet is classified in detail according to all the lengths, the problem cannot be solved well, and the complexity of the problem is increased. Therefore, in the embodiment of the present invention, in consideration of the actual situation of the IP data packet, for example, the IP data packet with a large length (for example, the length of more than 1 video network packet and less than 1.5 video network packets) is more, and in order to simplify the complexity of the processing process, the IP data packet may be divided into three types, one type is the IP data packet with the length less than or equal to the first preset value, one type is the IP data packet with the length greater than the first preset value and less than or equal to the second preset value, and the other type is the IP data packet with the length greater than the second preset value. The first preset value may be set to be equal to one half of the length of the video network packet, and the second preset value may be set to be equal to the length of the video network packet.
Step 603 may include:
a1, when the length of the IP data message is less than or equal to a first preset value, using the residual space of the used video network message to package the IP data message.
When the length of the IP data packet is less than or equal to the first preset value, the remaining space of the used video network packet can carry all the IP data packets, so that the IP data packet can be encapsulated by using the remaining space of the used video network packet.
After encapsulating the IP data packet with the remaining space of the used video packet, the first video gateway device may further mark a flag corresponding to a video tunnel for transmitting the IP data packet as not present.
A2, when the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, packaging the part of the IP data message with the same length as the residual space by using the residual space of the used video network message, dividing the space of an unused video network message, and packaging the residual part of the IP data message by using the partial space of the unused video network message.
When the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value, the remaining space of the used video network packet may carry part of the IP data packet, so that the remaining space of the used video network packet may be used to encapsulate part of the IP data packet, and the unused video network packet may be used to encapsulate the remaining part of the IP data packet.
Because the length of the IP data message is less than or equal to the second preset value, when the unused video network message is utilized, the rest part of the IP data message can be encapsulated by utilizing a part of space of the unused video network message. Therefore, dividing the space of an unused video network message, and encapsulating the remaining part of the IP data message by using the part of the space of the unused video network message may include: dividing a space average of unused video network messages into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message. At this time, the unused video network message becomes a used video network message, and the used video network message has a remaining space, which is the next space of the used video network message.
After encapsulating the remaining part of the IP data packet with the part of the unused space of the video network packet, the first video network gateway device may further mark a flag corresponding to a video network tunnel for transmitting the IP data packet as present. The existing used video network message with the remaining space, namely the used video network message with the remaining space as the next space.
And A3, when the length of the IP data message is larger than a second preset value, encapsulating the part of the IP data message with the same length as the residual space by using the residual space of the used video network message, and encapsulating the residual part of the IP data message by using an unused video network message.
When the length of the IP data packet is greater than a second preset value, the remaining space of the used video network packet may carry part of the IP data packet, so that the remaining space of the used video network packet may be used to encapsulate part of the IP data packet, and the remaining part of the IP data packet may be encapsulated by an unused video network packet.
Because the length of the IP data message is greater than the second preset value (and less than the length of 1.5 video network messages), when the unused video network message is utilized, the space of the unused video network message can not be divided, and the rest part of the IP data message is encapsulated by utilizing the space of the unused video network message.
After encapsulating the remaining portion of the IP data packet with an unused video packet, the first video gateway device may further mark a flag corresponding to a video tunnel used to transmit the IP data packet as not present.
And step 604, when the first video network gateway device does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message.
Step 604 may include:
and B1, when the length of the IP data message is less than or equal to a first preset value, dividing a space of the unused video network message, and packaging the IP data message by using part of the space of the unused video network message.
When the length of the IP data packet is less than or equal to a first preset value, one unused video network packet may carry all IP data packets, and a partial space of one unused video network packet may be used to encapsulate all IP data packets.
Dividing a space of an unused video network message, and encapsulating the IP data message by using a part of the space of the unused video network message may include: dividing a space average of unused video network messages into two spaces; and packaging all IP data messages by using the previous space of the unused video network messages. At this time, the unused video network message becomes a used video network message, and the used video network message has a remaining space, which is the next space of the used video network message.
After encapsulating the IP data packet with the partial space of the unused video network packet, the first video network gateway device may further mark a flag corresponding to a video network tunnel used for transmitting the IP data packet as present. The existing used video network message with the remaining space, namely the used video network message with the remaining space as the next space.
And B2, when the length of the IP data message is greater than a first preset value and less than or equal to a second preset value, encapsulating the IP data message by using an unused video network message.
When the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, one unused video network message can bear all the IP data messages, the space of the unused video network message can not be divided, and the space of the unused video network message is utilized to encapsulate all the IP data messages.
After encapsulating the IP datagram with an unused internet of view packet, the first internet of view gateway device may also mark the corresponding flag of the internet of view tunnel used to transmit the IP datagram as not present.
And B3, when the length of the IP data message is larger than a second preset value, encapsulating a part of the IP data message with the same length as the unused video network message by using an unused video network message, dividing the space of the unused video network message, and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message.
When the length of the IP data message is larger than a second preset value, an unused video network message can bear part of the IP data message, so that the part of the IP data message can be encapsulated by utilizing the space of the unused video network message, and the rest part of the IP data message can be encapsulated by utilizing the unused video network message.
When the remaining part of the IP data packet is encapsulated by an unused video network packet, the remaining part of the IP data packet can be encapsulated by a part of the space of the unused video network packet. Therefore, the step of dividing the space of an unused video network message, and encapsulating the remaining part of the IP data message by using the part of the space of the unused video network message may include: then, the space of an unused video network message is averagely divided into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message. At this time, the unused video network message becomes a used video network message, and the used video network message has a remaining space, which is the next space of the used video network message.
After encapsulating the remaining part of the IP data packet with the part of the unused space of the video network packet, the first video network gateway device may further mark a flag corresponding to a video network tunnel for transmitting the IP data packet as present. The existing used video network message with the remaining space, namely the used video network message with the remaining space as the next space.
Step 605, the first video network gateway device forwards the used video network packet, which is encapsulated with the IP data packet and has no remaining space, to the second video network gateway device through the video network server.
After the first video network gateway device encapsulates the IP data packet, the used video network packet that encapsulates the IP data packet and has no remaining space may be forwarded to the second video network gateway device via the video network server. And temporarily retaining the used video network message which encapsulates the IP data message and has the residual space.
The video network packet header may include information such as a source address and a destination address, where the source address may be a video network MAC address of a virtual terminal corresponding to a video network tunnel used in the first video network gateway device for transmitting the IP data packet, and the destination address may be a video network MAC address of a video network server. And the first video network gateway equipment transmits the used video network messages which are packaged with the IP data messages and have no residual space to a video network server through the video network. After the video networking server receives the used video networking message which encapsulates the IP data message and has no residual space, the video networking server can search the virtual terminal video networking MAC address in the second video networking gateway device corresponding to the video networking MAC address of the virtual terminal in the first video networking gateway device, which is included in the video networking packet header, according to the corresponding connection relation of the video networking MAC address of the virtual terminal in the first video networking gateway device and the virtual terminal video networking MAC address in the second video networking gateway device, which is stored in advance. And modifying a source address and a destination address in a packet header of the video network message, wherein the source address is modified into a video network MAC address of the video network server, the destination address is modified into a found virtual terminal video network MAC address in the second video network gateway device, and the used video network message which encapsulates the IP data message and has no residual space is sent to a corresponding video network tunnel of the second video network gateway device according to the found virtual terminal video network MAC address in the second video network gateway device.
And 606, the second video network gateway device analyzes the used video network message which encapsulates the IP data message and has no residual space to obtain the IP data message, and sends the IP data message to the second internet device.
And after receiving the used video network message which encapsulates the IP data message and has no residual space, the second video network gateway equipment analyzes the used video network message to obtain the IP data message.
The second video network gateway device includes a plurality of ports, such as VLAN ports, each port corresponding to a video network tunnel, for communicating with the second internet device. Therefore, the second video network gateway device can determine the port corresponding to the video network tunnel for transmitting the IP data message by receiving the video network tunnel which is sent by the video network weapon, encapsulates the IP data message and has no used video network message of the remaining space. And the second video network gateway equipment sends the IP data message obtained by analysis to the second internet equipment through the port for transmitting the IP data message.
In an alternative embodiment, in order to guarantee performance parameters such as tunnel delay, jitter, and the like, the residence time of the first video network gateway device having the used video network packet with the remaining space may be limited. For example, the time may be set when the used video network packet with the remaining space starts to be retained after the IP data packet is encapsulated, and whether the retention time of the used video network packet with the remaining space exceeds the set time threshold may be detected in real time. When the retention time of the used video network message with the residual space is detected to exceed a set time threshold, the used video network message with the residual space is forwarded to the second video network gateway device through the video network server, and the first video network gateway device can also mark the corresponding mark of the video network tunnel for transmitting the IP data message as non-existent. And the second video network gateway equipment analyzes the packaged IP data message and the used video network message with the residual space to obtain the IP data message and sends the IP data message to the second internet equipment. The specific process may refer to the related descriptions of step 605 and step 606.
The data processing method of the embodiment of the invention can be applied to various application scenes with data transmission, such as throughput testing and the like. In the following, the throughput testing process is taken as an example, and the values are only for illustration and not for limitation of the embodiment of the present invention.
Throughput refers to the maximum data rate that a device can receive and forward without frame loss. Throughput is an important test parameter as a measure of the performance of an internet-of-view tunnel. When testing the throughput of the tunnel of the video network, the IP data packets with different lengths, such as 64 bytes, 128 bytes, 512 bytes, 1024 bytes, 1518 bytes, can be used to test the corresponding throughput with different lengths respectively, which can reflect the throughput capability of the tunnel of the video network in detail. However, since the video network tunnel is based on the video network videophone service, the video network packet has a fixed length, for example, the video network packet header of the video network packet is 64 bytes, and the data segment of the bearer packet is 1024 bytes, when a packet with a large deviation from 1024 bytes, such as 64 bytes, 128 bytes, 512 bytes, 1518 bytes, is transmitted, when the data is transmitted through the video network tunnel, the waste of bandwidth is caused, resulting in a low throughput parameter.
Referring to fig. 7, a schematic diagram of IP data packet encapsulation in the related art is shown. As can be seen from fig. 7, if the IP packet is encapsulated in this way, when the IP packet with more than 1024 bytes is transmitted, the IP packet is split into two data packets, and the two data packets are encapsulated into two video networking packets for transmission, where the first video networking packet carries the first 1024 bytes of the IP packet, and the second video networking packet carries the remaining part of the IP packet; when transmitting messages smaller than 1024, the IP messages are directly encapsulated into 1 video network message. Therefore, when carrying larger or smaller IP message transmission, the throughput of the video networking tunnel is far lower than the physical link bandwidth provided by the equipment. It should be noted that the IP packet in fig. 7 is an IP data packet in the embodiment of the present invention.
If the above problem is to be solved, there are main requirements that: 1. how to classify the IP data messages with different lengths in a complex network environment simplifies complex problems and confirms a reasonable optimization scheme according to different IP data messages. 2. Because there are many length permutation combinations of IP data packets transmitted in the network, how to randomly form packet queues with all lengths is to consider all possibilities through an algorithm, thereby realizing a great increase in throughput in the prior art. 3. How to fully utilize the video networking message to improve the throughput capability of the equipment and cannot influence the parameters of the original data link such as time delay, jitter and the like.
Because the IP data message has a minimum of 64 bytes and a maximum of 1518 bytes, if the IP data message is classified according to all fields in detail, the problem cannot be solved well, and the complexity of the problem is increased. Therefore, the IP data packets can be divided into three categories, which are 512 bytes or less, between 512 bytes and 1024 bytes, and between 1024 bytes and 1518 bytes. In other words, the IP data packets with the length less than or equal to 512 bytes are uniformly considered as a class, and the class allocates 512-byte space transmission; IP data messages with the length being more than 512 bytes and less than or equal to 1024 bytes are uniformly considered as a class, and the class allocates a complete space transmission of 1024 bytes; IP data messages with a length greater than 1024 bytes are uniformly considered as a class, and a complete space transmission of 1024 bytes and 512 bytes is allocated to the class.
To summarize, the 1024-byte space of the video networking message is divided into two cases for use: 1. using 1024 bytes of space as a complete space; 2. the space of 1024 bytes is divided into two space usages of 512 bytes.
Fig. 8 is a schematic diagram illustrating IP data packet encapsulation according to a second embodiment of the present invention. As can be seen from fig. 8, when the IP packet length is less than or equal to 512 bytes, two IP packets can be carried by using one video network packet, so that the throughput of the device is doubled. When the length of the IP message is larger than 512 bytes and smaller than or equal to 1024 bytes, the IP message directly uses a complete video network message bearer. When the IP packet length is greater than 1024 bytes, two IP packets can use 3 video networking packet bearers, achieving 1/2 throughput improvement (this case not shown in fig. 8). It should be noted that the IP packet in fig. 8 is an IP data packet in the embodiment of the present invention.
Because the implementation of the method is to ensure performance parameters such as time delay and jitter of the video network tunnel and limit the residence time of the IP data packet in the device, there are two ways to drive the transmission of the retained used video network packet with the remaining space: 1. message driving: the message is continuously sent from source to source, and the newly entered message to be forwarded pushes the remaining space for forwarding the previous message, so that the message is continuously pushed forward and continuously sent, and the performance of the tunnel of the video network is ensured in time delay jitter. 2. The timer drives the message to send: if the residence time of the used video network message with the residual space exceeds the set threshold, the video network message is sent, and the subsequent 512 bytes do not wait for the use of the subsequent IP data message any more, so that the performance of the video network tunnel is ensured in the time delay jitter.
In the implementation, each video network tunnel is provided with a flag (flag is equal to 0 or 1), wherein 0 represents that no used video network message with the residual space exists, and 1 represents that a used video network message with the residual space exists, that is, 512 bytes of the used video network message are left unused and are not sent out.
In the first case, when an IP data packet is received and the flag is 0, there are 3 cases, where the length of the IP data packet is 512 bytes or less, 1024 bytes or less and 1024 bytes or more. These 3 cases are described below separately: 1. the length of the IP data message is less than 512 bytes, the first 512 bytes of a new video network message are used for packaging the IP data message, and the mark is set to be 1 for subsequent use. 2. The length of the IP data message is more than 512 bytes and less than or equal to 1024 bytes, a new video network message is used, the IP data message is put into the space of the 1024 bytes for transmission, and the mark is still 0. 3. The length of the IP data message is larger than 1024 bytes, the IP data message is firstly fragmented, the first 1024 bytes of the first fragment are packaged by using a complete video network message and sent, the first 512 bytes of the video network message are packaged by using the second fragment, the mark is set to be 1, and the subsequent use is waited.
In the second case, when an IP data packet is received and the flag is 1, there are 3 cases, where the length of the IP data packet is smaller than or equal to 512 bytes, larger than 512 bytes, smaller than or equal to 1024 bytes, and larger than 1024 bytes. These 3 cases are described below separately: 1. the length of the IP data message is less than 512 bytes, the IP data message is packaged by using the residual 512-byte space of the used video network message with the residual space, and the mark is set to be 0. 2. The length of the IP data message is larger than 512 bytes and smaller than or equal to 1024 bytes, the first 512 bytes of the IP data message are packaged by using the residual 512 byte space of the used video network message with residual space, the residual data of the IP data message is packaged by using the first 512 bytes of a new video network message, the mark is still 1, and the IP data message is to be used subsequently. 3. The length of the IP data message is larger than 1024 bytes, the IP data message is firstly segmented, the first 512 bytes of the first segment are encapsulated by the residual 512-byte space of the used video network message with the residual space, the second segment is encapsulated by a complete video network message, and the mark is set to be 0.
The embodiment of the invention can improve the throughput capacity of the equipment and increase the bandwidth utilization rate. When testing the performance throughput parameter, the performance parameter index can be optimized, and the product performance is improved.
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.
EXAMPLE III
Referring to fig. 9, a block diagram of a data processing apparatus according to a third embodiment of the present invention is shown. The data processing device of the embodiment of the invention can be applied to the video network, wherein the video network comprises a first video network gateway device, and the internet comprises a first internet device.
The data processing device of the embodiment of the invention can comprise the following modules:
the first video networking gateway device comprises:
a receiving module 901, configured to receive an IP data packet sent by the first internet device;
a judging module 902, configured to judge whether there is a used video network packet with a remaining space;
a first encapsulation module 903, configured to encapsulate, when the determination result is that the IP data packet exists, the IP data packet by using the used video packet or by using the used video packet and an unused video packet according to the length of the IP data packet;
and a second encapsulating module 904, configured to encapsulate the IP data packet with at least one unused video network packet according to the length of the IP data packet when the determination result is that the packet does not exist.
Optionally, the first package module includes: the first encapsulation submodule is used for encapsulating the IP data message by using the residual space of the used video network message when the length of the IP data message is less than or equal to a first preset value; a second encapsulation submodule, configured to encapsulate, when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value, a portion of the IP data packet having the same length as the remaining space in the used video packet by using the remaining space of the used video packet, divide a space in which the video packet is not used, and encapsulate the remaining portion of the IP data packet by using the space in which the video packet is not used; and the third encapsulation submodule is used for encapsulating the part of the IP data message with the same length as the residual space by using the residual space of the used video network message and encapsulating the residual part of the IP data message by using an unused video network message when the length of the IP data message is larger than a second preset value.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the first video networking gateway device further comprises: the first marking module is used for marking a mark corresponding to a video network tunnel for transmitting the IP data message as nonexistence after the first packaging sub-module utilizes the residual space of the used video network message to package the IP data message; a second marking module, configured to mark, after the second encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present; a third marking module, configured to mark, after the third encapsulation sub-module encapsulates the remaining part of the IP data packet with an unused video network packet, that a flag corresponding to a video network tunnel used for transmitting the IP data packet is not present.
Optionally, the second package module includes: a fourth encapsulation submodule, configured to partition a space where the video network packet is not used when the length of the IP data packet is less than or equal to a first preset value, and encapsulate the IP data packet using a part of the space where the video network packet is not used; a fifth encapsulation submodule, configured to encapsulate the IP data packet using an unused video network packet when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value; and the sixth packaging submodule is used for packaging a part of the IP data message with the same length as the unused video network message by using the unused video network message when the length of the IP data message is larger than a second preset value, dividing the space of the unused video network message, and packaging the rest part of the IP data message by using the part of the space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the first video networking gateway device further comprises: a fourth marking module, configured to mark, after the fourth encapsulation sub-module encapsulates the IP data packet using the partial space of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present; a fifth marking module, configured to mark, after the fifth encapsulation sub-module encapsulates the IP data packet with an unused video network packet, that a flag corresponding to a video network tunnel used for transmitting the IP data packet is absent; a sixth marking module, configured to mark, after the sixth encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as existence.
Optionally, the first preset value is equal to one half of the length of the video network message, and the second preset value is equal to the length of the video network message; the step of dividing the space of an unused video network message and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message comprises the following steps: dividing a space average of unused video network messages into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message.
Optionally, the first video networking gateway device includes a plurality of video networking tunnels, and each video networking tunnel corresponds to one of the marks; the judging module comprises: the obtaining submodule is used for obtaining a mark corresponding to a video network tunnel for transmitting the IP data message; the determining submodule is used for judging that the mark exists when the mark is marked to exist; and when the mark is marked to be absent, judging that the mark is absent.
Optionally, a second video network gateway device and a video network server are further included in the video network, and a second internet device is further included in the internet; the first video networking gateway device further comprises: the first forwarding module is used for forwarding the used video network message which is packaged with the IP data message and has no residual space to the second video network gateway equipment through the video network server; the second video networking gateway device comprises: and the sending module is used for analyzing the used video network message which is packaged with the IP data message and has no residual space, obtaining the IP data message and sending the IP data message to the second internet equipment.
Optionally, the first video networking gateway device further comprises: the second forwarding module is used for forwarding the used video network messages with the residual space to the second video network gateway device through the video network server when detecting that the residence time of the used video network messages with the residual space exceeds a set time threshold.
When the IP data message is packaged, the video network message which is used before and has the residual space can be fully utilized, the waste of the residual space is avoided, the transmission bandwidth is fully utilized, the throughput parameter is improved, and the performance index is improved.
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.
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 data processing method and the data processing apparatus provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples 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 (18)

1. A data processing method applied to a video network, wherein the video network comprises a first video network gateway device, and the internet comprises a first internet device, the method comprising:
the first video networking gateway equipment receives an IP data message sent by the first Internet equipment;
the first video network gateway equipment judges whether a used video network message with a residual space exists or not;
when the first video network gateway equipment judges that the IP data message exists, the first video network gateway equipment encapsulates the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message; wherein utilizing the used and unused video networking messages comprises at least: utilizing the previous space of the used video network message and an unused video network message, the previous space of the unused video network message being: the former space of the two spaces divided by the space average of the unused video network messages is divided;
and when the first video network gateway equipment does not exist according to the judgment result, encapsulating the IP data message by using at least one unused video network message according to the length of the IP data message.
2. The method of claim 1, wherein the step of encapsulating the IP datagram with the used internet of view datagram or with the used internet of view datagram and an unused internet of view datagram according to the length of the IP datagram comprises:
when the length of the IP data message is smaller than or equal to a first preset value, packaging the IP data message by using the residual space of the used video network message;
when the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, packaging a part of the IP data message with the same length as the rest space by using the rest space of the used video network message, dividing the space of an unused video network message, and packaging the rest part of the IP data message by using the part of the space of the unused video network message;
and when the length of the IP data message is larger than a second preset value, packaging the part of the IP data message with the same length as the residual space by using the residual space of the used video network message, and packaging the residual part of the IP data message by using an unused video network message.
3. The method of claim 2, wherein a plurality of video network tunnels are included in the first video network gateway device, one marker for each video network tunnel;
after the step of encapsulating the IP datagram with the remaining space of the used video networking datagram, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as non-existent;
after the step of encapsulating the remaining part of the IP data packet by using the part of the space of the unused video network packet, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as existing;
after the step of encapsulating the remaining portion of the IP data packet with an unused video network packet, the method further comprises: and the first video network gateway equipment marks the mark corresponding to the video network tunnel for transmitting the IP data message as nonexistent.
4. The method of claim 1, wherein encapsulating the IP datagram with at least one unused video network datagram according to the length of the IP datagram comprises:
when the length of the IP data message is smaller than or equal to a first preset value, dividing the space of an unused video network message, and packaging the IP data message by using part of the space of the unused video network message;
when the length of the IP data message is larger than a first preset value and smaller than or equal to a second preset value, packaging the IP data message by using an unused video network message;
when the length of the IP data message is larger than a second preset value, a part of the IP data message with the same length as the unused video network message is packaged by using the unused video network message, the space of the unused video network message is divided, and the rest part of the IP data message is packaged by using the part of the space of the unused video network message.
5. The method of claim 4, wherein a plurality of video network tunnels are included in the first video network gateway device, one marker for each video network tunnel;
after the step of encapsulating the IP datagram with the partial space of the unused video networking datagram, the method further includes: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as existing;
after the step of encapsulating the IP datagram with an unused video networking datagram, further comprising: the first video network gateway equipment marks a mark corresponding to a video network tunnel for transmitting the IP data message as non-existent;
after the step of encapsulating the remaining part of the IP data packet by using the part of the space of the unused video network packet, the method further includes: and the first video network gateway equipment marks the mark corresponding to the video network tunnel for transmitting the IP data message as existing.
6. The method according to claim 2 or 4, wherein the first predetermined value is equal to one half of the length of the video network message, and the second predetermined value is equal to the length of the video network message;
the step of dividing the space of an unused video network message and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message comprises the following steps:
dividing a space average of unused video network messages into two spaces;
and encapsulating the rest part in the IP data message by using the previous space of the unused video network message.
7. The method of claim 1, 3 or 5, wherein a plurality of video network tunnels are included in the first video network gateway device, each video network tunnel corresponding to a marker; the step of judging whether the used video network message with the residual space exists by the first video network gateway equipment comprises the following steps:
the first video network gateway equipment acquires a mark corresponding to a video network tunnel for transmitting the IP data message;
when the mark is marked as existing, the first video network gateway equipment judges that the mark exists; and when the mark is marked to be absent, judging that the mark is absent.
8. The method of claim 1, further comprising a second internet gateway device and an internet server in the internet, further comprising a second internet device in the internet; the method further comprises the following steps:
the first video network gateway equipment forwards the used video network messages which are packaged with the IP data messages and have no residual space to the second video network gateway equipment through the video network server;
and the second video network gateway equipment analyzes the used video network message which is packaged with the IP data message and has no residual space to obtain the IP data message, and sends the IP data message to the second internet equipment.
9. The method of claim 8, further comprising:
and when the first video network gateway equipment detects that the residence time of the used video network messages with the residual space exceeds a set time threshold value, forwarding the used video network messages with the residual space to the second video network gateway equipment through the video network server.
10. A data processing apparatus, wherein the apparatus is applied in a video network, and includes a first video network gateway device in the video network, and includes a first internet device in the internet, and the first video network gateway device includes:
the receiving module is used for receiving the IP data message sent by the first Internet equipment;
the judging module is used for judging whether the used video networking message with the residual space exists or not;
the first encapsulation module is used for encapsulating the IP data message by utilizing the used video network message or utilizing the used video network message and the unused video network message according to the length of the IP data message when the judgment result is that the IP data message exists; wherein utilizing the used and unused video networking messages comprises at least: utilizing the previous space of the used video network message and an unused video network message, the previous space of the unused video network message being: the former space of the two spaces divided by the space average of the unused video network messages is divided;
and the second packaging module is used for packaging the IP data message by utilizing at least one unused video network message according to the length of the IP data message when the judgment result is that the IP data message does not exist.
11. The apparatus of claim 10, wherein the first encapsulation module comprises:
the first encapsulation submodule is used for encapsulating the IP data message by using the residual space of the used video network message when the length of the IP data message is less than or equal to a first preset value;
a second encapsulation submodule, configured to encapsulate, when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value, a portion of the IP data packet having the same length as the remaining space in the used video packet by using the remaining space of the used video packet, divide a space in which the video packet is not used, and encapsulate the remaining portion of the IP data packet by using the space in which the video packet is not used;
and the third encapsulation submodule is used for encapsulating the part of the IP data message with the same length as the residual space by using the residual space of the used video network message and encapsulating the residual part of the IP data message by using an unused video network message when the length of the IP data message is larger than a second preset value.
12. The apparatus of claim 11, wherein the first video network gateway device comprises a plurality of video network tunnels, each video network tunnel corresponding to a marker; the first video networking gateway device further comprises:
the first marking module is used for marking a mark corresponding to a video network tunnel for transmitting the IP data message as nonexistence after the first packaging sub-module utilizes the residual space of the used video network message to package the IP data message;
a second marking module, configured to mark, after the second encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present;
and the third marking module is used for marking the mark corresponding to the video network tunnel for transmitting the IP data message as nonexistent after the third packaging sub-module utilizes an unused video network message to package the rest part in the IP data message.
13. The apparatus of claim 10, wherein the second encapsulation module comprises:
a fourth encapsulation submodule, configured to partition a space where the video network packet is not used when the length of the IP data packet is less than or equal to a first preset value, and encapsulate the IP data packet using a part of the space where the video network packet is not used;
a fifth encapsulation submodule, configured to encapsulate the IP data packet using an unused video network packet when the length of the IP data packet is greater than a first preset value and less than or equal to a second preset value;
and the sixth packaging submodule is used for packaging a part of the IP data message with the same length as the unused video network message by using the unused video network message when the length of the IP data message is larger than a second preset value, dividing the space of the unused video network message, and packaging the rest part of the IP data message by using the part of the space of the unused video network message.
14. The apparatus of claim 13, wherein the first video network gateway device comprises a plurality of video network tunnels, each video network tunnel corresponding to a marker; the first video networking gateway device further comprises:
a fourth marking module, configured to mark, after the fourth encapsulation sub-module encapsulates the IP data packet using the partial space of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as present;
a fifth marking module, configured to mark, after the fifth encapsulation sub-module encapsulates the IP data packet with an unused video network packet, that a flag corresponding to a video network tunnel used for transmitting the IP data packet is absent;
a sixth marking module, configured to mark, after the sixth encapsulation sub-module encapsulates the remaining part of the IP data packet using the part of the unused video network packet, a flag corresponding to a video network tunnel used for transmitting the IP data packet as existence.
15. The apparatus according to claim 11 or 13, wherein the first predetermined value is equal to one-half of the length of the video network packet, and the second predetermined value is equal to the length of the video network packet; the step of dividing the space of an unused video network message and encapsulating the rest part of the IP data message by using the part of the space of the unused video network message comprises the following steps: dividing a space average of unused video network messages into two spaces; and encapsulating the rest part in the IP data message by using the previous space of the unused video network message.
16. The apparatus of claim 10, 12 or 14, wherein a plurality of video network tunnels are included in the first video network gateway device, one marker for each video network tunnel; the judging module comprises:
the obtaining submodule is used for obtaining a mark corresponding to a video network tunnel for transmitting the IP data message;
the determining submodule is used for judging that the mark exists when the mark is marked to exist; and when the mark is marked to be absent, judging that the mark is absent.
17. The apparatus of claim 10, further comprising a second internet gateway device and an internet server in the internet of view, further comprising a second internet device in the internet;
the first video networking gateway device further comprises: the first forwarding module is used for forwarding the used video network message which is packaged with the IP data message and has no residual space to the second video network gateway equipment through the video network server;
the second video networking gateway device comprises: and the sending module is used for analyzing the used video network message which is packaged with the IP data message and has no residual space, obtaining the IP data message and sending the IP data message to the second internet equipment.
18. The apparatus of claim 17, wherein the first video networking gateway device further comprises:
the second forwarding module is used for forwarding the used video network messages with the residual space to the second video network gateway device through the video network server when detecting that the residence time of the used video network messages with the residual space exceeds a set time threshold.
CN201910088233.4A 2019-01-29 2019-01-29 Data processing method and device Active CN109818960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910088233.4A CN109818960B (en) 2019-01-29 2019-01-29 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910088233.4A CN109818960B (en) 2019-01-29 2019-01-29 Data processing method and device

Publications (2)

Publication Number Publication Date
CN109818960A CN109818960A (en) 2019-05-28
CN109818960B true CN109818960B (en) 2021-07-09

Family

ID=66605787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910088233.4A Active CN109818960B (en) 2019-01-29 2019-01-29 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109818960B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417792B (en) * 2019-08-02 2021-11-09 视联动力信息技术股份有限公司 Communication method, system, gateway device and storage medium
CN111181872A (en) * 2019-11-19 2020-05-19 视联动力信息技术股份有限公司 Data processing method and device
CN112866079B (en) * 2020-12-31 2022-10-28 广州技象科技有限公司 Method, device and equipment for transmitting regular messages based on Internet of things and storage medium
CN112367409B (en) * 2021-01-14 2021-04-27 广州技象科技有限公司 Internet of things node data transmission control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0992160A1 (en) * 1997-06-26 2000-04-12 Citrix Systems, Inc. System for adaptive video/audio transport over a network
EP1227615A1 (en) * 2000-08-08 2002-07-31 Semiconductores Investigaci n Y Diseno S.A. -(SIDSA) Methods and systems for the broadcast internet, audio or video contents without prior agreement with the service provider or return channel
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN103595660A (en) * 2013-11-04 2014-02-19 上海数字电视国家工程研究中心有限公司 IP data packet encapsulating method and method for compressing packet head of data packet
CN108173895A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 A kind of communication means and device
CN108882008A (en) * 2017-10-23 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of data conversion

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0992160A1 (en) * 1997-06-26 2000-04-12 Citrix Systems, Inc. System for adaptive video/audio transport over a network
EP1227615A1 (en) * 2000-08-08 2002-07-31 Semiconductores Investigaci n Y Diseno S.A. -(SIDSA) Methods and systems for the broadcast internet, audio or video contents without prior agreement with the service provider or return channel
CN1516184A (en) * 2003-01-10 2004-07-28 华为技术有限公司 Processing method of multi-media data
CN103595660A (en) * 2013-11-04 2014-02-19 上海数字电视国家工程研究中心有限公司 IP data packet encapsulating method and method for compressing packet head of data packet
CN108173895A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 A kind of communication means and device
CN108882008A (en) * 2017-10-23 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of data conversion

Also Published As

Publication number Publication date
CN109818960A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109818960B (en) Data processing method and device
CN109889420B (en) Service processing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN110022295B (en) Data transmission method and video networking system
CN110035005B (en) Data processing method and device
CN110049341B (en) Video processing method and device
CN110557319B (en) Message processing method and device based on video network
CN111669337A (en) Flow control method and device
CN109347844B (en) Method and device for accessing equipment to Internet
CN110650147A (en) Data acquisition method and system
CN110545244A (en) message distribution method and device
CN111478880B (en) Data processing method and device
CN111211982B (en) Data forwarding method and device, electronic equipment and storage medium
CN110266577B (en) Tunnel establishment method and video networking system
CN109862439B (en) Data processing method and device
CN110493149B (en) Message processing method and device
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN109842630B (en) Video processing method and device
CN110022500B (en) Packet loss processing method and device
CN109889516B (en) Method and device for establishing session channel
CN110677315A (en) Method and system for monitoring state
CN111555975B (en) Data sending method and device, electronic equipment and storage medium
CN110740087B (en) Message transmission method, terminal, gateway device, electronic device and storage medium
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium

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