CN110336796B - Communication method and communication device - Google Patents
Communication method and communication device Download PDFInfo
- Publication number
- CN110336796B CN110336796B CN201910523132.5A CN201910523132A CN110336796B CN 110336796 B CN110336796 B CN 110336796B CN 201910523132 A CN201910523132 A CN 201910523132A CN 110336796 B CN110336796 B CN 110336796B
- Authority
- CN
- China
- Prior art keywords
- terminal
- internet
- message
- cat
- video
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000006855 networking Effects 0.000 claims abstract description 149
- 241000282326 Felis catus Species 0.000 claims abstract description 116
- 238000006243 chemical reaction Methods 0.000 claims abstract description 94
- 230000004044 response Effects 0.000 claims abstract description 55
- 239000012634 fragment Substances 0.000 claims description 12
- 238000003860 storage Methods 0.000 claims description 11
- 238000004806 packaging method and process Methods 0.000 claims description 10
- 230000006798 recombination Effects 0.000 claims description 9
- 238000005215 recombination Methods 0.000 claims description 9
- 238000005538 encapsulation Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 25
- 238000005516 engineering process Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 6
- 230000015654 memory Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000009826 distribution Methods 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a communication method and a communication device, which are applied to a video network, wherein the video network comprises a video network terminal, an Internet terminal and a protocol conversion terminal, and the method comprises the following steps: the cat viewing terminal receives an internet communication request sent by the video networking terminal; the cat viewing terminal searches the corresponding protocol conversion terminal and sends the internet communication request to the protocol conversion terminal; the protocol conversion terminal converts the Internet communication request into an Internet IP message and sends the Internet IP message to the corresponding Internet terminal; the cat viewing terminal receives a response data packet returned by the internet terminal and encapsulates the response data packet into a video networking message; and the cat viewing terminal searches the corresponding video networking terminal and sends the video networking message to the video networking terminal. The problem that the internet cannot be accessed in the video network in the prior art is solved.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a communication method and a communication apparatus.
Background
With the popularization and development of the video networking service in the whole country, the video networking high-definition video networking interaction technology plays a significant role in other industries already in government departments. The video networking adopts the most advanced worldwide Vision Vera real-time high-definition video exchange technology, realizes the real-time transmission of the whole-network high-definition video which cannot be realized by the current Internet, integrates dozens of services such as high-definition video conferences, video monitoring, remote training, intelligent monitoring analysis, emergency command, video telephone, live broadcast, television mails, information distribution and the like into a system platform, and realizes the real-time interconnection and intercommunication of high-definition quality video communication through various terminal devices.
However, all the services are limited to the private network of the video network, and there is no effective and feasible method for the services to realize the combined application of the video network and the internet.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a communication method and a corresponding communication 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 communication method, which is applied to a video network, where the video network includes: the method comprises the following steps that a video networking terminal, a video networking server, a video networking terminal, an Internet terminal and a protocol conversion terminal are stored in the video networking terminal, the video networking terminal stores an MAC address index table corresponding to an MAC address of the video networking terminal and an IP address index table corresponding to an IP address of the protocol conversion terminal, and the method comprises the following steps:
the cat viewing terminal receives an internet communication request sent by the video networking terminal through the video networking server; the Internet communication request comprises a communication destination IP address;
the cat viewing terminal searches the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and sends the Internet communication request to the protocol conversion terminal;
the protocol conversion terminal converts the internet communication request into an internet IP message and sends the internet IP message to the corresponding internet terminal;
the cat viewing terminal receives a response data packet returned by the internet terminal and encapsulates the response data packet into a video networking message; the response data packet contains a communication object MAC address;
and the cat terminal searches the corresponding video network terminal through the MAC address index table and sends the video network message to the video network terminal.
Optionally, the step of the cat viewing terminal receiving the response data packet returned by the internet terminal and encapsulating the response data packet into a video networking message includes:
the cat viewing terminal searches the protocol conversion terminal corresponding to the communication source IP address through the IP address index table and sends the response data packet to the protocol conversion terminal;
and the protocol conversion terminal calls a video network message sending function, fragments the IP data in the data field area in the response data packet, adds a corresponding video network protocol message header, and encapsulates the video network protocol message header into a video network message.
Optionally, the step of the protocol conversion terminal converting the internet communication request into an internet IP packet and sending the internet IP packet to the corresponding internet terminal includes:
the protocol conversion terminal calls a receiving function to receive the Internet IP message;
the protocol conversion terminal judges whether the IP data packet in the Internet IP message is lost or out of order;
if the fragment is lost or out of order, discarding the corresponding fragment;
and if the internet IP message is not lost or out of order, copying the internet IP message to an IP recombination area, calculating an IP head, recombining the internet IP message into a complete internet IP message and forwarding the complete internet IP message to the internet terminal.
Optionally, before the step of receiving, by the cat-view client, an internet communication request sent by the internet-of-view terminal through the internet-of-view server, the method further includes:
the method comprises the steps that a timer function is called by the cat-connected terminal every other preset time to obtain state information of the cat-connected terminal;
and the cat viewing terminal stores the state information into a kernel.
Optionally, the step of the cat viewing terminal finding the corresponding video network terminal through the MAC address index table and sending the video network packet to the video network terminal includes:
the cat viewing terminal searches the corresponding cat viewing terminal through the MAC address index table;
the cat viewing terminal checks the state information of the cat viewing terminal in a kernel;
and if the video network terminal is in a non-response state, stopping sending the video network message to the video network terminal after waiting for a preset delay.
The embodiment of the invention also discloses a communication device, which is applied to the video network, and the video network comprises: the device comprises a video networking terminal, a video networking server, a video networking terminal, an internet terminal and a protocol conversion terminal, wherein the video networking terminal is stored with an MAC address index table corresponding to the MAC address of the video networking terminal and an IP address index table corresponding to the IP address of the protocol conversion terminal, and the device comprises:
the Internet communication request receiving module is used for the cat viewing terminal to receive an Internet communication request sent by the video networking terminal through the video networking server; the Internet communication request comprises a communication destination IP address;
the forwarding module is used for the cat viewing terminal to search the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and send the Internet communication request to the protocol conversion terminal;
the protocol conversion module is used for converting the internet communication request into an internet IP message by the protocol conversion terminal and sending the internet IP message to the corresponding internet terminal;
the packaging module is used for receiving a response data packet returned by the Internet terminal by the cat viewing terminal and packaging the response data packet into a video networking message; the response data packet contains a communication object MAC address;
and the sending module is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table and sending the video networking message to the video networking terminal.
Optionally, the encapsulation module includes:
the protocol conversion submodule is used for the cat viewing terminal to find the protocol conversion terminal corresponding to the communication source IP address through the IP address index table and send the response data packet to the protocol conversion terminal;
and the packaging submodule is used for calling a video networking message sending function by the protocol conversion terminal, and adding a corresponding video networking protocol message header to each fragment of the IP data in the data field area in the response data packet to package the video networking message.
Optionally, the sending module includes:
the receiving submodule is used for the protocol conversion terminal to call a receiving function and receive the Internet IP message;
the judging submodule is used for judging whether the IP data packet in the Internet IP message is lost or out of order by the protocol conversion terminal;
a discarding submodule, configured to discard the corresponding segment if the segment is lost or out of order;
and the recombination sending submodule is used for copying the Internet IP message to an IP recombination area, calculating an IP head, recombining the Internet IP message into a complete Internet IP message and forwarding the complete Internet IP message to the Internet terminal if the Internet IP message is not lost or out of order.
Optionally, the method further comprises:
the state information acquisition module is used for calling a timer function at intervals of preset time by the cat viewing terminal to acquire the state information of the cat viewing terminal;
and the storage module is used for storing the state information into a kernel by the cat viewing terminal.
Optionally, the sending module includes:
the searching submodule is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table;
the status information viewing submodule is used for viewing the status information of the video networking terminal in the kernel of the video networking terminal;
and the sending stopping submodule is used for stopping sending the video networking message to the video networking terminal after waiting for the preset delay if the video networking terminal is in a non-response state.
The embodiment of the invention has the following advantages:
the method is characterized in that the cat group is added in the video network, the IP address index and the MAC address index are established in the Linux kernel of the cat group terminal by utilizing the multi-entity Hash, and the protocol conversion terminal realizes the process of packaging and unpacking the data packet, so that the video network and the internet are perfectly combined, and the problem that the traditional video network cannot access the internet is solved. The method has the advantage that the internet can be accessed to the video internet terminal under the condition of not limiting the application environment.
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 the steps of one embodiment of a method of communication of the present invention;
FIG. 5A is a schematic diagram of a video networking end-point communication system framework of the present invention;
FIG. 5B is a schematic representation of the video networking terminal communication data flow of the present invention;
fig. 6 is a block diagram of a communication apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services such as high-definition video conferences, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mails, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like into a system platform, 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 Address Translation (NAT): with the popularization of IP networks, the IP addresses of IPv4 versions widely used at present are seriously insufficient, and the more devices operating TCP/IP protocols are, the more devices are, the less the NAT network address translation is required for each device to have an IP address, which is also called an address proxy, to realize the translation between private network addresses and public network addresses.
ALG application layer gateway: abbreviated as "ALG" (also called application-layer firewall or application-layer proxy firewall), whose process name is alg.exe in windows, application-layer gateways are often described as third-generation firewalls. When the ALG is used as the NAT penetrating application, because the traditional NAT can not change the IP address in the application layer, the ALG is used for directly changing the IP address of the application layer, and the public network address is directly bound when the private address of the terminal is obtained, so that the preparation for possible related intercommunication is made.
Network Technology (Network Technology)
Network innovations in video networking have improved the 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, but also connected with a single user, a private network user or the sum of one network. 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 may be directly connected to the access switch or may be directly connected to 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.
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 network interface module 201, the switching engine module 202, the CPU module 203, and the disk array module 204 are mainly included;
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 close to full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway:
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA | SA | Reserved | Payload | CRC |
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA | SA | Reserved | label (R) | Payload | CRC |
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiments of the present invention is proposed, and browser proxy is performed on part of the function modules of the application, while browser proxy is not performed on other function modules, in compliance with the protocol of the video network.
Referring to fig. 5, there is shown a flow chart of the steps of an embodiment of a communication method of the present invention that may be applied in a video network comprising: the method comprises the following steps that a video networking terminal, a video networking server, a video networking terminal, an internet terminal and a protocol conversion terminal are stored in the video networking terminal, the video networking terminal stores an MAC address index table corresponding to an MAC address of the video networking terminal and an IP address index table corresponding to an IP address of the protocol conversion terminal, and the method specifically comprises the following steps:
In the embodiment of the invention, as shown in fig. 5A, the cat viewing terminal in the application includes a cat viewing client and a cat viewing server, the cat viewing client provides services at the internet viewing server, the cat viewing server provides services at the internet viewing server, the cat viewing client and the cat viewing server are referred to as cat and cat king below, respectively, wherein during initialization, the cat king and the cat register virtual terminal nodes on the internet viewing server, all terminal nodes and server message types are loaded into respective Linux kernels through netlinks, each terminal node adds two hash indexes, one is an IP address index, and the other is a mac address index, and a corresponding virtual terminal is found through the indexes. And respectively creating corresponding hash tables by the cat and the cat king, and adding the indexes and the corresponding terminal node information into the hash tables.
Specifically, the IP address index and the mac address index are subscripts of the storage terminal node information array. After the video network terminal node information is issued to the linux kernel through the netlink, the kernel calculates an IP address index value by the terminal video interface IP address through a Hash algorithm, and stores the terminal node information into a Hash table corresponding to the IP index value; and calculating a mac index value of the mac address of the video network terminal through a hash algorithm, and storing the terminal node information into a hash table corresponding to the mac index value. When a certain virtual terminal of a cat or a cat king needs to be searched, a corresponding hash table can be found according to the index value.
In practical application, when a video network terminal wants to access the internet, firstly, an internet communication request is sent to a cat through a video network server, at this time, v2v signaling messages interacted between the cat and the video network server enter a Linux kernel, then are filtered through libpcab and bpf rules, so that respective terminal nodes successfully access the network, the cat receives a dial-through video telephone sent by the cat, a tunnel is established, and data plane message forwarding is started, so that the method comprises the following steps before connection establishment:
preferably, before step 501, the method further comprises:
substeps C1-C2;
in substep C1, the cat viewing terminal calls a timer function every preset time to acquire the state information of the cat viewing terminal;
and a substep C2, storing the state information into a kernel by the cat viewing terminal.
Specifically, after the system is initialized, the cat and the cat king prepare to receive the signaling messages, and the timer updates the terminal node information every second. The method comprises the steps of utilizing an application programming interface of the Linux system to generate a timer every 1 second, executing a timer function after the system receives a signal, judging the state of each terminal node by the function, and updating the state information of each terminal node into a kernel.
In the embodiment of the invention, the cat finds the corresponding cat king through the IP address index table, and sends the packaged video network message with the internet data to the cat king through the video network, namely, the internet communication request is sent to the cat king by the cat. When the cat king receives the video networking message, a local corresponding protocol conversion terminal node is found according to the mac address index, and the user-defined packet _ type structural body is registered on a list _ head linked list of a Linux kernel corresponding to the type in the kernel.
The IP address index table comprises a destination address of an IP message header for sending an Internet communication request, an IP address index value is obtained by utilizing a Hash algorithm and is stored in the IP address index table, so that the protocol conversion terminal is also stored in the IP address index table through the IP address Hash value per se, a protocol conversion terminal corresponding to the IP address of the communication destination is found in the IP address index table, namely the Hash table, and data to be sent is packaged in the protocol conversion terminal according to the node information of the terminal and the point-to-point video networking protocol.
In the embodiment of the present invention, as shown in fig. 5B, in the protocol conversion terminal, the receiving function is called according to the IP protocol set in the second layer to receive the video networking message including the IP data packet, the video networking message is analyzed, and the analyzed internet IP message is sent to the corresponding internet terminal.
Preferably, step 503 comprises: substeps B1-B4;
substep B1, the protocol conversion terminal calls a receiving function to receive the internet IP packet;
substep B2, the protocol conversion terminal determines whether the IP data packet in the internet IP packet is lost or out of order;
sub-step B3, if there is a loss or misordering, discarding the corresponding slice;
and a substep B4, if the internet IP message is not lost or out of order, copying the internet IP message to an IP recombination area, calculating an IP head, recombining the internet IP message into a complete internet IP message and forwarding the complete internet IP message to the internet terminal.
Specifically, after receiving an internet IP message, the protocol conversion terminal determines whether the transmitted IP data packet is lost or out of order, if so, discards the corresponding real or out-of-order fragments, and if not, copies the IP message of the view link packet data field in the internet IP message to an IP reassembly area, calculates an IP header, reassembles the IP message into a complete IP message, and finally forwards the complete IP message to the internet.
In the embodiment of the invention, the internet response data packet is an internet IP message and comprises a data packet for responding to the video network request, wherein after the video network terminal receives the response data packet, an IP index value is calculated according to the IP destination address of the head of the IP message, a corresponding protocol conversion terminal is found in a hash table according to the index value, and the IP message is encapsulated into the video network message so as to be sent to the source video network terminal.
Specifically, as shown in fig. 5B, after receiving the IP packet, the cat king encapsulates the IP packet and forwards the IP packet to the cat king, where a target mac in the packet sent by the cat is in one-to-one correspondence with a mac address of a terminal registered by the cat king on the server, and the corresponding terminal of the video network on the cat king can be found according to the mac address index.
The Mac address index is established according to Mac addresses of all protocol conversion video network terminals registered in the server by the video cat equipment.
Preferably, if the response data packet includes a communication source IP address, step 504 includes:
substeps A1-A2;
in substep a1, the cat viewing terminal searches the protocol conversion terminal corresponding to the communication source IP address through the IP address index table, and sends the response packet to the protocol conversion terminal;
and a substep A2, calling a video networking message sending function by the protocol conversion terminal, segmenting the IP data in the data field region in the response data packet, adding a corresponding video networking protocol message header, and encapsulating into a video networking message.
In the embodiment of the present invention, as shown in fig. 5B, when an internet response data packet enters a cat king, a data structure of an NF _ hook _ ops storage hook is defined in a Linux kernel, the content of the structure is registered in an NF _ hooks linked list, when the Linux kernel runs to an NF _ INET _ POST _ ROUTING mount point of an nat mechanism in iptables, a video networking message sending function is called, IP data fragments in a data field region of an IP data packet are fragmented, a message header of v2v is added to each fragment to be encapsulated as a video networking message, the cat king finds a corresponding cat through a destination IP address index, and an encapsulated video networking protocol message is sent to the cat.
And 505, the cat viewing terminal searches the corresponding video network terminal through the MAC address index table and sends the video network message to the video network terminal.
In the embodiment of the invention, the target mac in the message sent by the cat corresponds to the mac address of the terminal registered by the cat on the server one by one, and the terminal corresponding to the cat can be found according to the mac address index.
And the Mac address index table is established according to Mac addresses of all protocol conversion video network terminals registered in the server by the video cat equipment.
Therefore, after finding out the video network terminal corresponding to the video network message through the MAC address index table, the video network message is sent to the video network terminal.
Preferably, if the substeps C1-C2 are executed, the step 505 includes:
substeps D1-D3;
and a substep D1, finding the corresponding terminal of the video networking by the cat terminal of the video networking through the MAC address index table.
In the embodiment of the invention, after the cat receives the video network message forwarded by the cat king, the cat searches the video network terminal corresponding to the MAC address stored in the video network message according to the MAC address index table stored locally.
Substep D2, the cat terminal checks the state information of the cat terminal in a kernel;
in the embodiment of the invention, the cat further judges whether the state of the corresponding video network terminal can receive the video network message by searching the terminal node state information stored in the kernel, and forwards the video network message to the video network terminal if the state is that the video network message can be received.
And a substep D3, if the video network terminal is in a no-response state, stopping sending the video network message to the video network terminal after waiting for a preset delay.
In the embodiment of the present invention, if the query result is that the video networking endpoint is in a no-response state, the virtual cat terminal continues to wait for the preset delay, where the virtual cat terminal does not receive the state information of each video networking terminal every 1 second, and the preset delay may be set to 5 state update time intervals, that is, after 5 seconds, the state of the corresponding video networking terminal is still in a no-response state, the video networking message is stopped from being sent, or if a preset standby terminal exists, the video networking message is sent to the corresponding standby terminal.
In the embodiment of the invention, an internet communication request sent by the video networking terminal through the video networking server is received by the video networking terminal; the internet communication request comprises a communication destination IP address; the cat viewing terminal searches the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and sends the Internet communication request to the protocol conversion terminal; the protocol conversion terminal converts the internet communication request into an internet IP message and sends the internet IP message to the corresponding internet terminal; the cat viewing terminal receives a response data packet returned by the internet terminal and encapsulates the response data packet into a video networking message; the response data packet contains a communication object MAC address; and the cat terminal searches the corresponding video network terminal through the MAC address index table and sends the video network message to the video network terminal. The problem that the internet cannot be accessed in the video network in the prior art is solved, and the beneficial effect that the internet can be accessed by the video network terminal under the condition that the application environment is not limited is achieved.
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 of skill 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 embodiments of the invention.
Referring to fig. 6, there is shown a block diagram of an embodiment of a communication apparatus of the present invention, the apparatus is applied to a video network, the video network includes: the network comprises a video networking terminal, a video networking server, a video networking terminal, an internet terminal and a protocol conversion terminal, wherein the video networking terminal stores an MAC address index table corresponding to an MAC address of the video networking terminal and an IP address index table corresponding to an IP address of the protocol conversion terminal, and the network specifically comprises the following steps:
the internet communication request receiving module 601 is used for the cat viewing terminal to receive an internet communication request sent by the video networking terminal through the video networking server; the internet communication request comprises a communication destination IP address;
a forwarding module 602, configured to find the protocol conversion terminal corresponding to the communication destination IP address by the cat viewing terminal through the IP address index table, and send the internet communication request to the protocol conversion terminal;
a protocol conversion module 603, configured to convert the internet communication request into an internet IP packet by the protocol conversion terminal, and send the internet IP packet to the corresponding internet terminal;
preferably, the protocol conversion module 603 includes:
the receiving submodule is used for the protocol conversion terminal to call a receiving function and receive the Internet IP message;
the judging submodule is used for judging whether the IP data packet in the Internet IP message is lost or out of order by the protocol conversion terminal;
a discarding submodule, configured to discard the corresponding segment if the segment is lost or out of order;
and the recombination sending submodule is used for copying the Internet IP message to an IP recombination area, calculating an IP head, recombining the Internet IP message into a complete Internet IP message and forwarding the complete Internet IP message to the Internet terminal if the Internet IP message is not lost or out of order.
An encapsulating module 604, configured to receive a response data packet returned by the internet terminal and encapsulate the response data packet into a video networking message by the modem terminal; the response data packet contains a communication object MAC address;
preferably, the encapsulation module 604 includes:
the protocol conversion submodule is used for the cat viewing terminal to find the protocol conversion terminal corresponding to the communication source IP address through the IP address index table and send the response data packet to the protocol conversion terminal;
and the packaging submodule is used for calling a video networking message sending function by the protocol conversion terminal, and adding a corresponding video networking protocol message header to each fragment of the IP data in the data field area in the response data packet to package the video networking message.
A sending module 605, configured to find the corresponding network video terminal through the MAC address index table by the network video modem terminal, and send the network video message to the network video terminal.
Preferably, before the internet communication request receiving module 601, the method further includes:
the state information acquisition module is used for calling a timer function at intervals of preset time by the cat viewing terminal to acquire the state information of the cat viewing terminal;
and the storage module is used for storing the state information into a kernel by the cat viewing terminal.
Preferably, the sending module 605 includes:
the searching submodule is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table;
the status information viewing submodule is used for viewing the status information of the video networking terminal in the kernel of the video networking terminal;
and the sending stopping submodule is used for stopping sending the video networking message to the video networking terminal after waiting for the preset delay if the video networking terminal is in a non-response state.
In the embodiment of the invention, the internet communication request receiving module is used for the cat-in-video terminal to receive the internet communication request sent by the cat-in-video terminal through the video network server; the internet communication request comprises a communication destination IP address; the forwarding module is used for the cat viewing terminal to search the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and send the Internet communication request to the protocol conversion terminal; the protocol conversion module is used for converting the internet communication request into an internet IP message by the protocol conversion terminal and sending the internet IP message to the corresponding internet terminal; the packaging module is used for receiving a response data packet returned by the Internet terminal by the cat viewing terminal and packaging the response data packet into a video networking message; the response data packet contains a communication object MAC address; and the sending module is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table and sending the video networking message to the video networking terminal. The problem that the traditional video networking cannot access the Internet is solved. The method has the advantage that the terminal of the video network can access the Internet under the condition of not limiting the application environment.
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, in this document, relational terms such as first and second, and the like are 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 above detailed description is provided for a communication method and a communication device, and the principle and the implementation of the present invention are explained by applying specific examples, and the above descriptions of the embodiments are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A communication method is applied to a video network, and the video network comprises the following steps: the method comprises the following steps that a video networking terminal, a video networking server, a video networking terminal, an Internet terminal and a protocol conversion terminal are stored in the video networking terminal, the video networking terminal stores an MAC address index table corresponding to an MAC address of the video networking terminal and an IP address index table corresponding to an IP address of the protocol conversion terminal, and the method comprises the following steps:
the cat viewing terminal calculates an IP address index value of a terminal video interface IP address through a Hash algorithm and stores terminal node information into a Hash table corresponding to the IP index value; calculating a mac index value of a mac address of the video networking terminal through a hash algorithm, and storing terminal node information into a hash table corresponding to the mac index value;
the cat viewing terminal receives an internet communication request sent by the video networking terminal through the video networking server; the internet communication request comprises a communication destination IP address;
the cat viewing terminal searches the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and sends the Internet communication request to the protocol conversion terminal;
the protocol conversion terminal converts the internet communication request into an internet IP message and sends the internet IP message to the corresponding internet terminal;
the cat viewing terminal receives a response data packet returned by the internet terminal and encapsulates the response data packet into a video networking message; the response data packet contains a communication object MAC address;
and the cat terminal searches the corresponding video network terminal through the MAC address index table and sends the video network message to the video network terminal.
2. The method according to claim 1, wherein the response packet includes a communication source IP address, and the step of receiving the response packet returned by the internet terminal and encapsulating the response packet into an internet message by the cat-over-video terminal includes:
the cat viewing terminal searches the protocol conversion terminal corresponding to the communication source IP address through the IP address index table and sends the response data packet to the protocol conversion terminal;
and the protocol conversion terminal calls a video networking message sending function, fragments the IP data in the data field area in the response data packet, adds a corresponding video networking protocol message header, and encapsulates the video networking message header into a video networking message.
3. The method according to claim 1, wherein the step of the protocol conversion terminal converting the internet communication request into an internet IP packet and transmitting the internet IP packet to the corresponding internet terminal comprises:
the protocol conversion terminal calls a receiving function to receive the Internet IP message;
the protocol conversion terminal judges whether the IP data packet in the Internet IP message is lost or out of order;
if the fragment is lost or out of order, discarding the corresponding fragment;
and if the internet IP message is not lost or out of order, copying the internet IP message to an IP recombination area, calculating an IP head, recombining the internet IP message into a complete internet IP message and forwarding the complete internet IP message to the internet terminal.
4. The method according to claim 1, wherein before the step of receiving the internet communication request sent by the internet-of-view terminal through the internet-of-view server by the internet-of-view client, the method further comprises:
the method comprises the steps that a timer function is called by the cat-connected terminal every other preset time to obtain state information of the cat-connected terminal;
and the cat viewing terminal stores the state information into a kernel.
5. The method according to claim 4, wherein the step of the cat viewing terminal finding the corresponding video network terminal through the MAC address index table and sending the video network message to the video network terminal comprises the steps of:
the cat viewing terminal searches the corresponding cat viewing terminal through the MAC address index table;
the cat viewing terminal checks the state information of the cat viewing terminal in a kernel;
and if the video network terminal is in a non-response state, stopping sending the video network message to the video network terminal after waiting for a preset delay.
6. A communication apparatus, wherein the apparatus is applied in a video network, the video network comprising: the device comprises a video networking terminal, a video networking server, a video networking terminal, an internet terminal and a protocol conversion terminal, wherein the video networking terminal is stored with an MAC address index table corresponding to the MAC address of the video networking terminal and an IP address index table corresponding to the IP address of the protocol conversion terminal, and the device comprises:
the Internet communication request receiving module is used for the cat viewing terminal to receive an Internet communication request sent by the video networking terminal through the video networking server; the Internet communication request comprises a communication destination IP address; the cat viewing terminal calculates an IP address index value from the IP address of the terminal viewing interface through a hash algorithm, and stores terminal node information into a hash table corresponding to the IP index value; calculating a mac index value of a mac address of the video networking terminal through a hash algorithm, and storing terminal node information into a hash table corresponding to the mac index value;
the forwarding module is used for the cat viewing terminal to search the protocol conversion terminal corresponding to the communication destination IP address through the IP address index table and send the Internet communication request to the protocol conversion terminal;
the protocol conversion module is used for converting the internet communication request into an internet IP message by the protocol conversion terminal and sending the internet IP message to the corresponding internet terminal;
the packaging module is used for receiving a response data packet returned by the Internet terminal by the cat viewing terminal and packaging the response data packet into a video networking message; the response data packet contains a communication object MAC address;
and the sending module is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table and sending the video networking message to the video networking terminal.
7. The apparatus of claim 6, wherein the encapsulation module comprises:
the protocol conversion submodule is used for the cat viewing terminal to find the protocol conversion terminal corresponding to the communication source IP address through the IP address index table and send the response data packet to the protocol conversion terminal;
and the packaging submodule is used for calling a video networking message sending function by the protocol conversion terminal, and adding a corresponding video networking protocol message header to each fragment of the IP data in the data field area in the response data packet to package the video networking message.
8. The apparatus of claim 6, wherein the protocol conversion module comprises:
the receiving submodule is used for the protocol conversion terminal to call a receiving function and receive the Internet IP message;
the judging submodule is used for judging whether the IP data packets in the Internet IP message are lost or out of order by the protocol conversion terminal;
a discarding submodule, configured to discard the corresponding segment if the segment is lost or out of order;
and the recombination sending submodule is used for copying the Internet IP message to an IP recombination area, calculating an IP head, recombining the Internet IP message into a complete Internet IP message and forwarding the complete Internet IP message to the Internet terminal if the Internet IP message is not lost or out of order.
9. The apparatus of claim 6, further comprising:
the state information acquisition module is used for calling a timer function at intervals of preset time by the cat viewing terminal to acquire the state information of the cat viewing terminal;
and the storage module is used for storing the state information into a kernel by the cat viewing terminal.
10. The apparatus of claim 9, wherein the sending module comprises:
the searching submodule is used for searching the corresponding video networking terminal by the video networking cat terminal through the MAC address index table;
the status information viewing submodule is used for viewing the status information of the video networking terminal in the kernel of the video networking terminal;
and the sending stopping submodule is used for stopping sending the video networking message to the video networking terminal after waiting for the preset delay if the video networking terminal is in a non-response state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910523132.5A CN110336796B (en) | 2019-06-17 | 2019-06-17 | Communication method and communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910523132.5A CN110336796B (en) | 2019-06-17 | 2019-06-17 | Communication method and communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110336796A CN110336796A (en) | 2019-10-15 |
CN110336796B true CN110336796B (en) | 2022-06-14 |
Family
ID=68142174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910523132.5A Active CN110336796B (en) | 2019-06-17 | 2019-06-17 | Communication method and communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336796B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464879B (en) * | 2020-02-27 | 2022-12-23 | 视联动力信息技术股份有限公司 | Data communication method and device |
CN114710711B (en) * | 2022-03-11 | 2024-07-30 | 海南视联通信技术有限公司 | Equipment upgrading method and device, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303359A (en) * | 2015-05-14 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | The processing method of a kind of network conversion and equipment |
CN108173803A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking |
CN108881792A (en) * | 2017-11-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of double fluid communication |
CN109194660A (en) * | 2018-09-12 | 2019-01-11 | 视联动力信息技术股份有限公司 | The method of network entry and device of mobile terminal |
CN109787873A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of multi-to-multi incoming communication |
CN109873817A (en) * | 2019-01-31 | 2019-06-11 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of one-to-one access network |
CN109889314A (en) * | 2018-12-29 | 2019-06-14 | 视联动力信息技术股份有限公司 | Information processing method and device |
CN109889910A (en) * | 2019-01-31 | 2019-06-14 | 视联动力信息技术股份有限公司 | A kind of communication means and device accessing private network |
CN109889779A (en) * | 2019-01-31 | 2019-06-14 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of packet out-ordering |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2013200582B2 (en) * | 2006-07-10 | 2014-11-13 | Bally Gaming, Inc. | Universal game monitoring unit and system |
US8587654B2 (en) * | 2010-05-28 | 2013-11-19 | Itx Security Co., Ltd. | Network switch control digital video recorder |
CN110087102B (en) * | 2019-04-19 | 2021-10-08 | 视联动力信息技术股份有限公司 | State query method, device and storage medium |
-
2019
- 2019-06-17 CN CN201910523132.5A patent/CN110336796B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303359A (en) * | 2015-05-14 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | The processing method of a kind of network conversion and equipment |
CN108173803A (en) * | 2016-12-07 | 2018-06-15 | 北京视联动力国际信息技术有限公司 | It is a kind of to access the method for internet and regarding connection cat server-side by regarding networking |
CN108881792A (en) * | 2017-11-23 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of double fluid communication |
CN109194660A (en) * | 2018-09-12 | 2019-01-11 | 视联动力信息技术股份有限公司 | The method of network entry and device of mobile terminal |
CN109889314A (en) * | 2018-12-29 | 2019-06-14 | 视联动力信息技术股份有限公司 | Information processing method and device |
CN109787873A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of multi-to-multi incoming communication |
CN109873817A (en) * | 2019-01-31 | 2019-06-11 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of one-to-one access network |
CN109889910A (en) * | 2019-01-31 | 2019-06-14 | 视联动力信息技术股份有限公司 | A kind of communication means and device accessing private network |
CN109889779A (en) * | 2019-01-31 | 2019-06-14 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of packet out-ordering |
Also Published As
Publication number | Publication date |
---|---|
CN110336796A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194660B (en) | Network access method and device of mobile terminal | |
CN110198345B (en) | Data request method, system and device and storage medium | |
CN109474715B (en) | Resource configuration method and device based on video network | |
CN110035005B (en) | Data processing method and device | |
CN109547163B (en) | Method and device for controlling data transmission rate | |
CN110557319B (en) | Message processing method and device based on video network | |
CN110138513B (en) | Data transmission method and video networking system | |
CN110336796B (en) | Communication method and communication device | |
CN111669337A (en) | Flow control method and device | |
CN109347844B (en) | Method and device for accessing equipment to Internet | |
CN110545244A (en) | message distribution method and device | |
CN110650147A (en) | Data acquisition method and system | |
CN111211982B (en) | Data forwarding method and device, electronic equipment and storage medium | |
CN111478880B (en) | Data processing method and device | |
CN110336710B (en) | Terminal testing method, system and device and storage medium | |
CN110417792B (en) | Communication method, system, gateway device and storage medium | |
CN110636029B (en) | Communication method and communication device | |
CN109769012B (en) | Web server access method and device | |
CN110493149B (en) | Message processing method and device | |
CN109889516B (en) | Method and device for establishing session channel | |
CN108881148B (en) | Data acquisition method and device | |
CN111478940B (en) | Data processing method and device | |
CN110493191B (en) | Windows platform data forwarding method and device, electronic equipment and readable storage medium | |
CN110650169A (en) | Terminal equipment upgrading method and device | |
CN110808896B (en) | Data transmission method and device, electronic equipment and 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 | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |