CN106533984B - A kind of cut-in method and device of social resources - Google Patents

A kind of cut-in method and device of social resources Download PDF

Info

Publication number
CN106533984B
CN106533984B CN201611054847.3A CN201611054847A CN106533984B CN 106533984 B CN106533984 B CN 106533984B CN 201611054847 A CN201611054847 A CN 201611054847A CN 106533984 B CN106533984 B CN 106533984B
Authority
CN
China
Prior art keywords
social resources
address
access server
virtual
data packet
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
CN201611054847.3A
Other languages
Chinese (zh)
Other versions
CN106533984A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201611054847.3A priority Critical patent/CN106533984B/en
Publication of CN106533984A publication Critical patent/CN106533984A/en
Application granted granted Critical
Publication of CN106533984B publication Critical patent/CN106533984B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of cut-in method of social resources and devices, access gateway is according to the IP address of preconfigured access server, tunnel is established with access server to connect, listen to the data packet that social resources are sent in social resources network, the information for needing to be linked into the social resources of common platform is pushed to access server, then the virtual ip address distributed according to access server to social resources, establish the mapping relations of social resources real ip address and virtual ip address, then according to the mapping relations of foundation, pass through the data packet between the tunnel connection forwarding social resources and access server of foundation.The social resources of various networking modes can be accessed common platform in the case where not carrying out any change and configuration to the equipment in social resources network by the present invention.

Description

A kind of cut-in method and device of social resources
Technical field
The invention belongs to data communication field more particularly to the cut-in methods and device of a kind of social resources.
Background technique
It is public flat that social resources access scheme needs the independent video monitoring resource that constituent parts in society are built to be linked into Platform is managed collectively.For example, the NVR/DVR of the social resources such as Internet bar, hotel, supermarket, bus station is uniformly accessed into public security Internal platform is managed, and is managed collectively by the internal platform that social resources are linked into public security, can greatly be mentioned High control and monitoring and crime striking capabilities of the public security to these populated areas, once there is merit, public security is handled a case people Member can greatly improve the efficiency handled a case directly in the monitoring video of public security intrinsic call spot, saved and handled a case Cost.
The method of social resources access common platform mainly there are two kinds at present:
1, the service port number of NVR/DVR is done on the egress router of social resources network and is mapped, then managed The IP address of the public network IP address or dynamic domain name of router as social resources NVR/DVR is added on platform.Common platform It is directly initiated the connection to the public network address, or first parses the dynamic domain name of NVR/DVR and then obtained to parsing dynamic domain name Address initiate the connection.
Although social resources can be accessed common platform with this solution, work as the egress router of social resources The IP address that public network interface obtains not is real public network IP address, but runs the operator's private network IP address distributed to it When, the program is infeasible.
2, box and common platform are accessed using dedicated social resources and establish vpn tunneling, realized by vpn tunneling by Social resources are linked into common platform.
The program needs for social resources access case to be serially connected between NVR/DVR and the interchanger of social resources network, Or social resources are accessed by box on the interchanger for hanging over social resources network, while also being needed in social resources network Static routing is added on interchanger, regardless of requiring to change the existing network of user using any mode.
Summary of the invention
The object of the present invention is to provide a kind of cut-in method of social resources and devices, not to existing social resources net It, will current various networking modes and industry by access gateway and access server in the case that network equipment makes any change and configuration The social resources being engaged under model access common platform.
To achieve the goals above, technical solution of the present invention is as follows:
A kind of cut-in method of social resources, for the social resources in social resources network to be linked into common platform, The social resources network side is provided with access gateway, and the common platform side is provided with access server, the social resources Cut-in method be applied to access gateway, comprising:
According to the IP address of preconfigured access server, tunnel is established with access server and is connect;
The data packet that social resources are sent in social resources network is listened to, will need to be linked into the social resources of common platform Information be pushed to access server, the virtual ip address then distributed according to access server to social resources, establish society The mapping relations of resource real ip address and virtual ip address;
According to the mapping relations of foundation, pass through the number between the tunnel connection forwarding social resources and access server of foundation According to packet.
Further, described to listen to the data packet that social resources are sent in social resources network, it will need to be linked into public The information of the social resources of platform is pushed to access server, comprising:
The data packet that social resources transmission is listened at LAN mouthfuls parses society from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information of meeting resource;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the social resources of selection Information is pushed to access server.
Further, the mapping relations according to foundation pass through the tunnel connection forwarding social resources of foundation and access Data packet between server, comprising:
According to the virtual ip address life of virtual ip address and access server that access server is distributed to social resources At accesses control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to society The purpose IP address of data packet is replaced with the social resources by the real ip address of resource and the mapping table of virtual ip address Real ip address after be transmitted to the social resources;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, according to society The real ip address of meeting resource and the mapping table of virtual ip address, by the source IP address of the data packet by the true of social resources After real IP address replaces with virtual ip address, access server is sent to by the tunnel of foundation.
Further, the cut-in method of the social resources, further includes:
To the data packet that is communicated of other equipment in the social resources and social resources network of access common platform into Row directly forwards.
The invention also provides a kind of access devices of social resources, for connecing the social resources in social resources network Entering to common platform, the social resources network side is provided with access gateway, and the common platform side is provided with access server, The access device of the social resources is applied to access gateway, comprising:
Module is established in tunnel, for the IP address according to preconfigured access server, establishes tunnel with access server Road connection;
Social resources pushing module connects needs for listening to the data packet that social resources are sent in social resources network The information entered to the social resources of common platform is pushed to access server, is then distributed according to access server to social resources Virtual ip address, establish the mapping relations of social resources real ip address and virtual ip address;
Forwarding module passes through the tunnel connection forwarding social resources of foundation and access for the mapping relations according to foundation Data packet between server.
Further, the social resources pushing module data that social resources are sent in listening to social resources network Packet, is pushed to access server for the information for needing to be linked into the social resources of common platform, comprising:
The data packet that social resources transmission is listened at LAN mouthfuls parses society from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information of meeting resource;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the social resources of selection Information is pushed to access server.
Further, the forwarding module passes through the tunnel connection forwarding society of foundation in the mapping relations according to foundation When data packet between resource and access server, perform the following operations:
According to the virtual ip address life of virtual ip address and access server that access server is distributed to social resources At accesses control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to society The purpose IP address of data packet is replaced with the social resources by the real ip address of resource and the mapping table of virtual ip address Real ip address after be transmitted to the social resources;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, according to society The real ip address of meeting resource and the mapping table of virtual ip address, by the source IP address of the data packet by the true of social resources After real IP address replaces with virtual ip address, access server is sent to by the tunnel of foundation.
Further, the forwarding module is also used in social resources and social resources network to access common platform The data packet that is communicated of other equipment directly forwarded.
The invention proposes a kind of cut-in method of social resources and devices, are accessed by disposing in social resources network Gateway disposes access server in common platform, and access gateway and access server establish vpn tunneling, and public to needing to access The social resources of platform distribute virtual ip address altogether, realize the social resources of various networking modes accessing common platform, simultaneously Access gateway to the data packet that is communicated of other equipment in the social resources and social resources network of access common platform into Row directly forwards, and does not need to carry out any change and configuration to the equipment in social resources network.
Detailed description of the invention
Fig. 1 is the flow chart of the cut-in method of social resources of the present invention;
Fig. 2 is network structure Fig. 1 that social resources are accessed common platform by the present embodiment;
Fig. 3 is network structure Fig. 2 that social resources are accessed common platform by the present embodiment;
Fig. 4 is network structure Fig. 3 that social resources are accessed common platform by the present embodiment;
Fig. 5 is the structural schematic diagram of the access device of social resources of the present invention.
Specific embodiment
Technical solution of the present invention is described in further details with reference to the accompanying drawings and examples, following embodiment is not constituted Limitation of the invention.
A kind of cut-in method of social resources of the present embodiment, for the social resources in social resources network to be linked into public affairs Platform, the social resources network side are provided with access gateway altogether, and the common platform side is provided with access server, this implementation A kind of cut-in method of social resources of example is applied to access gateway, as shown in Figure 1, comprising:
Step S1, according to the IP address of preconfigured access server, tunnel is established with access server and is connect.
The networking mode of current social resource network is broadly divided into following three kinds:
1, social resources network is independent local area network, does not access any other network.
2, social resources network accesses internet by gateways such as routers.
3, social resources network accesses other private networks, such as access education network by equipment such as three-tier switch.
The cut-in method of the present embodiment social resources is when accessing common platform for social resources, not by social resources network The limitation of networking mode by disposing access gateway in social resources network, and disposes access server in common platform, The social resources of current various networking modes are accessed into common platform, and social resources are being accessed common platform by the present embodiment When, it does not need to carry out any change and configuration to the equipment in social resources network.
The present embodiment is directed to the first networking mode of above-mentioned social resources network, as shown in Fig. 2, in the middle part of common platform Access server is affixed one's name to, access gateway is disposed between the social resources and Layer 2 switch of social resources network, access gateway is logical NVR, DVR equipment connect in social resources network under LAN mouthfuls is crossed, above connects the Layer 2 switch in social resources network, and pass through IP network outside WAN mouthfuls of connections, realizes the connection with access server.Access gateway use gateway mode, by with access The vpn tunneling of server foundation and the virtual ip address for distributing to NVR/DVR are realized the NVR/DVR in social resources network Common platform is accessed, while access gateway directly turns the data packet sent between NVR/DVR and IPC, videoconference client Hair connects social resources to realize in the case where not carrying out any change and configuration to the equipment in social resources network Enter common platform.
The present embodiment is directed to second of networking mode of above-mentioned social resources network, as shown in figure 3, in the middle part of common platform Access server is affixed one's name to, disposes access gateway between the social resources and router of social resources network, access gateway passes through LAN NVR, DVR equipment in mouth connection social resources network, and the router connected in social resources network by WAN mouthfuls, pass through Router and the IP network of outside realize the connection with access server.Access gateway uses bridge mode, by taking with access The vpn tunneling of business device foundation and the virtual ip address realization for distributing to NVR/DVR meet the NVR/DVR in social resources network Enter common platform, while access gateway is to the data packet sent between NVR/DVR and IPC, videoconference client and public network user Directly forwarded, thus realize in the case where not carrying out any change and configuration to the equipment in social resources network, it will Social resources access common platform.
The present embodiment is directed to the third networking mode of above-mentioned social resources network, as shown in figure 4, in the middle part of common platform Access server is affixed one's name to, access gateway is disposed between the social resources and three-tier switch of social resources network, access gateway is logical NVR, DVR equipment connect in social resources network under LAN mouthfuls is crossed, above connects the three-tier switch in social resources network, and pass through IP network outside WAN mouthfuls of connections, realizes the connection with access server.Access gateway use gateway mode, by with access The vpn tunneling of server foundation and the virtual ip address for distributing to NVR/DVR are realized the NVR/DVR in social resources network Access common platform, while access gateway is to sending between NVR/DVR and IPC, videoconference client and education network user Data packet is directly forwarded, to realize the case where not carrying out any change and configuration to the equipment in social resources network Under, social resources are accessed into common platform.
The present embodiment is in the deployment of completing access gateway and access server and corresponding with postponing, such as in access net The IP address of configuration access server is shut, access gateway is sent out according to the public network IP address of access server to access server It plays tunnel and establishes request;After access server authenticates access gateway, a virtual ip address is distributed to access gateway, and Confirmation message is established by tunnel to send out the virtual ip address of the virtual ip address and access server of distributing to access gateway Give access gateway;Access gateway receives after tunnel establishes confirmation message, completes the foundation in tunnel.Access gateway and access take Business device is communicated with each other by respective virtual ip address.
It should be noted that when establishing tunnel between the present embodiment access gateway and access server, not by specific agreement Limitation, the present embodiment preferably uses softetherVPN, can support a variety of different agreements, such as L2TP, PPTP, The agreements such as IPSec establish vpn tunneling, can also establish mode using the tunnel of single-protocol, such as establish L2TP Tunnel, this In repeat no more.
Step S2, the data packet that social resources are sent in social resources network is listened to, will need to be linked into common platform The information of social resources is pushed to access server, the virtual ip address then distributed according to access server to social resources, Establish the mapping relations of social resources real ip address and virtual ip address.
The social resources such as IPC, NVR and DVR that the present embodiment access gateway is connected in social resources by LAN mouthfuls, access Gateway listens to the data packet of social resources transmission at LAN mouthfuls, parses society from the IP packet header that social resources are sent The IP address and mac address information of resource, and the corresponding factory of the MAC Address is judged according to the MAC Address of social resources Then social resources information table, social resources information table is written in the IP address of social resources, MAC Address and generation manufacturer by quotient Particular content it is as shown in the table:
Serial number Type Title Manufacturer MAC Address IP address
1 Haikang 7B-AC-CD-9D-54-28 192.168.1.201
2 Big China 8C-32-56-5B-46-22 192.168.1.202
3 It is other 9A-54-C4-8D-55-90 192.168.1.203
4 Space view 5B-34-C7-9A-74-78 192.168.1.204
…… …… …… ……
Table 1
User is according to the IP address information or mac address information of the NVR/DVR disposed in social resources network, from society The NVR/DVR equipment for needing to be linked into common platform is chosen in resource information table, and corresponding to the NVR/DVR device configuration of selection Device type and title after, generate and be pushed to the social resources information table of access server, the tool of the social resources information table Hold in vivo as follows:
Serial number Type Title Manufacturer MAC Address IP address
1 NVR Supermarket's second floor Haikang 7B-AC-CD-9D-54-28 192.168.1.201
2 DVR It researches and develops 7 buildings Big China 8C-32-56-5B-46-22 192.168.1.202
3 NVR No. 10 building south Space view 5B-34-C7-9A-74-78 192.168.1.204
…… …… …… …… …… ……
Table 2
Access gateway will be social in the social resources information table for being pushed to access server of generation by the tunnel established The information of resource, device type, title, manufacturer, MAC Address and IP address including social resources, is sent to access server. After access server receives the social resources information of access gateway transmission, with distributing a virtual IP address to each social resources Location, and the virtual ip address of the virtual ip address of distribution and access server is fed back into access gateway.
It should be noted that the present embodiment can also in access gateway the pre-configured society for needing to access common platform IP address, device type and the title of meeting resource, access gateway is after the data packet for listening to social resources transmission, from data packet In parse source IP address and MAC Address, if the source MAC parsed and preconfigured needing to access fair platform The IP address of social resources is identical, then judges the corresponding production firm of the MAC Address according to the MAC Address parsed, and raw At the social resources information of the IP address comprising the social resources, MAC Address, production firm, device type and title, then will The information of the social resources of generation sends access server.Access server receives the letter of the social resources of access gateway transmission After breath, social resources are given to distribute a virtual ip address, and by the virtual ip address of distribution and the virtual IP address of access server Address feeds back to access gateway.
Access gateway distributes to the virtual ip address of social resources according to access server, generates the practical IP of social resources The particular content of the mapping table of address and virtual ip address, the mapping table is as follows:
Serial number Real IP address Virtual ip address
1 192.168.1.201 10.10.11.20
2 192.168.1.202 10.10.11.22
3 192.168.1.204 10.10.11.24
…… …… ……
Table 3
Access gateway according to the real ip address of social resources and the mapping table of virtual ip address, to social resources with The IP data packet sent mutually between access server is forwarded again after carrying out corresponding IP address transformation, realizes social resources Social resources are linked into common platform by communicating with each other between access server.
It should be noted that for the type of social resources, title and manufacturer in social resources information in above-described embodiment In table it is not necessary to, can be in social resources but in order to which access server is convenient when establishing business with social resources It is added in information table, and is pushed to access server.In the realization of the technical program, these information can't be used, here It repeats no more.
Step S3, according to the mapping relations of foundation, pass through the tunnel connection forwarding social resources and access server of foundation Between data packet.
The present embodiment access gateway receives the void for the social resources that access server is distributed in social resources information table After quasi- IP address, the virtual ip address of virtual ip address and access server that access server distributes to social resources is write Enter in file/proc/tun_ip, the NIC driver of access gateway reads this document, and social resources are extracted from file Virtual ip address and access server virtual ip address, generate accesses control list, and by the access control of generation arrange Table is handed down to the exchange chip of access gateway.
The exchange chip of the present embodiment access gateway detects the purpose IP address of the data packet received, if number Purpose IP address according to packet is not the virtual ip address in accesses control list, then is directly forwarded data packet by exchange chip It goes out;If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, data packet is sent out The CPU of access gateway is given, the CPU of access gateway is according to the real ip address of social resources and the mapping relations of virtual ip address Table is transmitted to the social resources after the purpose IP address of data packet to be replaced with to the real ip address of the social resources;If number Purpose IP address according to packet is the virtual ip address of access server in accesses control list, then delivers a packet to access net The CPU of pass, the CPU of access gateway is according to the real ip address of social resources and the mapping table of virtual ip address, by the number After replacing with virtual ip address by the real IP address of social resources according to the source IP address of packet, it is sent to and is connect by the tunnel of foundation Enter server.
For example, access server is distributed to as shown in Fig. 2, the IP address of social resources NVR1 is 192.168.1.201 The virtual ip address of NVR1 is 10.10.11.20, and the IP address of IPC1 is 192.168.1.203.As common platform program request NVR1 On video when, access server accesses NVR1 by distributing to the virtual ip address 10.10.11.20 of NVR1, accesses at this time The purpose IP address for the data packet that gateway receives is the virtual ip address 10.10.11.20 of NVR1, and access gateway passes through inquiry The real ip address of social resources and the mapping table of virtual ip address, it is corresponding to obtain virtual ip address 10.10.11.20 Real IP address 192.168.1.201, access gateway are replaced with the purpose IP address of the data packet by 10.10.11.20 192.168.1.201 NVR1 is transmitted to after.When IPC1 accesses NVR1, the purpose IP address for the data packet that IPC1 is sent is NVR1 Real IP address 192.168.1.201, access gateway receives after the data packet through the packet header IP of inquiry data packet, discovery The purpose IP address of the data packet is the real IP address of NVR1, then according to normal data packet forward rule, directly by the number NVR1 is transmitted to according to packet.
It should be noted that the present embodiment access gateway can not also generate accesses control list, the exchange of access gateway After chip detects the purpose IP address of the data packet received, directly with the purpose IP address and social resources detected Real ip address and virtual ip address mapping table in virtual ip address and access server virtual ip address It is compared, if the purpose IP address detected is identical as the virtual ip address of social resources, by the destination IP of data packet Address is transmitted to the social resources after replacing with the real ip address of the social resources;If the purpose IP address detected with connect The virtual ip address for entering server is identical, then the source IP address of the data packet is replaced with void by the real IP address of social resources After quasi- IP address, access server is sent to by the tunnel of foundation;If the purpose IP address that detects and social resources The virtual ip address of virtual ip address and access server is all different, then directly forwards the data packet.
By the above method, the social resources of access common platform are led to other equipment in social resources network The data packet of news is directly forwarded, and does not need to carry out any change and configuration to the equipment in social resources network, and can protect Hold linear speed.The present embodiment passes through access in the case where not making any change and configuration to the existing social resources network equipment NVR/DVR access common platform in social resources network is made the NVR/ for accessing common platform by gateway and access server Other equipment in DVR and social resources network carry out normal communication by original mode.
The present embodiment also proposed a kind of access device of social resources, for by the social resources in social resources network It is linked into common platform, which is characterized in that the social resources network side is provided with access gateway, the common platform side setting There is access server, the access device of the social resources is applied to access gateway, as shown in figure 5, the device includes:
Module is established in tunnel, for the IP address according to preconfigured access server, establishes tunnel with access server Road connection;
Social resources pushing module connects needs for listening to the data packet that social resources are sent in social resources network The information entered to the social resources of common platform is pushed to access server, is then distributed according to access server to social resources Virtual ip address, establish the mapping relations of social resources real ip address and virtual ip address;
Forwarding module passes through the tunnel connection forwarding social resources of foundation and access for the mapping relations according to foundation Data packet between server.
The present embodiment social resources pushing module data packet that social resources are sent in listening to social resources network, need to The information for being linked into the social resources of common platform is pushed to access server, performs the following operations:
The data packet that social resources transmission is listened at LAN mouthfuls parses society from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information of meeting resource;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the social resources of selection Information is pushed to access server.
The present embodiment forwarding module in the mapping relations according to foundation, by the tunnel connection forwarding social resources of foundation with When data packet between access server, perform the following operations:
According to the virtual ip address life of virtual ip address and access server that access server is distributed to social resources At accesses control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to society The purpose IP address of data packet is replaced with the social resources by the real ip address of resource and the mapping table of virtual ip address Real ip address after be transmitted to the social resources;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, according to society The real ip address of meeting resource and the mapping table of virtual ip address, by the source IP address of the data packet by the true of social resources After real IP address replaces with virtual ip address, access server is sent to by the tunnel of foundation.
The present embodiment forwarding module, be also used to access common platform social resources with it is other in social resources network The data packet that equipment is communicated directly is forwarded.
The above embodiments are merely illustrative of the technical solutions of the present invention rather than is limited, without departing substantially from essence of the invention In the case where mind and its essence, those skilled in the art make various corresponding changes and change in accordance with the present invention Shape, but these corresponding changes and modifications all should fall within the scope of protection of the appended claims of the present invention.

Claims (6)

1. a kind of cut-in method of social resources, for the social resources in social resources network to be linked into common platform, It is characterized in that, the social resources network side is provided with access gateway, and the common platform side is provided with access server, described The cut-in method of social resources is applied to access gateway, comprising:
According to the IP address of preconfigured access server, tunnel is established with access server and is connect;
The data packet that social resources are sent in social resources network is listened to, will need to be linked into the letter of the social resources of common platform Breath is pushed to access server, and the virtual ip address then distributed according to access server to social resources establishes social resources The mapping relations of real ip address and virtual ip address;
It is generated and is visited to the virtual ip address of virtual ip address and access server that social resources distribute according to access server Ask control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to social resources Real ip address and virtual ip address mapping table, the purpose IP address of data packet is replaced with to the reality of the social resources The social resources are transmitted to after the IP address of border;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, provided according to society The real ip address in source and the mapping table of virtual ip address, by the source IP address of the data packet by the real IP of social resources After address replaces with virtual ip address, access server is sent to by the tunnel of foundation;
The data packet communicated to other equipment in the social resources and social resources network of access common platform carries out straight Switch through hair.
2. the cut-in method of social resources according to claim 1, which is characterized in that described to listen in social resources network The data packet that social resources are sent, is pushed to access server for the information for needing to be linked into the social resources of common platform, wraps It includes:
The data packet that social resources transmission is listened at LAN mouthfuls parses social money from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information in source;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the information of the social resources of selection It is pushed to access server.
3. a kind of access device of social resources, for the social resources in social resources network to be linked into common platform, It is characterized in that, the social resources network side is provided with access gateway, and the common platform side is provided with access server, described The access device of social resources is applied to access gateway, comprising:
Module is established in tunnel, for the IP address according to preconfigured access server, is established tunnel with access server and is connected It connects;
Needs are linked by social resources pushing module for listening to the data packet that social resources are sent in social resources network The information of the social resources of common platform is pushed to access server, the void then distributed according to access server to social resources Quasi- IP address, establishes the mapping relations of social resources real ip address and virtual ip address;
Forwarding module passes through the tunnel connection forwarding social resources of foundation and access service for the mapping relations according to foundation Data packet between device;
The forwarding module passes through the tunnel connection forwarding social resources of foundation and access service in the mapping relations according to foundation When data packet between device, perform the following operations:
It is generated and is visited to the virtual ip address of virtual ip address and access server that social resources distribute according to access server Ask control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to social resources Real ip address and virtual ip address mapping table, the purpose IP address of data packet is replaced with to the reality of the social resources The social resources are transmitted to after the IP address of border;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, provided according to society The real ip address in source and the mapping table of virtual ip address, by the source IP address of the data packet by the real IP of social resources After address replaces with virtual ip address, access server is sent to by the tunnel of foundation;
The data packet communicated to other equipment in the social resources and social resources network of access common platform carries out straight Switch through hair.
4. the access device of social resources according to claim 3, which is characterized in that the social resources pushing module exists The data packet that social resources are sent in social resources network is listened to, the information for needing to be linked into the social resources of common platform is pushed away Access server is given, is performed the following operations:
The data packet that social resources transmission is listened at LAN mouthfuls parses social money from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information in source;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the information of the social resources of selection It is pushed to access server.
5. a kind of cut-in method of social resources, for the social resources in social resources network to be linked into common platform, It is characterized in that, the social resources network side is provided with access gateway, and the common platform side is provided with access server, described The cut-in method of social resources includes:
The access gateway is established tunnel with access server and is connect according to the IP address of preconfigured access server;
The access gateway listens to the data packet that social resources are sent in social resources network, will need to be linked into common platform The information of social resources is pushed to access server;
The access server receives the information of the social resources of push, distributes virtual ip address for corresponding social resources;
The virtual ip address that the access gateway is distributed according to access server to social resources, with establishing social resources practical IP The mapping relations of location and virtual ip address;
The access gateway passes through the tunnel connection forwarding social resources and access server of foundation according to the mapping relations of foundation Between data packet, perform the following operations:
It is generated and is visited to the virtual ip address of virtual ip address and access server that social resources distribute according to access server Ask control list;
The purpose IP address of the data packet received is detected;
If the purpose IP address of data packet is the virtual ip address of social resources in accesses control list, according to social resources Real ip address and virtual ip address mapping table, the purpose IP address of data packet is replaced with to the reality of the social resources The social resources are transmitted to after the IP address of border;
If the purpose IP address of data packet is the virtual ip address of access server in accesses control list, provided according to society The real ip address in source and the mapping table of virtual ip address, by the source IP address of the data packet by the real IP of social resources After address replaces with virtual ip address, access server is sent to by the tunnel of foundation;
The data packet communicated to other equipment in the social resources and social resources network of access common platform carries out straight Switch through hair.
6. the cut-in method of social resources according to claim 5, which is characterized in that the access gateway listens to social money The information for needing to be linked into the social resources of common platform is pushed to access clothes by the data packet that social resources are sent in source network Business device, comprising:
The data packet that social resources transmission is listened at LAN mouthfuls parses social money from the packet header that social resources are sent Then social resources information table is written in the IP address of social resources, MAC Address by the IP address and mac address information in source;
The social resources for needing to be linked into common platform are chosen from social resources information table, by the information of the social resources of selection It is pushed to access server.
CN201611054847.3A 2016-11-25 2016-11-25 A kind of cut-in method and device of social resources Active CN106533984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611054847.3A CN106533984B (en) 2016-11-25 2016-11-25 A kind of cut-in method and device of social resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611054847.3A CN106533984B (en) 2016-11-25 2016-11-25 A kind of cut-in method and device of social resources

Publications (2)

Publication Number Publication Date
CN106533984A CN106533984A (en) 2017-03-22
CN106533984B true CN106533984B (en) 2019-10-18

Family

ID=58357978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611054847.3A Active CN106533984B (en) 2016-11-25 2016-11-25 A kind of cut-in method and device of social resources

Country Status (1)

Country Link
CN (1) CN106533984B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071090A (en) * 2017-05-25 2017-08-18 深圳市伊特利网络科技有限公司 Application process and system of the virtual network address in the link of networking
CN111130963B (en) * 2019-12-31 2021-12-24 中国建设银行股份有限公司 Method and device for accessing server to network
CN113612850A (en) * 2021-08-11 2021-11-05 浙江宇视科技有限公司 Cloud platform docking debugging method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163062A (en) * 2015-06-16 2015-12-16 浙江宇视科技有限公司 System and method for accessing social resources to public platform
CN105635335A (en) * 2015-12-30 2016-06-01 浙江宇视科技有限公司 Social resource access method, apparatus, and system
CN105897876A (en) * 2016-03-31 2016-08-24 浙江宇视科技有限公司 Device and method for connecting social resources to public platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163062A (en) * 2015-06-16 2015-12-16 浙江宇视科技有限公司 System and method for accessing social resources to public platform
CN105635335A (en) * 2015-12-30 2016-06-01 浙江宇视科技有限公司 Social resource access method, apparatus, and system
CN105897876A (en) * 2016-03-31 2016-08-24 浙江宇视科技有限公司 Device and method for connecting social resources to public platform

Also Published As

Publication number Publication date
CN106533984A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN104219147B (en) The VPN of edge device realizes processing method and processing device
CN102025591B (en) Method and system for implementing virtual private network
CN104052666B (en) The method and apparatus for realizing host routing reachable
CN104243270B (en) A kind of method and apparatus for establishing tunnel
CN106209643B (en) Message forwarding method and device
CN104579954B (en) The cross-domain retransmission method of message, device and communication equipment
CN102739810B (en) The method and apparatus of IPv4CP/SP and IPv6 network interworking
CN103338151B (en) Public network client accesses the method and router of private network server
US8265084B2 (en) Local network connecting system local network connecting method and mobile terminal
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
WO2011032473A1 (en) Implementation method and system of virtual private network
US8611358B2 (en) Mobile network traffic management
WO2012106919A1 (en) Routing control method, apparatus and system of layer 3 virtual private network
JP2006524974A5 (en)
JP2019515608A (en) Access control
CN103248720A (en) Method and device for inquiring physical address
CN103648109B (en) A kind of wireless distributed repeater system and method
CN102546349B (en) A kind of message forwarding method and equipment
CN106533984B (en) A kind of cut-in method and device of social resources
CN102546407B (en) File transmitting method and device
WO2017012089A1 (en) Communication method, device and system based on data link layer
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN102571375B (en) Multicast forwarding method and device as well as network device
CN1297105C (en) Method for implementing multirole main machine based on virtual local network
CN106161115A (en) A kind of device management method being applied to VXLAN and device

Legal Events

Date Code Title Description
C06 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