Summary of the invention
The embodiment of the invention provides a kind of communication modem and system that satellite positioning functions is provided, the product that can solve the existing AGPS of having function or GPS function is that embedded integrated mode realizes in its communication chipset, make the circuit complexity of communication chipset, cause the problem of cost height and product fluctuation of service.
The embodiment of the invention provides a kind of communication modem that satellite positioning functions is provided, and comprising:
Location receivers and modulator-demodular unit;
Described location receivers is connected with described modem communication, is used to receive positioning satellite signal, and the positioning satellite signal that receives is sent to described modulator-demodular unit;
Described modulator-demodular unit is provided with locator data and handles transmission channel, and described locator data is handled transmission channel one end and is connected with location receivers, and the other end is connected with the data-interface of this modulator-demodular unit; Be used for handling transmission channel and transmit control command and positioning auxiliary information, and the positioning satellite signal that location receivers is received is sent to the outer computer that is connected with described data-interface to location receivers through described locator data.
The embodiment of the invention also provides a kind of system that satellite positioning functions is provided, and comprising:
Computing machine and above-mentioned communication modem;
Described computing machine, communicate to connect with described communication modem, be used for sending control command and positioning auxiliary information being provided to described communication modem, and receive pseudo range measurement information in the positioning satellite signal that described communication modem transmits, the positional information of location is provided after handling;
Described communication modem is connected with described compunication, the control command of sending according to computing machine and the positioning auxiliary information that provides is provided receives positioning satellite signal, and the positioning satellite signal that receives is sent to computing machine handles.
The technical scheme that is provided by the invention described above embodiment adopts independent location receivers (as AGPS chip or GPS chip) and is provided with locator data and handles the modulator-demodular unit of transmission channel and cooperate formation that the communication modem of satellite positioning functions is provided as can be seen in the embodiment of the present invention.This communication modem can utilize location receivers, make this modulator-demodular unit possess positioning function, the running software that can cooperate with location receivers with computing machine that this modulator-demodular unit is connected on, thereby realize satellite positioning functions by modulator-demodular unit as data channel.This communication modem has the advantage that circuit is simple, development difficulty is low, performance is good and stable.
Embodiment
For ease of understanding, be elaborated below in conjunction with the specific implementation of accompanying drawing to the embodiment of the invention.
Embodiment one
Present embodiment one provides a kind of communication modem, is a kind of communication modem that satellite positioning functions is provided, and as shown in Figure 1, this communication modem comprises:
Location receivers S1 and modulator-demodular unit S2; Wherein, location receivers S1 and modulator-demodular unit S2 communicate to connect, be provided with locator data in the modulator-demodular unit S2 and handle transmission channel S3, locator data is handled transmission channel S3 one end and is connected with location receivers S1, and the other end is connected with the data-interface S4 of this modulator-demodular unit S2.
In the above-mentioned communication modem, location receivers S1 is used to receive positioning satellite signal, and the positioning signal that receives is sent among the modulator-demodular unit S2.Below be that example further specifies with the gps signal, location receivers S1 is for receiving the chip of gps signal, after location receivers S1 receives gps signal, the gps signal (as: pseudo range measurement information, interruption and error message etc.) that receives is sent to described modulator-demodular unit S2; And modulator-demodular unit S2 is used for handling transmission channel S3 through locator data and transmits control command (as: enter sleep state, wake order such as sleep state up) and positioning auxiliary information (as: parameter informations such as required CELL-ID, the MSISDN of AGPS function, network No.) to location receivers S1, and the gps signal that location receivers S1 is received is sent to the outer computer that is connected with data-interface S4.
Locator data among the above-mentioned modulator-demodular unit S2 is handled transmission channel S3 as shown in Figure 2, specifically can comprise: communication interface S31 and location driver element S32; Wherein, communication interface S31 can adopt the UART/SPI interface, and communication interface S31 one end is connected with location receivers S1, and the other end is connected with described location driver element S32; Location driver element S32 one end is connected with communication interface S31, the data-interface S4 that the other end and this modulator-demodular unit S2 are used to be connected outer computer connects, and the control signal output ends of this location driver element S32 is connected with the control end that powers on the reseting controling end of location receivers S1 respectively.
As shown in Figure 3, the location driver element S32 among the above-mentioned locator data processing transmission channel S3 specifically comprises: receiver module S321 and parsing processing module S322; Wherein, receiver module S321 and dissection process module S322 interconnect.Receiver module S321 is used to receive the control command that transmits to location receivers S1, and the gps signal of location receivers S1 transmission; And dissection process module S322 is used for the control command that the described receiver module S321 of dissection process receives, and as channel transfer GPS original signal.In the reality, this location driver element S32 can be realized by software, with regard to avoiding the hardware circuit of modulator-demodular unit is changed like this, makes this scheme be easy to realize.
In the reality, the location receivers S1 in the above-mentioned communication modem can adopt any in GPS/AGPS/ Galileo/satnav chips such as the GLONASS/ Big Dipper.Being example with the AGPS chip as location receivers S1 below is described further the communication modem that satellite positioning functions is provided of the embodiment of the invention.
Shown in Figure 4 is to adopt AGPS chip S41 as location receivers, cooperate the communication modem that the AGPS function is provided that constitutes with modem S42, the product form of this communication modem can be made into USB STICK, the embedded communication module of portable machine and USB MODEM etc.Wherein, the AGPS chip S41 of use can adopt the GSD3TW chip of SIRF company, also can adopt the AGPS chip of other company, and scheme similarly.Adopting the GSD3TW chip of SIRF company with AGPS chip S41 below is that example describes this communication modem:
Among Fig. 4, GSD3TW chip (AGPS chip S41) communicates to connect by the UART/SPI interface S420 of UART/SPI interface S410 and modem S42, GPS DRV driver element S421 is set as the location driver element in the MODEM, GPS DRV driver element S421 is connected between the UART/SPI interface S420 and USB interface S422 of MODEM S42, promptly be connected the back with GPS DRV driver element S421 and in MODEM S42, formed locator data processing transmission channel by UART/SPI interface S420, this locator data is handled transmission channel and is connected between the USB interface S422 of GSD3TW chip (AGPS chip S41) and MODEM S42, like this can be on the PC S43 that the USB interface S422 with MODEM S42 is connected with the AGPS running software of GSD3TW chip (AGPS chip S41), AGPS software and GSD3TW chip (AGPS chip S41) can be handled transmission channel by this locator data and realize data interaction.Simultaneously, GPS DRV driver element S421 in the MODEM S42 is connected to the last electric control unit (POWER CONTROLS411) of GSD3TW chip and the control module that resets (RESET S412) respectively, PC S43 can control the GSD3TW chip by the GPSDRV driver element S421 in the MODEM S42, as makes it enter sleep or duty such as wake up.
As can be seen from Figure 4, GSD3TW chip (AGPS chip S41) is similar to a slave unit, is controlled by MODEM S42 and PC S43.Whether PC S43 powers on, resets by MODEM S42 control GSD3TW chip (AGPS chip S41) or sleep etc., passes through UART/SPI interface S420, S410 Data transmission between MODEM S42 and the GSD3TW chip (AGPS chip S41).And, for realizing the AGPS function, in the position fixing process, go up the GPRS passage that the AGPS software that moves can initiate to be established to location server with this PC S43 that provides the communication modem of satellite positioning functions to be connected, therefore, MODEM S42 need support gprs service.
When utilizing this communication modem that satellite positioning functions is provided to position, this modulator-demodular unit is connected with PC S43 by USB interface S422, and AGPS software (had among the MODEM S42 by UART/SPI interface S420 and GPS DRV driver element S421 and interface S422 and be connected to become passage between GSD3TW chip and PC S43 as driving operation in PC S43, this passage can make the GSD3TW chip communicate by letter easily with the AGPS software of PC S43 operation), when the GPS application software of moving among the PC S43 is moved and need the location, the GPS application software can be called AGPS software by virtual serial port, AGPS software sends the AT order by PC S43 to MODEM S42, to obtain the cellular network supplementary (as: CELL-ID that the AGPS function is required that carries out the AGPS location, MSISDN, cellular network auxiliary positioning information such as network No.), MODEM S42 promptly can obtain CELL-ID after residing in cellular network, MSISDN, information such as network No., MODEMS42 will can be used for the cellular network supplementary (CELL-ID of AGPS location, MSI SDN, information such as network No.) be sent to the AGPS software of PC, after AGPS software is received the cellular network supplementary, a GPRS passage to position server (by the APN address of MODEM S42 configuration network side position server) is set up in triggering, and with the cellular network supplementary by this GPRS channel transfer to location server, location server calculates corresponding secondary satellite locating information according to the cellular network supplementary of receiving and is sent to the AGPS software of PC S43, the AGPS software that moves among the PC S43 with the secondary satellite locating information received through the passage of MODEM S42 (by USB interface S422, the passage that GPS DRV driver element S421 and UART/SPI interface S420 are formed by connecting) is sent to the GSD3TW chip, the GSD3TW chip is according to the secondary satellite locating information search of satellite of receiving, then with satellite pseudo range measurement information of receiving etc. through the passage of MODEM S42 (by UART/SPI interface S420, the passage that GPS DRV driver element S421 and USB interface S422 are formed by connecting) being sent to the AGPS software that moves among the PC S43 handles, by drawing longitude and latitude after the AGPS software processes, time, locating information such as speed, and this locating information is sent in the GPS application software, and then make the GPS application software realize all places service according to this locating information.When the GSD3TW chip searches satellite, and after the operate as normal, AGPS software can disconnect MODEM S42 and be connected with GPRS radio communication between the location server.
In actual the use, can transmit the various data messages relevant and the AT that is correlated with the location orders etc. by USB interface between AGPS software and the MODEM with positioning service.For example, can dispose a port numbers on the USB interface S430 of PC S43 is used for transmitting the data message of location usefulness (USB interface is the high speed serial ports, can carry out time-sharing multiplex to USB interface, be about to a USB interface and be divided into a plurality of passages, for each passage just defines a port numbers, with multiplexing USB interface easily).And when transmitting the AT order relevant with the location, the existing AT of reusable MODEM S42 command channel increases the AT relevant with the location to order and get final product in AGPS software and MODEM S42 software, need not increase USB port that this type of AT of transmission orders number again.
In the above-mentioned communication modem, the AGPS running software can be packaged together the PC side MODEM driver of this AGPS software and this communication modem in PC S43, provides virtual serial port for calling for the GPS application software.When PC S43 moves the MODEM driver of this communication modem, promptly can move AGPS software, this AGPS software is mainly used in calculating location information, various duty migration control of GPS chip controls and chip and AGPS function etc.This with the mode of AGPS running software on PC, can make full use of the hardware and software resource of PC system, will the AGPS running software in MODEM S42, avoided taking processor resource and the memory headroom of MODEM S42, thereby avoided increasing the system loading of MODEM S42 and causing instability.
As shown in Figure 5, Fig. 5 is the duty process flow diagram of the AGPS chip in the above-mentioned communication modem, is that example describes with the GSD3TW chip still.The GSD3TW chip has four kinds of running statuses to comprise: close, operate as normal, power saving and sleep pattern.The GSD3TW chip is in closed condition when not having the power supply power supply, when AGPS software on the PC operation after, can dispose the port numbers of the USB interface of transmitting GPS data, get through the transmission channel of MODEM S42 and PC S43, open simultaneously and the GSD3TW chip between the UART/SPI interface, so just set up complete locator data and handled transmission channel, the GSD3TW chip enters normal mode of operation.If AGPS software is not high to positioning accuracy request, can allow the GSD3TW chip enter battery saving mode, this battery saving mode can be by the AGPS software trigger, and the software and driver of MODEM S42 does not need to change.The GSD3TW chip also can enter sleep state, and entering sleep state also can be by the AGPS software trigger, and the MODEM software and driver does not need to do change.The GSD3TW chip is waken up at sleep state, can cooperate with MODEM S42 by the AGPS software that moves among the PC S43 and finish, MODEM S42 is connected by mode shown in Figure 6 with the GSD3TW chip, MODEM S42 can drive the SRESET_N and the ON_OFF pin of GSD3TW chip according to the wake command that AGPS software is sent, wake the GSD3TW chip up with this, the command format of Chuan Songing is according to actual conditions therebetween, can determine by agreement between MODEM producer and the AGPS chip producer, and the driving that wakes up of MODEM side is finished by GPS DRV driver element.
The communication modem that present embodiment provides can provide the AGPS positioning function in better simply mode, and, in using this communication modem position fixing process, the AGPS running software that cooperates with this communication modem is in connected PC, save the resource of this modulator-demodular unit, increased stability.
Embodiment two
Present embodiment two provides a kind of communication modem, as shown in Figure 7, the communication modem that provides in the structure of this communication modem and the foregoing description one is basic identical, different is to substitute the AGPS chip with satnav chips such as GPS/GLONASS/ Galileo/Big Dippeves, can make communication modem that GPS is provided positioning function.The communication modem of this structure can reduce circuit complexity, has reduced the development difficulty of the communication modem that the GPS positioning function is provided and the stability of operation.
Can know, the foregoing description one, satnav chips such as the AGPS chip in two or GPS/GLONASS/ Galileo/Big Dipper, all adopt other third-party satnav chip, to realize satellite positioning functions, and make in the PCs that satnav software all operates in MODEM is connected such as AGPS/GPS/GLONASS/ Galileo/Big Dipper, and do not operate among the MODEM, like this, MODEM mainly is the effect of playing assistance, necessary hardware and software path is provided, under the situation that does not increase the MODEM circuit complexity, make the MODEM of communication usefulness that satellite positioning functions is provided, and guaranteed the stability of MODEM operation.
Can know that the technical scheme of the various embodiments described above is equally applicable to USB MODEM.
Embodiment three
Present embodiment three provides a kind of system that satellite positioning functions is provided, and the positioning system of the communication modem that provides in the foregoing description is provided, and as shown in Figure 8, this system comprises:
Communication modem S42 in computing machine S83 and the various embodiments described above;
Described computing machine S83 and described communication modem S42 communicate to connect, be used for sending control command and positioning auxiliary information being provided to described communication modem S42, and receive the positioning satellite signal that described communication modem transmits, the positional information of location is provided after handling;
Described communication modem S42 and described computing machine S83 communicate to connect, the control command of sending according to computing machine S83 and the positioning auxiliary information that provides are provided receive positioning satellite signal, and the positioning satellite signal that receives is sent to computing machine S83 handles.
In the said system, communication modem S42 and computing machine communicate to connect by USB interface, and the location receivers among the communication modem S42 can adopt any in GPS/AGPS/ Galileo/satnav chips such as the GLONASS/ Big Dipper.
Be provided with locator data processing module S831 in the computing machine of said system, described locator data processing module S831 is arranged among the interior modulator-demodular unit driver module S830 of computing machine S83, is used for drawing the positional information of calling for the GPS application software after the pseudo range measurement information processing that receives.In the reality, locator data processing module S831 can adopt software mode to realize.
In sum, in the embodiment of the invention in better simply mode, make not that the communication modem of integrated GPS function can provide satellite positioning functions in communication chipset, this mode is applicable in the class MODEM products such as the embedded communication module of USBSTICK/USB MODEM/ portable machine, and is very little to the software and hardware influence of MODEM.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; the present invention is not had any impact because of the succession of each embodiment yet; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.