Method for realizing distributed storage of acquisition workstations in internet scene without public network IP address

文档序号:1430965 发布日期:2020-03-17 浏览:8次 中文

阅读说明:本技术 一种无需公网ip地址实现互联网场景下采集工作站分布式存储的方法 (Method for realizing distributed storage of acquisition workstations in internet scene without public network IP address ) 是由 陈教兆 于 2019-11-21 设计创作,主要内容包括:本发明公开了一种无需公网IP地址实现互联网场景下采集工作站分布式存储的方法,包括以下步骤:步骤1:局域网内的工作站安装内网穿透软件客户端,服务器安装内网穿透软件服务端;步骤2:工作站向服务器请求打开数据端口B;步骤3:服务器回复工作站打开端口成功;步骤4:建立虚拟连接;步骤5:将视频地址改为服务器IP和端口B;步骤6:发送播放视频请求到服务器端口B;步骤7:转发请求到工作站WEB服务端口A;步骤8:将视频数据通过虚拟连接转发到服务器端口B;步骤9:转发数据给客户端。本发明只需公网IP地址一个,即只有服务器需要,节省了工作站的多个公网IP,视频点播过程中,所有采集工作站的对外请求通过服务器来转发。(The invention discloses a method for realizing distributed storage of acquisition workstations in an internet scene without public network IP addresses, which comprises the following steps: step 1: the workstation in the local area network is provided with an intranet penetration software client, and the server is provided with an intranet penetration software server; step 2: the workstation requests the server to open a data port B; and step 3: the server replies that the workstation successfully opens the port; and 4, step 4: establishing a virtual connection; and 5: changing the video address into a server IP and a port B; step 6: sending a video playing request to a server port B; and 7: forwarding the request to a workstation WEB service port A; and 8: forwarding the video data to a server port B through the virtual connection; and step 9: and forwarding the data to the client. The invention only needs one public network IP address, namely only needs a server, saves a plurality of public network IPs of the workstation, and forwards the external requests of all the acquisition workstations through the server in the video on demand process.)

1. The utility model provides a need not public network IP address and realize gathering workstation distributed storage system under internet scene, includes gathering workstation, server and customer end, its characterized in that, the output of gathering workstation and the input both way junction of server, be equipped with between gathering workstation and the server and prevent hot wall, the output of server and the both way junction of customer end input.

2. The distributed storage system for collection workstations in the internet scenario without public IP addresses as claimed in claim 1, wherein the collection workstations are local area network IPs.

3. The distributed storage system for collection workstations in the context of Internet without public IP addresses as recited in claim 1, wherein the firewall is a non-public fixed IP.

4. The distributed storage system for collection workstations in the internet scenario without using public network IP addresses as claimed in claim 1, wherein the server is a public network fixed IP.

5. The distributed storage system for collection workstations in the internet scenario without public IP addresses as recited in claim 1, wherein the client is a local area network IP.

6. A method for realizing distributed storage of acquisition workstations in an Internet scene without public network IP addresses is characterized by comprising the following steps:

step 1: a workstation in the local area network is provided with an intranet penetration software client, a server is provided with an intranet penetration software server, and a data connection port is opened;

step 2: the workstation is actively connected with the data connection port of the server and requests the server to open the data port B;

and step 3: the server replies that the workstation successfully opens the port and monitors a data port B;

and 4, step 4: the workstation and the server establish a virtual connection between the workstation and the server through the process of the step 1-3;

and 5: the law enforcement recorder management system changes the stored video address into a server IP and a port B;

step 6: the Internet client logs in a law enforcement recorder management system, opens a video playing page and sends a video playing request to a server port B;

and 7: the server end of the intranet transmission software of the server monitors that a port B has a request, and forwards the request to a WEB service port A of a workstation through the virtual connection established before;

and 8: the workstation intranet penetration software client forwards video data sent by the WEB service to a server port B through virtual connection;

and step 9: the server port B forwards the data to the client to finish data transmission, and the client can normally check the video.

7. The method according to claim 6, wherein the workstation maps its own WEB service port a to any nonrepeating port B of the server in step 2.

8. The method of claim 6, wherein the step 4 is performed by an active initiation in the LAN, so that the firewall can be penetrated.

Technical Field

The invention relates to the technical field of internet data management, in particular to a method for realizing distributed storage of acquisition workstations in an internet scene without public network IP addresses.

Background

The law enforcement recorder management system is a system for uniformly managing videos of the law enforcement recorder and can realize the functions of searching, backing up, counting, playing the videos and the like. With the popularization of law enforcement recorders, the installation requirements of workstations are increased, but many law enforcement agencies do not have a private network and use the internet for office work. In this scenario, to view a video in the law enforcement recorder management system, as shown in fig. 1, each device needs to apply for a public network fixed IP address and coordinate a unit network administrator to perform port mapping on a firewall, and then an internet client can access the video stored in a workstation.

However, the existing public network fixed IP address resources are in short supply, the application process is complicated, the cost is high, heavy network cost is caused to users, and the users need to apply to operators in advance before installation, so that the waiting time is long.

Disclosure of Invention

1. Technical problem to be solved

The invention aims to solve the problems that in the prior art, the fixed IP address resources of a public network are in short supply, the application process is complicated, the cost is high, heavy network cost is caused to a user, and the user needs to apply for an operator in advance before installation.

2. Technical scheme

In order to achieve the purpose, the invention adopts the following technical scheme:

the utility model provides a need not public network IP address and realizes gathering workstation distributed storage system under internet scene, includes gathering workstation, server and customer end, the output of gathering workstation and the input both way junction of server, it prevents hot wall to be equipped with between gathering workstation and the server, the output of server and the both way junction of customer end input.

Preferably, the collection workstation is a local area network IP.

Preferably, the firewall is a non-public fixed IP.

Preferably, the server is a public fixed IP.

Preferably, the client is a local area network IP.

The invention also provides a method for realizing the distributed storage of the acquisition workstations in the internet scene without public network IP addresses, which comprises the following steps:

step 1: a workstation in the local area network is provided with an intranet penetration software client, a server is provided with an intranet penetration software server, and a data connection port is opened;

step 2: the workstation is actively connected with the data connection port of the server and requests the server to open the data port B;

and step 3: the server replies that the workstation successfully opens the port and monitors a data port B;

and 4, step 4: the workstation and the server establish a virtual connection between the workstation and the server through the process of the step 1-3;

and 5: the law enforcement recorder management system changes the stored video address into a server IP and a port B;

step 6: the Internet client logs in a law enforcement recorder management system, opens a video playing page and sends a video playing request to a server port B;

and 7: the server end of the intranet transmission software of the server monitors that a port B has a request, and forwards the request to a WEB service port A of a workstation through the virtual connection established before;

and 8: the workstation intranet penetration software client forwards video data sent by the WEB service to a server port B through virtual connection;

and step 9: the server port B forwards the data to the client to finish data transmission, and the client can normally check the video.

Preferably, the workstation maps the own WEB service port a to any unrepeated port B of the server in step 2.

Preferably, in step 4, the request is initiated actively in the lan, so that the firewall can be penetrated.

3. Advantageous effects

Compared with the prior art, the invention has the advantages that:

(1) in the invention, an intranet penetration software client is installed on a law enforcement data acquisition workstation (hereinafter referred to as a workstation), an intranet penetration software server is installed on a server, the workstation is actively connected with the server in a local area network, a self WEB service port is mapped to a designated port on the server, and the internet client can access videos stored by the workstation by accessing the port of the server, thereby realizing the effect of intranet penetration.

(2) In the invention, the workstation establishes a virtual connection with the server in advance through intranet penetration software, the virtual connection plays a role similar to a public network IP receiving client request, when a client plays, the client sends the request to the server instead of a firewall at the workstation side, and the server forwards the request and sends video data to the client.

Drawings

FIG. 1 is a schematic view of a video playing process of a common internet collection work site

FIG. 2 is a schematic diagram of a distributed storage system of an acquisition workstation in an Internet scenario without a public network IP address according to the present invention;

fig. 3 is a schematic flow chart of a method for implementing distributed storage of acquisition workstations in an internet scenario without a public network IP address according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.

In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:媒体呈现设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类