A kind of transmission method of original observed data, terminal device, storage medium
Technical field
The present invention relates to satellite navigation technical field of mapping more particularly to a kind of transmission methods of original observed data, end
End equipment, storage medium.
Background technique
GNSS location technology is a kind of common technological means in deformation monitoring, is typically required and sets up two or more
GNSS receiver, every GNSS receiver are to utilize mobile network by GNSS original observed data real-time Transmission to remote service
Device, remote server every a hour or several hours can the original observed data to GNSS carry out combining static resolving.
Usual each monitoring point GNSS is respectively positioned on remoter region, is not available alternating current and is powered.Commonly power supply plan is
Often will appear using the scheme of solar energy plus battery, but in actual job continuous tens days does not have the case where sunshine, causes
There are the risks of electricity shortage.In face of this problem, presently, there are solution be continuous enlargement solar panels area and
Increase the capacity of battery.But the expansion of solar panels area and the increase of accumulator capacity can bring asking for increased costs therewith
Topic.Therefore how in the case where keeping power supply system constant, so that power supply is able to satisfy GNSS receiver and is continuously encountering wet weather
It when requirements of one's work.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of transmission of original observed data
Method, in the case where keeping power supply system constant, reduces a whole set of according to the electricity adjust automatically Transmission Time Interval of battery
The power consumption of system.
The second object of the present invention is to provide a kind of terminal device, and processor realizes one when executing the computer program
The transmission method of kind original observed data is keeping power supply system according to the electricity adjust automatically Transmission Time Interval of battery
In the case where constant, the power consumption of whole system is reduced.
The third object of the present invention is to provide a kind of storage medium, and when computer program realizes a kind of original observed data
Transmission method, according to the electricity adjust automatically Transmission Time Interval of battery, in the case where keeping power supply system constant, drop
The power consumption of low whole system.
An object of the present invention adopts the following technical scheme that realization:
A kind of transmission method of original observed data, applied to the GNSS receiver that open air is monitored, including following step
It is rapid:
GNSS receiver records original observed data in real time, and saves original observed data file to solid-state with fixed form
In memory, tables of data using time as index is established;
GNSS receiver acquires the electricity of battery in real time, according to the electricity of the battery, selects between the corresponding time
Connection is established with remote server every waking up communication module, original observed data file is transmitted to remote server, is completed
The transmission of original observed data, and in the transmission intercal phase, close the communication module.
Further, if accumulator electric-quantity is not less than 70%, the GNSS receiver is every to build with server every other hour
Vertical connection, sends an original observed data file;If accumulator electric-quantity is less than 70% and not less than 40%, the GNSS is connect
Receipts machine established connection with remote server every two hours, sent two original observed data files;If accumulator electric-quantity is less than
40%, then the GNSS receiver established connection with remote server every three hours, sent three original observed data files.
Further, it is described long-range after original observed data file is transmitted to remote server by the GNSS receiver
Server sends transmission state mark to the GNSS receiver.
Further, the GNSS receiver is connect by mobile communication module with remote server.
Further, the tables of data includes file start times, file name, transmission state mark.
The second object of the present invention adopts the following technical scheme that realization:
A kind of terminal device comprising processor, memory and be stored on the memory and can be in the processor
The computer program of upper operation, the processor realize a kind of original observed data as described above when executing the computer program
Transmission method.
The third object of the present invention adopts the following technical scheme that realization:
A kind of storage medium is stored thereon with computer program, and it is as described above that the computer program is performed realization
A kind of transmission method of original observed data.
Compared with prior art, the beneficial effects of the present invention are:
The present invention provides a kind of transmission methods of original observed data, in the case where keeping power supply system constant, root
According to the electricity adjust automatically Transmission Time Interval of battery, short connection is established by GNSS receiver and remote server, is transmitted
Original observed data file inside corresponding time interval.After being transmitted, GNSS receiver and remote server are opened in shutdown
Connection, reduces the power consumption of GNSS receiver, so that power supply is able to satisfy the need that GNSS receiver works when continuously encountering rainy days
It wants.
Detailed description of the invention
Fig. 1 is the schematic diagram of embodiment one provided by the present invention;
Fig. 2 is the structural block diagram of embodiment two provided by the present invention.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
Embodiment one
As shown in Figure 1, being monitored the present invention provides a kind of transmission method of original observed data applied to open air
GNSS receiver, comprising the following steps:
GNSS receiver records original observed data in real time, and saves original observed data file to solid-state with fixed form
In memory, tables of data using time as index is established;
GNSS receiver acquires the electricity of battery in real time, according to the accumulator electric-quantity, selects corresponding time interval
It wakes up communication module and remote server establishes connection, original observed data file is transmitted to remote server, complete former
The transmission for the observation data that begin, and in the transmission intercal phase, close the communication module.
The present invention provides a kind of transmission methods of original observed data, in the case where keeping power supply system constant, root
According to the electricity adjust automatically Transmission Time Interval of battery, short connection is established by GNSS receiver and remote server, is transmitted
Original observed data file inside corresponding time interval.After being transmitted, GNSS receiver and remote server are opened in shutdown
Connection, reduces the power consumption of GNSS receiver, so that power supply is able to satisfy the need that GNSS receiver works when continuously encountering rainy days
It wants.
Specifically, GNSS receiver records the original observed data of GNSS in real time, each hour is observed original
Observation data are stored in a file, and the form of file are stored in solid-state memory, at the same establish in the database with
Time is the tables of data of index.Tables of data includes the mark of file start times, file name and file transmission state, specifically
Format it is as shown in the table:
File start times |
File name |
Transmission state mark |
201901010000 |
AAAA00100.STH |
Y |
201901010100 |
AAAA00101.STH |
Y |
201901010200 |
AAAA00102.STH |
N |
………………. |
…………… |
… |
………………. |
…………… |
… |
201901012300 |
AAAA00123.STH |
N |
Wherein, AAAA indicates receiver ID, and in transmission state mark, " Y " is transmission success, and " N " is transmission failure or not
Transmission.
GNSS receiver acquires the electricity of battery in real time, uses different time intervals according to different electricity ranges, wakes up
Communication module establishes connection with remote server.When battery voltage is not less than 70%, then the GNSS receiver is small every one
When with remote server establish connection, send an original observed data file;If battery voltage is less than 70% and is not less than
40%, then the GNSS receiver established connection with remote server every two hours, sent two original observed data files;
If battery voltage, less than 40%, the GNSS receiver established connection with remote server every three hours, three are sent
Original observed data file.
After GNSS receiver and remote server establish connection, successful connection pushes original sight to remote server at once
Measured data file.After being transmitted, remote server sends transmission state mark to GNSS receiver, transmits in more new data table
Status Flag is set as " Y ".If not succeeding, operating personnel is prompted to check.And upon completion of the transmission, then it closes at once logical
Believe module, the connection of GNSS receiver and remote server is disconnected, to reduce the power consumption of communication module.
Accumulator electric-quantity can be arranged according to the actual situation various ways and be acquired.In the present embodiment, GNSS receiver
Using electric resistance partial pressure, adopted by ADC (Analog-to-Digital Converter, A/D converter or analog-digital converter)
Collect battery voltage, and then determine accumulator electric-quantity height, selects corresponding transmission plan.In addition, GNSS receiver is by leading to
The modes such as letter mobile unit 4G, 5G, WIFI and remote server mode establish connection.
GNSS original observed data is recorded in real time in the solid-state memory of receiver, and GNSS receiver is built with remote server
Vertical is the short connection of not timing, according to the time interval that the electricity adjust automatically of battery is transmitted, between the time for reaching setting
It, in a short time can be by the original observed data text of front one hour or several hours using communication module every later
Part is pushed in remote server.Communication module is in close state for a long time under such mode, the energy consumption meeting of whole system
It can be greatly reduced.
In addition, the storage medium is stored with computer program, the computer the present invention also provides a kind of storage medium
The step of backup method of aforementioned data is realized when program is executed by processor.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service
Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, machine top
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment
Distributed computing environment etc., such as embodiment two.
Embodiment two
A kind of electronic equipment as shown in Figure 2, including memory, processor and program stored in memory, institute
It states program to be configured to be executed by processor, the step of realizing the backup method of above-mentioned data when processor executes described program.
The method in equipment and previous embodiment in the present embodiment be based on the same inventive concept under two aspect, In
Front is described in detail method implementation process, so those skilled in the art can be according to foregoing description clearly
The structure and implementation process of the system in this implementation are solved, in order to illustrate the succinct of book, details are not described herein again.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.