CN106533984B - A social resource access method and device - Google Patents

A social resource access method and device 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
address
social resources
social
access server
virtual
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

本发明公开了一种社会资源的接入方法及装置,接入网关根据预先配置的接入服务器的IP地址,与接入服务器建立隧道连接,侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,然后根据接入服务器给社会资源分配的虚拟IP地址,建立社会资源实际IP地址与虚拟IP地址的映射关系,然后根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包。本发明能在不对社会资源网络内的设备进行任何改变和配置的情况下,将各种组网方式的社会资源接入公共平台。

The invention discloses a social resource access method and device. The access gateway establishes a tunnel connection with the access server according to the pre-configured IP address of the access server, listens to the data packets sent by the social resources in the social resource network, and Push the information of social resources that need to be connected to the public platform to the access server, and then establish the mapping relationship between the actual IP address of the social resource and the virtual IP address according to the virtual IP address allocated by the access server to the social resource, and then according The mapping relationship forwards the data packets between the social resource and the access server through the established tunnel connection. The invention can connect social resources in various networking modes to the public platform without any change and configuration of devices in the social resource network.

Description

一种社会资源的接入方法及装置A social resource access method and device

技术领域technical field

本发明属于数据通信领域,尤其涉及一种社会资源的接入方法及装置。The invention belongs to the field of data communication, and in particular relates to a method and device for accessing social resources.

背景技术Background technique

社会资源接入方案需要把社会上各单位建设的独立视频监控资源接入到公共平台进行统一管理。例如,将网吧、酒店、超市、汽车站等社会资源的NVR/DVR统一接入到公安内部平台进行管理,通过把社会资源接入到公安的内部平台进行统一管理,可以极大的提高了公安对这些人口密集区域的监控力度和犯罪打击能力,一旦有案情发生,公安办案人员可以直接在公安内部调用事发地点的监控录像,极大提高了办案的效率,节约了办案的成本。The social resource access plan needs to connect the independent video surveillance resources built by various units in the society to the public platform for unified management. For example, the NVR/DVR of social resources such as Internet cafes, hotels, supermarkets, and bus stations can be connected to the internal platform of the public security for unified management. With regard to the monitoring and crime-fighting capabilities of these densely populated areas, once a case occurs, the public security investigators can directly call the surveillance video of the incident location within the public security, which greatly improves the efficiency of case handling and saves the cost of case handling.

目前将社会资源接入公共平台的方法主要有二种:At present, there are two main methods of connecting social resources to the public platform:

1、在社会资源网络的出口路由器上对NVR/DVR的业务端口号做映射,然后在管理平台上添加路由器的公网IP地址或者动态域名作为社会资源NVR/DVR的IP地址。公共平台直接向该公网地址发起连接,或者先解析NVR/DVR的动态域名之后,再向解析动态域名得到的地址发起连接。1. Map the service port number of the NVR/DVR on the exit router of the social resource network, and then add the public network IP address or dynamic domain name of the router as the IP address of the social resource NVR/DVR on the management platform. The public platform directly initiates a connection to the public network address, or first resolves the dynamic domain name of the NVR/DVR, and then initiates a connection to the address obtained by analyzing the dynamic domain name.

通过该方案虽然可以将社会资源接入公共平台,但是当社会资源的出口路由器的公网接口获取的IP地址并不是真正的公网IP地址,而是运营给其分配的运营商私网IP地址时,该方案不可行。Although social resources can be connected to the public platform through this solution, the IP address obtained by the public network interface of the exit router of the social resources is not the real public network IP address, but the operator's private network IP address assigned to it by the operator. , this scheme is not feasible.

2、使用专用的社会资源接入盒子与公共平台建立VPN隧道,通过VPN隧道来实现将社会资源接入到公共平台。2. Use a dedicated social resource access box to establish a VPN tunnel with the public platform, and connect social resources to the public platform through the VPN tunnel.

该方案需要将社会资源接入盒子串接在NVR/DVR与社会资源网络的交换机之间,或者将社会资源接入盒子旁挂在社会资源网络的交换机上,同时还需要在社会资源网络的交换机上添加静态路由,不管使用哪一种方式都需要改变用户现有的网络。This solution needs to connect the social resource access box between the NVR/DVR and the switch of the social resource network, or hang the social resource access box sideways on the switch of the social resource network. No matter which method is used to add a static route, the existing network of the user needs to be changed.

发明内容Contents of the invention

本发明的目的是提供一种社会资源的接入方法及装置,在不对现有的社会资源网络设备做任何改变和配置的情况下,通过接入网关和接入服务器将当前各种组网方式和业务模型下的社会资源接入公共平台。The purpose of the present invention is to provide a social resource access method and device, without making any changes and configurations to the existing social resource network equipment, through the access gateway and the access server to integrate the current various networking methods and social resources under the business model to access the public platform.

为了实现上述目的,本发明技术方案如下:In order to achieve the above object, the technical scheme of the present invention is as follows:

一种社会资源的接入方法,用于将社会资源网络中的社会资源接入到公共平台,所述社会资源网络侧设置有接入网关,所述公共平台侧设置有接入服务器,所述社会资源的接入方法应用于接入网关,包括:A method for accessing social resources, used for connecting social resources in a social resource network to a public platform, where an access gateway is provided on the social resource network side, an access server is provided on the public platform side, and the The access method of social resources is applied to the access gateway, including:

根据预先配置的接入服务器的IP地址,与接入服务器建立隧道连接;Establish a tunnel connection with the access server according to the pre-configured IP address of the access server;

侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,然后根据接入服务器给社会资源分配的虚拟IP地址,建立社会资源实际IP地址与虚拟IP地址的映射关系;Listen to the data packets sent by social resources in the social resource network, push the information of social resources that need to be connected to the public platform to the access server, and then establish the actual IP of social resources according to the virtual IP address assigned by the access server to social resources The mapping relationship between addresses and virtual IP addresses;

根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包。According to the established mapping relationship, the data packets between the social resource and the access server are forwarded through the established tunnel connection.

进一步地,所述侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,包括:Further, the interception of data packets sent by social resources in the social resource network, and pushing the information of social resources that need to be accessed to the public platform to the access server includes:

在LAN口侦听社会资源发送的数据包,从社会资源发送的数据包包头中解析出社会资源的IP地址和MAC地址信息,然后将社会资源的IP地址、MAC地址写入社会资源信息表;Listen to the data packet sent by the social resource at the LAN port, analyze the IP address and MAC address information of the social resource from the header of the data packet sent by the social resource, and then write the IP address and MAC address of the social resource into the social resource information table;

从社会资源信息表中选取需要接入到公共平台的社会资源,将选取的社会资源的信息推送给接入服务器。Select social resources that need to be connected to the public platform from the social resource information table, and push the information of the selected social resources to the access server.

进一步地,所述根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包,包括:Further, according to the established mapping relationship, forwarding the data packets between the social resource and the access server through the established tunnel connection includes:

根据接入服务器给社会资源分配的虚拟IP地址以及接入服务器的虚拟IP地址生成访问控制列表;Generate an access control list based on the virtual IP address allocated by the access server to social resources and the virtual IP address of the access server;

对接收到的数据包的目的IP地址进行检测;Detect the destination IP address of the received data packet;

如果数据包的目的IP地址为访问控制列表中社会资源的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将数据包的目的IP地址替换为该社会资源的实际IP地址后转发给该社会资源;If the destination IP address of the data packet is the virtual IP address of the social resource in the access control list, then replace the destination IP address of the data packet with the actual After the IP address is forwarded to the social resource;

如果数据包的目的IP地址为访问控制列表中接入服务器的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将该数据包的源IP地址由社会资源的真实IP地址替换为虚拟IP地址后,通过建立的隧道发送给接入服务器。If the destination IP address of the data packet is the virtual IP address of the access server in the access control list, then according to the mapping relationship table between the actual IP address of the social resource and the virtual IP address, the source IP address of the data packet is changed from the real IP address of the social resource After the IP address is replaced with a virtual IP address, it is sent to the access server through the established tunnel.

进一步地,所述社会资源的接入方法,还包括:Further, the social resource access method also includes:

对接入公共平台的社会资源与社会资源网络内的其它设备进行通讯的数据包进行直接转发。Directly forward the data packets that communicate with social resources connected to the public platform and other devices in the social resource network.

本发明还提出了一种社会资源的接入装置,用于将社会资源网络中的社会资源接入到公共平台,所述社会资源网络侧设置有接入网关,所述公共平台侧设置有接入服务器,所述社会资源的接入装置应用于接入网关,包括:The present invention also proposes a social resource access device, which is used to connect social resources in the social resource network to the public platform. The social resource network side is provided with an access gateway, and the public platform side is provided with an access gateway. Into the server, the access device of the social resources is applied to the access gateway, including:

隧道建立模块,用于根据预先配置的接入服务器的IP地址,与接入服务器建立隧道连接;A tunnel establishment module, configured to establish a tunnel connection with the access server according to the pre-configured IP address of the access server;

社会资源推送模块,用于侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,然后根据接入服务器给社会资源分配的虚拟IP地址,建立社会资源实际IP地址与虚拟IP地址的映射关系;The social resource push module is used to listen to the data packets sent by the social resources in the social resource network, push the information of the social resources that need to be connected to the public platform to the access server, and then assign the virtual IP to the social resources according to the access server Address, establishes the mapping relationship between the actual IP address of social resources and the virtual IP address;

转发模块,用于根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包。The forwarding module is configured to forward the data packets between the social resource and the access server through the established tunnel connection according to the established mapping relationship.

进一步地,所述社会资源推送模块在侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,包括:Further, the social resource push module listens to the data packets sent by the social resources in the social resource network, and pushes the information of the social resources that need to be connected to the public platform to the access server, including:

在LAN口侦听社会资源发送的数据包,从社会资源发送的数据包包头中解析出社会资源的IP地址和MAC地址信息,然后将社会资源的IP地址、MAC地址写入社会资源信息表;Listen to the data packet sent by the social resource at the LAN port, analyze the IP address and MAC address information of the social resource from the header of the data packet sent by the social resource, and then write the IP address and MAC address of the social resource into the social resource information table;

从社会资源信息表中选取需要接入到公共平台的社会资源,将选取的社会资源的信息推送给接入服务器。Select social resources that need to be connected to the public platform from the social resource information table, and push the information of the selected social resources to the access server.

进一步地,所述转发模块在根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包时,执行如下操作:Further, when the forwarding module forwards the data packet between the social resource and the access server through the established tunnel connection according to the established mapping relationship, it performs the following operations:

根据接入服务器给社会资源分配的虚拟IP地址以及接入服务器的虚拟IP地址生成访问控制列表;Generate an access control list based on the virtual IP address allocated by the access server to social resources and the virtual IP address of the access server;

对接收到的数据包的目的IP地址进行检测;Detect the destination IP address of the received data packet;

如果数据包的目的IP地址为访问控制列表中社会资源的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将数据包的目的IP地址替换为该社会资源的实际IP地址后转发给该社会资源;If the destination IP address of the data packet is the virtual IP address of the social resource in the access control list, then replace the destination IP address of the data packet with the actual After the IP address is forwarded to the social resource;

如果数据包的目的IP地址为访问控制列表中接入服务器的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将该数据包的源IP地址由社会资源的真实IP地址替换为虚拟IP地址后,通过建立的隧道发送给接入服务器。If the destination IP address of the data packet is the virtual IP address of the access server in the access control list, then according to the mapping relationship table between the actual IP address of the social resource and the virtual IP address, the source IP address of the data packet is changed from the real IP address of the social resource After the IP address is replaced with a virtual IP address, it is sent to the access server through the established tunnel.

进一步地,所述转发模块,还用于对接入公共平台的社会资源与社会资源网络内的其它设备进行通讯的数据包进行直接转发。Further, the forwarding module is also used for directly forwarding the data packets that the social resources connected to the public platform communicate with other devices in the social resource network.

本发明提出了一种社会资源的接入方法及装置,通过在社会资源网络中部署接入网关,在公共平台部署接入服务器,接入网关与接入服务器建立VPN隧道,并给需要接入公共平台的社会资源分配虚拟IP地址,实现将各种组网方式的社会资源接入公共平台,同时接入网关对接入公共平台的社会资源与社会资源网络内的其它设备进行通讯的数据包进行直接转发,不需要对社会资源网络内的设备进行任何改变和配置。The present invention proposes a social resource access method and device. By deploying an access gateway in a social resource network and deploying an access server on a public platform, the access gateway and the access server establish a VPN tunnel, and provide access The social resources of the public platform are allocated virtual IP addresses to realize the connection of social resources in various networking modes to the public platform, and at the same time, the access gateway communicates the data packets between the social resources connected to the public platform and other devices in the social resource network For direct forwarding, there is no need to make any changes and configurations to devices in the social resource network.

附图说明Description of drawings

图1为本发明社会资源的接入方法的流程图;Fig. 1 is a flow chart of the access method of social resources of the present invention;

图2为本实施例将社会资源接入公共平台的网络结构图1;Fig. 2 is the network structure Fig. 1 that social resources are connected to the public platform in this embodiment;

图3为本实施例将社会资源接入公共平台的网络结构图2;Fig. 3 is the network structure Fig. 2 that social resources are connected to the public platform in this embodiment;

图4为本实施例将社会资源接入公共平台的网络结构图3;Fig. 4 is the network structure Fig. 3 that social resources are connected to the public platform in this embodiment;

图5为本发明社会资源的接入装置的结构示意图。FIG. 5 is a schematic structural diagram of a device for accessing social resources in the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明技术方案做进一步详细说明,以下实施例不构成对本发明的限定。The technical solution of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments, and the following embodiments do not constitute a limitation of the present invention.

本实施例一种社会资源的接入方法,用于将社会资源网络中的社会资源接入到公共平台,所述社会资源网络侧设置有接入网关,所述公共平台侧设置有接入服务器,本实施例一种社会资源的接入方法应用于接入网关,如图1所示,包括:In this embodiment, a social resource access method is used for connecting social resources in a social resource network to a public platform, where an access gateway is provided on the social resource network side, and an access server is provided on the public platform side In this embodiment, a method for accessing social resources is applied to an access gateway, as shown in FIG. 1 , including:

步骤S1、根据预先配置的接入服务器的IP地址,与接入服务器建立隧道连接。Step S1, establish a tunnel connection with the access server according to the pre-configured IP address of the access server.

当前社会资源网络的组网方式主要分为以下三种:The current social resource network networking methods are mainly divided into the following three types:

1、社会资源网络为独立的局域网,未接入任何其它网络。1. The social resource network is an independent local area network and is not connected to any other network.

2、社会资源网络通过路由器等网关设备接入互联网。2. The social resource network is connected to the Internet through gateway devices such as routers.

3、社会资源网络通过三层交换机等设备接入其它专网,例如接入教育网络。3. The social resource network is connected to other private networks through devices such as layer-3 switches, such as access to education networks.

本实施例社会资源的接入方法在将社会资源接入公共平台时,不受社会资源网络组网方式的限制,通过在社会资源网络中部署接入网关,并在公共平台中部署接入服务器,将当前各种组网方式的社会资源接入公共平台,并且本实施例在将社会资源接入公共平台时,不需要对社会资源网络中的设备进行任何改变和配置。The access method of social resources in this embodiment is not limited by the social resource network networking mode when social resources are connected to the public platform, by deploying the access gateway in the social resource network and deploying the access server in the public platform , to connect social resources in various current networking modes to the public platform, and in this embodiment, when social resources are connected to the public platform, there is no need to make any changes and configurations to the devices in the social resource network.

本实施例针对上述社会资源网络的第一种组网方式,如图2所示,在公共平台中部署接入服务器,在社会资源网络的社会资源与二层交换机之间部署接入网关,接入网关通过LAN口下接社会资源网络中的NVR、DVR设备,上接社会资源网络中的二层交换机,并通过WAN口连接外部的IP网络,实现与接入服务器的连接。接入网关采用网关模式,通过与接入服务器建立的VPN隧道以及分配给NVR/DVR的虚拟IP地址实现将社会资源网络中的NVR/DVR接入公共平台,同时接入网关对NVR/DVR与IPC、视频客户端之间发送的数据包进行直接转发,从而实现在不对社会资源网络中的设备进行任何改变和配置的情况下,将社会资源接入公共平台。This embodiment is aimed at the first networking mode of the above-mentioned social resource network. As shown in FIG. The ingress gateway is connected to the NVR and DVR equipment in the social resource network through the LAN port, connected to the layer 2 switch in the social resource network, and connected to the external IP network through the WAN port to realize the connection with the access server. The access gateway adopts the gateway mode. Through the VPN tunnel established with the access server and the virtual IP address assigned to the NVR/DVR, the NVR/DVR in the social resource network can be connected to the public platform. The data packets sent between the IPC and the video client are directly forwarded, so that social resources can be connected to the public platform without any changes and configurations to the devices in the social resource network.

本实施例针对上述社会资源网络的第二种组网方式,如图3所示,在公共平台中部署接入服务器,在社会资源网络的社会资源与路由器之间部署接入网关,接入网关通过LAN口连接社会资源网络中的NVR、DVR设备,并通过WAN口连接社会资源网络中的路由器,通过路由器及外部的IP网络实现与接入服务器的连接。接入网关采用桥接模式,通过与接入服务器建立的VPN隧道以及分配给NVR/DVR的虚拟IP地址实现将社会资源网络中的NVR/DVR接入公共平台,同时接入网关对NVR/DVR与IPC、视频客户端以及公网用户之间发送的数据包进行直接转发,从而实现在不对社会资源网络中的设备进行任何改变和配置的情况下,将社会资源接入公共平台。This embodiment is directed at the second networking mode of the above-mentioned social resource network. As shown in FIG. Connect the NVR and DVR equipment in the social resource network through the LAN port, and connect the router in the social resource network through the WAN port, and realize the connection with the access server through the router and the external IP network. The access gateway adopts the bridging mode, through the VPN tunnel established with the access server and the virtual IP address assigned to the NVR/DVR, the NVR/DVR in the social resource network can be connected to the public platform, and the access gateway can connect the NVR/DVR and The data packets sent between IPC, video client and public network users are directly forwarded, so that social resources can be connected to the public platform without any changes and configurations to the devices in the social resource network.

本实施例针对上述社会资源网络的第三种组网方式,如图4所示,在公共平台中部署接入服务器,在社会资源网络的社会资源与三层交换机之间部署接入网关,接入网关通过LAN口下接社会资源网络中的NVR、DVR设备,上接社会资源网络中的三层交换机,并通过WAN口连接外部的IP网络,实现与接入服务器的连接。接入网关采用网关模式,通过与接入服务器建立的VPN隧道以及分配给NVR/DVR的虚拟IP地址实现将社会资源网络中的NVR/DVR接入公共平台,同时接入网关对NVR/DVR与IPC、视频客户端以及教育网络用户之间发送的数据包进行直接转发,从而实现在不对社会资源网络中的设备进行任何改变和配置的情况下,将社会资源接入公共平台。This embodiment is aimed at the third networking mode of the above-mentioned social resource network. As shown in FIG. The ingress gateway connects to the NVR and DVR equipment in the social resource network through the LAN port, connects to the layer-3 switch in the social resource network, and connects to the external IP network through the WAN port to realize the connection with the access server. The access gateway adopts the gateway mode. Through the VPN tunnel established with the access server and the virtual IP address assigned to the NVR/DVR, the NVR/DVR in the social resource network can be connected to the public platform. The data packets sent between IPC, video client and education network users are directly forwarded, so that social resources can be connected to the public platform without any changes and configurations to the devices in the social resource network.

本实施例在完成接入网关和接入服务器的部署以及相应的配置后,例如在接入网关上配置接入服务器的IP地址,接入网关根据接入服务器的公网IP地址,向接入服务器发起隧道建立请求;接入服务器对接入网关进行认证后,给接入网关分配一个虚拟IP地址,并通过隧道建立确认消息将分配给接入网关的虚拟IP地址以及接入服务器的虚拟IP地址发送给接入网关;接入网关接收到隧道建立确认消息后,完成隧道的建立。接入网关与接入服务器通过各自的虚拟IP地址进行互相通讯。In this embodiment, after the deployment of the access gateway and the access server and the corresponding configuration are completed, for example, the IP address of the access server is configured on the access gateway. The server initiates a tunnel establishment request; after the access server authenticates the access gateway, it assigns a virtual IP address to the access gateway, and through the tunnel establishment confirmation message, it will be assigned to the virtual IP address of the access gateway and the virtual IP of the access server The address is sent to the access gateway; the access gateway completes the establishment of the tunnel after receiving the tunnel establishment confirmation message. The access gateway and the access server communicate with each other through their respective virtual IP addresses.

需要说明的是,本实施例接入网关与接入服务器之间建立隧道时,不受具体协议的限制,本实施例优选地采用softetherVPN,可以支持各种不同的协议,例如L2TP、PPTP、IPSec等协议来建立VPN隧道,也可以采用单一协议的隧道建立方式,例如建立L2TP隧道,这里不再赘述。It should be noted that, when the tunnel is established between the access gateway and the access server in this embodiment, it is not limited by specific protocols. This embodiment preferably adopts softetherVPN, which can support various protocols, such as L2TP, PPTP, IPSec A VPN tunnel can be established using a single protocol, such as an L2TP tunnel, which will not be repeated here.

步骤S2、侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,然后根据接入服务器给社会资源分配的虚拟IP地址,建立社会资源实际IP地址与虚拟IP地址的映射关系。Step S2, listen to the data packets sent by the social resources in the social resource network, push the information of the social resources that need to be connected to the public platform to the access server, and then establish a social network according to the virtual IP address allocated by the access server to the social resources. The mapping relationship between the actual IP address of the resource and the virtual IP address.

本实施例接入网关通过LAN口连接社会资源中的IPC、NVR和DVR等社会资源,接入网关在LAN口侦听社会资源发送的数据包,从社会资源发送的IP数据包包头中解析出社会资源的IP地址和MAC地址信息,并根据社会资源的MAC地址判断出该MAC地址对应的生产厂商,然后将社会资源的IP地址、MAC地址和生成厂商写入社会资源信息表,社会资源信息表的具体内容如下表所示:In this embodiment, the access gateway connects social resources such as IPC, NVR and DVR in the social resources through the LAN port, and the access gateway listens to the data packets sent by the social resources at the LAN port, and parses out the IP packet header sent by the social resources. The IP address and MAC address information of social resources, and judge the manufacturer corresponding to the MAC address according to the MAC address of the social resource, and then write the IP address, MAC address and manufacturer of the social resource into the social resource information table, and the social resource information The specific content of the table is shown in the following table:

序号serial number 类型type 名称name 厂商manufacturers MAC地址MAC address IP地址IP address 11 海康Hikvision 7B-AC-CD-9D-54-287B-AC-CD-9D-54-28 192.168.1.201192.168.1.201 22 大华Dahua 8C-32-56-5B-46-228C-32-56-5B-46-22 192.168.1.202192.168.1.202 33 其它other 9A-54-C4-8D-55-909A-54-C4-8D-55-90 192.168.1.203192.168.1.203 44 宇视Uniview 5B-34-C7-9A-74-785B-34-C7-9A-74-78 192.168.1.204192.168.1.204 ……... ……... ……... ……...

表1Table 1

用户根据社会资源网络中部署的NVR/DVR的IP地址信息或者MAC地址信息,从社会资源信息表中选取需要接入到公共平台的NVR/DVR设备,并对选取的NVR/DVR设备配置相应的设备类型和名称后,生成推送给接入服务器的社会资源信息表,该社会资源信息表的具体内容如下:According to the IP address information or MAC address information of the NVR/DVR deployed in the social resource network, the user selects the NVR/DVR device that needs to be connected to the public platform from the social resource information table, and configures the corresponding NVR/DVR device for the selected NVR/DVR device. After the device type and name, a social resource information table is generated and pushed to the access server. The specific content of the social resource information table is as follows:

序号serial number 类型type 名称name 厂商manufacturers MAC地址MAC address IP地址IP address 11 NVRNVR 超市二楼The second floor of the supermarket 海康Hikvision 7B-AC-CD-9D-54-287B-AC-CD-9D-54-28 192.168.1.201192.168.1.201 22 DVRDVR 研发7楼R&D 7th floor 大华Dahua 8C-32-56-5B-46-228C-32-56-5B-46-22 192.168.1.202192.168.1.202 33 NVRNVR 10号楼南Building 10 South 宇视Uniview 5B-34-C7-9A-74-785B-34-C7-9A-74-78 192.168.1.204192.168.1.204 ……... ……... ……... ……... ……... ……...

表2Table 2

接入网关通过建立的隧道将生成的推送给接入服务器的社会资源信息表中社会资源的信息,包括社会资源的设备类型、名称、厂商、MAC地址和IP地址,发送给接入服务器。接入服务器接收到接入网关发送的社会资源信息后,给每个社会资源分配一个虚拟IP地址,并将分配的虚拟IP地址以及接入服务器的虚拟IP地址反馈给接入网关。The access gateway sends the generated social resource information in the social resource information table pushed to the access server through the established tunnel, including the device type, name, manufacturer, MAC address and IP address of the social resource, to the access server. After receiving the social resource information sent by the access gateway, the access server assigns a virtual IP address to each social resource, and feeds back the assigned virtual IP address and the virtual IP address of the access server to the access gateway.

需要说明的是,本实施例还可以在接入网关中预先配置好需要接入公共平台的社会资源的IP地址、设备类型和名称,接入网关在侦听到社会资源发送的数据包后,从数据包中解析出源IP地址和MAC地址,如果解析出的源MAC地址与预先配置的需要接入公平平台的社会资源的IP地址相同,则根据解析出的MAC地址判断出该MAC地址对应的生产厂商,并生成包含该社会资源的IP地址、MAC地址、生产厂商、设备类型和名称的社会资源信息,然后将生成的社会资源的信息发送接入服务器。接入服务器接收到接入网关发送的社会资源的信息后,给社会资源分配一个虚拟IP地址,并将分配的虚拟IP地址以及接入服务器的虚拟IP地址反馈给接入网关。It should be noted that in this embodiment, the access gateway can also pre-configure the IP address, device type, and name of the social resources that need to access the public platform. After the access gateway detects the data packet sent by the social resource, The source IP address and MAC address are parsed from the data packet. If the parsed source MAC address is the same as the IP address of the pre-configured social resource that needs to access the fair platform, then it is judged according to the parsed MAC address that the MAC address corresponds to manufacturer, and generate social resource information including the IP address, MAC address, manufacturer, device type and name of the social resource, and then send the generated social resource information to the access server. After receiving the social resource information sent by the access gateway, the access server allocates a virtual IP address to the social resource, and feeds back the allocated virtual IP address and the virtual IP address of the access server to the access gateway.

接入网关根据接入服务器分配给社会资源的虚拟IP地址,生成社会资源的实际IP地址与虚拟IP地址的映射关系表,该映射关系表的具体内容如下:The access gateway generates a mapping relationship table between the actual IP address and the virtual IP address of the social resource according to the virtual IP address allocated by the access server to the social resource. The specific content of the mapping relationship table is as follows:

序号serial number 真实IP地址real IP address 虚拟IP地址Virtual IP address 11 192.168.1.201192.168.1.201 10.10.11.2010.10.11.20 22 192.168.1.202192.168.1.202 10.10.11.2210.10.11.22 33 192.168.1.204192.168.1.204 10.10.11.2410.10.11.24 ……... ……... ……...

表3table 3

接入网关根据社会资源的实际IP地址与虚拟IP地址的映射关系表,对社会资源与接入服务器之间互相发送的IP数据包进行相应的IP地址变换后再进行转发,实现社会资源与接入服务器之间的互相通讯,将社会资源接入到公共平台。According to the mapping relationship table between the actual IP address and the virtual IP address of the social resources, the access gateway performs corresponding IP address conversion on the IP data packets sent between the social resources and the access server before forwarding them, so as to realize the connection between social resources and access servers. Integrate the mutual communication between servers, and connect social resources to the public platform.

需要说明的是,上述实施例中对于社会资源的类型、名称和厂商在社会资源信息表中并不是必须的,但是为了接入服务器在与社会资源建立业务时方便,可以在社会资源信息表中加入,并推送给接入服务器。在本技术方案的实现中,并不会用到这些信息,这里不再赘述。It should be noted that, in the above embodiment, the type, name and manufacturer of the social resource are not necessary in the social resource information table, but for the convenience of the access server when establishing business with the social resource, they can be listed in the social resource information table Join and push to the access server. These information will not be used in the implementation of the technical solution, and will not be repeated here.

步骤S3、根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包。Step S3. According to the established mapping relationship, forward the data packet between the social resource and the access server through the established tunnel connection.

本实施例接入网关接收到接入服务器分配给社会资源信息表中的社会资源的虚拟IP地址后,将接入服务器分配给社会资源的虚拟IP地址以及接入服务器的虚拟IP地址写入文件/proc/tun_ip中,接入网关的网卡驱动程序读取该文件,从文件中提取出社会资源的虚拟IP地址以及接入服务器的虚拟IP地址,生成访问控制列表,并将生成的访问控制列表下发给接入网关的交换芯片。After the access gateway in this embodiment receives the virtual IP address allocated by the access server to the social resource in the social resource information table, it writes the virtual IP address allocated by the access server to the social resource and the virtual IP address of the access server into the file In /proc/tun_ip, the network card driver of the access gateway reads the file, extracts the virtual IP address of the social resource and the virtual IP address of the access server from the file, generates an access control list, and transfers the generated access control list Issued to the switching chip of the access gateway.

本实施例接入网关的交换芯片对接收到的数据包的目的IP地址进行检测,如果数据包的目的IP地址不是访问控制列表中的虚拟IP地址,则直接通过交换芯片将数据包转发出去;如果数据包的目的IP地址为访问控制列表中社会资源的虚拟IP地址,则将数据包发送给接入网关的CPU,接入网关的CPU根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将数据包的目的IP地址替换为该社会资源的实际IP地址后转发给该社会资源;如果数据包的目的IP地址为访问控制列表中接入服务器的虚拟IP地址,则将数据包发送给接入网关的CPU,接入网关的CPU根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将该数据包的源IP地址由社会资源的真实IP地址替换为虚拟IP地址后,通过建立的隧道发送给接入服务器。The switching chip of the access gateway of the present embodiment detects the destination IP address of the received data packet, if the destination IP address of the data packet is not the virtual IP address in the access control list, then directly forwards the data packet through the switching chip; If the destination IP address of the data packet is the virtual IP address of the social resource in the access control list, the data packet is sent to the CPU of the access gateway, and the CPU of the access gateway is based on the mapping relationship between the actual IP address of the social resource and the virtual IP address Table, replace the destination IP address of the data packet with the actual IP address of the social resource and forward it to the social resource; if the destination IP address of the data packet is the virtual IP address of the access server in the access control list, the data packet will be sent For the CPU of the access gateway, the CPU of the access gateway replaces the source IP address of the data packet from the real IP address of the social resource with the virtual IP address according to the mapping relationship table between the actual IP address of the social resource and the virtual IP address, It is sent to the access server through the established tunnel.

例如,如图2所示,社会资源NVR1的IP地址为192.168.1.201,接入服务器分配给NVR1的虚拟IP地址为10.10.11.20,IPC1的IP地址为192.168.1.203。当公共平台点播NVR1上的视频时,接入服务器通过分配给NVR1的虚拟IP地址10.10.11.20来访问NVR1,此时接入网关接收到的数据包的目的IP地址为NVR1的虚拟IP地址10.10.11.20,接入网关通过查询社会资源的实际IP地址与虚拟IP地址的映射关系表,得到虚拟IP地址10.10.11.20对应的真实IP地址192.168.1.201,接入网关将该数据包的目的IP地址由10.10.11.20替换为192.168.1.201后转发给NVR1。当IPC1访问NVR1时,IPC1发送的数据包的目的IP地址为NVR1的真实IP地址192.168.1.201,接入网关接收到该数据包后通过查询数据包的IP包头,发现该数据包的目的IP地址为NVR1的真实IP地址,则根据正常的数据包转发规则,直接将该数据包转发给NVR1。For example, as shown in Figure 2, the IP address of social resource NVR1 is 192.168.1.201, the virtual IP address assigned to NVR1 by the access server is 10.10.11.20, and the IP address of IPC1 is 192.168.1.203. When the public platform requests the video on NVR1, the access server accesses NVR1 through the virtual IP address 10.10.11.20 assigned to NVR1, and the destination IP address of the data packet received by the access gateway is the virtual IP address 10.10 of NVR1. On 11.20, the access gateway obtains the real IP address 192.168.1.201 corresponding to the virtual IP address 10.10.11.20 by querying the mapping relationship table between the actual IP address of the social resource and the virtual IP address, and the access gateway transfers the destination IP address of the data packet to 10.10.11.20 is replaced with 192.168.1.201 and forwarded to NVR1. When IPC1 accesses NVR1, the destination IP address of the data packet sent by IPC1 is the real IP address 192.168.1.201 of NVR1. After receiving the data packet, the access gateway finds the destination IP address of the data packet by querying the IP header of the data packet. is the real IP address of NVR1, the data packet is directly forwarded to NVR1 according to the normal data packet forwarding rules.

需要说明的是,本实施例接入网关也可以不生成访问控制列表,接入网关的交换芯片对接收到的数据包的目的IP地址进行检测后,直接用检测出的目的IP地址与社会资源的实际IP地址与虚拟IP地址的映射关系表中的虚拟IP地址以及接入服务器的虚拟IP地址进行比对,如果检测出的目的IP地址与社会资源的虚拟IP地址相同,则将数据包的目的IP地址替换为该社会资源的实际IP地址后转发给该社会资源;如果检测出的目的IP地址与接入服务器的虚拟IP地址相同,则将该数据包的源IP地址由社会资源的真实IP地址替换为虚拟IP地址后,通过建立的隧道发送给接入服务器;如果检测出的目的IP地址与社会资源的虚拟IP地址以及接入服务器的虚拟IP地址都不同,则将该数据包直接转发出去。It should be noted that the access gateway in this embodiment may not generate an access control list. After the switching chip of the access gateway detects the destination IP address of the received data packet, it directly uses the detected destination IP address and the social resource The actual IP address of the virtual IP address is compared with the virtual IP address in the virtual IP address mapping table and the virtual IP address of the access server. If the detected destination IP address is the same as the virtual IP address of the social resource, the The destination IP address is replaced with the actual IP address of the social resource and forwarded to the social resource; if the detected destination IP address is the same as the virtual IP address of the access server, the source IP address of the data packet is changed from the real IP address of the social resource After the IP address is replaced with a virtual IP address, it is sent to the access server through the established tunnel; if the detected destination IP address is different from the virtual IP address of the social resource and the virtual IP address of the access server, the data packet is directly Forward it.

通过上述方法,对接入公共平台的社会资源与社会资源网络内的其它设备进行通讯的数据包进行直接转发,不需要对社会资源网络内的设备进行任何改变和配置,并能保持线速。本实施例在不对现有的社会资源网络设备做任何改变和配置的情况下,通过接入网关和接入服务器将社会资源网络内的NVR/DVR接入公共平台,并使接入公共平台的NVR/DVR与社会资源网络内的其它设备按原来的方式进行正常通讯。Through the above method, the data packets for communication between the social resources connected to the public platform and other devices in the social resource network are directly forwarded without any changes and configurations to the devices in the social resource network, and the line speed can be maintained. In this embodiment, without making any changes and configurations to the existing social resource network equipment, the NVR/DVR in the social resource network is connected to the public platform through the access gateway and the access server, and the NVR/DVR connected to the public platform NVR/DVR communicates normally with other devices in the social resource network in the original way.

本实施例还提出了一种社会资源的接入装置,用于将社会资源网络中的社会资源接入到公共平台,其特征在于,所述社会资源网络侧设置有接入网关,所述公共平台侧设置有接入服务器,所述社会资源的接入装置应用于接入网关,如图5所示,该装置包括:This embodiment also proposes a social resource access device, which is used to connect social resources in the social resource network to the public platform. It is characterized in that an access gateway is set on the social resource network side, and the public The platform side is provided with an access server, and the access device of the social resources is applied to the access gateway, as shown in Figure 5, the device includes:

隧道建立模块,用于根据预先配置的接入服务器的IP地址,与接入服务器建立隧道连接;A tunnel establishment module, configured to establish a tunnel connection with the access server according to the pre-configured IP address of the access server;

社会资源推送模块,用于侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,然后根据接入服务器给社会资源分配的虚拟IP地址,建立社会资源实际IP地址与虚拟IP地址的映射关系;The social resource push module is used to listen to the data packets sent by the social resources in the social resource network, push the information of the social resources that need to be connected to the public platform to the access server, and then assign the virtual IP to the social resources according to the access server Address, establishes the mapping relationship between the actual IP address of social resources and the virtual IP address;

转发模块,用于根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包。The forwarding module is configured to forward the data packets between the social resource and the access server through the established tunnel connection according to the established mapping relationship.

本实施例社会资源推送模块在侦听社会资源网络中社会资源发送的数据包,将需要接入到公共平台的社会资源的信息推送给接入服务器,执行如下操作:In this embodiment, the social resource push module listens to the data packets sent by the social resources in the social resource network, pushes the information of the social resources that need to be connected to the public platform to the access server, and performs the following operations:

在LAN口侦听社会资源发送的数据包,从社会资源发送的数据包包头中解析出社会资源的IP地址和MAC地址信息,然后将社会资源的IP地址、MAC地址写入社会资源信息表;Listen to the data packet sent by the social resource at the LAN port, analyze the IP address and MAC address information of the social resource from the header of the data packet sent by the social resource, and then write the IP address and MAC address of the social resource into the social resource information table;

从社会资源信息表中选取需要接入到公共平台的社会资源,将选取的社会资源的信息推送给接入服务器。Select social resources that need to be connected to the public platform from the social resource information table, and push the information of the selected social resources to the access server.

本实施例转发模块在根据建立的映射关系,通过建立的隧道连接转发社会资源与接入服务器之间的数据包时,执行如下操作:In this embodiment, the forwarding module performs the following operations when forwarding the data packets between the social resource and the access server through the established tunnel connection according to the established mapping relationship:

根据接入服务器给社会资源分配的虚拟IP地址以及接入服务器的虚拟IP地址生成访问控制列表;Generate an access control list based on the virtual IP address allocated by the access server to social resources and the virtual IP address of the access server;

对接收到的数据包的目的IP地址进行检测;Detect the destination IP address of the received data packet;

如果数据包的目的IP地址为访问控制列表中社会资源的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将数据包的目的IP地址替换为该社会资源的实际IP地址后转发给该社会资源;If the destination IP address of the data packet is the virtual IP address of the social resource in the access control list, then replace the destination IP address of the data packet with the actual After the IP address is forwarded to the social resource;

如果数据包的目的IP地址为访问控制列表中接入服务器的虚拟IP地址,则根据社会资源的实际IP地址与虚拟IP地址的映射关系表,将该数据包的源IP地址由社会资源的真实IP地址替换为虚拟IP地址后,通过建立的隧道发送给接入服务器。If the destination IP address of the data packet is the virtual IP address of the access server in the access control list, then according to the mapping relationship table between the actual IP address of the social resource and the virtual IP address, the source IP address of the data packet is changed from the real IP address of the social resource After the IP address is replaced with a virtual IP address, it is sent to the access server through the established tunnel.

本实施例转发模块,还用于对接入公共平台的社会资源与社会资源网络内的其它设备进行通讯的数据包进行直接转发。The forwarding module in this embodiment is also used to directly forward the data packets that communicate with the social resources connected to the public platform and other devices in the social resource network.

以上实施例仅用以说明本发明的技术方案而非对其进行限制,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and changes according to the present invention. deformation, but these corresponding changes and deformations should belong to 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 social resource access method and device Active CN106533984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611054847.3A CN106533984B (en) 2016-11-25 2016-11-25 A social resource access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611054847.3A CN106533984B (en) 2016-11-25 2016-11-25 A social resource access method and device

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 social resource access method and device

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
CN113612850B (en) 2021-08-11 2024-10-01 浙江宇视科技有限公司 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
CN102137173B (en) Routing information distributing method, equipment, virtual special network system
CN102447752B (en) Service access method, system and device based on layer 2 tunnel protocol (L2TP)
CN101227407B (en) Method and apparatus for sending message based on two layer tunnel protocol
CN101272403B (en) Method, system and equipment for realizing wholesale of DHCP user services
CN101808042B (en) Access method and device of multiprotocol label switching double-layer virtual private network
US10454880B2 (en) IP packet processing method and apparatus, and network system
CN102404418B (en) Method, device and system for distributing IP (internet protocol) address for user terminal
US8611358B2 (en) Mobile network traffic management
CN102882758A (en) Method for accessing virtual private cloud to network, network-side equipment and data center equipment
CN105933198A (en) Device for establishing direct connection VPN tunnel
CN105978708A (en) System of realizing vCPE virtualization enterprise network based on NFV and method thereof
JP2018067927A (en) Layer-2 address management at an access point that can accommodate only three addresses in a network having a relay device
CN103747116A (en) Business access method and device based on Layer 2 Tunneling Protocol (L2TP)
CN102308523A (en) Data communication network configuration method, gateway network element and data communication system
WO2018019299A1 (en) Virtual broadband access method, controller, and system
CN101494669A (en) Method and apparatus for distributing IP address for user terminal
CN107770010A (en) A kind of home intranet method and home networking system based on OpenFlow
CN106533984B (en) A social resource access method and device
CN117459491A (en) A private network interconnection method, device, equipment and storage medium
CN104253878A (en) VLAN (Virtual Local Area Network) information management system and method of DHCP (Dynamic Host Configuration Protocol) RELAY termination sub-interface
CN105635335A (en) Social resource access method, apparatus, and system
CN101753525A (en) Method, system and equipment for realizing the business wholesale of DHCP users
CN100514929C (en) Method and device for message transfer of virtual private local area network
CN102035724A (en) Method, device and system for realizing message forwarding
CN103269300A (en) Method and equipment for achieving heterogeneous network interconnection

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