CN109828290A - The method and terminal device of the information processing of positioning chip - Google Patents
The method and terminal device of the information processing of positioning chip Download PDFInfo
- Publication number
- CN109828290A CN109828290A CN201910099451.8A CN201910099451A CN109828290A CN 109828290 A CN109828290 A CN 109828290A CN 201910099451 A CN201910099451 A CN 201910099451A CN 109828290 A CN109828290 A CN 109828290A
- Authority
- CN
- China
- Prior art keywords
- output
- information
- field
- positioning chip
- information processing
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/35—Constructional details or hardware or software details of the signal processing chain
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The present invention is suitable for field of locating technology, the method and terminal device of a kind of information processing of positioning chip is provided, this method comprises: obtaining information to be output;It is the output statement of regular length by the information structuring to be output according to preset rules;Export the output statement, it can solve the content that positioning chip in the prior art is exported, it needs first to format before host computer use, code and storage resource needed for increasing host computer processing reduce the problem of host computer handles the resource of other events.
Description
Technical field
The invention belongs to the methods and terminal of field of locating technology more particularly to a kind of information processing of positioning chip to set
It is standby.
Background technique
Positioning chip, which generally exports the located in connection such as time, longitude and latitude, height, speed and satellite-signal by serial ports, to be believed
Breath, the default way of output of positioning chip are NMEA0183 format.Host computer extracts after receiving the information that positioning chip exports
Required information, and format, corresponding processing is carried out later.
In application apparatus, such as location watch, tracker, host computer positioning chip majority can select the type of low-power consumption
Number.The positioning chip resource of the type be not it is too many, it is all seldom for storing the memory space of Flash and memory RAM of code.
However, the content that positioning chip is exported, needs first to format before host computer use, host computer processing institute is increased
The code and storage resource needed, reduces the resource that host computer handles other events.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method of the information processing of positioning chip and terminal device, with
The content that positioning chip is exported in the prior art is solved, needs first to format before host computer use, increase
Code and storage resource needed for the machine processing of position, reduce the problem of host computer handles the resource of other events.
The first aspect of the embodiment of the present invention provides a kind of method of the information processing of positioning chip, comprising:
Obtain information to be output;
It is the output statement of regular length by the information structuring to be output according to preset rules;
Export the output statement.
It is in one embodiment, described to obtain information to be output, comprising:
The satellite-signal received is decoded, decoded satellite positioning information, the satellite positioning information are obtained
For the information to be output.
It in one embodiment, include N number of field in the output statement, byte number needed for each field is fixed, described N number of
Sequence between field is not fixed, and N is greater than or equal to 1.
In one embodiment, include: in the output statement sentence starting character, the time, longitude, latitude, end of identification and
It is carried out between check code field, and each field in addition to the sentence starting character, the end of identification and the check code
The decollator of separation.
In one embodiment, in the output statement further include: message identification, positioning instruction, height, speed, direction, ginseng
It is averaged at least one field in carrier-to-noise ratio and standby message with position location satellite number, satellite-signal.
In one embodiment, described according to preset rules, it is the output language of regular length by the information structuring to be output
Sentence, comprising:
According to each field and the decollator for including in the output statement, it is each for using the information to be output
Field assignment, the field after assignment constitute output statement.
In one embodiment, the decollator is comma, branch, at least one space or the symbol for indicating segmentation effect
Number.
The second aspect of the embodiment of the present invention provides a kind of device of the information processing of positioning chip, comprising:
Module is obtained, for obtaining information to be output;
Processing module, for according to preset rules, being the output statement of regular length by the information structuring to be output;
Output module, for exporting the output statement.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising: memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing information processing the method such as above-mentioned positioning chip.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, comprising: the computer can
It reads storage medium and is stored with computer program, the letter such as above-mentioned positioning chip is realized when the computer program is executed by processor
The step of breath processing the method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: by according to preset rules, will it is described to
Output information is configured to the output statement of regular length;The output statement is exported, so that host computer obtains the defeated of positioning chip
It out after sentence, does not need to be further processed or adjust, can support the application demand of host computer, and can be very
The demand of host computer process resource is reduced in limits.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for the information processing of positioning chip provided in an embodiment of the present invention;
Fig. 2 is the exemplary diagram of the device of the information processing of positioning chip provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is the implementation process schematic diagram of the method for the information processing of positioning chip provided in an embodiment of the present invention, is described in detail
It is as follows:
Step 101, information to be output is obtained.
Optionally, information to be output is the location information that positioning chip obtains, and information to be output includes temporal information, longitude and latitude
Spend information, speed etc..Step 101 specifically includes: the satellite-signal received is decoded by positioning chip, after obtaining decoding
Satellite positioning information, the satellite positioning information be the information to be output.
Further, the satellite-signal received is decoded by positioning chip, is specifically included: positioning chip will receive
Satellite-signal carry out time decoder and ephemeris decoding, time decoder be time data, ephemeris solution are decoded from satellite-signal
Code is that almanac data is decoded from satellite-signal.
Ephemeris refers to that in GPS measurement, the time-varying exact position of flight running body or track table, it is the time
Function.Satellite ephemeris determines the time of flying body, coordinate, side with the mathematical relationship between 6 orbit parameters of Kepler's law
The parameters such as position, speed have high precision.Satellite ephemeris information is also referred to as ephemeris, is illustrated with ephemeris data every
Every the predetermined position of certain time celestial body, or the predetermined position of certain artificial satellite at regular intervals.
It step 102, is the output statement of regular length by the information structuring to be output according to preset rules.
It optionally, include N number of field in output statement in step 102, byte number needed for each field is fixed, described N number of
Sequence between field is not fixed, and the N is greater than or equal to 1.Byte number needed for each field can be set according to demand,
Then the format of each output statement is fixed after the completion of setting, byte number needed for each field is also fixed, each when needing to change
Needed for field when byte number, then output statement can be reset.
Optionally, it is included at least in the output statement: sentence starting character, time, longitude, latitude, end of identification and school
Code field is tested, and is divided between each field in addition to the sentence starting character, the end of identification and the check code
Every decollator.
Further, the output statement can also include: message identification, positioning instruction, height, speed, direction, participation
Position location satellite number, satellite-signal are averaged at least one field in carrier-to-noise ratio and standby message.
Optionally, due in output statement 14 fields and 10 decollators can cover the overwhelming majority application, because
This embodiment of the present invention includes 14 fields and 10 decollators with output statement, is described in detail, i.e., output statement includes:
Sentence starting character, message identification, the time, positioning instruction, longitude, latitude, height, speed, direction, participation position location satellite number,
Satellite-signal is averaged 14 carrier-to-noise ratio, standby message, end of identification and check code fields, and removes the sentence starting character, institute
State 10 decollators being separated between each field except end of identification and the check code.
The sentence starting character is indicated using " $ ", with 1 byte representation.
The message identification can be Business Name or the message identification of other fixed-purposes, can use " CCCCC "
It indicates, with 5 byte representations.For example, CCCCC can be TDINF, Business Name is indicated.
Optionally, the time indicates that optionally, the time can also use other using " YYYYMMDD " and " hhmmss "
Expression way is indicated for example, by using " MMDDYYYY ", or uses " YYYY, MM, DD " expression.It is adopted in the present embodiment with the time
It is described in detail for being indicated with " YYYYMMDD " and " hhmmss ".The YYYY expression of years in " YYYYMMDD ", MM table
Show month, DD indicates the date, and " YYYYMMDD " is 8 bytes;For example, " YYYYMMDD " can be 20181126,
20181126 indicate on November 26th, 2018.The format of date is defined in prior art NMEA are as follows: DDMMYY, before output
It needs to be further processed, 2000 is added on the time, four byte representation times, such as 2018 are finally used, compared to the present embodiment
The representation operation of middle date is relatively complicated.
When hh is indicated in " hhmmss ", mm indicates to divide, and ss indicates the second, and " hhmmss " is 6 bytes, for example,
34 divide 56 seconds when " hhmmss " can indicate 12 for 123456,123456.
The positioning instruction is indicated using " A/V ", wherein A indicates that location data is available, and V indicates that location data is unavailable.
Only include 1 byte in output statement, i.e., only exports A or V.
Optionally, the longitude is indicated using positive and negative values, and positive value indicates east longitude, and negative value indicates west longitude, or on the occasion of expression
West longitude, negative value indicate east longitude west longitude.East longitude is indicated with positive value in the present embodiment, negative value indicates to be retouched in detail for west longitude
It states.For example, longitude is expressed as " ± lll.llllll ", wherein " ﹢ lll.llllll " indicates that east longitude, " ﹣ lll.llllll " indicate
West longitude, it should be noted that the digit after decimal point, which can according to need, to be adjusted.For example, longitude can be ﹢
113.431417 indicating 113.431417 degree of east longitude.The format that longitude is defined in prior art NMEA is " yyyyy.y ", wherein
Front three degree of a representation, latter position and one decimal place indicate to divide, i.e. " y.y " expression " dividing points ", need in output more
Code longitude is converted into unit required for host computer " degree degree ".For example, the longitude information got is " floaty=
11325.86096 ", it needs to do following conversion: degy=y/100+ (y-y/100)/60.0, needs to grasp by multiple division in this way
Make, largely increases the process resource requirement of host computer.In addition, it is also necessary to by read NMEA identifier " E " or
Person " W " judges that this value is east longitude or west longitude, operates and its cumbersome.And scheme provided in this embodiment is used to pass through positive and negative mark
Number directly judgement be east longitude or west longitude, directly reading longitude can export.
Optionally, the latitude is indicated using positive and negative values, and positive value indicates north latitude, and negative value indicates south latitude, or on the occasion of expression
South latitude, negative value indicate north latitude.North latitude is indicated with positive value in the present embodiment, negative value indicates to be described in detail for south latitude.Example
As latitude is expressed as " ± yy.yyyyyy ", wherein " ﹢ yy.yyyyyy " indicates that north latitude, " ﹣ yy.yyyyyy " indicate south latitude, need
It is noted that the digit after decimal point can according to need and be adjusted.For example, latitude can be ﹣ 23.165448, south is indicated
23.165448 degree of latitude.The presentation format of prior art middle latitude is similar to longitude, it is also desirable to just can be with by the conversion of multiple format
Format needed for obtaining host computer, therefore the format operation that the present embodiment uses is simple, reduces the need of host computer process resource
It asks.
The height can be indicated using " ± hhhh.h ", with 7 byte representations.It should be noted that before and after decimal point
The value of digit can be set according to specific requirements, only make exemplary illustration herein.For example, height can be
0025.6.The format length of prior art height is not fixed, when reading needs to carry out data segmentation, therefore the present embodiment uses
Format operation is simple, reduces the demand of host computer process resource.
The speed can indicate that unit can be km/h using " kkk.k ", or m/s, with 5 byte representations.
It should be noted that unit can be set according to specific requirements, only make exemplary illustration herein.For example, speed can be
034.1.The length of speed is not fixed in prior art NMEA, needs to carry out the behaviour such as round up according to the output of the speed of host computer
Make, and scheme provided in this embodiment can be directly acquired and be used, and improve processing speed, and reduce host computer processing money
The demand in source.
The direction can indicate that unit is degree, with 5 byte representations using " bbb.b ".For example, direction can be
173.5.The length in direction is not fixed in prior art NMEA, needs to carry out the behaviour such as round up according to the output of the direction of host computer
Make, and scheme provided in this embodiment can be directly acquired and be used, and improve processing speed, and reduce host computer processing money
The demand in source.
The participation position location satellite number is indicated using " ss ", with 2 byte representations.It is strong for comprehensive descision satellite-signal
It is weak.
The satellite-signal is averaged carrier-to-noise ratio using " nn " expression, with 2 byte representations.For comprehensive descision satellite-signal
It is strong and weak.In prior art NMEA and this undefined field, host computer is needed to read multiple satellites letters respectively from multiple GSV sentences
Number multiple carrier-to-noise ratios are obtained, then calculate the average value of multiple carrier-to-noise ratios, increases the demand of the computing resource of host computer.
The standby message can be indicated using " XXXX ", with 4 byte representations.For exporting some standby messages.
The end of identification can be indicated using " * ", with 1 byte representation.
The check code can be indicated using " HH ", with 2 byte representations.
Further, the decollator is comma, branch, at least one space or the symbol for indicating segmentation effect.?
It is split and is described in detail with comma in the present embodiment.Such as the sentence starting character, the end are removed in output statement
It is separated between each field except mark and the check code with comma, i.e., " $ CCCCC, YYYYMMDDhhmmss, A/V,
± lll.llllll, ± yy.yyyyyy, ± hhhh.h, kkk.k, bbb.b, ss, nn, XXXX*HH " are carried out using 10 commas
Separate.
Further, this step can specifically include: according to each field for including in the output statement and described point
Symbol is cut, uses the information to be output for each field assignment, the field after assignment constitutes output statement.
Step 103, the output statement is exported.
After host computer obtains the output statement of positioning chip output, corresponding operation is directly read and then executed.
The method of the information processing of above-mentioned positioning chip, by being by the information structuring to be output according to preset rules
The output statement of regular length;The output statement is exported, so that being not required to after the output statement of host computer acquisition positioning chip
It is further processed or adjusts, can support the application demand of host computer, and reduce host computer to a large extent
The demand of process resource.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
The method of information processing corresponding to positioning chip described in foregoing embodiments, Fig. 2 shows the embodiment of the present invention
The exemplary diagram of the device of the information processing of the positioning chip of offer.As shown in Fig. 2, the apparatus may include: module 201 is obtained,
Processing module 202, output module 203.
Module 201 is obtained, for obtaining information to be output.
Processing module 202, for according to preset rules, being the output language of regular length by the information structuring to be output
Sentence.
Output module 203, for exporting the output statement.
Optionally, the acquisition module 201, specifically for the satellite-signal received to be decoded, after obtaining decoding
Satellite positioning information, the satellite positioning information be the information to be output.
It optionally, include N number of field in the output statement, byte number needed for constituting each field is fixed, N number of word
Sequence between section is not fixed, and the N is greater than or equal to 1.Byte number needed for each field can be set according to demand, when
The format of then each output statement is fixed after the completion of setting, byte number needed for each field is also fixed, when needing to change each word
When Duan Suoxu byte number, then output statement can be reset.
Optionally, it is included at least in the output statement: sentence starting character, time, longitude, latitude, end of identification and school
Code field is tested, and is divided between each field in addition to the sentence starting character, the end of identification and the check code
Every decollator.
Further, the output statement can also include: message identification, positioning instruction, height, speed, direction, participation
Position location satellite number, satellite-signal are averaged at least one field in carrier-to-noise ratio and standby message.
Optionally, due in output statement 14 fields and 10 decollators can cover the overwhelming majority application, because
This embodiment of the present invention includes 14 fields and 10 decollators with output statement, is described in detail, i.e., output statement includes:
Sentence starting character, message identification, the time, positioning instruction, longitude, latitude, height, speed, direction, participation position location satellite number,
Satellite-signal is averaged 14 carrier-to-noise ratio, standby message, end of identification and check code fields, and removes the sentence starting character, institute
State 10 decollators being separated between each field except end of identification and the check code.
Optionally, the sentence starting character is indicated using " $ ", with 1 byte representation.
The message identification can be Business Name or the message identification of other fixed-purposes, can use " CCCCC "
It indicates, with 5 byte representations.For example, CCCCC can be TDINF, Business Name is indicated.
Optionally, the time indicates that optionally, the time can also use other using " YYYYMMDD " and " hhmmss "
Expression way is indicated for example, by using " MMDDYYYY ", or uses " YYYY, MM, DD " expression.It is adopted in the present embodiment with the time
It is described in detail for being indicated with " YYYYMMDD " and " hhmmss ".The YYYY expression of years in " YYYYMMDD ", MM table
Show month, DD indicates the date, and " YYYYMMDD " is 8 bytes;For example, " YYYYMMDD " can be 20181126,
20181126 indicate on November 26th, 2018.The format of date is defined in prior art NMEA are as follows: DDMMYY, before output
It needs to be further processed, 2000 is added on the time, four byte representation times, such as 2018 are finally used, compared to the present embodiment
The representation operation of middle date is relatively complicated.
When hh is indicated in " hhmmss ", mm indicates to divide, and ss indicates the second, and " hhmmss " is 6 bytes, for example,
34 divide 56 seconds when " hhmmss " can indicate 12 for 123456,123456.
The positioning instruction is indicated using " A/V ", wherein A indicates that location data is available, and V indicates that location data is unavailable.
Only include 1 byte in output statement, i.e., only exports A or V.
Optionally, the longitude is indicated using positive and negative values, and positive value indicates east longitude, and negative value indicates west longitude, or on the occasion of expression
West longitude, negative value indicate east longitude west longitude.East longitude is indicated with positive value in the present embodiment, negative value indicates to be retouched in detail for west longitude
It states.For example, longitude is expressed as " ± lll.llllll ", wherein " ﹢ lll.llllll " indicates that east longitude, " ﹣ lll.llllll " indicate
West longitude, it should be noted that the digit after decimal point, which can according to need, to be adjusted.For example, longitude can be ﹢
113.431417 indicating 113.431417 degree of east longitude.The format that longitude is defined in prior art NMEA is " yyyyy.y ", wherein
Front three degree of a representation, latter position and one decimal place indicate to divide, i.e. " y.y " expression " dividing points ", need in output more
Code longitude is converted into unit required for host computer " degree degree ".For example, the longitude information got is " floaty=
11325.86096 ", it needs to do following conversion: degy=y/100+ (y-y/100)/60.0, needs to grasp by multiple division in this way
Make, largely increases the process resource requirement of host computer.In addition, it is also necessary to by read NMEA identifier " E " or
Person " W " judges that this value is east longitude or west longitude, operates and its cumbersome.And scheme provided in this embodiment is used to pass through positive and negative mark
Number directly judgement be east longitude or west longitude, directly reading longitude can export.
Optionally, the latitude is indicated using positive and negative values, and positive value indicates north latitude, and negative value indicates south latitude, or on the occasion of expression
South latitude, negative value indicate north latitude.North latitude is indicated with positive value in the present embodiment, negative value indicates to be described in detail for south latitude.Example
As latitude is expressed as " ± yy.yyyyyy ", wherein " ﹢ yy.yyyyyy " indicates that north latitude, " ﹣ yy.yyyyyy " indicate south latitude, need
It is noted that the digit after decimal point can according to need and be adjusted.For example, latitude can be ﹣ 23.165448, south is indicated
23.165448 degree of latitude.The presentation format of prior art middle latitude is similar to longitude, it is also desirable to just can be with by the conversion of multiple format
Format needed for obtaining host computer, therefore the format operation that the present embodiment uses is simple, reduces the need of host computer process resource
It asks.
The height can be indicated using " ± hhhh.h ", with 7 byte representations.It should be noted that before and after decimal point
The value of digit can be set according to specific requirements, only make exemplary illustration herein.For example, height can be
0025.6.The format length of prior art height is not fixed, when reading needs to carry out data segmentation, therefore the present embodiment uses
Format operation is simple, reduces the demand of host computer process resource.
The speed can indicate that unit can be km/h using " kkk.k ", or m/s, with 5 byte representations.
It should be noted that unit can be set according to specific requirements, only make exemplary illustration herein.For example, speed can be
034.1.The length of speed is not fixed in prior art NMEA, needs to carry out the behaviour such as round up according to the output of the speed of host computer
Make, and scheme provided in this embodiment can be directly acquired and be used, and improve processing speed, and reduce host computer processing money
The demand in source.
The direction can indicate that unit is degree, with 5 byte representations using " bbb.b ".For example, direction can be
173.5.The length in direction is not fixed in prior art NMEA, needs to carry out the behaviour such as round up according to the output of the direction of host computer
Make, and scheme provided in this embodiment can be directly acquired and be used, and improve processing speed, and reduce host computer processing money
The demand in source.
The participation position location satellite number is indicated using " ss ", with 2 byte representations.It is strong for comprehensive descision satellite-signal
It is weak.
The satellite-signal is averaged carrier-to-noise ratio using " nn " expression, with 2 byte representations.For comprehensive descision satellite-signal
It is strong and weak.In prior art NMEA and this undefined field, host computer is needed to read multiple satellites letters respectively from multiple GSV sentences
Number multiple carrier-to-noise ratios are obtained, then calculate the average value of multiple carrier-to-noise ratios, increases the demand of the computing resource of host computer.
The standby message can be indicated using " XXXX ", with 4 byte representations.For exporting some standby messages.
The end of identification can be indicated using " * ", with 1 byte representation.
The check code can be indicated using " HH ", with 2 byte representations.
Further, the decollator is comma, branch, at least one space or the symbol for indicating segmentation effect.?
It is split and is described in detail with comma in the present embodiment.Such as the sentence starting character, the end are removed in output statement
It is separated between each field except mark and the check code with comma, i.e., " $ CCCCC, YYYYMMDDhhmmss, A/V,
± lll.llllll, ± yy.yyyyyy, ± hhhh.h, kkk.k, bbb.b, ss, nn, XXXX*HH " are carried out using 10 commas
Separate.
Optionally, the processing module 203, specifically for according to each field for including in the output statement and described
Decollator uses the information to be output for each field assignment, and the field after assignment constitutes output statement.
The device of the information processing of above-mentioned positioning chip, by according to preset rules, processing module is by the letter to be output
Breath is configured to the output statement of regular length;Output module exports the output statement, so that host computer obtains positioning chip
It after output statement, does not need to be further processed or adjust, can support the application demand of host computer, and very big
The demand of host computer process resource is reduced in degree.
Fig. 3 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 3, the terminal of the embodiment is set
Standby 3 include: processor 301, memory 302 and are stored in the memory 302 and can run on the processor 301
Computer program 303, such as positioning chip information processing program.The processor 301 executes the computer program
Realize the step in the embodiment of the method for the information processing of above-mentioned positioning chip when 303, for example, step 101 shown in FIG. 1 to
103.The processor 301 realizes the function of each module in above-mentioned each Installation practice, example when executing the computer program 303
The function of module 201 to 203 as shown in Figure 2.
Illustratively, the computer program 303 can be divided into one or more program modules, it is one or
Multiple program modules are stored in the memory 302, and are executed by the processor 301, to complete the present invention.Described one
A or multiple program modules can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for retouching
The device for stating information processing of the computer program 303 in the positioning chip or the implementation procedure in terminal device 3.Example
Such as, the computer program 303, which can be divided into, obtains module 201, processing module 202, output module 203, each module tool
Body function is as shown in Fig. 2, this is no longer going to repeat them.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 301, memory 302.It will be understood by those skilled in the art that
Fig. 3 is only the example of terminal device 3, does not constitute the restriction to terminal device 3, may include more more or fewer than illustrating
Component, perhaps combines certain components or different components, for example, the terminal device can also include input-output equipment,
Network access equipment, bus etc..
Alleged processor 301 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 302 can be the internal storage unit of the terminal device 3, for example, terminal device 3 hard disk or
Memory.The memory 302 is also possible to the External memory equipment of the terminal device 3, such as is equipped on the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card) etc..Further, the memory 302 can also have been deposited both the inside including the terminal device 3
Storage unit also includes External memory equipment.The memory 302 is for storing the computer program and the terminal device 3
Other required programs and data.The memory 302, which can be also used for temporarily storing, have been exported or will export
Data.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it 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.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method of the information processing of positioning chip characterized by comprising
Obtain information to be output;
It is the output statement of regular length by the information structuring to be output according to preset rules;
Export the output statement.
2. the method for the information processing of positioning chip as described in claim 1, which is characterized in that described to obtain letter to be output
Breath, comprising:
The satellite-signal received is decoded, decoded satellite positioning information is obtained, the satellite positioning information is institute
State information to be output.
3. the method for the information processing of positioning chip as claimed in claim 2, which is characterized in that include in the output statement
N number of field, byte number needed for each field are fixed, and the sequence between N number of field is not fixed, and N is greater than or equal to 1.
4. the method for the information processing of positioning chip as claimed in claim 3, which is characterized in that wrapped in the output statement
It includes: sentence starting character, time, longitude, latitude, end of identification and check code field, and remove the sentence starting character, the knot
The decollator being separated between each field except beam identification and the check code.
5. the method for the information processing of positioning chip as claimed in claim 4, which is characterized in that also wrapped in the output statement
Include: message identification, positioning instruction, height, speed, direction, participation position location satellite number, satellite-signal are averaged carrier-to-noise ratio and spare
At least one field in information.
6. the method for the information processing of positioning chip as claimed in claim 5, which is characterized in that it is described according to preset rules,
It is the output statement of regular length by the information structuring to be output, comprising:
According to each field and the decollator for including in the output statement, use the information to be output for each field
Assignment, the field after assignment constitute output statement.
7. the method for the information processing of positioning chip as claimed in claim 6, which is characterized in that the decollator is comma,
Branch, at least one space or the symbol for indicating segmentation effect.
8. a kind of device of the information processing of positioning chip characterized by comprising
Module is obtained, for obtaining information to be output;
Processing module, for according to preset rules, being the output statement of regular length by the information structuring to be output;
Output module, for exporting the output statement.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099451.8A CN109828290A (en) | 2019-01-31 | 2019-01-31 | The method and terminal device of the information processing of positioning chip |
PCT/CN2019/126613 WO2020155911A1 (en) | 2019-01-31 | 2019-12-19 | Positioning chip information processing method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099451.8A CN109828290A (en) | 2019-01-31 | 2019-01-31 | The method and terminal device of the information processing of positioning chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109828290A true CN109828290A (en) | 2019-05-31 |
Family
ID=66862078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910099451.8A Pending CN109828290A (en) | 2019-01-31 | 2019-01-31 | The method and terminal device of the information processing of positioning chip |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109828290A (en) |
WO (1) | WO2020155911A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020155911A1 (en) * | 2019-01-31 | 2020-08-06 | 泰斗微电子科技有限公司 | Positioning chip information processing method and terminal device |
CN112347801A (en) * | 2020-10-27 | 2021-02-09 | 任玉海 | Electronic chip information data analysis method |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1619257A (en) * | 2004-08-25 | 2005-05-25 | 天津汽车检测中心 | Global positioning system and test detecting device for road |
CN101527055A (en) * | 2009-04-08 | 2009-09-09 | 北京四维图新科技股份有限公司 | Operation monitoring method and operation monitoring system |
CN101971049A (en) * | 2007-11-30 | 2011-02-09 | 测位卫星技术株式会社 | Position information providing system, indoor transmitter, and method for providing position information |
CN102546812A (en) * | 2012-01-18 | 2012-07-04 | 合众思壮北斗导航有限公司 | Data transmission method, application server and system |
CN103499975A (en) * | 2013-10-18 | 2014-01-08 | 中测新图(北京)遥感技术有限责任公司 | Unmanned aerial vehicle monitoring method and system based on Beidou satellite |
CN104656103A (en) * | 2015-01-26 | 2015-05-27 | 东南大学 | Wireless GPS positioning system and method based on Android mobile terminal |
CN104950317A (en) * | 2015-05-06 | 2015-09-30 | 青岛晓龙仪器有限公司 | Ocean buoy realizing communication through Beidou satellite navigation system and using method of ocean buoy |
EP2975368A1 (en) * | 2014-07-18 | 2016-01-20 | Andre Herzog | Method for automating a process for construction machines and construction equipment and utility vehicles for the transport of piece and/or bulk goods |
CN105425253A (en) * | 2015-12-02 | 2016-03-23 | 惠州Tcl移动通信有限公司 | GPS information acquisition method and intelligent terminal |
US20170270229A1 (en) * | 2014-08-22 | 2017-09-21 | Sanechips Technology Co., Ltd. | Information processing method and device and computer storage medium |
CN107966721A (en) * | 2018-01-08 | 2018-04-27 | 鞍山师范学院 | A kind of Portable external Beidou navigation device based on Android terminal |
CN108776699A (en) * | 2018-06-08 | 2018-11-09 | 北京华云星地通科技有限公司 | A kind of meteorological data and satellite remote sensing date processing method and processing device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7808428B2 (en) * | 2007-10-08 | 2010-10-05 | Hemisphere Gps Llc | GNSS receiver and external storage device system and GNSS data processing method |
CN101446635B (en) * | 2007-11-28 | 2012-01-04 | 中国科学院微电子研究所 | Ultra-low power consumption, low cost GPS chip architecture for mobile devices |
CN103399329B (en) * | 2013-08-20 | 2015-04-15 | 中国科学院微电子研究所 | GNSS receiver and intermediate frequency data processing method thereof |
CN105005059A (en) * | 2015-06-26 | 2015-10-28 | 泰斗微电子科技有限公司 | Transmission method for original observed quantity data in ANDROID terminal, and corresponding terminal |
CN109828290A (en) * | 2019-01-31 | 2019-05-31 | 泰斗微电子科技有限公司 | The method and terminal device of the information processing of positioning chip |
-
2019
- 2019-01-31 CN CN201910099451.8A patent/CN109828290A/en active Pending
- 2019-12-19 WO PCT/CN2019/126613 patent/WO2020155911A1/en active Application Filing
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1619257A (en) * | 2004-08-25 | 2005-05-25 | 天津汽车检测中心 | Global positioning system and test detecting device for road |
CN101971049A (en) * | 2007-11-30 | 2011-02-09 | 测位卫星技术株式会社 | Position information providing system, indoor transmitter, and method for providing position information |
CN101527055A (en) * | 2009-04-08 | 2009-09-09 | 北京四维图新科技股份有限公司 | Operation monitoring method and operation monitoring system |
CN102546812A (en) * | 2012-01-18 | 2012-07-04 | 合众思壮北斗导航有限公司 | Data transmission method, application server and system |
CN103499975A (en) * | 2013-10-18 | 2014-01-08 | 中测新图(北京)遥感技术有限责任公司 | Unmanned aerial vehicle monitoring method and system based on Beidou satellite |
EP2975368A1 (en) * | 2014-07-18 | 2016-01-20 | Andre Herzog | Method for automating a process for construction machines and construction equipment and utility vehicles for the transport of piece and/or bulk goods |
US20170270229A1 (en) * | 2014-08-22 | 2017-09-21 | Sanechips Technology Co., Ltd. | Information processing method and device and computer storage medium |
CN104656103A (en) * | 2015-01-26 | 2015-05-27 | 东南大学 | Wireless GPS positioning system and method based on Android mobile terminal |
CN104950317A (en) * | 2015-05-06 | 2015-09-30 | 青岛晓龙仪器有限公司 | Ocean buoy realizing communication through Beidou satellite navigation system and using method of ocean buoy |
CN105425253A (en) * | 2015-12-02 | 2016-03-23 | 惠州Tcl移动通信有限公司 | GPS information acquisition method and intelligent terminal |
CN107966721A (en) * | 2018-01-08 | 2018-04-27 | 鞍山师范学院 | A kind of Portable external Beidou navigation device based on Android terminal |
CN108776699A (en) * | 2018-06-08 | 2018-11-09 | 北京华云星地通科技有限公司 | A kind of meteorological data and satellite remote sensing date processing method and processing device |
Non-Patent Citations (3)
Title |
---|
OSCAR POZZOBON 、LUCA CANZIAN、MATTEO DANIELETTO 、ANDREA DALLA: "《Anti-spoofing and open GNSS signal authentication with signal authentication sequences》", 《2010 5TH ESA WORKSHOP ON SATELLITE NAVIGATION TECHNOLOGIES AND EUROPEAN WORKSHOP ON GNSS SIGNALS AND SIGNAL PROCESSING (NAVITEC)》 * |
符一龙: "卫星信号模拟器控制系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
袁光鹏: "《北斗卫星导航系统定位原理在列检"三防"体系中的应用》", 《哈尔滨铁道科技》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020155911A1 (en) * | 2019-01-31 | 2020-08-06 | 泰斗微电子科技有限公司 | Positioning chip information processing method and terminal device |
CN112347801A (en) * | 2020-10-27 | 2021-02-09 | 任玉海 | Electronic chip information data analysis method |
Also Published As
Publication number | Publication date |
---|---|
WO2020155911A1 (en) | 2020-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109828290A (en) | The method and terminal device of the information processing of positioning chip | |
CN110795697B (en) | Method and device for acquiring logic expression, storage medium and electronic device | |
WO2021103219A1 (en) | Test apparatus, system and method for satellite receiver | |
CN111127590A (en) | Second-order Bezier curve drawing method and device | |
CN109242091B (en) | Image recognition method, device, equipment and readable storage medium | |
CN110336626A (en) | A kind of alignment methods of directional aerial, alignment device and terminal | |
CN107452061A (en) | Generation method, device, equipment and the computer-readable recording medium of building model based on oblique photograph technology | |
CN114201242A (en) | Method, apparatus, device and storage medium for processing data | |
WO2020244668A1 (en) | Positioning processing method and apparatus, electronic device, and storage medium | |
CN108038171B (en) | Data writing method and device and data server | |
CN109445973A (en) | Position the method and device of application crash | |
CN117170622A (en) | Accumulator, method and chip circuit for accumulator and computing device | |
CN110825311B (en) | Method and apparatus for storing data | |
CN111260046B (en) | Operation method, device and related product | |
CN112801616A (en) | Abnormal account book processing method and device | |
CN112948517A (en) | Area position calibration method and device and electronic equipment | |
CN110751423A (en) | State estimation service system, micro-service architecture and state estimation method | |
CN108023734B (en) | Bandwidth acquisition method and device, data processing method and device and server | |
Rivero-Gil et al. | A software tool for generating graphics by means of P systems | |
CN117422602B (en) | Multi-dimensional fusion method and system for rail transit planning | |
CN116701552B (en) | Case administration organization determination method and device and electronic equipment | |
CN112541045B (en) | Electronic map data processing method and device and electronic equipment | |
WO2020155912A1 (en) | Positioning chip positioning method and terminal device | |
CN118247787A (en) | Method and system for sharing data between Beidou terminals based on Hongmon operating system | |
CN115685281A (en) | Method, device, equipment and storage medium for responding to difference enhanced service request |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |