CN112165416B - Networking and communication method and device - Google Patents

Networking and communication method and device Download PDF

Info

Publication number
CN112165416B
CN112165416B CN202010848415.XA CN202010848415A CN112165416B CN 112165416 B CN112165416 B CN 112165416B CN 202010848415 A CN202010848415 A CN 202010848415A CN 112165416 B CN112165416 B CN 112165416B
Authority
CN
China
Prior art keywords
terminal
network
gateway
equipment
terminal device
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
CN202010848415.XA
Other languages
Chinese (zh)
Other versions
CN112165416A (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 CN202010848415.XA priority Critical patent/CN112165416B/en
Publication of CN112165416A publication Critical patent/CN112165416A/en
Application granted granted Critical
Publication of CN112165416B publication Critical patent/CN112165416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2863Arrangements for combining access network resources elements, e.g. channel bonding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The embodiment of the invention provides a networking and communication method and device, wherein the method comprises the following steps: the first terminal device generates a first networking request for at least one second terminal device located in at least one second network; wherein the second network and the first network are heterogeneous networks; the first terminal equipment sends the first networking request to first gateway equipment so as to be networked with the second terminal equipment through the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network. According to the embodiment of the invention, networking and communication based on the third network among the heterogeneous networks are realized, the gateway equipment of each heterogeneous network is not manually configured, and a plurality of heterogeneous networks can be quickly and conveniently networked.

Description

Networking and communication method and device
Technical Field
The invention relates to the technical field of video networking, in particular to a networking and communication method and device.
Background
Currently, there are different heterogeneous networks, such as a broadcast network, a public security private network, a monitoring network, a medical network, an ethernet network, a cellular mobile communication network (2G/3G/4G/5G), a wireless local area network (Wi-Fi), a wireless personal area network (Bluetooth), etc. Aiming at heterogeneous network communication, the heterogeneous network convergence technology is adopted to realize interconnection, intercommunication and integration of different networks or network elements, thereby meeting the requirements of different users for selecting different networks to transmit data.
However, in the heterogeneous network convergence technology, a mode of directly setting gateways between heterogeneous networks to perform mutual conversion is generally adopted, and because of factors such as whether network protocols between the gateways of different heterogeneous networks are compatible or not, whether data formats are consistent or not and the like, the gateways are manually configured manually, so that the configuration process is complicated.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for networking and communication that overcomes or at least partially solves the above problems, including:
a method of networking applied to a first terminal device, the first terminal device being located in a first network, the method comprising:
the first terminal device generates a first networking request for at least one second terminal device located in at least one second network; wherein the second network and the first network are heterogeneous networks;
the first terminal equipment sends the first networking request to first gateway equipment so as to be networked with the second terminal equipment through the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
Optionally, the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a manner of performing video network conference with the second gateway device.
Optionally, before the first terminal device generates the first networking request for at least one second terminal device located in at least one second network, the method further includes:
the first terminal equipment is accessed to the first gateway equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment.
Optionally, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network.
Optionally, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device.
Optionally, the first gateway device is configured to send the first networking request to a core server located in the third network, and when receiving a first networking acknowledgement message returned by the core server for the first networking request, network the first terminal device and the second terminal device.
A method of networking, applied to a first gateway device, comprising:
the first gateway device receives a first networking request sent by first terminal devices located in a first network and aiming at second terminal devices located in at least one second network; wherein the first network and the second network are heterogeneous networks;
the first gateway device networking the first terminal device and the second terminal device; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
Optionally, the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a manner of performing video network conference with the second gateway device.
Optionally, before the first gateway device receives the first networking request sent by the first terminal device located in the first network and directed to the second terminal device located in the at least one second network, the method further includes:
when the first gateway equipment detects that the first terminal equipment is accessed, generating a first terminal identifier corresponding to the first terminal equipment, and updating a preset first equipment list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
further comprises:
the first gateway device acquires a second device list from the second gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
Optionally, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network, and the second device list includes a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network.
Optionally, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub identifier corresponding to the second gateway device.
Optionally, before the first gateway device networks the first terminal device and the second terminal device, the method further includes:
the first gateway device sends the first networking request to a core server located in the third network;
and the first gateway device performs networking on the first terminal device and the second terminal device when receiving a first networking acknowledgement message returned by the core server for the first networking request.
A method of communication applied to a first terminal device, the first terminal device being located in a first network, comprising:
the first terminal equipment is networked with second terminal equipment positioned in at least one second network through first gateway equipment; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
The first terminal equipment sends first communication data to the second terminal equipment through the first gateway equipment;
the first terminal device receives second communication data from the second terminal device through the first gateway device.
A method of communication, applied to a first gateway device, comprising:
the first gateway equipment is used for networking a first terminal equipment positioned in a first network and a second terminal equipment positioned in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the first gateway device receives first communication data sent by the first terminal device and sends the first communication data to the second terminal device;
the first gateway device receives second communication data sent by the second terminal device and sends the second communication data to the first terminal device.
Optionally, the method further comprises:
when the first gateway equipment detects that the first terminal equipment is accessed, generating a first terminal identifier corresponding to the first terminal equipment, and updating a preset first equipment list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
Further comprises:
the first gateway device acquires a second device list from the second gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
Optionally, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network, and the second device list includes a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network.
Optionally, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub identifier corresponding to the second gateway device.
Optionally, the first gateway device receives the first communication data sent by the first terminal device, and sends the first communication data to the second terminal device, including:
the first gateway device determines a second terminal identifier corresponding to the first communication data from the second device list;
The first gateway device adopts the second terminal identifier, and the first communication data is sent to the second terminal device through the second gateway device;
the first gateway device receives second communication data sent by the second terminal device and sends the second communication data to the first terminal device, and the method comprises the following steps:
the first gateway equipment determines a first terminal identifier from the second communication data;
the first gateway device determines a first private network address corresponding to the first terminal identifier from the first device list;
the first gateway device adopts the first private network address to send the second communication data to the first terminal device.
Optionally, before the sending the first communication data to the second terminal device, the method further includes:
the first gateway device obtains a first communication token and adds the first communication token in the first communication data to be checked by a core server located in the third network.
A networking apparatus applied to a first terminal device, where the first terminal device is located in a first network, the apparatus comprising:
A first networking request generation module, configured to generate a first networking request for at least one second terminal device located in at least one second network by using the first terminal device; wherein the second network and the first network are heterogeneous networks;
the first networking module is used for sending the first networking request to first gateway equipment by the first terminal equipment so as to network with the second terminal equipment through the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
A networking device, applied to a first gateway device, comprising:
a first networking request receiving module, configured to receive, by using the first gateway device, a first networking request sent by a first terminal device located in a first network and directed to a second terminal device located in at least one second network; wherein the first network and the second network are heterogeneous networks;
the second networking module is used for networking the first terminal equipment and the second terminal equipment by the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
A communication apparatus applied to a first terminal device, the first terminal device being located in a first network, comprising:
the third networking module is used for networking the first terminal equipment with second terminal equipment positioned in at least one second network through the first gateway equipment; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the first communication data sending module is used for sending first communication data to the second terminal equipment through the first gateway equipment by the first terminal equipment;
and the second communication data receiving module is used for receiving second communication data from the second terminal equipment through the first gateway equipment by the first terminal equipment.
An apparatus for communication, applied to a first gateway device, comprising:
a fourth networking module, configured to network, by using the first gateway device, a first terminal device located in a first network and a second terminal device located in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
The first gateway device sends a first communication data module, which is used for receiving first communication data sent by the first terminal device by the first gateway device and sending the first communication data to the second terminal device;
the first gateway device sends a second communication data module, which is used for the first gateway device to receive the second communication data sent by the second terminal device and send the second communication data to the first terminal device.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the first networking request aiming at least one second terminal device positioned in at least one second network is generated through the first terminal device, the second network and the first network are heterogeneous networks, then the first terminal device sends the first networking request to the first gateway device so as to networking through the first gateway device and the second terminal device, the first gateway device communicates with the second terminal device through the second gateway device, the first gateway device and the second gateway device are connected through a third network, networking and communication between heterogeneous networks based on the third network are realized, the gateway devices of all heterogeneous networks are not manually configured, and a plurality of heterogeneous networks can be quickly and conveniently networking.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a networking of a video network according to an embodiment of the present invention;
fig. 2 is a schematic hardware structure of a node server according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure of an access switch according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure of an ethernet corotation gateway according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a method for networking according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a heterogeneous network communication architecture according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating steps of another networking method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a heterogeneous network architecture according to an embodiment of the present invention;
FIG. 9 is a flow chart of steps of a method of communication provided by an embodiment of the present invention;
FIG. 10 is a flow chart of steps of another method of communication provided by an embodiment of the present invention;
FIG. 11 is a schematic diagram of an example of heterogeneous networking according to an embodiment of the present invention;
FIG. 12 is a block diagram of a networking device according to an embodiment of the present invention;
FIG. 13 is a block diagram illustrating an alternative networking device according to one embodiment of the present invention;
FIG. 14 is a block diagram of a communication device according to an embodiment of the present invention;
fig. 15 is a block diagram of another communication device according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
For a better understanding of embodiments of the present invention, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
network technology (network technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (Circuit Switching), the technology of video networking employs Packet Switching to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (Switching Technology)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous network video applications to high definition and unification.
Server technology (Servertechnology)
The server technology on the video networking and unified video platform is different from the server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the 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 hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater 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 networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
the video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 1, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with 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 area network portion can also be classified into 3 categories: metropolitan area server, node switch, 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 the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
1. View networking device classification
1.1 devices in the visual network according to the embodiment of the present invention may be mainly classified into 3 types: a server, a switch (including an ethernet corotation gateway), and a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet corotation gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
the node server:
as shown in fig. 2, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
Wherein, 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 packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
as shown in fig. 3, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent 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 a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, in two cases in the embodiment of the present invention:
if the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending 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 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface 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 rate control module 308.
Ethernet corotation gateway
As shown in fig. 4, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream 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 in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or frame type, video network destination address DA, video network source address SA, video network packet type and packet length of the data packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC DA, MAC SA, length or frame type (2 byte) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet cooperative gateway, and the ethernet length or frame type, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) 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/audio encoding/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 classes: node server, node switch, 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. View networking data 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 data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
the reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course not limited to the above 2 types;
The CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present invention: a tag to uniquely describe a metropolitan area network device.
The definition of label in this specification is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
DA SA Reserved label (Label) Payload CRC
I.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
In embodiments of the present invention, which relate to heterogeneous networks, heterogeneous networks (Heterogeneous Network) are one type of network that is made up of computers, network devices and systems produced by different manufacturers, mostly running on different protocols to support different functions or applications.
Aiming at heterogeneous network communication, the heterogeneous network convergence technology is adopted to interconnect, interwork and integrate different networks or network elements, and the requirements of different users for selecting different networks to transmit data are met by establishing communication links between different networks.
The conventional heterogeneous network convergence technology adopts a mode of setting a gateway between a plurality of heterogeneous networks to perform mutual conversion so as to realize heterogeneous network communication, and the mode has the following problems:
1. if the communication is performed among a plurality of gateway devices, manual configuration is needed to confirm whether the network protocols among the gateways are compatible or not, and whether the data formats are consistent or not, so that the configuration process is complicated;
2. Because each local area network in the heterogeneous network belongs to a private network and is mutually independent, the condition of the same IP address exists for different IP devices in different local area networks, so that the problem of IP address conflict of terminal devices exists between the heterogeneous networks;
3. because the IP network adopts any connection mode, after a plurality of heterogeneous networks are interconnected and intercommunicated, any user can directly access other networks from one network, and the security level of each heterogeneous network is inconsistent, and the security requirements are also inconsistent, which causes the security problem of communication between heterogeneous networks.
Aiming at the problems existing in the heterogeneous network communication, the method of the embodiment of the invention can be applied to solve the problems:
1. the heterogeneous networks are networked based on the video networking, and the video networking terminal can be adopted as the exit gateway equipment of each heterogeneous network, so that communication connection can be established between a plurality of video networking gateway terminals through the video networking, the gateway is not manually configured by people, and the rapid and convenient networking of the heterogeneous networks can be realized;
2. after the IP equipment in each local area network is connected to the video networking gateway terminal, a unique video networking equipment terminal number in the video networking is allocated to the IP equipment, and the video networking equipment terminal number is updated in a video networking equipment list, so that the video networking gateway terminal can be adopted to convert between the IP address and the video networking equipment terminal number, and the problem of IP address conflict among different networks is avoided;
3. Through the network access and business auditing mechanism and a dense pass mechanism of the visual network, the visual network core server is adopted to audit the communication process of the heterogeneous networks, thereby solving the safety problem of communication among different heterogeneous networks.
The following is a detailed description:
the problems addressed by the present invention will be further described with reference to fig. 5-11.
For the networking procedure (terminal equipment):
referring to fig. 5, a flowchart illustrating steps of a networking method according to an embodiment of the present invention may be applied to a first terminal device, where the first terminal device may be located in a first network, the first terminal device may be connected to a first gateway device, the first gateway device may communicate with a second terminal device through a second gateway device, the first gateway device and the second gateway device may be connected through a third network, and the second network may be a heterogeneous network with the first network.
As shown in fig. 6, since the first gateway device may be communicatively connected to the first terminal device located in the first network, one end of the first gateway device may be connected to one or more first terminal devices, and the other end of the first gateway device may be connected to the third network, where the first gateway device may be connected to the first network and the third network; since the second gateway device may be communicatively connected to the second terminal device located in the second network, the second gateway device may have one end connected to one or more second terminal devices and the other end connected to the third network, and the second gateway device may be connected to the second network and the third network.
Specifically, the method comprises the following steps:
step 501, the first terminal device generates a first networking request for at least one second terminal device located in at least one second network; wherein the second network and the first network are heterogeneous networks;
as an example, the first terminal device may be an IP device located in the first network; the second terminal device may be an IP device located in a second network, and the first terminal device may be configured to perform networking with one or more second terminal devices; the second networks may be heterogeneous networks to the first network, which may be networked with one or more second networks.
In the networking process, since the second network and the first network are heterogeneous networks, a first networking request can be generated by the first terminal device to perform networking, and the first networking request can be a networking request for a second terminal device located in at least one second network.
Step 502, the first terminal device sends the first networking request to a first gateway device to network with the second terminal device through the first gateway device; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
As an example, the third network may be a video network, the first gateway device and the second gateway device may be video network terminal devices, and the first gateway device may be networked in a manner of performing a video network conference with the second gateway device.
After the first networking request is generated, the first terminal device may send the first networking request to the first gateway device, where the first gateway device may communicate with the second terminal device through the second gateway device, and the first gateway device and the second gateway device may be connected through a third network, and thus the first terminal device may be networked with the second terminal device through the first gateway device.
In an example, the first gateway device may be configured to send a first networking request to a core server located in the third network, and to network the first terminal device and the second terminal device when receiving a first networking acknowledgement message returned by the core server for the first networking request.
In an embodiment of the present invention, before the first terminal device generates the first networking request for at least one second terminal device located in at least one second network, the method may further include the steps of:
the first terminal equipment is accessed to the first gateway equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment.
As an example, the first device list may include a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network; the terminal identifier of the terminal device in the first network may be composed of a first gateway identifier and a sub identifier corresponding to the first gateway device; the first device list may be used to perform a query for a terminal identifier or a private network address when communicating in a network established by the first terminal device and the second terminal device.
In a specific implementation, the first terminal device may access the first gateway device, and when the first gateway device detects that the first terminal device accesses the first gateway device, the first gateway device may generate a first terminal identifier corresponding to the first terminal device, and update a preset first device list by using the first terminal identifier, so that the first terminal device may perform networking with the second terminal device through the first gateway device.
In the embodiment of the invention, the first networking request aiming at least one second terminal device positioned in at least one second network is generated through the first terminal device, the second network and the first network are heterogeneous networks, then the first terminal device sends the first networking request to the first gateway device so as to networking through the first gateway device and the second terminal device, the first gateway device communicates with the second terminal device through the second gateway device, the first gateway device and the second gateway device are connected through a third network, networking and communication between heterogeneous networks based on the third network are realized, the gateway devices of all heterogeneous networks are not manually configured, and a plurality of heterogeneous networks can be quickly and conveniently networking.
Procedure for networking (gateway device):
referring to fig. 7, a flowchart illustrating steps of a networking method according to an embodiment of the present invention may be applied to a first gateway device, where the first gateway device may communicate with a second terminal device through a second gateway device, and the first gateway device and the second gateway device may be connected through a third network, where the second network may be a heterogeneous network with the first network.
Step 701, when the first gateway device detects that the first terminal device is accessed, generating a first terminal identifier corresponding to the first terminal device, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
as an example, the first device list may include a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network; the terminal identifier of the terminal device in the first network may be composed of a first gateway identifier and a sub identifier corresponding to the first gateway device; the first device list may be used to perform a query for a terminal identifier or a private network address when communicating in a network established by the first terminal device and the second terminal device.
In the networking process, the first gateway device can generate a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and update a preset first device list by adopting the first terminal identifier.
In practical application, for the IP devices in each local area network, after connecting to the internet of view gateway terminal, the internet of view gateway terminal may allocate a unique device number (internet of view device terminal number) in the internet of view to each IP device, where the device number may be composed of the number of the internet of view gateway terminal to which the IP device belongs and the number of the subnet in the local area network (i.e. the first gateway identifier and the child identifier), for example 12345:1010, and may update the device number corresponding to the new IP device connected to the internet of view gateway terminal in the list of internet of view devices.
Because each local area network in the heterogeneous network belongs to a private network and is mutually independent, aiming at the IP addresses of terminal equipment in the local area network, the condition that the same IP address exists for different IP equipment in different local area networks can cause the problem of IP address conflict in a plurality of heterogeneous networks.
According to the invention, IP equipment in each local area network is allocated with the terminal number of the video networking equipment after being connected to the video networking gateway terminal, and the allocated terminal number of the video networking equipment and the IP address can be bound aiming at the IP equipment, so that when each IP equipment sends communication data through the video networking gateway terminal, the IP address can be converted into the terminal number of the video networking equipment to be communicated with other IP equipment after passing through the video networking gateway terminal, and the problem of IP address conflict in a plurality of heterogeneous networks can be solved.
Step 702, the first gateway device obtains a second device list from the second gateway device; the second equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
as an example, the second device list may be a device list of one or more heterogeneous networks, where the second device list may include a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network, and the terminal identifier of the terminal device in the second network may be composed of a second gateway identifier and a sub identifier corresponding to the second gateway device; the second device list may be used to perform a query for a terminal identifier or a private network address when communicating in a network established by the first terminal device and the second terminal device.
Because each local area network in the heterogeneous network belongs to a private network, the IP address of the terminal equipment in the local area network belongs to a private network address, the video networking gateway terminal (i.e. the second gateway equipment) connected with the local area network can have a device list, and the device list can include the correspondence between the terminal identifier of the terminal equipment in the local area network (i.e. the terminal identifier of the terminal equipment in the second network, such as the video networking equipment terminal number) and the private network address (i.e. the private network address in the second network, such as the IP address), and the terminal identifier can be composed of a gateway identifier connected with the terminal equipment and a terminal equipment subnet identifier (i.e. the second gateway identifier and the subnet identifier).
In the communication process after networking, the first gateway device may acquire a second device list from the second gateway device, so as to obtain a correspondence between terminal identifiers of one or more heterogeneous network terminal devices in the second device list and private network addresses in the heterogeneous network, so as to perform communication after networking.
In an example, for each of the video networking terminal devices, there may be a unique video networking device terminal number within the video networking. The video networking can realize the connection of heterogeneous networks through the video networking gateway terminal, and terminal equipment in the heterogeneous networks is used as video networking terminal equipment to distribute the terminal numbers of the video networking equipment.
In yet another example, after heterogeneous networking based on the internet of view, the list of devices in each local area network may be updated synchronously by connecting to the gateway terminal of the internet of view of each local area network.
Step 703, the first gateway device receives a first networking request sent by a first terminal device located in a first network and directed to at least one second terminal device located in at least one second network; wherein the first network and the second network are heterogeneous networks;
as an example, the first networking request may be a networking request for one or more terminal devices in a heterogeneous network, e.g., a networking request for group communication traffic.
In the networking process, the first gateway device may receive a first networking request sent by the first terminal device for one or more terminal devices in the heterogeneous network.
In an example, for the process of networking, the gateway terminal of the view network in other heterogeneous networks may send a networking invitation to the destination terminal device in the local area network, and then the destination terminal device invited to the network may quickly join in the newly built network by returning the correct invitation code.
In yet another example, a network identification (e.g., KSW) may be added for a newly established network for group traffic and the visual networking device terminal numbers of all joined terminal devices may be displayed in a network list for group traffic.
For example, for a newly built network (network identifier is KSW) of a group network, communication information sent by any terminal device in the network may be forwarded to all other video gateway terminals in the group network by using a video gateway terminal connected to the terminal device and a manner of a speaker in a video conference, and then the video gateway terminal that receives the communication information may send the communication information to terminal devices that have joined the KSW network in respective local area networks, so as to complete data communication in the KSW network.
Step 704, the first gateway device sends the first networking request to a core server located in the third network;
as an example, the core server may be a core server in the video networking that may be used for business auditing, e.g., auditing networking requests.
After receiving the first networking request, the first gateway device may send the first networking request to a core server located in the internet of view, so as to audit the first networking request through the core server.
In practical application, when any IP device in the lan of the heterogeneous network requests networking, a networking request may be initiated to the internet-of-view gateway terminal connected to the IP device and an invitation code is input, for example, the IP device may send a networking protocol packet to the internet-of-view gateway terminal connected to the IP device, the internet-of-view gateway terminal may receive the networking protocol packet and answer ack (Acknowledge character, confirm character), then the IP device may send the invitation code, the internet-of-view gateway terminal may answer ack, and send the networking request to the core server for relevant auditing.
In an example, the extranet core server may conduct a service audit for an extranet device terminal number of a terminal device that initiates the service, for example:
1. Whether the video networking equipment terminal number for initiating the service has the authority for initiating a certain service (such as a conference, a video telephone, live broadcast, on-demand, data service and the like);
2. and whether the terminal number of the video networking equipment initiating the service has the authority to initiate the service to the terminal number of the target video networking equipment. Because the video networking equipment terminal numbers in the video networking have priority settings, for example, the video networking equipment terminal numbers at a low level are not allowed to directly call the video networking equipment terminal numbers at a high level;
3. the method comprises the steps that whether the terminal number of the video networking equipment initiating the service has permission to initiate various services in the current time period or not;
4. after the current service is initiated, whether the bandwidth of each node occupied by the service is idle or not can have the authority of initiating the service under the idle condition.
Step 705, when receiving a first networking acknowledgement message returned by the core server for the first networking request, the first gateway device networking the first terminal device and the second terminal device; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
As an example, the third network may be a video network, the first gateway device and the second gateway device may be video network terminal devices, and the first gateway device may be networked in a manner of performing a video network conference with the second gateway device.
In a specific implementation, the core server of the video network can audit the first networking request, and after the audit is passed, a mode of issuing a communication certificate can be adopted to return a networking confirmation message aiming at the first networking request to the first gateway equipment, and when the first gateway equipment receives the first networking confirmation message, the first gateway equipment can establish communication connection to networking the first terminal equipment and the second terminal equipment based on the video network.
For example, after receiving the networking request, the internet of view gateway terminal can report the relevant information of the networking request to the internet of view core server, the internet of view core server can carry out user identity authentication and service authority authentication aiming at the networking request, and after checking, the internet of view core server can issue a communication certificate to the internet of view gateway terminal, and then the internet of view gateway terminal can establish communication connection with other heterogeneous network internet of view gateway terminals based on the internet of view.
In an example, the video networking gateway terminal may pull other video networking gateway terminals into the conference in a video networking conference manner, so as to complete interconnection and interworking between the video networking gateway terminals, and may send a networking request to all terminal devices in the networking through the video networking gateway terminal.
Specifically, the first network and the third network can be connected through one video networking terminal, and the second network and the third network can be connected through the other video networking terminal, so that heterogeneous networking can be performed on the first network and the second network based on video networking. The video networking terminal can be a video networking gateway terminal, a Wi-Fi module and an IP routing module can be embedded in the video networking terminal, an AP mode (wireless access point mode) can be started, and then IP equipment in each local area network can be connected into the video networking gateway terminal in a wired or wireless mode.
For example, as shown in fig. 8, in a framework for networking heterogeneous networks based on the internet of view, an internet of view Wi-Fi gateway (internet of view gateway terminal) may be used, which may perform data transmission with an internet of view system through a v2v protocol, and may perform networking on each local area network through the internet of view system. The Wi-Fi gateway (first gateway device) of the video network of the local area network-A area can be used for connecting the local area network-A area (first network) and the third network (video network), then the Wi-Fi gateway of the video network of the local area network-B area, the Wi-Fi gateway of the video network of the local area network-C area and the Wi-Fi gateway (second gateway device) of the video network of the local area network-D area can be used for connecting the local area network-B area, the local area network-C area and the local area network-D area (second network), and further heterogeneous network networking can be carried out on the local area network-A area, the local area network-B area, the local area network-C area and the local area network-D area based on the video network.
In an example, after one or more heterogeneous networks are quickly networked based on the internet of view, various services can be communicated between all network elements in the network, for example, common internet services such as audio and video, text, browsing websites, etc., or other more service types.
For a procedure (terminal device) of data transmission in communication:
referring to fig. 9, a flowchart of steps of a method for communication according to an embodiment of the present invention is shown, where the method may be applied to a first terminal device, where the first terminal device may be located in a first network, the first terminal device may be connected to a first gateway device, the first gateway device may communicate with a second terminal device through a second gateway device, where the first gateway device and the second gateway device may be connected through a third network, and the second network may be a heterogeneous network with the first network.
Step 901, the first terminal device is networked with at least one second terminal device located in at least one second network through a first gateway device; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
Because the first network and the second network are heterogeneous networks, the first gateway device can communicate with the second terminal device through the second gateway device, the first gateway device and the second gateway device can be connected through the third network, and the first terminal device can be further networked with at least one second terminal device located in at least one second network through the first gateway device.
Step 902, the first terminal device sends first communication data to the second terminal device through the first gateway device;
as an example, the first communication data may be an IP data packet sent by the first terminal device.
After the first terminal device and the second terminal device are networked, the first gateway device may send the communication data to the second terminal device located in the second network through the second gateway device when receiving the communication data sent by the first terminal device located in the first network.
In practical application, after the first terminal device and the second terminal device are networked based on the internet of view, the internet of view gateway terminal connected to the first network may send the IP data packet to the destination IP device (i.e., the second terminal device) located in the heterogeneous network through one or more internet of view gateway terminals connected to the heterogeneous network of the first network when receiving the IP data packet sent by the IP device located in the first network (i.e., the first terminal device).
In an example, when communication is performed in the first network, the internet-of-view gateway terminal connected to the first network may send an IP data packet to one or more destination IP devices located in the first network when receiving the IP data packet sent by the IP device located in the first network, as shown in fig. 8, where the internet-of-view Wi-Fi gateway in the local area network-a area may send the IP data packet to other terminal devices in the local area network-a area when receiving the IP data packet sent by any one of terminal devices a-001 to a-004.
Step 903, the first terminal device receives second communication data from the second terminal device through the first gateway device.
As an example, the second communication data may be an IP data packet sent by the second terminal device.
After the first terminal device and the second terminal device are networked, the first gateway device may send the second communication data to the destination terminal device located in the first network when receiving the communication data sent by the second gateway device.
In practical application, after the first terminal device and the second terminal device are networked based on the internet of view, the internet of view gateway terminal (i.e. the first gateway device) connected to the first network may send the IP data packet to the destination IP device (i.e. the first terminal device) located in the first network when receiving the IP data packet sent by the internet of view gateway terminal (i.e. the second terminal device) connected to the heterogeneous network of the first network.
For example, as shown in fig. 8, when receiving an IP packet (second communication data) sent by a Wi-Fi gateway of a view network in a local area network-a area, or a Wi-Fi gateway of a view network in a local area network-B area, or a Wi-Fi gateway of a view network in a local area network-C area, or a Wi-Fi gateway of a view network in a local area network-D area (second communication data), the IP packet may be sent by an IP device (second terminal device) of a certain local area network, for example, a B-001-B-004 terminal device, a C-001-C-004 terminal device, and a D-001-D-004 terminal device, the IP packet is sent to a destination IP device (first terminal device) located in the local area network-a area, for example, an a-001-a-004 terminal device.
In an example, the video networking terminal may be used as an egress gateway device of each heterogeneous network, so that real-time data exchange and transmission can be performed between multiple video networking gateway terminals through the video networking.
For the procedure of data transmission in communication (gateway device):
Referring to fig. 10, a flowchart of steps of a method for communication according to an embodiment of the present invention is shown, where the method may be applied to a first gateway device, where the first gateway device may communicate with a second terminal device through a second gateway device, and where the first gateway device and the second gateway device may be connected through a third network, and where the second network may be a heterogeneous network with the first network.
Step 1001, the first gateway device networks a first terminal device located in a first network and at least one second terminal device located in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
because the first network and the second network are heterogeneous networks, the first gateway device can communicate with the second terminal device through the second gateway device, the first gateway device and the second gateway device can be connected through a third network, and then the first gateway device can be used for networking the first terminal device positioned in the first network and the at least one second terminal device positioned in the at least one second network.
Step 1002, the first gateway device receives first communication data sent by the first terminal device, and sends the first communication data to the second terminal device;
after the first gateway device is used for networking the first terminal device and the second terminal device, the first gateway device can receive the first communication data sent by the first terminal device and can send the first communication data to the second terminal device through the second gateway device.
In an embodiment of the present invention, step 1002 may include the following sub-steps:
step 11, the first gateway device determines a second terminal identifier corresponding to the first communication data from the second device list;
as an example, the second terminal identifier may be a terminal identifier of a terminal device in the second network, for example, the second terminal identifier may be a terminal number of a video networking device, and is composed of a second gateway identifier and a sub-identifier (such as 12345:1010).
In the data transmission process of communication, the first gateway device may acquire a second device list from the second gateway device, where the second device list includes a second terminal identifier, so when receiving first communication data sent by a first terminal device located in the first network, the first gateway device may acquire a second terminal identifier corresponding to the first communication data from the second device list, where the second terminal identifier is used as a destination terminal identifier of the data sent by the first terminal device in the first network.
In practical application, for the sent destination terminal equipment, because the IP address in the local area network belongs to the private network address, the IP address of the destination terminal equipment cannot be directly obtained when the IP equipment sends data. When sending communication data, the video networking gateway terminal (i.e. the first gateway device) can determine the video networking device terminal number (i.e. the second terminal identifier) corresponding to the destination terminal device according to the corresponding relationship between the terminal identifier of the heterogeneous network terminal device and the heterogeneous network private network address in the second device list, so as to send the video networking device terminal number.
And a sub-step 12, wherein the first gateway device adopts the second terminal identifier to send the first communication data to the second terminal device through the second gateway device.
After determining the second terminal identifier, the second terminal identifier may be used, and the first communication data may be sent to the second terminal device connected to the second gateway device through the second gateway device, for example, by obtaining the terminal number of the video networking device of the destination terminal device, the video networking gateway terminal may send the IP data packet to the destination terminal device.
As an example, the view network gateway terminal of a certain local area network may obtain a device list of each heterogeneous network from view network gateway terminals of other heterogeneous networks, where the device list may include view network device terminal numbers of terminal devices in the heterogeneous networks (such as a view network gateway terminal number to which the terminal device belongs and a subnet number in the local area network).
When any one of the IP devices sends data, the internet-of-view gateway terminal may initiate a communication request to other heterogeneous networks according to the internet-of-view device terminal number in the device list, for example, the internet-of-view gateway terminal may receive an IP data packet sent by the IP device, and obtain the internet-of-view device terminal number of the destination IP device from the IP data packet, and may further send data according to the internet-of-view device terminal number.
Step 1003, the first gateway device receives second communication data sent by the second terminal device, and sends the second communication data to the first terminal device.
In an embodiment of the present invention, step 1003 may include the following sub-steps:
a sub-step 21, wherein the first gateway device determines a first terminal identifier from the second communication data;
as an example, the first terminal identifier may be a terminal identifier of a terminal device in the first network, for example, the first terminal identifier may be a terminal number of a video networking device, and may be composed of a first gateway identifier and a sub-identifier (such as 12345:1010).
In the process of receiving the data, the first gateway device may have a first device list including a first terminal identifier, and further when receiving the second communication data sent by the second gateway device, the first gateway device may acquire the first terminal identifier corresponding to the second communication data from the first device list, and send the data destination terminal identifier as the second terminal device of the second network.
A sub-step 22, wherein the first gateway device determines a first private network address corresponding to the first terminal identifier from the first device list;
as an example, the first private network address may be an IP address for the first terminal device in the first network, for example, each local area network in the heterogeneous network belongs to the private network and is an IP network, and the terminal devices located in the local area networks may have corresponding IP addresses.
Because the first device list may include a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network, after determining the first terminal identifier, the first private network address corresponding to the first terminal identifier may be obtained from the first device list.
In practical application, the internet of view gateway terminal can convert between IP address and internet of view equipment terminal number, when receiving communication data, the internet of view gateway terminal can convert the internet of view equipment terminal number of the destination terminal equipment corresponding to the communication data into IP address of the destination terminal equipment in the local area network according to the corresponding relation between the terminal identification and private network address in the first equipment list.
And step 23, the first gateway device adopts the first private network address to send the second communication data to the first terminal device.
After determining the first private network address, the first gateway device may send the second communication data to the first terminal device using the first private network address, for example, by obtaining the IP address of the destination terminal device, the internet-of-view gateway terminal may send the received IP data packet to the destination terminal device in the local area network.
In an embodiment of the present invention, the method may further include the steps of:
when the first gateway equipment detects that the first terminal equipment is accessed, generating a first terminal identifier corresponding to the first terminal equipment, and updating a preset first equipment list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment.
As an example, the first device list may include a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network; the terminal identifier of the terminal device in the first network may be composed of a first gateway identifier and a sub identifier corresponding to the first gateway device; the first device list may be used to perform a query for a terminal identifier or a private network address when communicating in a network established by the first terminal device and the second terminal device.
In a specific implementation, when detecting that the first terminal device is accessed, the first gateway device may generate a first terminal identifier corresponding to the first terminal device, and update a preset first device list by adopting the first terminal identifier.
In an embodiment of the present invention, the method may further include the steps of:
the first gateway device acquires a second device list from the second gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
As an example, the second device list may include a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network; the terminal identifier of the terminal device in the second network may be composed of a second gateway identifier and a sub identifier corresponding to the second gateway device; the second equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network.
In a specific implementation, the first gateway device may obtain a second device list from the second gateway device, so as to obtain a correspondence between terminal identifiers of one or more heterogeneous network terminal devices in the second device list and private network addresses in the heterogeneous network, so as to perform communication after networking.
In an embodiment of the present invention, before the sending the first communication data to the second terminal device, the method may further include the following steps:
the first gateway device obtains a first communication token and adds the first communication token in the first communication data to be checked by a core server located in the third network.
As an example, the first communication token may be a communication certificate issued by the internet of view core server, for example, a number sent to the initiator and the receiver after the passing of the audit for the networking request by the internet of view core server.
After the screening of the networking request is passed, the core server of the video network can send the first communication token to the first gateway device at the networking request initiating side and the second gateway device at the networking request receiving side, then the first gateway device can acquire the first communication token when receiving the first communication data sent by the first terminal device located in the first network, and can add the first communication token in the first communication data, and then the first communication data added with the first communication token can be sent to the second terminal device located in the second network through the second gateway device.
In practical application, after the core server of the visual network passes the verification of the networking request, a number can be sent to the initiator and the receiver as a communication certificate, and the initiator visual network gateway terminal can fill the number in a special field of the visual network protocol and encapsulate the number and the IP data packet to be sent, so that the encapsulated IP data packet can be sent to the target terminal equipment.
In an example, the encapsulated IP packet may normally pass through between nodes of the internet of view, and the core server of the internet of view may determine whether to forward by detecting whether the number of a specific field of the internet of view protocol in the packet is correct, and the destination terminal device of the internet of view or the gateway terminal of the internet of view may determine whether to receive the packet according to the number of the field.
Because the existing heterogeneous networks are converged by adopting an IP arbitrary connection mode, after the heterogeneous networks are interconnected and intercommunicated, any user can directly access other networks from one network, but the security level of each heterogeneous network is inconsistent, the security requirements are also inconsistent, and the security problem of communication between the heterogeneous networks is caused.
By networking the heterogeneous network based on the visual network, the visual network can be provided with a network access and business auditing mechanism and a dense pass mechanism, and the visual network core server is adopted for auditing when each terminal device is accessed to the network or initiates business, so that illegal users can be prevented from accessing the network, low-authority users cannot initiate business at will, and the safety problem of communication between different heterogeneous networks is solved.
In order to enable those skilled in the art to better understand the above steps, an embodiment of the present invention will be exemplarily described with reference to fig. 11, but it should be understood that the embodiment of the present invention is not limited thereto.
For 4 heterogeneous local area networks which are originally independent from each other, one or more mobile communication devices can be arranged in each heterogeneous network, the video networking gateway terminal at the networking request initiating side can rapidly initiate conference services of the video networking gateway terminals of other heterogeneous local area networks in the same network after the service audit of the video networking core server and the receipt of a pass are carried out according to the service type and the destination video networking device terminal number of the networking request, so that communication connection between two or more heterogeneous networks is established based on the video networking, the video networking gateway terminal can forward an IP data packet to the destination IP device according to a local area network private network address corresponding to the received IP data packet, and the specific communication process can be referred to the description and is not repeated.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 12, a block diagram of a networking device according to an embodiment of the present invention is shown, where the device may be applied to a first terminal device, and the first terminal device may be located in a first network, and may specifically include the following modules:
a first networking request generation module 1201, configured to generate, by using the first terminal device, a first networking request for at least one second terminal device located in at least one second network; wherein the second network and the first network are heterogeneous networks;
a first networking module 1202, configured to send, by the first terminal device, the first networking request to a first gateway device, so as to network with the second terminal device through the first gateway device; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
In an embodiment of the present invention, the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a manner of performing a video network conference with the second gateway device.
In an embodiment of the invention, the apparatus further comprises:
the first terminal equipment access module is used for accessing the first gateway equipment to the first terminal equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment.
In an embodiment of the present invention, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network.
In an embodiment of the present invention, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device.
In an embodiment of the present invention, the first gateway device is configured to send the first networking request to a core server located in the third network, and when receiving a first networking acknowledgement message returned by the core server for the first networking request, network the first terminal device and the second terminal device.
In the embodiment of the invention, the first networking request aiming at least one second terminal device positioned in at least one second network is generated through the first terminal device, the second network and the first network are heterogeneous networks, then the first terminal device sends the first networking request to the first gateway device so as to networking through the first gateway device and the second terminal device, the first gateway device communicates with the second terminal device through the second gateway device, the first gateway device and the second gateway device are connected through a third network, networking and communication between heterogeneous networks based on the third network are realized, the gateway devices of all heterogeneous networks are not manually configured, and a plurality of heterogeneous networks can be quickly and conveniently networking.
Referring to fig. 13, a block diagram of a networking device according to an embodiment of the present invention is shown, where the device may be applied to a first gateway device, and may specifically include the following modules:
a first networking request receiving module 1301, configured to receive, by using the first gateway device, a first networking request sent by a first terminal device located in a first network and directed to at least one second terminal device located in at least one second network; wherein the first network and the second network are heterogeneous networks;
A second networking module 1302, configured to network the first terminal device and the second terminal device by using the first gateway device; the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment is connected with the second gateway equipment through a third network.
In an embodiment of the present invention, the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a manner of performing a video network conference with the second gateway device.
In an embodiment of the invention, the apparatus further comprises:
the first terminal identification generation module is used for generating a first terminal identification corresponding to the first terminal equipment when the first gateway equipment detects that the first terminal equipment is accessed, and updating a preset first equipment list by adopting the first terminal identification; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
further comprises:
a second device list obtaining module, configured to obtain a second device list from the second gateway device by using the first gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
In an embodiment of the present invention, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network, and the second device list includes a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network.
In an embodiment of the present invention, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub identifier corresponding to the second gateway device.
In an embodiment of the invention, the apparatus further comprises:
a first gateway device sending module, configured to send the first networking request to a core server located in the third network by using the first gateway device;
and the first gateway device receiving module is configured to invoke the second networking module 1302 when the first gateway device receives a first networking acknowledgement message returned by the core server for the first networking request.
Referring to fig. 14, there is shown a block diagram of a communication apparatus according to an embodiment of the present invention, where the apparatus may be applied to a first terminal device, and the first terminal device may be located in a first network, and may specifically include the following modules:
A third networking module 1401, configured to network the first terminal device with at least one second terminal device located in at least one second network through a first gateway device; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
a first communication data sending module 1402, configured to send, by the first terminal device, first communication data to the second terminal device through the first gateway device;
a second communication data receiving module 1403, configured to receive, by the first terminal device, second communication data from the second terminal device through the first gateway device.
Referring to fig. 15, a block diagram of a communication apparatus according to an embodiment of the present invention is shown, where the apparatus may be applied to a first gateway device, and may specifically include the following modules:
a fourth networking module 1501, configured to network, by the first gateway device, a first terminal device located in a first network and at least one second terminal device located in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
A first gateway device sending first communication data module 1502, configured to receive first communication data sent by the first terminal device by using the first gateway device, and send the first communication data to the second terminal device;
the first gateway device sends second communication data module 1503, configured to receive, by using the first gateway device, second communication data sent by the second terminal device, and send the second communication data to the first terminal device.
In an embodiment of the invention, the apparatus further comprises:
a first device list updating module, configured to generate a first terminal identifier corresponding to the first terminal device when the first gateway device detects that the first terminal device is accessed, and update a preset first device list by using the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network;
further comprises:
the first gateway equipment acquires a second equipment list module, which is used for the first gateway equipment to acquire a second equipment list from the second gateway equipment; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
In an embodiment of the present invention, the first device list includes a correspondence between a terminal identifier of a terminal device in the first network and a private network address in the first network, and the second device list includes a correspondence between a terminal identifier of a terminal device in the second network and a private network address in the second network.
In an embodiment of the present invention, the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub identifier corresponding to the second gateway device.
In an embodiment of the present invention, the first gateway device sending the first communication data module 1502 includes:
a second terminal identifier determining submodule, configured to determine, by the first gateway device, a second terminal identifier corresponding to the first communication data from the second device list;
a second terminal identifier adopts a sub-module, and is used for the first gateway device to adopt the second terminal identifier and send the first communication data to the second terminal device through the second gateway device;
the first gateway device sending second communication data module 1503 includes:
A first terminal identification determining submodule, configured to determine a first terminal identification from the second communication data by the first gateway device;
a first private network address determining submodule, configured to determine, by the first gateway device, a first private network address corresponding to the first terminal identifier from the first device list;
the first private network address adopts a sub-module, which is used for the first gateway device to adopt the first private network address and send the second communication data to the first terminal device.
In an embodiment of the invention, the apparatus further comprises:
the first communication token acquisition module is used for acquiring a first communication token by the first gateway device, and adding the first communication token into the first communication data so as to be checked by a core server positioned in the third network.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
An embodiment of the present invention also provides an electronic device that may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program implementing the above network communication and network organization methods when executed by the processor.
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above network communication and network construction method.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has outlined a detailed description of the networking and communication method and apparatus of the present invention, wherein specific examples are provided herein to illustrate the principles and embodiments of the present invention, the description of the examples being merely intended to facilitate an understanding of the method and core concepts of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (19)

1. A method of networking, applied to a first terminal device, the first terminal device being located in a first network, the method comprising:
the first terminal equipment is accessed to first gateway equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network;
the first terminal device generating a first networking request for at least one second terminal device located in at least one second network; wherein the second network and the first network are heterogeneous networks;
the first terminal equipment sends the first networking request to the first gateway equipment so as to be networked with the second terminal equipment through the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
The third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device.
2. The method of claim 1, wherein the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub-identifier corresponding to the first gateway device.
3. The method of claim 1, wherein the first gateway device is configured to send the first networking request to a core server located in the third network, and to network the first terminal device and the second terminal device when a first networking acknowledgement message returned by the core server for the first networking request is received.
4. A method of networking, applied to a first gateway device, comprising:
when the first gateway equipment detects that first terminal equipment is accessed, generating a first terminal identifier corresponding to the first terminal equipment, and updating a preset first equipment list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network;
The first gateway device receives a first networking request sent by the first terminal device located in a first network and aiming at least one second terminal device located in at least one second network; wherein the first network and the second network are heterogeneous networks;
the first gateway device networking the first terminal device and the second terminal device; the first gateway equipment is communicated with the second terminal equipment through second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device.
5. The method of claim 4, wherein, before the first gateway device receives a first networking request sent by a first terminal device located in a first network for at least one second terminal device located in at least one second network,
further comprises:
the first gateway device acquires a second device list from the second gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
6. The method of claim 5, wherein the second device list includes a correspondence between terminal identifications of terminal devices in the second network and private network addresses in the second network.
7. The method of claim 6, wherein the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub-identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub-identifier corresponding to the second gateway device.
8. The method of claim 4, further comprising, prior to the first gateway device networking the first terminal device and the second terminal device:
the first gateway device sends the first networking request to a core server located in the third network;
and the first gateway device performs networking on the first terminal device and the second terminal device when receiving a first networking acknowledgement message returned by the core server for the first networking request.
9. A method of communication, applied to a first terminal device, the first terminal device being located in a first network, comprising:
The first terminal equipment is networked with at least one second terminal equipment positioned in at least one second network through a first gateway equipment; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device;
the first terminal equipment sends first communication data to the second terminal equipment through the first gateway equipment;
the first terminal device receives second communication data from the second terminal device through the first gateway device;
the method further comprises the steps of:
the first terminal equipment is accessed to the first gateway equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network.
10. A method of communication, applied to a first gateway device, comprising:
the first gateway device is used for networking a first terminal device positioned in a first network and at least one second terminal device positioned in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device;
the first gateway device receives first communication data sent by the first terminal device and sends the first communication data to the second terminal device;
the first gateway device receives second communication data sent by the second terminal device and sends the second communication data to the first terminal device;
the method further comprises the steps of:
when the first gateway equipment detects that the first terminal equipment is accessed, generating a first terminal identifier corresponding to the first terminal equipment, and updating a preset first equipment list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network.
11. The method of claim 10, wherein the step of determining the position of the first electrode is performed,
further comprises:
the first gateway device acquires a second device list from the second gateway device; the second device list is used for inquiring terminal identification or private network address when the first terminal device and the second terminal device are communicated in a network.
12. The method of claim 11, wherein the second device list includes a correspondence between terminal identifications of terminal devices in the second network and private network addresses in the second network.
13. The method of claim 12, wherein the terminal identifier of the terminal device in the first network is composed of a first gateway identifier and a sub-identifier corresponding to the first gateway device, and the terminal identifier of the terminal device in the second network is composed of a second gateway identifier and a sub-identifier corresponding to the second gateway device.
14. The method according to claim 12 or 13, wherein the first gateway device receives the first communication data sent by the first terminal device and sends the first communication data to the second terminal device, comprising:
The first gateway device determines a second terminal identifier corresponding to the first communication data from the second device list;
the first gateway device adopts the second terminal identifier, and the first communication data is sent to the second terminal device through the second gateway device;
the first gateway device receives second communication data sent by the second terminal device and sends the second communication data to the first terminal device, and the method comprises the following steps:
the first gateway equipment determines a first terminal identifier from the second communication data;
the first gateway device determines a first private network address corresponding to the first terminal identifier from the first device list;
the first gateway device adopts the first private network address to send the second communication data to the first terminal device.
15. The method of claim 10, further comprising, prior to said transmitting said first communication data to said second terminal device:
the first gateway device obtains a first communication token and adds the first communication token in the first communication data to be checked by a core server located in the third network.
16. An apparatus for networking, applied to a first terminal device, where the first terminal device is located in a first network, the apparatus comprising:
the first terminal equipment access module is used for accessing the first gateway equipment to the first terminal equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network;
a first networking request generation module, configured to generate a first networking request for at least one second terminal device located in at least one second network by using the first terminal device; wherein the second network and the first network are heterogeneous networks;
the first networking module is used for sending the first networking request to the first gateway equipment by the first terminal equipment so as to be networked with the second terminal equipment through the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
The third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device.
17. An apparatus for networking, applied to a first gateway device, comprising:
the first terminal identification generation module is used for generating a first terminal identification corresponding to the first terminal equipment when the first gateway equipment detects that the first terminal equipment is accessed, and updating a preset first equipment list by adopting the first terminal identification; the first equipment list is used for inquiring terminal identification or private network address when communication is carried out in a network established by the first terminal equipment and the second terminal equipment; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network;
a first networking request receiving module, configured to receive, by using the first gateway device, a first networking request sent by the first terminal device located in a first network and directed to at least one second terminal device located in at least one second network; wherein the first network and the second network are heterogeneous networks;
The second networking module is used for networking the first terminal equipment and the second terminal equipment by the first gateway equipment; the first gateway equipment is communicated with the second terminal equipment through second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device.
18. An apparatus for communication, applied to a first terminal device, the first terminal device being located in a first network, comprising:
a third networking module, configured to network the first terminal device with at least one second terminal device located in at least one second network through a first gateway device; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
the third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device;
The first communication data sending module is used for sending first communication data to the second terminal equipment through the first gateway equipment by the first terminal equipment;
a second communication data receiving module, configured to receive second communication data from the second terminal device through the first gateway device by using the first terminal device;
the device is also used for the first terminal equipment to access the first gateway equipment; the first gateway device is used for generating a first terminal identifier corresponding to the first terminal device when detecting that the first terminal device is accessed, and updating a preset first device list by adopting the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network.
19. An apparatus for communication, applied to a first gateway device, comprising:
a fourth networking module, configured to network, by using the first gateway device, a first terminal device located in a first network and at least one second terminal device located in at least one second network; the first network and the second network are heterogeneous networks, the first gateway equipment is communicated with the second terminal equipment through the second gateway equipment, and the first gateway equipment and the second gateway equipment are connected through a third network;
The third network is a video network, the first gateway device and the second gateway device are video network terminal devices, and the first gateway device is networked in a mode of video network conference with the second gateway device;
the first gateway device sends a first communication data module, which is used for receiving first communication data sent by the first terminal device by the first gateway device and sending the first communication data to the second terminal device;
the first gateway device sends a second communication data module, which is used for receiving second communication data sent by the second terminal device by the first gateway device and sending the second communication data to the first terminal device;
the apparatus further comprises:
a first device list updating module, configured to generate a first terminal identifier corresponding to the first terminal device when the first gateway device detects that the first terminal device is accessed, and update a preset first device list by using the first terminal identifier; the first equipment list is used for inquiring terminal identification or private network address when the first terminal equipment and the second terminal equipment are communicated in a network; the first equipment list comprises the corresponding relation between the terminal identification of the terminal equipment in the first network and the private network address in the first network.
CN202010848415.XA 2020-08-21 2020-08-21 Networking and communication method and device Active CN112165416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010848415.XA CN112165416B (en) 2020-08-21 2020-08-21 Networking and communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010848415.XA CN112165416B (en) 2020-08-21 2020-08-21 Networking and communication method and device

Publications (2)

Publication Number Publication Date
CN112165416A CN112165416A (en) 2021-01-01
CN112165416B true CN112165416B (en) 2023-09-29

Family

ID=73859634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010848415.XA Active CN112165416B (en) 2020-08-21 2020-08-21 Networking and communication method and device

Country Status (1)

Country Link
CN (1) CN112165416B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604357A (en) * 2022-08-31 2023-01-13 云南电网有限责任公司(Cn) Heterogeneous integration networking communication management and control system for power transmission line

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627716A (en) * 2003-12-10 2005-06-15 联想(北京)有限公司 Intelligent method for building up wired device and wireless devices, and method for widening applications
CN101453801A (en) * 2007-12-04 2009-06-10 株式会社日立国际电气 Communication system and gateway
CN103259736A (en) * 2013-05-24 2013-08-21 杭州华三通信技术有限公司 Tunnel building method and network equipment
KR20140106976A (en) * 2013-02-27 2014-09-04 엘지전자 주식회사 Building automation system, gateway comprised therein and method of operating the gateway
CN205792662U (en) * 2016-06-01 2016-12-07 广州市成格信息技术有限公司 A kind of novel heterogeneous network networking structure
CN206402247U (en) * 2017-01-13 2017-08-11 武汉亚讯环保科技有限公司 A kind of device of control intelligent home device
CN110049069A (en) * 2018-01-15 2019-07-23 北京视联动力国际信息技术有限公司 A kind of data capture method and device
CN110072154A (en) * 2019-04-18 2019-07-30 视联动力信息技术股份有限公司 A kind of group building method and transfer server based on view networking
CN110430587A (en) * 2019-08-13 2019-11-08 北京百佑科技有限公司 Rapid networking method, internet-of-things terminal and computer readable storage medium
CN110505107A (en) * 2018-05-16 2019-11-26 视联动力信息技术股份有限公司 A kind of monitoring method and view networking management system
CN110769451A (en) * 2019-09-11 2020-02-07 中铁电气化局集团有限公司 Rail transit communication system, rail transit communication method, computer device, and storage medium
CN111130957A (en) * 2019-12-17 2020-05-08 广东美的厨房电器制造有限公司 Network distribution method and device for household electrical appliance equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627716A (en) * 2003-12-10 2005-06-15 联想(北京)有限公司 Intelligent method for building up wired device and wireless devices, and method for widening applications
CN101453801A (en) * 2007-12-04 2009-06-10 株式会社日立国际电气 Communication system and gateway
KR20140106976A (en) * 2013-02-27 2014-09-04 엘지전자 주식회사 Building automation system, gateway comprised therein and method of operating the gateway
CN103259736A (en) * 2013-05-24 2013-08-21 杭州华三通信技术有限公司 Tunnel building method and network equipment
CN205792662U (en) * 2016-06-01 2016-12-07 广州市成格信息技术有限公司 A kind of novel heterogeneous network networking structure
CN206402247U (en) * 2017-01-13 2017-08-11 武汉亚讯环保科技有限公司 A kind of device of control intelligent home device
CN110049069A (en) * 2018-01-15 2019-07-23 北京视联动力国际信息技术有限公司 A kind of data capture method and device
CN110505107A (en) * 2018-05-16 2019-11-26 视联动力信息技术股份有限公司 A kind of monitoring method and view networking management system
CN110072154A (en) * 2019-04-18 2019-07-30 视联动力信息技术股份有限公司 A kind of group building method and transfer server based on view networking
CN110430587A (en) * 2019-08-13 2019-11-08 北京百佑科技有限公司 Rapid networking method, internet-of-things terminal and computer readable storage medium
CN110769451A (en) * 2019-09-11 2020-02-07 中铁电气化局集团有限公司 Rail transit communication system, rail transit communication method, computer device, and storage medium
CN111130957A (en) * 2019-12-17 2020-05-08 广东美的厨房电器制造有限公司 Network distribution method and device for household electrical appliance equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A multi-interface gateway architecture for home automation networks;Guangming Song;《IEEE Transactions on Consumer Electronics ( Volume: 54, Issue: 3, August 2008)》;全文 *
基于异构网络的分布式智能家居网关系统研究与实现;宗鑫祺;《中国优秀硕士论文全文数据库》;全文 *

Also Published As

Publication number Publication date
CN112165416A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN110620896B (en) Conference establishing method, system and device
CN109068186B (en) Method and device for processing packet loss rate
CN109996086B (en) Method and device for inquiring service state of video networking
CN110035005B (en) Data processing method and device
CN109660816B (en) Information processing method and device
CN109246486B (en) Method and device for framing
CN110022295B (en) Data transmission method and video networking system
CN109743522B (en) Communication method and device based on video networking
CN111327868B (en) Method, terminal, server, equipment and medium for setting conference speaking party roles
CN109347844B (en) Method and device for accessing equipment to Internet
CN109451001B (en) Communication method and system
CN111614927A (en) Video session establishment method, device, electronic equipment and storage medium
CN112165416B (en) Networking and communication method and device
CN110266577B (en) Tunnel establishment method and video networking system
CN110519549B (en) Conference terminal list obtaining method and system
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109842630B (en) Video processing method and device
CN109889755B (en) Communication connection method and video networking terminal
CN109862439B (en) Data processing method and device
CN109640194B (en) Method and device for acquiring terminal permission through two-dimensional code based on video network
CN113162910B (en) Resource transmission method and device, electronic equipment and storage medium
CN110474956B (en) Method and device for sealing number of video networking equipment, electronic equipment and readable storage medium
CN111225241B (en) Communication 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