Background technology
Fast development along with Beidou satellite navigation system, will be to GNSS(Global Navigation Satellite System, GLONASS (Global Navigation Satellite System)) industry has been brought new opportunities and challenges, meanwhile, GNSS industry has also been proposed to more, higher requirement; GNSS system is also in constantly perfect, improvement, to meeting growing GNSS service request.
Along with GPRS(General Packet Radio Service, the unlimited business of general packet), 3G(The3rd Generation Telecommunication, 3G (Third Generation) Moblie business), WIFI(Wireless Fidelity, WLAN (wireless local area network)) technology is increasingly mature, and great reform also occurs in the network service of GNSS receiver.Different from daily Household intelligent device operational environment, out of doors, this just has higher requirement to communication GNSS receiver general work.The communication of GNSS receiver network is mainly used in, handbook arranges GNSS receiver parameters, GNSS sends differential data to handbook, GNSS receiver provides FTP data, services for user, GNSS receiver system online upgrading, user's remote monitoring GNSS receiver running status, behavior of user's Long-distance Control GNSS receiver etc.
At present, communicating by letter of GNSS receiver and handbook is mainly by bluetooth, WIFI technology, and receiver and handbook are all provided with bluetooth module or WIFI module, sets up WLAN (wireless local area network) transmit data by Bluetooth pairing or WIFI.Bluetooth is a kind of employing RF(Radio Frequency, radio frequency) short distance, the data information transfer exchange standard of radio-frequency technique, transmission range only has 10 meters of left and right conventionally.WIIF is the same with Bluetooth technology, belongs to short distance wireless technical.This has just limited the operating distance of handbook and receiver.
For the GNSS receiver that WEB service is provided, conventionally by WIFI, be connected to router, then on the router of fixing public network IP, do IP mapping having, check receiver has been removed in the WEB service of so just can be long-range logined receiver and provided by fixing public network IP.GNSS receiver works long hours at outdoor environments such as high mountain, dark woods, ocean, construction sites, seldom have network cable can arrive these places, and public network IP only has by cable network application.
Based on above-described Industry, the GNSS receiver system based on virtual network is proposed herein.
Summary of the invention
The object of the invention is to overcome the shortcoming of above-mentioned prior art, provide a kind of can realize solve GNSS industry networking difficulty and the limited problem of data transmission distance in prior art, facilitate remote terminal to access GNSS receiver, be applicable to large-scale promotion application based on virtual network, realize the system and method for GNSS receiver remote data transmission.
To achieve these goals, the system and method for realizing GNSS receiver remote data transmission based on virtual network of the present invention has following formation:
Should based on virtual network, realize the system of GNSS receiver remote data transmission, its main feature is that described system comprises:
GNSS receiver;
Remote terminal, in order to receive the data of described GNSS receiver remote transmission or the GNSS receiver described in remote access based on virtual network;
Vpn server, in order to set up described virtual network and to be the IP address in described GNSS receiver and remote terminal distribution virtual network.
Preferably, described remote terminal is data recorder, computer, panel computer or mobile phone.
The invention still further relates to a kind of method of GNSS receiver remote data transmission that realizes based on virtual network by described system, its main feature is that described method comprises the following steps:
(1) described vpn server is opened virtual network service;
(2) the GNSS receiver accessing Internet described in also signs in on described vpn server;
(3) described vpn server is that described GNSS receiver distributes the IP address in virtual network;
(4) the remote terminal accessing Internet described in also signs in on described vpn server;
(5) vpn server described in is that the remote terminal of access of virtual network distributes the IP address in virtual network;
(6) described remote terminal is accessed described GNSS receiver or is carried out transfer of data with described GNSS receiver in the IP address in virtual network by GNSS receiver.
Preferably, described vpn server is opened virtual network service, comprises the following steps:
(11) described vpn server is by wired network adapter accessing Internet;
(12) public network operator is that described vpn server distributes fixing public network IP address.
More preferably, described signs in on described vpn server, is specially:
By VPN client-side program, access the fixing public network IP address of described vpn server and login.
Preferably, described GNSS receiver accessing Internet, is specially:
Described GNSS receiver is by 3G network accessing Internet.
Preferably, described vpn server is that the remote terminal of access of virtual network distributes the IP address in virtual network, is specially:
Described vpn server is that the remote terminal of access of virtual network distributes the fixed ip address in virtual network.
Preferably, described vpn server is that the remote terminal of access of virtual network distributes the IP address in virtual network, is specially:
Described vpn server is that the remote terminal of access of virtual network distributes the dynamic IP addressing in virtual network.
Adopted and based on virtual network, realized the system and method for GNSS receiver remote data transmission in this invention, GNSS industry networking difficulty and the limited technical problem of data transmission distance in prior art have been solved, facilitate remote terminal access GNSS receiver, be used in above company's third generation receiver, very convenient user's remote access process, is applicable to large-scale promotion application.
Embodiment
In order more clearly to describe technology contents of the present invention, below in conjunction with specific embodiment, conduct further description.
As shown in Figure 1, the system that realizes GNSS receiver remote data transmission based on virtual network of the present invention comprises: GNSS receiver; Remote terminal, in order to receive data or the remote access GNSS receiver of GNSS receiver remote transmission based on virtual network; Vpn server, in order to set up virtual network and to be the IP address in GNSS receiver and remote terminal distribution virtual network.Wherein, remote terminal is data recorder, computer, panel computer or mobile phone.
The present invention is achieved through the following technical solutions:
Whole framework is comprised of 4 parts:
1, VPN(Virtual Private Network, VPN (virtual private network)) server sets up;
2, GNSS receiver is by 3G network accessing Internet;
3, GNSS receiver VPN client sets up;
4, setting up of the PC that long-range wish is communicated by letter with receiver or embedded device VPN client.
The setting up of vpn server in above-mentioned 1 is by leaving the special-purpose vpn server of machine room in or being set up by PC.GNSS receiver in 2 adopts the 3G network accessing Internet of CDMA, WCDMA or TD, why adopt 3G network to be because the operational environment of GNSS receiver is not suitable for the access of cable network, and quite stable, high speed and popularize of 3G network at home.The setting up of GNSS receiver VPN client in 3, need to write the client-side program based on particular hardware platform according to VPN agreement.In 4, can be handbook, can be also long-range PC, or even ipad or mobile phone.
The course of work:
The server of A, machine room (being designated as S) all weather operations, opens VPN service;
B, GNSS receiver (being designated as C1) carry out 3G dialing, after success, by VPN client-side program, to machine room vpn server, initiate authentication request;
After C, machine room server authentication pass through, distribute fixedly IP to GNSS receiver;
PC or the embedded device (being designated as C2) of D, far-end wish access GNSS, also initiate authentication request by VPN client-side program to machine room vpn server;
After E, machine room server authentication pass through, monthly dynamics IP is to C2.
F, C2 are assigned to the IP address of GNSS receiver according to vpn server, access C1
G, when many GNSS receivers are connected to vpn server simultaneously, the fixedly IP that is assigned to is different, accesses also non-interference.VPN, to the IP of GNSS fixed allocation, is just determined by vpn server when dispatching from the factory.
As shown in Figure 2, the method that realizes GNSS receiver remote data transmission based on virtual network of the present invention comprises the following steps:
(1) vpn server is opened virtual network service;
Comprise following two sub-steps:
(11) vpn server is by wired network adapter accessing Internet;
(12) public network operator is that vpn server distributes fixing public network IP address.
(2) GNSS receiver accessing Internet signing in on vpn server;
GNSS receiver, by after 3G network accessing Internet, is accessed the fixing public network IP address of vpn server and is logined by VPN client-side program.
(3) vpn server is that GNSS receiver distributes fixing IP address in virtual network;
(4) remote terminal accessing Internet signing in on vpn server;
After remote terminal accessing Internet, by VPN client-side program, access the fixing public network IP address of vpn server and login.
(5) vpn server is that the remote terminal of access of virtual network distributes dynamic IP address in virtual network;
(6) remote terminal is accessed GNSS receiver or is carried out transfer of data with GNSS receiver in the IP address in virtual network by GNSS receiver.
With a specific embodiment, further introduce system and method for the present invention below:
The present embodiment remote access GNSS receiver WEB service process of how only having demonstrated, other are as FTP, and SOCKET communication etc. is same applicable.
As shown in Figure 1, this figure has shown the network topology structure of native system.The vpn server that is positioned at machine room accesses Internet by wired network adapter, and obtains fixing public network IP address X.X.X.X there from operator.GNSS receiver, handbook, long-range PC is also all linked into Internet by variety of way.As shown in the solid line of Fig. 1, all parts of system is to be operated under the environment of the Internet now, and at this time access is very difficult mutually, because GNSS receiver in figure, handbook, long-range PC is not assigned to public network IP address.Dotted line in Fig. 1, be successfully set up VPN network after, be in the equipment of VPN network the inside, by vpn tunneling, formed virtual local area network (LAN).At this time, they distribute the IP address obtaining by VPN, and access has each other been accessed just as access local area network (LAN).
Fig. 3 has shown that machine room vpn server in native system sets up the process of VPN network.After system starts, open VPN service, wait for that user logins, once there be VPN client to login, server will carry out authentication to user, after authentication is passed through, will, according to user profile, determine to distribute fixedly IP or dynamic IP.At this time, both sides' vpn tunneling has been set up.
Fig. 4 has shown in native system that GNSS receiver is by VPN network startup WEB service process.GNSS receiver, by 3G network accessing Internet, signs in on the vpn server of X.X.X.X public network address by VPN client-side program afterwards.After success, from vpn server, be assigned to a fixing VPN address, be assumed to 192.168.0.3, open afterwards WEB service end.
Fig. 5 has shown various terminals or the PC of native system medium-long range wish access GNSS receiver WEB service.After they are connected to the Internet by variety of way, sign in on the vpn server of X.X.X.X public network address by VPN client-side program, authentication can distribute address to them by rear vpn server.They just can pass through the WEB that http: // 192.168.0.3 visits GNSS receiver and have served afterwards.
Adopted and based on virtual network, realized the system and method for GNSS receiver remote data transmission in this invention, GNSS industry networking difficulty and the limited technical problem of data transmission distance in prior art have been solved, facilitate remote terminal access GNSS receiver, be used in above company's third generation receiver, very convenient user's remote access process, is applicable to large-scale promotion application.
In this specification, the present invention is described with reference to its specific embodiment.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.