CN109787873A - A kind of method and apparatus of multi-to-multi incoming communication - Google Patents

A kind of method and apparatus of multi-to-multi incoming communication Download PDF

Info

Publication number
CN109787873A
CN109787873A CN201910100767.4A CN201910100767A CN109787873A CN 109787873 A CN109787873 A CN 109787873A CN 201910100767 A CN201910100767 A CN 201910100767A CN 109787873 A CN109787873 A CN 109787873A
Authority
CN
China
Prior art keywords
server
view
data packet
depending
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910100767.4A
Other languages
Chinese (zh)
Other versions
CN109787873B (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 CN201910100767.4A priority Critical patent/CN109787873B/en
Publication of CN109787873A publication Critical patent/CN109787873A/en
Application granted granted Critical
Publication of CN109787873B publication Critical patent/CN109787873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application provides a kind of method and apparatus of multi-to-multi incoming communication, the method and device are applied in view networking, the data exchange, it can be achieved that between different view connection cat clients and different view connection cat server-sides is bound one by one from multiple view connection cat clients, multiple view connection cat server-sides using multiple main virtual terminals in view networked server;Binding relationship is generated with client server respectively by the multiple first sub- virtual terminals in view connection cat server-side, binding relationship is generated with user terminal respectively depending on the multiple second sub- virtual terminals in connection cat client, multiple user terminals can be achieved, different IP operation private networks may have access to by a set of network in synchronization, and the purpose of view networking, internet etc., greatly reduce the waste of the expense and resource of network deployment.

Description

A kind of method and apparatus of multi-to-multi incoming communication
Technical field
It is multipair more particularly to the method and one kind of a kind of multi-to-multi incoming communication this application involves view networking technology field The device of more incoming communications.
Background technique
With the fast development of the network technology, the two-way communications such as video conference, video teaching the life of user, work, Study etc. is widely available.
Currently, widely available depending on networking service having obtained in China, depending on the HD video interaction technique of networking In a government office and in other industries also play very important effect.Depending on networking using the state-of-the-art real-time high-definition in the whole world Video exchange technology realizes the whole network HD video real-time Transmission that current internet cannot achieve, by HD video meeting, view Frequency monitoring, remote training, Intellectualized monitoring analysis, emergency command, visual telephone, live broadcast, TV Mail, information publication etc. The services such as tens of kinds of videos, voice, picture, text, communication, data packets are all incorporated into a system platform, by a variety of Terminal device realizes that high-definition quality video communication is interconnected in real time.But these applications are only limitted to carry out in depending on networking.
It is all independent that the prior art, which is depending on networking and internet, if multiple users think to access view networking, interconnection simultaneously The IPv4 networks such as net, IP private network then need to dispose multiple-route cluster respectively, and dispose complexity, but also will cause the wave of resource Take.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind A kind of method of the multi-to-multi incoming communication to solve the above problems and a kind of corresponding device of multi-to-multi incoming communication.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of method of multi-to-multi incoming communication, the method Applied in view networking, the view networking includes view networked server, with the multiple views being separately connected depending on networked server Join cat client and multiple views and joins cat server-side, and, and multiple user terminals connecting depending on joining cat client are and described Depending on multiple client servers of connection cat server-side connection, which comprises
The view connection cat server-side receives the internet response data packet that client server is sent by Internet protocol;Its In, the internet response data packet includes the first address information of the client server, corresponding with the first address information First passage mark, the second address information of target terminal user;
It is described that the internet response data packet is encapsulated as view networking response data packet depending on connection cat server-side;
The view connection cat server-side is identified according to the first passage, determines target corresponding with first passage mark First sub- virtual terminal;
It is described to wrap the addition sub- virtual terminal of the target first depending on networking response data described depending on connection cat server-side Terminal number;
The view connection cat server-side is sent view networking response data packet using the sub- virtual terminal of the target first To the view networked server;The view networked server is used for according to second address information, and determination is connected with the mesh The target view connection cat client of user terminal is marked, and is sent to the target view connection cat client depending on networking response data packet for described End;The target is used to be reduced to internet response data packet simultaneously depending on networking response data packet unpacking for described depending on connection cat client It is sent to the target terminal user.
Optionally, the view connection cat server-side is connect by interchanger with the multiple client server;The view joins cat Server-side by Internet protocol receive client server send internet response data packet the step of include:
The interchanger is used to receive the first internet response data packet that the client server is sent;Wherein, described First internet response data packet includes the first address information of the client server;
The interchanger is used for according to first address information, will first passage corresponding with first address information Mark is added in first internet response data packet, and generates the second internet response data packet;
It is described that the second internet response data that the interchanger is sent is received by Internet protocol depending on connection cat server-side Packet.
Optionally, described that the internet response data packet is encapsulated as view networking response data packet depending on connection cat server-side Step includes:
The view connection cat server-side adds one layer of view connection based on view networking protocol outside the internet response data packet Packet header is netted, and is encapsulated as view networking response data packet.
Optionally, first number depending on being provided in connection cat server-side for managing multiple first sub- virtual terminals According to library, a first sub- virtual terminal and a client server are in binding state;
It is described depending on being provided with the second database for managing the multiple second sub- virtual terminals in connection cat client, described the Two sub- virtual terminals can generate binding relationship with a user terminal at random;
In second database, the first sub- virtual terminal is mutually closed with a second sub- virtual terminal Connection.
Optionally, the target is used to be reduced to internet depending on networking response data packet unpacking for described depending on connection cat client Response data packet and the step of being sent to the target terminal user includes:
The target is used for fictitious according to the target first wrapped depending on networking response data depending on connection cat client The terminal number of quasi- terminal, the determining target that is mutually related with the sub- virtual terminal of the target first from second database Two sub- virtual terminals;
The target is used to obtain the second channel mark on the sub- virtual terminal of the target second depending on connection cat client;
The target is used to be reduced to internet number of responses depending on networking response data packet unpacking for described depending on connection cat client According to packet;
The internet response data packet is sent to and second channel mark pair by the target depending on connection cat client The target terminal user answered.
Optionally, the described first sub- virtual terminal includes two state flag bits, and a state flag bit is for identifying institute The operating status of the sub- virtual terminal of target first is stated, another state flag bit is for identifying the sub- virtual terminal of the target first With the connection status of the view networked server;The method also includes:
The current state that the sub- virtual terminal of the target first is periodically checked depending on connection cat server-side;Wherein, institute Stating current state includes operating status and connection status;
The view connection cat server-side is directed to the current state, in the first database, by first son of target Described two state flag bits of virtual terminal update.
Optionally, the view connection cat server-side receives the internet number of responses that client server is sent by Internet protocol Before the step of packet, the method also includes:
It is described to receive the view connection that the view networked server is sent using the described first sub- virtual terminal depending on connection cat server-side Network data packet;Wherein, the view networking data packet regards the interconnection that connection cat client sends target terminal user by the target Network data packet is converted, the first address information including target user's server;The view networked server is used for root According to first address information, the view connection cat server-side for being connected with target user's server is determined, and the view is networked Data packet is sent to the view connection cat server-side;
It is described to be reduced to internet data packet depending on the unpacking of networking data packet for described depending on connection cat server-side;
It is described depending on connection cat server-side will unpack the internet data packet after reduction be sent to by Internet protocol and Target user's server.
To solve the above-mentioned problems, the embodiment of the present application also discloses a kind of device of multi-to-multi incoming communication, the dress Set and be applied in view networking, view networking includes regarding networked server, with it is described be separately connected depending on networked server it is multiple Join cat server-side depending on connection cat client and multiple views, and, with described depending on joining multiple user terminals for connecting of cat client, with institute Multiple client servers of view connection cat server-side connection are stated, it is described to include: depending on connection cat server-side
Internet response data packet receiving module, for receiving the internet that client server is sent by Internet protocol Response data packet;Wherein, the internet response data packet includes the first address information of the client server, with the first The corresponding first passage mark of location information, the second address information of target terminal user;
Depending on response data packet package module of networking, for the internet response data packet to be encapsulated as view networking number of responses According to packet;
First fictitious quasi- terminal deciding module, for being identified according to the first passage, the determining and first passage mark Know the sub- virtual terminal of corresponding target first;
Virtual terminal adding module, for depending on networking response data to wrap the addition target first fictitious quasi- described The terminal number of terminal;
Depending on response data packet sending module of networking, rung for the view to be networked using the target first sub- virtual terminal Data packet is answered to be sent to the view networked server;The view networked server is used to be determined according to second address information It is connected with the target view connection cat client of the target terminal user, and is sent to the mesh depending on networking response data packet for described Mark view connection cat client;The target is used to be reduced to internet depending on networking response data packet unpacking for described depending on connection cat client Response data packet is simultaneously sent to the target terminal user.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes one or more described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the method that the processor executes one or more described in the embodiment of the present application.
The embodiment of the present application includes the following advantages:
The characteristic of the embodiment of the present application application view networking is utilized by multiple main virtual terminals in view networked server Multiple main virtual terminals are bound one by one from multiple views connection cat client, multiple views connection cat server-side, it can be achieved that different views connection cat visitor Data exchange between family end and different view connection cat server-sides;Pass through the multiple first sub- virtual terminals point in view connection cat server-side Binding relationship is not generated with client server, it is raw with user terminal respectively depending on the multiple second sub- virtual terminals in connection cat client At binding relationship, it can be achieved that multiple user terminals may have access to different IP operation private networks by a set of network in synchronization, And the purpose of view networking, internet etc., greatly reduce the waste of the expense and resource of network deployment;
The characteristic of the embodiment of the present application application view networking, the second sub- virtual terminal and binding have the one of some client server A first sub- virtual terminal is interrelated, directly will can be sent to client server depending on networking data packet, to client server into Row access, the embodiment of the present application shortens data transmission time, so that efficiency of transmission greatly improves, and, improve data packet The probability correctly transmitted;
The characteristic of the embodiment of the present application application view networking, the conversion of data packet is carried out depending on connection cat server-side, may be implemented to lead to It crosses depending on networking and accesses internet private network, solve the problems, such as by that can not surf the Internet depending on networking;Using view networking online, not only may be used To improve the utilization rate for regarding networking bandwidth, moreover it is possible to greatly improve the speed of online, ensure the safety that data are transmitted in depending on networking Property;
The characteristic of the embodiment of the present application application view networking, periodically checked for the described first fictitious quasi- end depending on connection cat server-side Then the current state at end is directed to the current state, in the first database, by the institute of the described first sub- virtual terminal It states two state flag bits to update, each sub- virtual terminal can be recognized depending on the operation maintenance personnel for joining cat server-side in time by managing with this State, and do corresponding processing, it is ensured that the first sub- virtual terminal is able to maintain normal operating conditions, normally runs business, has ensured use Family joins this view networked link access proprietary gateway in internet of cat client, view networked server, view connection cat server-side by view Communication stability and data transmission real-time.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is a kind of networking schematic diagram of the system of multi-to-multi incoming communication of the embodiment of the present application;
Fig. 6 is a kind of step flow chart of the method for multi-to-multi incoming communication of the embodiment of the present application;
Fig. 7 is a kind of structural block diagram of the device of multi-to-multi incoming communication of the embodiment of the present application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the embodiment of the present application can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in the embodiment of the present application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in the embodiment of the present application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the embodiment of the present application is proposed, it then follows regard the association of networking View, the system for proposing a kind of multi-to-multi incoming communication as described in Examples 1 to 33, method and apparatus are, it can be achieved that multiple users Terminal may have access to different IP operation private networks, and view networking, internet etc. by a set of network in synchronization, subtract significantly The waste of the expense and resource of network deployment is lacked.
Embodiment 1:
As shown in figure 5, a kind of networking schematic diagram of the system of multi-to-multi incoming communication of the embodiment of the present application is shown, it is described System can be applied in view networking, and the view networking includes view networked server 53, distinguish with the view networked server 53 Multiple views connection cat client 52 of connection and multiple views join cat server-side 54, and, it is connect with described depending on joining cat client 52 Multiple user terminals 51, with the multiple client servers 55 being connect depending on connection cat server-side 54.
User terminal 51 in the embodiment of the present application is a kind of terminal, by the operating system of customized hardware and operation thereon With the product of application software composition, concretely mobile phone, plate, desktop computer, laptop etc..
One can connect multiple user terminals 51 depending on connection cat client 52 simultaneously.
One can connect multiple client servers 55 depending on connection cat server-side 54 simultaneously.
Client server 55 is located in internet, can be considered a kind of proprietary gateway, the resource for local area network where managing. For example client server 55 can be judicial business private network, can be public business private network, can also be people's court's private network.
It is to support ultra-large, high bandwidth, Real Time Communication Network depending on the second layer being located in network protocol layer of networking And a whole set of the complete network communication protocol system designed, it can be independently of establishing seeking between different terminals except IP agreement Location with communicate, realize " with having quality assurance " Real Time Communication Network system, be a kind of extensive high band with IP agreement " sane level " Wide real-time exchange network communication technology.It is by 255 view networked servers 53, view networked terminals and other auxiliary systems depending on networking Composition must connect view networked server 53 depending on connection cat client 52 and depending on connection cat server-side 54, can just be in communication with each other, carry out industry Business.
Due to 53 limited amount of view networked server in view networking, and regard connection cat client 52, view connection cat server-side 54 Quantity be far longer than view networked server 53 quantity, so usual one will be completed at the same time multiple views depending on networked server 53 Join the data forwarding between cat client 52, view connection cat server-side 54.
In one alternative embodiment of the application, showing can the side of being able to achieve depending on the one kind networked depending on the connection access of cat server-side 54 Method, the method specifically includes the following steps:
The view connection cat server-side 54 receives the networking invitation message that view networked server 53 is sent;Wherein, the networking Invitation message joins cat depending on the generation when having detected that view connection cat server-side 54 accesses of networked server 53, including the view by described The identification information of server-side 54;It is described to be used to for the networking invitation message being sent to and identification letter depending on networked server 53 Cease corresponding view connection cat server-side 54;
The view connection cat server-side 54 is directed to the networking invitation message, generates networking acceptance message;Wherein, the networking Acceptance message includes several first fictitious quasi- terminal numbers, and the first fictitious quasi- terminal number carries the view connection cat server-side 54 identification information;
It is described that the networking acceptance message is sent to the view networked server 53 depending on connection cat server-side 54;The view connection Network server 53 is used to generate described and bind depending on connection cat server-side 54 and the main virtual terminal of first be in idle condition Relationship, and, networking success message is generated, and several described first fictitious quasi- terminal numbers are corresponded into the identification information and are deposited Storage;
It is described to receive the entering for networking acceptance message return depending on networked server 53 depending on connection cat server-side 54 Net success message, and show.
After logging in view networking depending on connection cat server-side 54, MAC Address and several internal first fictitious quasi- end messages It will be recorded in depending on networked server 53, the initialization that view connection cat server-side 54 networks is completed with this.
Network access mode of the mode referring to view connection cat server-side 54 that view networking is logged in depending on connection cat client 52, after networking successfully Binding relationship can be generated with the second main virtual terminal in view networked server 53, do not illustrated excessively herein.
From above-mentioned alternative embodiment it is found that also having several in depending on networked server 53 to avoid data corruption from getting lines crossed Main virtual terminal generates binding depending on the first main virtual terminal that connection cat server-side 54 is in idle condition when networking with one and closes System, similarly view connection cat client 52 also can be with the second main void for being in idle condition depending on one in networked server 53 in networking Quasi- terminal generates binding relationship, and multiple view connection cat clients 52 can be achieved inside depending on networked server 53 with this and multiple views join Cross-communication between cat server-side 54.
Such as access have the M of tri- user terminals 51 of A, B, C view join cat client 52 some period can with access simultaneously Have judicial administration business private network, notary service private network J view connection cat server-side 54 communicate, can also another period with connect simultaneously Enter to have the K view connection cat server-side 54 of public business private network, notary service private network to communicate, so just in view networked server 53 Main virtual terminal realizes that multiple view connection cat clients 52 and multiple views join cat server-side as the delivery means of view networking data Cross-communication between 54.
Embodiment 2:
As shown in fig. 6, a kind of step flow chart of the method for multi-to-multi incoming communication of the embodiment of the present application is shown, it is described Method can be applied in view networking, and the method is applied in the connection cat server-side 54 of the view described in Fig. 5, and the method specifically may be used With the following steps are included:
One depending on connection cat server-side 54 can connect multiple client servers 55 simultaneously, mainly by interchanger with it is the multiple Client server 55 connects.Since interchanger can support multiple communication port, network system can be divided into more More physics network segment, so that whole network system has higher bandwidth, and each communication port corresponds to a bridge, each Bridge all has unique gap marker, and client server 55 is inserted into the communication port by cable, and can by bridge Join 54 connection communication of cat server-side with view.So the internet response data packet that client server 55 is sent enters the one of interchanger After a bridge, the first passage mark where the upper bridge can be added automatically.
One of the embodiment of the present application also connects multiple user terminals 51 simultaneously depending on connection cat client 52, and similarly, user is whole The principle of 51 connection view connection cat client 52 of end does not repeat excessively herein referring to above content.The interconnection that user terminal 51 is sent After network data packet enters a bridge of the interchanger of connection view connection cat client 52, the where the upper bridge can be added automatically Two gap markers.
Since one connects multiple user terminals 51 depending on connection cat client 52, one also connects simultaneously depending on connection cat server-side 54 Multiple client servers 55, then multiple user terminals 51 access multiple client servers 55 simultaneously, such as depending on connection cat client 52 Where synchronization realizes that the data packet sent to multiple user terminals 51 is forwarded, depending on connection cat server-side 54 how same The data packet is sent to the client server 55 of correct destination by the moment, is that the application needs the technology solved to ask Topic.
It is used for described depending on being provided in connection cat server-side 54 in view of the above-mentioned problems, one alternative embodiment of the application is shown The first database of multiple first sub- virtual terminals is managed, a first sub- virtual terminal and a user take Business device 55 is in binding state;
Second database depending on being provided in connection cat client 52 for managing the multiple second sub- virtual terminals, it is described Second sub- virtual terminal can generate binding relationship with a user terminal 51 at random;
In second database, the first sub- virtual terminal is mutually closed with a second sub- virtual terminal Connection.
In specific implementation, multiple users are to accessing different websites simultaneously, needing to be arranged variable and quantifying, in this Shen It please quantitatively be exactly multiple client servers 55 and the view connection cat service for accessing a view connection cat server-side 54 in an alternative embodiment The first virtual terminal of difference binding in end 54, the forwarding of data is realized by the first virtual terminal.
And regard connection cat client 52 and which user connected, it is known that the access destination of user belongs to variable, and joins cat by view Which the second sub- virtual terminal and the user terminal 51 in client 52 are bound, the data that the user terminal 51 is sent Packet is transferred to correct purpose and also belongs to variable.So the embodiment of the present application is second fictitious by one in view connection cat client 52 Quasi- terminal has a first sub- virtual terminal of some client server 55 interrelated with binding, and records in the second database Afterwards, so that the communicating route between the first sub- virtual terminal and the second sub- virtual terminal is only controlled variable with this at quantitatively System is on the second sub- virtual terminal that user terminal 51 is connected.
So user can send out to access some client server 55 by view networking to target user's server 55 first Access information is sent, the view connection cat server-side 54 is shown in one alternative embodiment of the application by Internet protocol and receives use Before the step of internet response data packet that family server 55 is sent, some user terminal 51 hair is received depending on connection cat server-side 54 The access information sent is able to achieve step:
Step 1: the view connection cat server-side 54 receives the view networked server 53 using the described first sub- virtual terminal The view networking data packet of transmission;Wherein, the view networking data packet regards connection cat client 52 for target user's end by the target The internet data packet that end 51 is sent is converted, the first address information including target user's server 55;The view Networked server 53 is used to determine the view connection cat clothes for being connected with target user's server 55 according to first address information Business end 54, and the view connection cat server-side 54 is sent to depending on networking data packet by described;
According to view networking forwarding characteristic described above, the transmittance process of above-mentioned view networking data packet are as follows:
The view connection cat client 52 receives the internet data packet that user terminal 51 is sent by Internet protocol;Its In, the internet data packet includes the first address information of target user's server 55,
According to first address information, determination is in the view connection cat client 52 with target user's server 55 The sub- virtual terminal of target first of binding state;
View connection cat client 52 determines the according to the sub- virtual terminal of the target first from second database Two sub- virtual terminals;
It is described to be sent to view networked server depending on networking data packet using the second sub- virtual terminal depending on connection cat client 52 53;
The second main virtual terminal depending in networked server 53 is for receiving the view networking data packet;
The view networked server 53 is used for according to the first address information in the view networking data packet, it is determining with it is described The target view connection cat server-side 54 that target user's server 55 connects;Wherein, the target view connection cat server-side 54 and the view The first main virtual terminal in networked server 53 is in binding state;
The second main virtual terminal is used to be sent to the described first main virtual terminal depending on networking data packet for described;
The first main virtual terminal is used to be sent to the target view connection cat server-side 54 depending on networking data packet for described.
Step 2: described to be reduced to internet data packet depending on the unpacking of networking data packet for described depending on connection cat server-side 54;
Step 3: described that the internet data packet after unpacking reduction is passed through into Internet protocol depending on connection cat server-side 54 It is sent to and target user's server 55.
After target user's server 55 receives the internet data packet, generates and correspond to for the internet data packet Internet response data packet, and be sent to view connection cat server 54.
Step S601: the view connection cat server-side 54 receives the internet that client server 55 is sent by Internet protocol Response data packet;Wherein, the internet response data packet includes the first address information of the client server 55, with first The corresponding first passage mark of address information, the second address information of target terminal user 51;
Since view connection cat server-side 54 is connect by interchanger with the multiple client server 55;In the optional reality of the application It applies in example, shows the view connection cat server-side 54 by Internet protocol and receive the internet response that client server 55 is sent The sub-step of data packet can specifically include:
The interchanger is used to receive the first internet response data packet that the client server 55 is sent;Wherein, institute State the first address information that the first internet response data packet includes the client server 55;
The interchanger is used for according to first address information, will first passage corresponding with first address information Mark is added in first internet response data packet, and generates the second internet response data packet;
It is described that the second internet number of responses that the interchanger is sent is received by Internet protocol depending on connection cat server-side 54 According to packet.
Above-mentioned gap marker can identify for virtual LAN VLAN.
Step S602: described that the internet response data packet is encapsulated as view networking response data depending on connection cat server-side 54 Packet;
Above-mentioned sub-step is accepted, second internet response data packet is encapsulated as view networking depending on connection cat server-side 54 and is rung Answer data packet.Specific packaged type can be with are as follows:
The view connection cat server-side 54 adds one layer of view based on view networking protocol outside the internet response data packet Networking packet header, and it is encapsulated as view networking response data packet.
Step S603: the view connection cat server-side 54 is identified according to the first passage, the determining and first passage mark Know the sub- virtual terminal of corresponding target first;
Since one of the embodiment of the present application be quantitatively one in a client server 55 and view connection cat server-side 54 The sub- virtual terminal binding of fixed first, so also being carried and the client server on the first bound sub- virtual terminal The corresponding first passage mark of 55 the first address information.Which client server 55 no matter received depending on connection cat server-side 54 with this The internet response data packet of transmission, the first passage wrapped by parsing internet response data identify, can all find and its Corresponding target first sub- virtual terminal forwards its data.
Step S604: described to wrap addition first son of target depending on networking response data described depending on connection cat server-side 54 The terminal number of virtual terminal;
After being added the terminal number of the sub- virtual terminal of upper target first depending on networking response data packet, mean that by the terminal number The sub- virtual terminal of corresponding target first forwards the view to network response data packet, specific to join 54 generation of cat server-side by view when sending Actual hardware sending function is completed for the sub- virtual terminal of target first.
Step S605: the view connection cat server-side 54, which is networked the view using the sub- virtual terminal of the target first, to be responded Data packet is sent to the view networked server 53;The view networked server 53 is used for according to second address information, really Surely it is connected with the target view connection cat client 52 of the target terminal user 51, and is sent to described depending on networking response data packet The target view connection cat client 52;The target view connection cat client 52 is used to unpack view networking response data packet also Originally it was internet response data packet and was sent to the target terminal user 51.
Since the first sub- virtual terminal and a second sub- virtual terminal are interrelated, and target terminal user 51 exists When accessing target view connection cat client 52, a second sub- virtual terminal that also can be internal with it is bound, then second is fictitious quasi- Terminal can also carry the target terminal user 51 it is accessed when second channel mark.
According to above-mentioned principle, in one alternative embodiment of the application, shows target view connection cat client 52 and be used for institute State the step of being reduced to internet response data packet depending on networking response data packet unpacking and be sent to target terminal user 51 It can specifically include:
Step 4: the target is used for depending on connection cat client 52 according to the target wrapped depending on networking response data The terminal number of first sub- virtual terminal, determination is interrelated with the sub- virtual terminal of the target first from second database The sub- virtual terminal of target second;
Step 5: the target is led to depending on connection cat client 52 for obtaining second on the sub- virtual terminal of the target second Road mark;
Step 6: the target is used to be reduced to interconnect depending on networking response data packet unpacking by described depending on connection cat client 52 Net response data packet;
Step 7: the internet response data packet is sent to by the target depending on connection cat client 52 leads to described second Road identifies corresponding target terminal user 51.
To sum up, by step S601~S605, the embodiment of the present application realizes multiple Internet users using aforesaid way Terminal 51 may have access to the modes such as different IP operation private networks, and view networking, internet by a set of network in synchronization, Greatly reduce the waste of the expense and resource of network deployment.Through the above steps four~seven, also make target view connection cat client End 52 is after receiving view networking response data packet, without the second ground for reading the target terminal user 51 in view networking data packet Location information, the second fictitious quasi- end for thering is the first sub- virtual terminal of client server 55 and binding to have user terminal 51 using binding The mode that is mutually related is held, directly internet data packet can be passed through and be sent to client server 55 depending on networking, and will be directed to The internet response data packet that internet data packet returns, which passes through, is sent to target terminal user 51 depending on networking, compared to traditional benefit Access the mode of client server 55 with the MAC Address of client server 55, the embodiment of the present application more reduce to data packet into Row dismantling, extracts the time of address, reduces the occupancy that resource is run to view connection cat server-side 54, view connection cat server-side 52, contracting Short data transmission time, so that efficiency of transmission greatly improves, and, it avoids appearance view connection cat server-side 54 and unpacks and obtain Easily there is the problem of data are being got lines crossed to send data in MAC Address, improves the probability that data packet is correctly transmitted.
Virtual terminal mentioned by the embodiment of the present application includes: the first sub- virtual terminal, the second sub- virtual terminal, the first master Virtual terminal, the second main virtual terminal.Virtual terminal is a kind of not true end product, only with some passes of terminal The virtual objects of key attribute (such as the information such as model, version, MAC Address, NUM number, place domain) are located at view connection cat server-side The first sub- virtual terminal in 54 realizes its basic function by view connection cat server-side 54, second in view connection cat client 52 Sub- virtual terminal realizes its basic function by view connection cat client 52, and the main virtual terminal of the first or second is by view networked server 53 Realize its basic function.
In addition, the stabilization of data packet sends and receives for the normal operation for guaranteeing view connection cat server-side 54, first son Virtual terminal includes two state flag bits, and a state flag bit is used to identify the operation of the sub- virtual terminal of the target first State, another state flag bit are used to identify the connection of the sub- virtual terminal of the target first and the view networked server 53 State;In one preferred embodiment of the application, shows and the sub- virtual terminal of target first in view connection cat server-side 54 is carried out The possibility implementation that operating status, connection status monitor realizes that steps are as follows:
The current state that the sub- virtual terminal of the target first is periodically checked depending on connection cat server-side 54;Wherein, The current state includes operating status and connection status;
The view connection cat server-side 54 is directed to the current state, in the first database, by the target first Described two state flag bits of sub- virtual terminal update.
By above preferred embodiment, each first son can be recognized depending on the operation maintenance personnel for joining cat server-side 54 in time by managing Virtual terminal state, and do corresponding processing, it is ensured that sub- virtual terminal is able to maintain normal operating conditions, normally runs business, ensures User passes through view connection cat client 52, view networked server 53, view connection cat server-side 54 this view networked link access interconnection Net the communication stability of proprietary gateway and the real-time of data transmission.In specific implementation, by view connection cat server-side 54 Linux system provides timer mechanism, such as carrys out timing with 1 seconds interval, periodically to check first son of target The current state of virtual terminal.After the completion of timer renovating, the fictitious quasi- terminal number and corresponding state pass through socket The channel Netlink is loaded into the first database in view connection cat server-side 54, by described the two of the sub- virtual terminal of target first A state flag bit updates.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
Embodiment 3:
As shown in fig. 7, the method in corresponding embodiment 2, shows a kind of multi-to-multi incoming communication of the embodiment of the present application The structural block diagram of device, described device can be applied in view networking, and described device applies the view described in Fig. 5 to join cat server-side It is described to can specifically include depending on connection cat server-side 54 with lower module in 54:
Internet response data packet receiving module 701, for receiving the mutual of client server transmission by Internet protocol Networking response data packet;Wherein, the internet response data packet includes the first address information of the client server, with The corresponding first passage mark of one address information, the second address information of target terminal user;
Depending on response data packet package module 702 of networking, rung for the internet response data packet to be encapsulated as view networking Answer data packet;
First fictitious quasi- terminal deciding module 703, for being identified according to the first passage, the determining and first passage Identify the sub- virtual terminal of corresponding target first;
Virtual terminal adding module 704, for wrapping addition first son of target depending on networking response data described The terminal number of virtual terminal;
Depending on response data packet sending module 705 of networking, for the view to be joined using the target first sub- virtual terminal Net response data packet is sent to the view networked server;The view networked server is used for according to second address information, It determines the target view connection cat client for being connected with the target terminal user, and is sent to institute depending on networking response data packet for described State target view connection cat client;The target is used to be reduced to described mutually depending on networking response data packet unpacking depending on connection cat client Networking response data packet is simultaneously sent to the target terminal user.
Method in corresponding the embodiment of the present application 2, described to can specifically include depending on connection cat server-side 54 with lower module:
Current state monitoring modular, for periodically checking the current state of the sub- virtual terminal of the target first;Its In, the current state includes operating status and connection status;
State flag bit update module, for being directed to the current state, in the first database, by the target Described two state flag bits of first sub- virtual terminal update.
Method in corresponding the embodiment of the present application 2, described to can specifically include depending on connection cat server-side 54 with lower module:
Depending on networking data packet receiving module, sent out for receiving the view networked server using the described first sub- virtual terminal The view networking data packet sent;Wherein, described to be sent out target terminal user depending on connection cat client by the target depending on networking data packet The internet data packet sent is converted, the first address information including target user's server;The view the Internet services Device is used to determine according to first address information view connection cat server-side for being connected with target user's server, and by institute It states and is sent to the view connection cat server-side depending on networking data packet;
Depending on networking data packet recovery module, for being reduced to internet data packet depending on the unpacking of networking data packet for described;
Internet data packet sending module, for the internet data packet unpacked after restoring to be passed through Internet protocol It is sent to and target user's server.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes one or more described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the method that the processor executes one or more described in the embodiment of the present application.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Method to a kind of multi-to-multi incoming communication provided herein and a kind of dress of multi-to-multi incoming communication above It sets, is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the general skill of this field Art personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this Description should not be construed as the limitation to the application.

Claims (10)

1. a kind of method of multi-to-multi incoming communication, which is characterized in that the method is applied in view networking, the view networking packet View networked server is included, with the multiple views connection cat client being separately connected depending on networked server and the connection cat service of multiple views End, and, and multiple user terminals for connecting of view connection cat client, with the multiple users being connect depending on joining cat server-side Server, which comprises
The view connection cat server-side receives the internet response data packet that client server is sent by Internet protocol;Wherein, The internet response data packet includes the first address information of the client server, and corresponding with the first address information first Gap marker, the second address information of target terminal user;
It is described that the internet response data packet is encapsulated as view networking response data packet depending on connection cat server-side;
The view connection cat server-side is identified according to the first passage, determines target first corresponding with first passage mark Sub- virtual terminal;
It is described depending on connection cat server-side it is described view networking response data wrap add the sub- virtual terminal of the target first terminal Number;
It is described to be sent to institute depending on networking response data packet for described using the sub- virtual terminal of the target first depending on connection cat server-side State view networked server;The view networked server is used to determine that being connected with the target uses according to second address information The target view connection cat client of family terminal, and the target view connection cat client is sent to depending on networking response data packet by described; The target is used to be reduced to internet response data packet depending on networking response data packet unpacking for described concurrent depending on connection cat client It send to the target terminal user.
2. the method according to claim 1, wherein the view connection cat server-side by interchanger with it is the multiple Client server connection;The view connection cat server-side receives the internet number of responses that client server is sent by Internet protocol Include: according to the step of packet
The interchanger is used to receive the first internet response data packet that the client server is sent;Wherein, described first Internet response data packet includes the first address information of the client server;
The interchanger is used for according to first address information, will first passage mark corresponding with first address information It is added in first internet response data packet, and generates the second internet response data packet;
It is described that the second internet response data packet that the interchanger is sent is received by Internet protocol depending on connection cat server-side.
3. the method according to claim 1, wherein the view joins cat server-side for the internet response data Encapsulation is to include: depending on the step of networking response data packet
The view connection cat server-side adds one layer of view networking packet based on view networking protocol outside the internet response data packet Head, and it is encapsulated as view networking response data packet.
4. the method according to claim 1, wherein described multiple for managing depending on being provided in connection cat server-side The first database of the first sub- virtual terminal, a first sub- virtual terminal are in a client server Binding state;
Second database depending on being provided in connection cat client for managing the multiple second sub- virtual terminals, second son Virtual terminal can generate binding relationship with a user terminal at random;
In second database, the first sub- virtual terminal and a second sub- virtual terminal are interrelated.
5. according to the method described in claim 4, it is characterized in that, target view connection cat client is used to network the view Response data packet unpacking is reduced to internet response data packet and includes: the step of being sent to the target terminal user
The target is used for depending on connection cat client according to the fictitious quasi- end of the target first wrapped depending on networking response data The terminal number at end, determining the second son of target that is mutually related with the sub- virtual terminal of the target first from second database Virtual terminal;
The target is used to obtain the second channel mark on the sub- virtual terminal of the target second depending on connection cat client;
The target is used to be reduced to internet response data packet depending on networking response data packet unpacking for described depending on connection cat client;
The internet response data packet is sent to corresponding with second channel mark by the target depending on connection cat client Target terminal user.
6. according to the method described in claim 4, it is characterized in that, the first sub- virtual terminal includes two Status Flags Position, a state flag bit are used to identify the operating status of the sub- virtual terminal of the target first, another state flag bit is used In the connection status of the mark sub- virtual terminal of the target first and the view networked server;The method also includes:
The current state that the sub- virtual terminal of the target first is periodically checked depending on connection cat server-side;Wherein, described to work as Preceding state includes operating status and connection status;
The view connection cat server-side is directed to the current state, in the first database, the target first is fictitious quasi- Described two state flag bits of terminal update.
7. the method according to claim 1, wherein the view, which joins cat server-side, receives use by Internet protocol Before the step of internet response data packet that family server is sent, the method also includes:
It is described to receive the view networking number that the view networked server is sent using the described first sub- virtual terminal depending on connection cat server-side According to packet;Wherein, the view networking data packet regards the interconnection netting index that connection cat client sends target terminal user by the target It is converted according to packet, the first address information including target user's server;The view networked server is used for according to institute It states the first address information, determines the view connection cat server-side for being connected with target user's server, and by the view networking data Packet is sent to the view connection cat server-side;
It is described to be reduced to internet data packet depending on the unpacking of networking data packet for described depending on connection cat server-side;
It is described depending on connection cat server-side will unpack reduction after the internet data packet by Internet protocol be sent to it is described Target user's server.
8. a kind of device of multi-to-multi incoming communication, which is characterized in that described device is applied in view networking, the view networking packet View networked server is included, with the multiple views connection cat client being separately connected depending on networked server and the connection cat service of multiple views End, and, and multiple user terminals for connecting of view connection cat client, with the multiple users being connect depending on joining cat server-side Server, it is described to include: depending on connection cat server-side
Internet response data packet receiving module is responded for receiving the internet that client server is sent by Internet protocol Data packet;Wherein, the internet response data packet includes the first address information of the client server, is believed with the first address Cease corresponding first passage mark, the second address information of target terminal user;
Depending on response data packet package module of networking, for the internet response data packet to be encapsulated as view networking response data Packet;
First fictitious quasi- terminal deciding module, for being identified according to the first passage, determining and first passage mark pair The sub- virtual terminal of target first answered;
Virtual terminal adding module, for wrapping the addition sub- virtual terminal of the target first depending on networking response data described Terminal number;
Depending on response data packet sending module of networking, for utilizing the sub- virtual terminal of the target first by view networking number of responses The view networked server is sent to according to packet;The view networked server is used to determine connection according to second address information There is the target view connection cat client of the target terminal user, and is sent to the target view depending on networking response data packet for described Join cat client;The target is used to be reduced to internet response depending on networking response data packet unpacking for described depending on connection cat client Data packet is simultaneously sent to the target terminal user.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made The methods for obtaining the one or more that described device is executed as described in claim 1-7.
10. one or more machine readable medias, which is characterized in that instruction is stored thereon with, when by one or more processors When execution, so that the processor executes one or more methods as described in claim 1-7.
CN201910100767.4A 2019-01-31 2019-01-31 Many-to-many network access communication method and device Active CN109787873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100767.4A CN109787873B (en) 2019-01-31 2019-01-31 Many-to-many network access communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100767.4A CN109787873B (en) 2019-01-31 2019-01-31 Many-to-many network access communication method and device

Publications (2)

Publication Number Publication Date
CN109787873A true CN109787873A (en) 2019-05-21
CN109787873B CN109787873B (en) 2021-06-29

Family

ID=66503147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100767.4A Active CN109787873B (en) 2019-01-31 2019-01-31 Many-to-many network access communication method and device

Country Status (1)

Country Link
CN (1) CN109787873B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266577A (en) * 2019-06-12 2019-09-20 视联动力信息技术股份有限公司 A kind of tunnel establishing method and view networked system
CN110336796A (en) * 2019-06-17 2019-10-15 视联动力信息技术股份有限公司 A kind of communication means and communication device
CN114301993A (en) * 2021-12-10 2022-04-08 海南乾唐视联信息技术有限公司 Data transmission method, device, terminal equipment and storage medium
CN114710711A (en) * 2022-03-11 2022-07-05 海南视联通信技术有限公司 Equipment upgrading method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095002A1 (en) * 2006-10-03 2010-04-15 Canon Kabushiki Kaisha Method of resource reservation in a local area network comprising a plurality of subnets, corresponding computer program product, storage means and device
CN108121588A (en) * 2016-11-30 2018-06-05 北京视联动力国际信息技术有限公司 It is a kind of access external resource method and its regarding networking access server
CN108173804A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN108881133A (en) * 2017-08-14 2018-11-23 北京视联动力国际信息技术有限公司 A kind of communication means and device of media data
CN109194660A (en) * 2018-09-12 2019-01-11 视联动力信息技术股份有限公司 The method of network entry and device of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095002A1 (en) * 2006-10-03 2010-04-15 Canon Kabushiki Kaisha Method of resource reservation in a local area network comprising a plurality of subnets, corresponding computer program product, storage means and device
CN108121588A (en) * 2016-11-30 2018-06-05 北京视联动力国际信息技术有限公司 It is a kind of access external resource method and its regarding networking access server
CN108173804A (en) * 2016-12-07 2018-06-15 北京视联动力国际信息技术有限公司 It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN108881133A (en) * 2017-08-14 2018-11-23 北京视联动力国际信息技术有限公司 A kind of communication means and device of media data
CN109194660A (en) * 2018-09-12 2019-01-11 视联动力信息技术股份有限公司 The method of network entry and device of mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266577A (en) * 2019-06-12 2019-09-20 视联动力信息技术股份有限公司 A kind of tunnel establishing method and view networked system
CN110336796A (en) * 2019-06-17 2019-10-15 视联动力信息技术股份有限公司 A kind of communication means and communication device
CN110336796B (en) * 2019-06-17 2022-06-14 视联动力信息技术股份有限公司 Communication method and communication device
CN114301993A (en) * 2021-12-10 2022-04-08 海南乾唐视联信息技术有限公司 Data transmission method, device, terminal equipment and storage medium
CN114710711A (en) * 2022-03-11 2022-07-05 海南视联通信技术有限公司 Equipment upgrading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109787873B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN108173804B (en) A kind of networked by view accesses the method and view connection cat client of internet
CN108418778A (en) A kind of internet and method, apparatus and interactive system regarding connected network communication
CN109120962A (en) The method and apparatus of software terminal connection view networking
CN108173803B (en) A kind of networked by view accesses the method and view connection cat server-side of internet
CN110121059A (en) Monitor video processing method, device and storage medium
CN107979736A (en) The inspection method and device of a kind of video conference
CN109787992A (en) A kind of method and apparatus by view networking access private network
CN109787873A (en) A kind of method and apparatus of multi-to-multi incoming communication
CN108616549A (en) A kind of file uploading method and file server
CN109889420A (en) Method and device for business processing
CN108880851A (en) A kind of method and interactive system that configuration updates
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN110225083A (en) Data push method and device based on view networking
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109617830A (en) A kind of method and apparatus regarding real time demonstration business in networking
CN108965220A (en) A kind of method and system that Conference control power is synchronous
CN110120885A (en) A kind for the treatment of method and apparatus of device status information
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109698930A (en) It is a kind of to attend a meeting method and system depending on networking
CN109743537A (en) Monitoring alarm treating method and apparatus
CN109873817A (en) A kind of method and apparatus of one-to-one access network
CN109889910A (en) A kind of communication means and device accessing private network
CN110417792A (en) Communication means, system, gateway and storage medium
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN110336796A (en) A kind of communication means and communication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant