CN105357284B - A kind of GNSS server and its implementation - Google Patents
A kind of GNSS server and its implementation Download PDFInfo
- Publication number
- CN105357284B CN105357284B CN201510683779.6A CN201510683779A CN105357284B CN 105357284 B CN105357284 B CN 105357284B CN 201510683779 A CN201510683779 A CN 201510683779A CN 105357284 B CN105357284 B CN 105357284B
- Authority
- CN
- China
- Prior art keywords
- gnss
- terminal
- server
- receiving end
- transmitting terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of GNSS server, including the transmitting terminal server being connect respectively with internet, receiving end server, transmitting terminal GNSS terminal, receiving end GNSS terminal, transmitting terminal server is realized by TCP port and transmitting terminal GNSS terminal and is connected to the network, receiving end server is realized and is connected to the network by TCP port and one or more receiving end GNSS terminals, be connected between transmitting terminal server and receiving end server can two-way communication data transmission channel, the present invention is in communication with each other the realization of transmitting terminal GNSS terminal receiving end GNSS terminal by the TCP port retransmission technique between two servers.The present invention also provides the implementation methods of the GNSS server, structure including configuration file sets, listens to the creation of task and execution, connect the creation of task and execute and the creation and execution of data forwarding task, the effective solution low cost of multi-source GNSS terminal data, high efficiency transmitting-receiving and synchronous needs of problems.
Description
Technical field
The present invention relates to GNSS data processing and transmission devices, particularly, are related to a kind of flat using MS.Net common language
The operation of platform realize that multi-source, distribution, abnormally-structured GNSS receiver data are synchronous and a kind of GNSS server of forwarding and its
Implementation method.
Background technique
GNSS (Global Navigation Satellite System) also known as Global Satellite Navigation System are a packets
Include the synthesis Position Fixing Navigation System including GPS, GLONASS, Galileo, Beidou etc..With technology maturation and application it is general
And the application range of GNSS location data is more and more wider, in RTK system, the data for refining its GPS observation, obtain through
The accurate real time position of rover station after differential correcting;In static resolving system, data will be observed and be transferred to access device or soft
Part is resolved for Static adjustment.Therefore, how rapidly effectively by the monitoring station GNSS of multi-source magnanimity or base station data (including
GNSS initial data, GPS differential correcting Value Data etc.) it broadcasts to other GNSS base stations or rover station of access GNSS server
And access device, so that GNSS rover station or other access devices are achieved the purpose that quickly to resolve, positioning, are navigated, becomes this field
Technical staff's hot subject urgently to be resolved.
There are mainly two types of modes for existing GNSS data transmission:
One is pass through serial ports local transmission or use radio station short-distance transmission, RTK (real time dynamic differential measurement) system
Middle base station (reference station) commonly uses wireless software download radio station and transmitting antenna and will observe data (differential data) and broadcast away, flows
Dynamic station receives the data that base station is broadcast using reception radio station matched with transmitting station, to realize the reception of differential correcting data
With refining for real time position.Transmission data need to understand local area radio station frequency in advance in this way, by benchmark
It stands and rover station is set as unified radio station's frequency for communication, radio station is transmitted generally within the scope of 5km, therefore is setting up benchmark
Entire measurement zone whether can be covered in view of the signal in radio station when station, and the power consumption in radio station is big, need to carry large capacity
Level power supply, one-to-many data can be realized by radio station mode and transmit, i.e., a GNSS base station passes through its data
Radio station, which is broadcast, gives the monitoring station GNSS, but its distance is restricted, and can only unidirectionally be broadcast, and is unable to two-way communication and forwarding.
Another kind is transmitted by internet, and each GNSS base station and monitoring station are limited by Network Provider, nothing
Method obtains the fixed ip address (can not run in the form of server end) of the base station or monitoring station that communicate with, each GNSS
It can not be directly in communication with each other between base station and monitoring station.Chinese patent 201310254550.1 discloses a kind of internet and electricity
The GNSS differential signal broadcasting system and method that platform combines, the patent use Ntrip transport protocol, and Ntrip agreement is
A kind of application layer protocol being exclusively used in global position system, application range compare limitation, and can only use realizes Ntrip agreement
Communication module transmits data;Separately there is Chinese patent 201310692432.9 to disclose one kind and realizes that GNSS connects based on virtual network
The system and method for receipts machine remote data transmission, the patent are that it is empty need in addition to set up distribution based on Virtual Private Network VPN traffic
The vpn server of quasi- IP, configuration process is complicated, is easy error, sets up and maintenance vpn server is at high cost, difficulty is big.Two
Kind scheme all only realizes the communication between GNSS data center and GNSS terminal, can not direct communication between GNSS terminal.
It is unable to satisfy when there is the connection of multiple GNSS terminals, the requirement of data Fast synchronization is needed between each terminal.
Summary of the invention
It is an object of that present invention to provide a kind of GNSS servers, to solve the problems, such as to propose in background technique.
To achieve the above object, the present invention provides a kind of GNSS servers, including the transmission connecting respectively with internet
Hold server, receiving end server, transmitting terminal GNSS terminal, receiving end GNSS terminal, transmitting terminal server by TCP port with
Transmitting terminal GNSS terminal realizes network connection, and receiving end server passes through TCP port and one or more receiving ends GNSS terminal
Realize network connection, be connected between transmitting terminal server and receiving end server can two-way communication data transmission channel, this
Data transmission channel makes the transmitting terminal GNSS terminal connecting with transmitting terminal server and the receiving end connecting with receiving end server
GNSS terminal realization is in communication with each other.
The transmitting terminal server include listen to the whether online connection of each transmitting terminal GNSS terminal listen to modules A,
Each transmitting terminal GNSS terminal respectively with listen to modules A and connect;The receiving end server includes to listen to each receiving end GNSS
Module B is listened in the whether online connection of terminal, each receiving end GNSS terminal respectively with listen to module B and connect.
Further, established simultaneously with transmitting terminal server TCP network connection the transmitting terminal GNSS terminal be it is multiple,
The data that one sends each transmitting terminal GNSS terminal are connected between transmitting terminal server and receiving end server to screen
With optimization processing, and by the Data Analysis Services center of the data transmission after optimization to receiving end server.
Further, the transmitting terminal server and receiving end server pass through wired or wireless way and internet connects
It connects, the transmitting terminal GNSS terminal and receiving end GNSS terminal pass through wired or wireless way and connect with internet, then with TCP
The form of client passes through internet access transmitting terminal server or receiving end server.
The wireless mode is to be connected into interconnection using wireless modes such as the 2G/3G/4G such as CDMA, GPRS, LTE network or WIFI
Net.
A kind of implementation method of GNSS server, comprising the following steps:
1) structure of configuration file is set: framework and that data between transmitting terminal GNSS terminal and receiving end GNSS terminal are arranged is mutual
The configuration file of transmission, the content of this configuration file include: a, between transmitting terminal server and receiving end server establish one
It is a can two-way communication data transmission channel;B, a transmitting terminal server is established between every two GNSS terminal respectively
Port mapping forward rule (i.e. the pairing relationship of TCP port) between TCP port and receiving end server TCP port, this
GNSS terminal includes the receiving end GNSS terminal and transmitting terminal GNSS terminal of all online connections or not online connection;
2) listen to the foundation and execution of task: transmitting terminal server listen to modules A and receiving end server listen to mould
Block B listens to whether have the online connection of TCP Client respectively, i.e., whether has transmitting terminal GNSS terminal access transmitting terminal server and be
It is no to there is receiving end GNSS terminal to access receiving end server;
3) connect task creation and execution: when modules A is listened in step 2 and/or listen to module B listened to it is any
When TCP Client (i.e. any GNSS terminal) online connection, two-way between transmitting terminal server and receiving end server is opened
The data transmission channel of letter;
4) between TCP port data forwarding task foundation and execution: the data of transmitting terminal GNSS terminal pass sequentially through hair
Sending end server, receiving end server are sent to receiving end GNSS terminal, and the data of receiving end GNSS terminal pass sequentially through reception
End server, transmitting terminal server are sent to transmitting terminal GNSS terminal.
Further, when transmitting terminal server has the online connection of multiple GNSS terminals simultaneously, between step 3 and step 4
Be additionally provided with step 3-1: data relay processing step, i.e., according to the location information of the receiving end GNSS terminal of each online connection,
It is sent to receiving end server after carrying out adjustment resolving to the data that each transmitting terminal GNSS terminal provides, then is serviced by receiving end
Device is sent to each receiving end GNSS terminal.
The adjustment is resolved and specifically included: GNSS data analyzes the transmission near processing center selection receiving end GNSS terminal
The data that end GNSS terminal transmits are handled (one or more of excluding gross error, atmospheric correction, radiant correction etc.), are eliminated
Error present in data and observation condition is observed, is fitted its satellite clock using the observation data of multiple transmitting terminal GNSS terminals
One or more of a variety of errors such as difference, satellite orbital error, tropospheric error, ionospheric error, and with virtual observation number
According to form receiving end GNSS terminal is transmitted to by receiving end server, so that receiving end GNSS terminal is carried out RTK accordingly fixed
Position, obtains the more accurately positioning result of Centimeter Level.
Further, configuration file content further includes each for above-mentioned steps 2 to step 4 and step 3-1 in step 1
Business one thread pool of creation, is sequentially arranged together in the form of queue, and wait pending, line after each task creation
Cheng Chizhong is equipped with multiple threads, and thread idle if it exists in thread pool, then thread can take out one from task queue in order
Item task execution.After the completion of thread execution task, thread pool will be returned to, and be in idle condition and wait or get next
Business.
The invention has the following advantages: the present invention makes to pass through TCP port shape with two servers by two server
The GNSS terminal realization of formula connection is in communication with each other, and realizes that transmitting terminal GNSS terminal broadcasts the data of receiving end GNSS terminal, and
Each receiving end GNSS terminal for establishing connection with receiving end server is not necessarily to send request of data to receiving end server, works as transmission
End server receives the instant location data that transmitting terminal GNSS terminal is sent, and has any one or more receiving ends GNSS whole
When end establishes connection with receiving end server, transmitting terminal server forwards the data to receiving end server, receiving end automatically
Data are broadcast each receiving end GNSS terminal again by server, realize transmitting terminal GNSS terminal to receiving end GNSS terminal
Data are broadcast automatically;Feedback data is reversely sent to transmitting terminal GNSS terminal according to former road in time by receiving end GNSS terminal simultaneously,
Timely response is made to transmitting terminal GNSS terminal;
In implementation process of the present invention, receiving end GNSS terminal is not necessarily to know itself IP address and transmitting terminal GNSS terminal
IP address, it is only necessary to know that the IP address of receiving end server and receiving end server listen to port numbers and transmitting terminal server
IP address and transmitting terminal server listen to port numbers, can be in communication with each other with transmitting terminal GNSS terminal, and receiving end GNSS
Terminal and transmitting terminal GNSS terminal are interchangeable, and receiving end server also can be interchanged with transmitting terminal server, as receiving end GNSS
Terminal establishes TCP connection through transmitting terminal server ip address and transmitting terminal server, establishes TCP connection with transmitting terminal server
The receiving end GNSS terminal becomes transmitting terminal GNSS terminal, and data can broadcast other receiving end GNSS terminals, sends certainly
End GNSS terminal can also received end server ip address and receiving end server establish TCP connection, built with receiving end server
The transmitting terminal GNSS terminal of vertical TCP connection becomes receiving end GNSS terminal, can receive the data from transmitting terminal server, whole
A system is flexible and changeable, and effective solution multi-source, expeditiously receives and turns the low costs of distributed GNSS terminal data
The needs of problems of hair.
When receiving end, GNSS terminal does not need broadcast data external as transmitting terminal GNSS terminal, by transmitting terminal server
With receiving end server be arranged to IP address (i.e. transmitting terminal server and receiving end server is connected to same physics
On server, controlled by same program), it is only necessary to know that the IP address and receiving end server listen to port numbers, and hair can be realized
Sending end GNSS terminal synchronizes the data of one or more receiving end GNSS terminals and broadcasts, simple and convenient, low in cost.
Other than objects, features and advantages described above, there are also other objects, features and advantages by the present invention.
Below with reference to figure, the present invention is described in further detail.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
The integrated stand composition of this GNSS server when Fig. 1 is only one transmitting terminal GNSS terminal;
Fig. 2 is the integrated stand composition of this GNSS server when having multiple transmitting terminal GNSS terminals;
Fig. 3 is the flow diagram of this GNSS data processing method;
Fig. 4 is the schematic diagram that this GNSS data processing method is realized by thread pool.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing, but the present invention can be limited according to claim
Fixed and covering multitude of different ways is implemented.
Referring to a kind of GNSS server of FIG. 1 to FIG. 2.
Referring to Fig. 1, a GNSS base station 10 is connected into internet by 2G/3G/4G network as transmitting terminal GNSS terminal,
Transmitting terminal server and receiving end server pass through wired mode respectively and are connected into internet, multiple GNSS rover stations 30~32 and/
Or other GNSS application programs 33 are connected into internet, GNSS base station 10 by 2G/3G/4G network as receiving end GNSS terminal
TCP connection is established by internet with the modules A of listening to of transmitting terminal server, multiple GNSS rover stations 30~32 and/or other
The module B that listens to of GNSS application program 33 and receiving end server establishes TCP connection by internet;Transmitting terminal server with connect
The channel of two-way communication is connected between receiving end server.
The online connection of GNSS base station 10 is listened to when listening to modules A, module B is listened to and listens to any one receiving end
GNSS terminal (such as GNSS rover station 30) online connection, the bidirectional data transfers channel of transmitting terminal server and receiving end server
It opens, system establishes an one-to-one bi-directional communication channels, GNSS base between GNSS base station 10 and GNSS rover station 30
The data at quasi- station 10 are passed GNSS rover station 30, are used as subsequent processing, after GNSS rover station 30 receives data, can be fed back one
Data make real-time response to GNSS base station 10, to GNSS base station 10;When subsequent and have multiple receiving end GNSS terminals (such as
GNSS rover station 31~32 and/or other GNSS application programs 33) online connection, system flows in GNSS base station 10 and GNSS
One-to-one bi-directional communication channels are established respectively between 31~32 and GNSS application program 33 of standing, and GNSS base station 10 is made to realize one
Function is broadcast to more data.
The advantages of two server end forwards is that each transmitting terminal GNSS terminal and receiving end GNSS terminal only need one and can connect
Mutual communication can be realized in the module (such as GPRS module) for entering network, can also with other applications realize communicate (such as with
Receiving end server establishes GNSS data capture program of TCP connection etc.), thus get rid of conventional method (serial communication, electricity
Platform is broadcast) limitation to data transmission distance, while solving the problems, such as data double-way communication, moreover also it is able to achieve
The dynamic access of tripartite's application program (such as capture program) can dynamically choose whether access acquisition or disconnected according to actual needs
Extracting, gathering.
Referring to fig. 2, multiple GNSS base stations 1~3 are connected into interconnection by 2G/3G/4G network as transmitting terminal GNSS terminal
Net, transmitting terminal server and receiving end server pass through wired mode respectively and are connected into internet, and multiple GNSS rover stations 1~3 are made
Internet is connected by 2G/3G/4G network for receiving end GNSS terminal, GNSS base station 1~3 is listened to transmitting terminal server
Modules A establishes TCP connection by internet, and the module B that listens to of multiple 1~3 receiving end servers of GNSS rover station passes through interconnection
Net establishes TCP connection;It is connected with the channel of two-way communication between transmitting terminal server and receiving end server, is connected on channel
Receive and compare the number that one optimal data of location data and selection that each GNSS base station is sent is sent to receiving end server
According to analysis processing center.In the present embodiment, optimal data may be defined as establishing TCP connection with receiving end server from each
Data provided by a nearest GNSS base station of GNSS rover station geographical location or multiple GNSS base stations are through GNSS data
Analyze provided data after processing center adjustment resolves.
Similarly, GNSS rover station or other noncurrent monitoring stations GNSS can also be built by internet and transmitting terminal server
Vertical TCP connection, is sent to other GNSS rover stations or the noncurrent monitoring station GNSS for its GNSS location data, to meet reality
Border needs.
Referring to a kind of implementation method of GNSS server of Fig. 3~Fig. 4.
Referring to Fig. 3, comprising the following steps:
1) structure of configuration file is set: framework and that data between transmitting terminal GNSS terminal and receiving end GNSS terminal are arranged is mutual
The configuration file of transmission, the content of this configuration file be included between transmitting terminal server and receiving end server establish one can
End between the data transmission channel of two-way communication, the TCP port for establishing transmitting terminal server and receiving end server TCP port
Mouth mapping forward rule (i.e. the pairing relationship of TCP port), and creation thread pool;
2) listen to the foundation and execution of task: transmitting terminal server listen to modules A and receiving end server listen to mould
Block B listens to whether have the online connection of TCP Client respectively, i.e., whether has transmitting terminal GNSS terminal access transmitting terminal server and be
It is no to there is receiving end GNSS terminal to access receiving end server;
3) creation and execution of task are connected: opening the number of two-way communication between transmitting terminal server and receiving end server
According to interface channel;
4) between TCP port data forwarding task foundation and execution: the data of transmitting terminal GNSS terminal pass sequentially through hair
Sending end server, receiving end server are sent to receiving end GNSS terminal, and the data of receiving end GNSS terminal pass sequentially through reception
End server, transmitting terminal server are sent to transmitting terminal GNSS terminal.
When transmitting terminal server has the online connection of multiple GNSS terminals simultaneously, step is additionally provided between step 2 and step 3
3-1: data relay processing step: i.e. according to the location information of the receiving end GNSS terminal of each online connection, to each transmission
The data that end GNSS terminal provides are sent to receiving end server after carrying out adjustment resolving, then are sent to respectively by receiving end server
Receiving end GNSS terminal.
It includes: in RTK application that adjustment, which resolves particular content, and GNSS data analyzes processing center and chooses receiving end GNSS end
The data that transmitting terminal GNSS terminal near end transmits are handled (excluding gross error, atmospheric correction, radiant correction etc.), are eliminated and are seen
Error present in measured data and observation condition is fitted its satellite clock using the observation data of multiple transmitting terminal GNSS terminals
A variety of errors such as difference, satellite orbital error, tropospheric error, ionospheric error, and by connecing in the form of virtual observation data
Receiving end server is transmitted to receiving end GNSS terminal, so that receiving end GNSS terminal is carried out RTK positioning accordingly, obtains Centimeter Level
More accurately positioning result.
Referring to fig. 4, treatment method is above-mentioned steps 2 to step 4 and one thread of each task creation of step 2-1
Pond is sequentially arranged together after each task creation in the form of queue, and waits pending, is equipped in thread pool multiple
Thread, thread idle if it exists in thread pool, then thread can take out a task execution from task queue in order.Thread
After the completion of execution task, thread pool will be returned to, and is in idle condition waiting or gets next task.Thread Pool Technology exists
Thread has been created that a certain number of threads are reused for using, and ceaselessly at the beginning of starting, until thread pool is closed.?
In GNSS server application, the work that any one needs is completed, which all must be added in task list, to be waited at thread
Reason, if there are idle thread in thread pool, which will sequentially take out a task from task queue and be executed.It is this
It designs and has greatly mitigated each receiving end GNSS terminal data synchronous need while increasing the response speed of server
It asks, and improves performance, be able to solve high performance bottleneck.
This system it is worked as follows:
After system starting, firstly, the read port mapping from configuration file of transmitting terminal server and receiving end server turns
Rule Information is sent out, port mapping forward rule quantity can be according to the quantity of transmitting terminal GNSS terminal and the networking of receiving end GNSS terminal
It establishes, each receiving end GNSS terminal and transmitting terminal GNSS terminal is made to have a unique port-pairing relationship.
Modules A and receiving end server are listened to according to the port mapping forward rule information creating transmitting terminal server of reading
The task of listening to of module B is listened to, and these tasks are added in thread pool and wait thread process operation.The meeting when thread is run
Wait transmitting terminal GNSS terminal and the online connection of receiving end GNSS terminal.
When transmitting terminal server and receiving end server have GNSS terminal online connection, system is according to presetting
Port mapping forward rule creates an one-to-one connection task between transmitting terminal GNSS terminal and receiving end GNSS terminal
And the task is added in thread pool and waits thread process operation.The thread will make receiving end GNSS terminal and send when running
GNSS terminal is held to establish communication connection.After a communication connection has been established, there is new receiving end GNSS terminal connection and comes up,
Connection is respectively created between transmitting terminal GNSS terminal and multiple receiving end GNSS terminals according to port mapping forward rule in system
Task creates multiple one-to-one connection tasks and task is added to waiting thread process operation in thread pool, to build
One-to-many communication connection is stood, that is, realizes broadcasting for GNSS data.
After establishing all GNSS Service-Port mapping forward rules, shape is listened in all thread holdings for listening to task
State waits the online connection of GNSS terminal.If artificially terminating GNSS server system, the connection that all GNSS servers are established will
It disconnects, closes thread pool, ends with system.
GNSS server of the present invention is exemplified below and passes through the substantially process that MS.Net Common Program Language platform is realized:
The implementation method of GNSS server of the invention includes the following steps:
1. GNSS Server application program launching will read configuration and initial from GNSS_Server.ini configuration file
Change variable information, forward rule all is mapped by creation a port for each of configuration file port mapping, and will
GNSS terminal is listened to task and is added in thread pool.
Port mapping forward rule can be arranged as follows:
[11405<->11505]
Incomming=11405
Outgoing=11505
[11406<->11506]
Incomming=11505
Outgoing=11506
The title of first behavior port mapping forward rule;
Second behavior receiving end server TCP port number, format are as follows: incomming=port numbers;
Third behavior transmitting terminal server TCP port number, format are as follows: outging=port numbers;
If there is multiple port mapping forward rules (have multiple GNSS nets or have the case where multiple transmitting terminal GNSS terminals),
Multiple port mapping forward rules are then established, the format of above three rows is repeated, modifies corresponding port numbers, each port is reflected
It penetrates between forward rule and is separated with null.
2. GNSS terminal listens to task: when task start, a TCP Socket will be created, and call
BeginListen () function is begun listening for, and if there is GNSS terminal connection comes up, the common language runtime, (CLR) will be called back
Letter of transfer number AcceptCallBack (), the call back function can appoint the connection between transmitting terminal server and receiving end server
Business is added in thread pool.
3. the connection task between transmitting terminal server and receiving end server: when the task execution, one will be created
TCP Socket, and BeginConnect () function is called to prepare connection, if server end is successfully connected, common language
(CLR) will call ConnectCallBack () call back function when operation, which can be by transmitting terminal server and reception
Data forwarding task between the server of end is added in thread pool.
4. the data forwarding task between transmitting terminal server and receiving end server: when the task execution, transmitting terminal clothes
Business device and receiving end server will all call BeginReceive () function, if there is either end receives data, common language
(CLR) will trigger corresponding call back function when operation, and the data received from transmitting terminal server will be forwarded to receiving end service
Device, the data that server receives from receiving end will be forwarded to transmitting terminal server.
The module or object of each needs operation in GNSS server system require to realize ITask task interface, this
After each task of sample is added to thread pool, when task is executed by thread, Run () method of ITask task interface will be called to hold
The corresponding task definition of row.The task of submission includes: that client listens to task, server end connection task, data forwarding task
Deng.
Thread pool starts to initialize when system is opened, and when initialization can establish the multiple threads that can be set in thread
Chi Zhong, for processing and executing task, initialization thread number can be according to the actual demands manual configuration such as client terminal quantity.
All having been filed on for tasks can be organized together in the form of queue, if there is idle thread in thread pool,
The thread will sequentially take out a task from task queue to handle and run.
After the completion of thread execution task, thread pool will be returned to, and be in idle condition waiting next task.
To sum up, the implementation method of the GNSS server of technical solution of the present invention can effectively transmit GNSS data
And control, solve in the prior art, the difficulty that GNSS data remotely obtains, provide it is a kind of be simple and efficient, low cost
GNSS data broadcasting method.
And GNSS server of the present invention uses asynchronous port communication mode, and there is high-performance (only lower cpu resource to be needed to account for
With), configuration, advantage easy to operate can be run in the form of Windows service or console, can handle multiple ends simultaneously
Mouth mapping ruler, realizes the mapping at two server end.Effectively solve multi-source, distributed GNSS receiver data low cost,
Expeditiously receive the needs of problems with forwarding.
It will be appreciated by those skilled in the art that not departing from the revealed present invention of appended claims of the invention
Scope and spirit in the case where done change and retouch, belong within scope of protection of the claims of the invention.
Claims (7)
1. a kind of GNSS server, which is characterized in that including connect respectively with internet transmitting terminal server, receiving end service
Device, transmitting terminal GNSS terminal, receiving end GNSS terminal, transmitting terminal server are realized by TCP port and transmitting terminal GNSS terminal
Network connection, receiving end server are connected to the network by TCP port and one or more receiving end GNSS terminal realizations, transmitting terminal
Be connected between server and receiving end server can two-way communication data transmission channel, this data transmission channel makes and sends
The transmitting terminal GNSS terminal of end server connection and the receiving end GNSS terminal realization connecting with receiving end server are in communication with each other;
It is established between every two GNSS terminal between the TCP port of a transmitting terminal server and receiving end server TCP port
Port mapping forward rule, i.e. the pairing relationship of TCP port, this GNSS terminal includes all online connections or not online connection
Receiving end GNSS terminal and transmitting terminal GNSS terminal;
The transmitting terminal server include listen to the whether online connection of each transmitting terminal GNSS terminal listen to modules A, it is each to send out
Sending end GNSS terminal respectively with listen to modules A and connect;The receiving end server includes to listen to each receiving end GNSS terminal
Whether module B is listened in online connection, each receiving end GNSS terminal respectively with listen to module B and connect.
2. a kind of GNSS server according to claim 1, which is characterized in that establish TCP simultaneously with transmitting terminal server
Network connection the transmitting terminal GNSS terminal be it is multiple, be connected between transmitting terminal server and receiving end server one it is right
The data that each transmitting terminal GNSS terminal is sent carry out screening and optimization processing, and the data transmission after optimization to receiving end is serviced
The Data Analysis Services center of device.
3. a kind of GNSS server according to claim 2, which is characterized in that the transmitting terminal server and receiving end clothes
Business device passes through wired or wireless way and connect with internet, and the transmitting terminal GNSS terminal and receiving end GNSS terminal pass through
Wired or wireless way is connect with internet, then by internet access transmitting terminal server or is connect in the form of TCP Client
Receiving end server.
4. a kind of GNSS server according to claim 3, which is characterized in that the wireless mode be using CDMA,
The 2G/3G/4G network of GPRS, LTE or the wireless mode of WIFI are connected into internet.
5. a kind of implementation method of the GNSS server as described in any one of Claims 1 to 4, which is characterized in that including with
Lower step:
1) structure of configuration file is set: framework is simultaneously arranged data between transmitting terminal GNSS terminal and receiving end GNSS terminal and mutually transmits
Configuration file, the content of this configuration file include: a, establish one between transmitting terminal server and receiving end server can
The data transmission channel of two-way communication;B, the end TCP of a transmitting terminal server is established between every two GNSS terminal respectively
Port mapping forward rule between mouth and receiving end server TCP port, the i.e. pairing relationship of TCP port, this GNSS terminal
Receiving end GNSS terminal and transmitting terminal GNSS terminal including all online connections or not online connection;
2) listen to the foundation and execution of task: transmitting terminal server listen to modules A and receiving end server listen to module B
Whether listen to respectively has the online connection of TCP Client, i.e., whether have transmitting terminal GNSS terminal access transmitting terminal server and whether
There is receiving end GNSS terminal to access receiving end server;
3) creation and execution of task are connected: having listened to any TCP visitor when listening to modules A in step 2 and/or listening to module B
The number of two-way communication between transmitting terminal server and receiving end server when the online connection of that is, any GNSS terminal, is opened in family end
According to transmission channel;
4) between TCP port data forwarding task foundation and execution: according to be arranged in step 1 TCP port mapping forwarding rule
Then, i.e., the pairing relationship of TCP port, the data of transmitting terminal GNSS terminal pass sequentially through transmitting terminal server, receiving end server
It is sent to receiving end GNSS terminal, the data of receiving end GNSS terminal pass sequentially through receiving end server, transmitting terminal server passes
It send to transmitting terminal GNSS terminal.
6. a kind of implementation method of GNSS server according to claim 5, which is characterized in that when transmitting terminal server is same
When having the online connection of multiple GNSS terminals, step 3-1: data relay processing step is additionally provided between step 3 and step 4, i.e.,
According to the location information of the receiving end GNSS terminal of each online connection, the transmitting terminal GNSS terminal of each online connection is provided
Data carry out adjustment resolving after be sent to receiving end server, then by receiving end server to be sent to each receiving end GNSS whole
End;
The adjustment is resolved and specifically included: GNSS data analyzes the transmitting terminal near processing center selection receiving end GNSS terminal
The data that GNSS terminal transmits carry out one or more of excluding gross error, atmospheric correction, radiant correction processing, eliminate observation number
According to error present in observation condition, its satellite clock correction is fitted using the observation data of multiple transmitting terminal GNSS terminals, is defended
One or more of star orbit error, tropospheric error, ionospheric error, and pass through reception in the form of virtual observation data
End server is transmitted to receiving end GNSS terminal, so that receiving end GNSS terminal is carried out RTK positioning accordingly, obtains Centimeter Level more
Accurately positioning result.
7. a kind of implementation method of GNSS server according to claim 5 or 6, which is characterized in that configure text in step 1
Part content further includes one thread pool of each task creation of the creation of thread pool, as step 2 to step 4 and step 3-1, respectively
It is sequentially arranged together in the form of queue after a task creation, and waits pending, multiple threads are equipped in thread pool,
Thread idle if it exists in thread pool, then thread can take out a task execution from task queue in order;Thread executes
After the completion of task, thread pool will be returned to, and is in idle condition waiting or gets next task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510683779.6A CN105357284B (en) | 2015-10-20 | 2015-10-20 | A kind of GNSS server and its implementation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510683779.6A CN105357284B (en) | 2015-10-20 | 2015-10-20 | A kind of GNSS server and its implementation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105357284A CN105357284A (en) | 2016-02-24 |
CN105357284B true CN105357284B (en) | 2019-02-22 |
Family
ID=55333143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510683779.6A Active CN105357284B (en) | 2015-10-20 | 2015-10-20 | A kind of GNSS server and its implementation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105357284B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108023804B (en) * | 2016-11-04 | 2020-11-17 | 华为技术有限公司 | Method for transmitting dynamic stream and routing equipment |
CN106874123A (en) * | 2017-03-13 | 2017-06-20 | 湖南恒茂高科股份有限公司 | The method and system of multiple line distance management WAP |
CN111182088B (en) * | 2019-12-31 | 2022-12-23 | 广州展讯信息科技有限公司 | Satellite positioning differential data transmission method and system |
CN113329275B (en) * | 2021-05-27 | 2022-09-20 | 深圳市威尔健科技发展有限公司 | Instant intercom device based on CAT1 does not have distance limitation |
CN115052034B (en) * | 2022-08-15 | 2023-02-28 | 深圳华大北斗科技股份有限公司 | Method and system for realizing SUPL service driven by GNSS of android system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504454A (en) * | 2009-03-13 | 2009-08-12 | 东南大学 | Method for implementing GNSS network synthesis positioning service system |
CN102788982A (en) * | 2012-08-14 | 2012-11-21 | 东莞市泰斗微电子科技有限公司 | Assisted positioning-monitoring system |
CN102788987A (en) * | 2012-08-14 | 2012-11-21 | 东莞市泰斗微电子科技有限公司 | A-GNSS (Assisted Global Navigation Satellite System) assisted positioning system |
CN104883390A (en) * | 2015-04-17 | 2015-09-02 | 浙江宇视科技有限公司 | Method of accessing third-party video monitoring device and device of accessing third-party video monitoring device |
-
2015
- 2015-10-20 CN CN201510683779.6A patent/CN105357284B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504454A (en) * | 2009-03-13 | 2009-08-12 | 东南大学 | Method for implementing GNSS network synthesis positioning service system |
CN102788982A (en) * | 2012-08-14 | 2012-11-21 | 东莞市泰斗微电子科技有限公司 | Assisted positioning-monitoring system |
CN102788987A (en) * | 2012-08-14 | 2012-11-21 | 东莞市泰斗微电子科技有限公司 | A-GNSS (Assisted Global Navigation Satellite System) assisted positioning system |
CN104883390A (en) * | 2015-04-17 | 2015-09-02 | 浙江宇视科技有限公司 | Method of accessing third-party video monitoring device and device of accessing third-party video monitoring device |
Also Published As
Publication number | Publication date |
---|---|
CN105357284A (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105357284B (en) | A kind of GNSS server and its implementation | |
WO2020062193A1 (en) | Electric power data acquisition system based on beidou communication technology | |
CN109729494A (en) | Mobile base station, a station multi-computer system, the means of communication and control method | |
CN102854491A (en) | Method and system for carrying out positioning on the basis of Bluetooth technology | |
CN104331035A (en) | Mini-satellite test remote measurement and remote control monitoring system based on service-oriented architecture and method thereof | |
CN103364797A (en) | GNSS (global navigation satellite system) differential signal broadcasting system and method combining internet and radio | |
CN205563280U (en) | Unmanned aerial vehicle's flight control | |
KR20150091096A (en) | Flexible, reconfigurable multipoint-to-multipoint digital radio frequency transport architecture | |
CN108351421A (en) | Localization method, base station in mobile network and mobile terminal | |
WO2021233059A1 (en) | Method for positioning in satellite network, and communication apparatus | |
CN105607079A (en) | Method for positioning precision enhancement of GNSS, and GNSS positioning system | |
CN106483971A (en) | Unmanned Aerial Vehicle Data transmission method and device | |
CN104640208A (en) | Method for obtaining position information of wireless AP (access point) and wireless AP | |
CN109143271A (en) | Stereoscopic localized terminal and express delivery allocator based on Beidou Navigation System | |
CN109597429A (en) | One station multimachine formula unmanned plane plant protection operation control method | |
CN103974196A (en) | Indoor relative position determining system, control method and control device | |
CN105897504A (en) | Satellite universal testing system data interaction method and system | |
CN107257369A (en) | A kind of Big Dipper short message cloud computing platform system | |
CN104122565A (en) | Implementation method of compass RD multichannel communication | |
CN207133443U (en) | A kind of global position system | |
Hirsch et al. | DynGATT: A dynamic GATT-based data synchronization protocol for BLE networks | |
CN105357654B (en) | Beidou-based emergency communication service system and working method thereof | |
CN208971515U (en) | A kind of electric power optical cable track data acquisition device using Big Dipper short message technology | |
CN108777778B (en) | Panoramic video acquisition and transmission device and method based on Beidou management and control | |
Zhang et al. | Cloud-based UAV data delivery over 4G network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |