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:
Referring to Fig. 1, Fig. 1 is the flow chart of one embodiment of self checking method in the radio station of GNSS receiver of the present invention, knot
Fig. 1 is closed to elaborate to the self checking method in the radio station of GNSS receiver of the present invention.
S1: base station enters Auto-Sensing Mode, and whether the serial communication for detecting radio station module is normal, if so, S2 is executed, if
It is no, then execute S3.
When carrying out self-test to radio station module, base station enters Auto-Sensing Mode, and after entering Auto-Sensing Mode, base station
Processor send test instruction to corresponding radio station module, and according to whether receive the response message of radio station module return
Judge whether the serial communication of radio station module is normal.Wherein, if processor can receive the response message of return, it is determined that electricity
The serial communication of platform module is normal, if cannot, it is determined that the serial communication of radio station module is abnormal.
In the present embodiment, in order to which the radio station module realized between base station and movement station is mutually examined, enter certainly in base station
When inspection mode, movement station also enters Auto-Sensing Mode, and detects to the serial communication of radio station module, the detection that movement station is taken
Mode is identical as base station, and this will not be repeated here.
In the present embodiment, base station and movement station are GNSS receiver, and in order to ensure the accuracy of testing result,
Base station and movement station are arranged in the same position.
In the present embodiment, the quantity of base station is one, and the corresponding radio station module of base station belongs to the mould of broadcast data
Formula.The movement station quantity that mutual self-test is carried out between base station can be 1, or more, only need base station can
Information transmission is realized between movement station, it is not limited here.
In the present embodiment, radio station module is built in base station and movement station, the processor of base station and movement station
Processor is connected with corresponding radio station module by serial line interface respectively, and in other embodiments, radio station module can also be external
On base station and movement station, radio station module can also with the processor of base station, movement station processor by parallel interface,
The modes such as wireless transmission are connected to transmit information, it is not limited here.
S2: Wi-Fi hotspot is opened to connect with the normal movement station of serial communication to establish information transfer channel.
Base station and movement station determine respectively corresponding radio station module serial communication it is normal after, base station open WiFi
AP (WirelessAccessPoint, wireless access points) function to create Wi-Fi hotspot, and by the name of the Wi-Fi hotspot
Title is set as preset name, and movement station opens the client functionality of WiFi, and search name is the Wi-Fi hotspot of preset name, by name
The WiFi of referred to as preset name is confirmed as the Wi-Fi hotspot of base station, and connects the Wi-Fi hotspot.
In the present embodiment, preset name is " BaseCheck ", and the auth type of Wi-Fi hotspot is no password type.In
In other embodiments, the title of Wi-Fi hotspot can also be other titles, and auth type can also be to have password type, only need to move
The Wi-Fi hotspot of base station can be searched by standing, and be connect with the Wi-Fi hotspot, it is not limited here.
In other embodiments, it can also be connected by modes such as bluetooth, infrared ray, NFC between base station and movement station,
Only needing the connection type not influences base station, movement station and intelligent terminal connection, can be realized receiver and the people of survey crew
Machine interaction, it is not limited here.
After movement station is connect by Wi-Fi hotspot with base station, movement station actively initiates TCP/IP connection to base station
Request, base station receives the request, according to establishing the channel TCP/IP between the request and movement station.
In the present embodiment, since the distance between base station and movement station very little, usual base station and movement station are being opened
After machine enters Auto-Sensing Mode, and the serial communication for separately verifying radio station module is normal, WiFi can be automatically performed within 2 seconds
Connection.It moves standing-meeting and actively initiates TCP/IP connection, with establishing the channel TCP/IP between base station.
In the present embodiment, after the processor of base station sends test instruction, if processor does not receive radio station module
The response message of return, then processor determines that the serial communication of radio station module is abnormal, and control base station exits Auto-Sensing Mode, and controls
Prompt information of the base station processed to user's sending station module exception.
S3: transmission power is preset at least one and carries out data transmission to movement station, and receives the result of movement station feedback
Signal, base station judge whether the performance data of radio station module is normal according to the consequential signal that movement station is fed back.
In the present embodiment, default transmission power includes at least one of the maximum power of radio station module, minimum power,
Wherein, the signal, for detecting the emitting performance data of base station, to be emitted when the signal of maximum power transmission with minimum power
When for detecting the receptivity data of movement station.
In the present embodiment, the consequential signal of movement station feedback includes signal strength, in the performance data of radio station module
It is any.Wherein, when consequential signal is performance data, movement station obtains the signal strength for the signal that base station is sent, by this
Signal strength and preset value, which compare, to be judged whether to be greater than preset value, and by judging result, signal is sent to benchmark as a result
It stands, base station judges whether the performance data of radio station module is normal according to the judgment result.
In other embodiments, when consequential signal is performance data, movement station obtains the letter for the signal that base station is sent
Number intensity, which can also be compared, judge radio station module according to comparing result by movement station with preset value
Whether performance data is normal, and the whether normal judging result of the performance data of radio station module is sent to base station.Base station
The whether normal judging result of performance data of radio station module is obtained by movement station.
Since the transmission power of different base stations is different, and the judgment criteria of movement station often exists with base station
Certain difference, in order to obtain better testing result.In a preferred embodiment, base station is carried out according to the index of itself
Judgement, therefore first signal strength, second signal intensity are passed through TCP/IP channel transfer to base station, base station by movement station
Judge whether emitting performance and receptivity are normal according to the signal strength, and logical in the whether normal judging result of receptivity
It crosses information transfer channel and is sent to movement station.
In the present embodiment, base station emits the first signal to movement station with maximum power, and sent according to movement station
First signal strength judges whether the emitting performance of base station is normal;Base station is believed with minimum power to movement station transmitting second
Number, and judge whether the receptivity of movement station is normal according to the second signal intensity that movement station is sent.
In the present embodiment, base station first sends the first signal and carries out emitting performance detection, then sends out and set second signal progress
Receptivity detection can also first emit second signal and carry out receptivity detection, user can be according to certainly in other embodiments
Body needs to set, and this will not be repeated here.
In the present embodiment, before base station sends the first signal, second signal to movement station, according to be detected
Content is transmitted into emitting performance detection pattern and entrance receptivity detection pattern by the channel TCP/IP respectively to movement station
Instruction, wherein base station send instruction it is corresponding with content to be detected.
In the present embodiment, when carrying out the emitting performance detection of base station, base station passes through the channel TCP/IP to movement station
It is transmitted into the notice of emitting performance detection pattern, and the transmission power for being corresponded to radio station module automatically is adjusted to maximum work
Rate is the first signal of the first predetermined time period to movement station sending time length;Movement station receives the first signal, obtains the
First signal strength is sent to base station by the first signal strength of one signal;Base station judges whether the first signal strength is big
In the first preset value, if so, determining that the emitting performance of base station is normal, if not, it is determined that the emitting performance of base station is abnormal.
In the present embodiment, when carrying out the receptivity detection of movement station, base station passes through the channel TCP/IP to movement station
It is transmitted into the notice of receptivity detection pattern, and is automatically minimum power by the power adjustment of its corresponding radio station module,
It is the second signal of the second predetermined time period to movement station sending time length;Movement station receives second signal, obtains second
Second signal intensity is sent to base station by the second signal intensity of signal;Base station judges whether second signal intensity is greater than
Second preset value, if so, determining that the receptivity of movement station is normal, if not, it is determined that the receptivity of movement station is abnormal.
In the present embodiment, the first predetermined time period is 10 seconds, in other embodiments, the first predetermined time period
It can be 12,13,20 and other length, the second predetermined time period can be equal or different with the first predetermined time period,
Only need base station and movement station that can complete emitting performance detection and receptivity detection, it is not limited here.
In the present embodiment, RF (Radio Frequency, radio frequency) chip real-time detection in the radio station module of movement station
The intensity of the first signal, second signal that base station is sent, to obtain the first signal strength, second signal intensity.
In the present embodiment, after completing emitting performance detection and receptivity detection, emitting performance testing result is determined
Base station exit Auto-Sensing Mode, and prompt the user with emitting performance judging result and provide whether radio station module is normally believed
Breath, wherein if emitting performance is normal, radio station module is normal, if emitting performance is abnormal, radio station module is abnormal.
In the present embodiment, after completing emitting performance detection and receptivity detection, receptivity judging result is determined
Movement station exit Auto-Sensing Mode, and prompt the user with receptivity judging result, and provide whether radio station module is normally believed
Breath, wherein if receptivity is normal, radio station module is normal, if receptivity is abnormal, radio station module is abnormal.
In the above-described embodiments, base station and movement station pass through bluetooth respectively and the intelligent terminal of user connects, and pass through
Bluetooth is to the whether normal prompt information of user's transmission radio station module.
In other embodiments, base station and movement station can also pass through the modes such as internet, data line, cable and user
Intelligent terminal connection, only need can be to the whether normal prompt information of user's transmission radio station module, it is not limited here.
Compared with prior art, the beneficial effects of the present invention are:
After base station and movement station enter Auto-Sensing Mode, base station open Wi-Fi hotspot, and by the Wi-Fi hotspot with
Movement station establishes connection, and base station sends signal to movement station with default transmission power upon establishment of a connection, and according to movement station
The consequential signal of feedback judges that the performance data of radio station module, the present invention can pass through base station and movement in radio station self-test
The comprehensive assessment of radio mode is realized in signal transmission between standing, is manually operated without user, is improved self-test efficiency, mention
User experience is risen.
Based on identical inventive concept, the invention also provides a kind of self checking methods in the radio station of GNSS receiver, please join
Fig. 2 is read, Fig. 1 is the flow chart of another embodiment of self checking method in the radio station of GNSS receiver of the present invention, in conjunction with Fig. 2 to this hair
The self checking method in the radio station of bright GNSS receiver elaborates.
S11: when movement station enters Auto-Sensing Mode, whether the serial communication for detecting its radio station module is normal, then executes S12,
If it is not, then controlling movement station exits Auto-Sensing Mode, and prompt radio station module abnormal.
When carrying out self-test to radio station module, movement station enters Auto-Sensing Mode, and after entering Auto-Sensing Mode, movement station
Processor send test instruction to corresponding radio station module, and according to whether receive the response message of radio station module return
Judge whether the serial communication of radio station module is normal.Wherein, if processor can receive the response message of return, it is determined that electricity
The serial communication of platform module is normal, if cannot, it is determined that the serial communication of radio station module is abnormal.
In the present embodiment, in order to which the radio station module realized between base station and movement station is mutually examined, enter certainly in movement station
When inspection mode, base station also enters Auto-Sensing Mode, and detects to the serial communication of radio station module, the detection that base station is taken
Mode is identical as movement station, and this will not be repeated here.
In the present embodiment, base station and movement station are GNSS receiver, and in order to ensure the accuracy of testing result,
Base station and movement station are arranged in the same position.
In the present embodiment, the quantity of base station is one, and the corresponding radio station module of base station belongs to the mould of broadcast data
Formula.The movement station quantity that mutual self-test is carried out between base station can be 1, or more, only need base station can
Information transmission is realized between movement station, it is not limited here.
In the present embodiment, radio station module is built in base station and movement station, the processor of base station and movement station
Processor is connected with corresponding radio station module by serial line interface respectively, and in other embodiments, radio station module can also be external
On base station and movement station, radio station module can also with the processor of base station, movement station processor by parallel interface,
The modes such as wireless transmission are connected to transmit information, it is not limited here.
S12: it is connect with the Wi-Fi hotspot of the normal base station of serial communication, to establish information transfer channel.
Base station and movement station determine respectively corresponding radio station module serial communication it is normal after, base station open WiFi
AP (WirelessAccessPoint, wireless access points) function to create Wi-Fi hotspot, and by the name of the Wi-Fi hotspot
Title is set as preset name, and movement station opens the client functionality of WiFi, and search name is the Wi-Fi hotspot of preset name, by name
The WiFi of referred to as preset name is confirmed as the Wi-Fi hotspot of base station, and sends WiFi connection request to connect the Wi-Fi hotspot.
In the present embodiment, preset name is " BaseCheck ", and the auth type of Wi-Fi hotspot is no password type.In
In other embodiments, the title of Wi-Fi hotspot can also be other titles, and auth type can also be to have password type, only need to move
The Wi-Fi hotspot of base station can be searched by standing, and be connect with the Wi-Fi hotspot, it is not limited here.
In other embodiments, it can also be connected by modes such as bluetooth, infrared ray, NFC between base station and movement station,
Only needing the connection type not influences base station, movement station and intelligent terminal connection, can be realized receiver and the people of survey crew
Machine interaction, it is not limited here.
After movement station is connect by Wi-Fi hotspot with base station, movement station actively initiates TCP/IP connection to base station
Request, base station receives the request, according to establishing the channel TCP/IP between the request and movement station.
In the present embodiment, since the distance between base station and movement station very little, usual base station and movement station are being opened
After machine enters Auto-Sensing Mode, and the serial communication for separately verifying radio station module is normal, WiFi can be automatically performed within 2 seconds
Connection.It moves standing-meeting and actively initiates TCP/IP connection, with establishing the channel TCP/IP between base station.
After the processor of movement station sends test instruction, if processor does not receive the response letter of radio station module return
Breath, then processor determines that the serial communication of radio station module is abnormal, and control movement station exits Auto-Sensing Mode, and control movement station to
The prompt information of family sending station module exception.
S13: receiving base station to preset the data that transmission power is sent, and calculates the intensity of carrier signal to obtain result letter
Number, and consequential signal is fed back at base station.
In the present embodiment, default transmission power includes at least one of the maximum power of radio station module, minimum power,
The data that base station is sent are carrier signal, and movement station calculates the intensity of the carrier signal, obtains for judging radio station module
The signal strength of performance data.Wherein, with when the signal of maximum power transmission for detecting the emitting performance data of base station, with
For detecting the receptivity data of movement station when the signal of minimum power transmitting.
In the present embodiment, the consequential signal of movement station feedback includes signal strength, in the performance data of radio station module
It is any.Wherein, when consequential signal is performance data, movement station obtains the signal strength for the signal that base station is sent, by this
Signal strength and preset value, which compare, to be judged whether to be greater than preset value, and the performance number of radio station module is determined according to judging result
According to, and signal is sent to base station as a result by the performance data of radio station module, base station judges electricity according to the consequential signal
Whether the performance data of platform module is normal.
It in other embodiments, can also be by movement station after the signal strength for the signal that movement station acquisition base station is sent
The signal strength is compared with preset value, and judging result is sent to base station.Base station is true according to the judgment result
Whether normal determine radio station module.
Since the transmission power of different base stations is different, and the judgment criteria of movement station often exists with base station
Certain difference, in order to obtain better testing result.In a preferred embodiment, base station is carried out according to the index of itself
Judgement, therefore first signal strength, second signal intensity are passed through TCP/IP channel transfer to base station, base station by movement station
Judge whether emitting performance and receptivity are normal according to the signal strength, and logical in the whether normal judging result of receptivity
It crosses information transfer channel and is sent to movement station.
In the present embodiment, base station emits the first signal to movement station with maximum power, and sent according to movement station
First signal strength judges whether the emitting performance of base station is normal;Base station is believed with minimum power to movement station transmitting second
Number, and judge whether the receptivity of movement station is normal according to the second signal intensity that movement station is sent.
In the present embodiment, base station first sends the first signal and carries out emitting performance detection, then sends out and set second signal progress
Receptivity detection can also first emit second signal and carry out receptivity detection, user can be according to certainly in other embodiments
Body needs to set, and this will not be repeated here.
In the present embodiment, before base station sends the first signal, second signal to movement station, according to be detected
Content is transmitted into emitting performance detection pattern and entrance receptivity detection pattern by the channel TCP/IP respectively to movement station
Instruction, wherein base station send instruction it is corresponding with content to be detected.
In the present embodiment, when carrying out the emitting performance detection of base station, base station passes through the channel TCP/IP to movement station
It is transmitted into the notice of emitting performance detection pattern, and the transmission power for being corresponded to radio station module automatically is adjusted to maximum work
Rate is the first signal of the first predetermined time period to movement station sending time length;Movement station receives the first signal, obtains the
First signal strength is sent to base station by the first signal strength of one signal;Base station judges whether the first signal strength is big
In the first preset value, if so, determining that the emitting performance of base station is normal, if not, it is determined that the emitting performance of base station is abnormal.
In the present embodiment, when carrying out the receptivity detection of movement station, base station passes through the channel TCP/IP to movement station
It is transmitted into the notice of receptivity detection pattern, and is automatically minimum power by the power adjustment of its corresponding radio station module,
It is the second signal of the second predetermined time period to movement station sending time length;Movement station receives second signal, obtains second
Second signal intensity is sent to base station by the second signal intensity of signal;Base station judges whether second signal intensity is greater than
Second preset value, if so, determining that the receptivity of movement station is normal, if not, it is determined that the receptivity of movement station is abnormal.
In the present embodiment, the first predetermined time period is 10 seconds, in other embodiments, the first predetermined time period
It can be 12,13,20 and other length, the second predetermined time period can be equal or different with the first predetermined time period,
Only need base station and movement station that can complete emitting performance detection and receptivity detection, it is not limited here.
In the present embodiment, RF (Radio Frequency, radio frequency) chip real-time detection in the radio station module of movement station
The intensity of the first signal, second signal that base station is sent, to obtain the first signal strength, second signal intensity.
In the present embodiment, after completing emitting performance detection and receptivity detection, movement station receives base station and sends
Movement station receptivity judging result, determine that the movement station of receptivity judging result exits Auto-Sensing Mode, and to user
Receptivity judging result is prompted, and provides the whether normal information of radio station module, wherein if receptivity is normal, radio station
Module is normal, if receptivity is abnormal, radio station module is abnormal.
In the present embodiment, after completing emitting performance detection and receptivity detection, emitting performance testing result is determined
Base station exit Auto-Sensing Mode, and prompt the user with emitting performance judging result and provide whether radio station module is normally believed
Breath, wherein if emitting performance is normal, radio station module is normal, if emitting performance is abnormal, radio station module is abnormal.
In the above-described embodiments, base station and movement station pass through bluetooth respectively and the intelligent terminal of user connects, and pass through
Bluetooth is to the whether normal prompt information of user's transmission radio station module.
In other embodiments, base station and movement station can also pass through the modes such as internet, data line, cable and user
Intelligent terminal connection, only need can be to the whether normal prompt information of user's transmission radio station module, it is not limited here.
Compared with prior art, the beneficial effects of the present invention are:
After base station and movement station enter Auto-Sensing Mode, base station open Wi-Fi hotspot, and by the Wi-Fi hotspot with
Movement station establishes connection, and base station sends signal to movement station with default transmission power upon establishment of a connection, and according to movement station
The consequential signal of feedback judges that the performance data of radio station module, the present invention can pass through base station and movement in radio station self-test
The comprehensive assessment of radio mode is realized in signal transmission between standing, is manually operated without user, is improved self-test efficiency, mention
User experience is risen.
Based on identical inventive concept, the present invention has also been proposed a kind of storage device with store function, please refers to figure
3, Fig. 3 be the structural schematic diagram for one embodiment of storage device that the application has store function, which is stored with program
Data, the program data of storage is when being executed by processor for realizing the radio station of GNSS receiver as described above from procuratorial organ
Method, it is not described here in detail.
Wherein, the device with store function can be portable storage media such as USB flash disk, CD, mobile hard disk, read-only deposit
Reservoir (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk etc. are each
Kind can store the medium of program code, be also possible to terminal, server etc..
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, device embodiments described above are only schematical, for example, the module
Or the division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists
Member or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point,
Shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or unit
Indirect coupling or communication connection, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs
Purpose.
It will be apparent to those skilled in the art that can make various other according to the above description of the technical scheme and ideas
Corresponding change and deformation, and all these changes and deformation all should belong to the protection scope of the claims in the present invention
Within.