Summary of the invention
In view of this, the embodiment of the invention is to provide a kind of locating terminal and uses the system and method that described terminal realizes positioning service, when realizing that long range positioning is followed the tracks of, reduces cost.
The embodiment of the invention provides a kind of locating terminal that is used for, and comprising: wireless communication module, and the master control borad group, authentication module, power module, antenna, wherein,
Described power module is used for described wireless communication module and the power supply of described master control borad group;
Described authentication module is used under the control of described master control borad group, by described wireless communication module and antenna and outside mutual, carries out register and authentication, is connected to the communication website;
Described wireless communication module is used for being connected to communication network under the control of described master control borad group, obtains the coded message of current affiliated base station;
Described master control borad group is used to control described authentication module by described wireless communication module and antenna and outside mutual, carries out register and authentication, notifies described wireless communication module to obtain the coded message of current affiliated base station; The coded message of described current affiliated base station is gone out by described wireless communication module and antenna transmission.
Wherein, described locating terminal also comprises: push-button unit, and described push-button unit comprises one of following button or combination in any:
Power button is used for directly controlling the break-make of described power module, perhaps, is used to control the break-make of described master control borad group;
The emergency alarm button is used for connecting or disconnecting described master control borad group, controls described wireless communication module and antenna and outside mutual by described master control borad group, sends urgency signal information.
Wherein, described power button is lower than the surface of the shell of described locating terminal, even need can touch described power button by sharp-pointed object.
Wherein, described master control borad group is further used for, and judges by the button duration whether the switch motion of described power button and/or emergency alarm button is effective.
Wherein, described locating terminal also comprises: indicating member is used to indicate described locating terminal present located operating state.
Wherein, described authentication module is the client identification module SIM card, or the universal subscriber identity module usim card, or the virtual authentication module that realizes by software module.
Wherein, the coded message of described current affiliated base station comprises local area code LAC and base station numbering CID at least.
Wherein, the coded message of described current affiliated base station also comprises speech quality and signal strength information parameter.
Wherein, described wireless communication module also is used for, and does not need to enter resting state when described service center sends coded message at described locating terminal, when obtaining the coded message of current affiliated base station, is converted to wake-up states from resting state.
The embodiment of the invention also provides a kind of system that realizes the long range positioning service, comprising:
Locating terminal is used to be connected to communication network, obtains the coded message of the current affiliated base station of locating terminal in the described communication network, and described coded message is sent to service center;
Service center, the coded message retrieval base station information database according to described base station according to the corresponding relation of base coded information and base station location in the described database, obtains the geographical position of described base station; Determine the current position of locating terminal information according to the geographical position of described base station, realize long range positioning described locating terminal.
Wherein, undertaken alternately by Wireless transmission mode between described locating terminal and the described service center.
Wherein, described Wireless transmission mode comprises the mode of note, GPRS, CDMAX1 passage.
Wherein, described service center also is used for the current position of described locating terminal information is shown to the booking reader.
Wherein, described system also comprises: subscribe to terminal, be used to receive the current position of locating terminal information, and be shown to the booking reader; Perhaps, initiatively obtain the current position of described locating terminal information, and be shown to the booking reader from described service center.
Wherein, described locating terminal also is used for not needing to enter battery saving mode when described service center sends coded message.
The embodiment of the invention also provides a kind of realization long range positioning service method, comprising:
Locating terminal obtains the coded message of the current affiliated base station of place communication network, and described coded message is sent to service center;
Described service center according to the corresponding relation of base coded information and base station location in the described database, obtains the geographical position of described base station according to described coded message retrieval base station information database; Determine the current position of locating terminal information according to the geographical position of described base station, realize long range positioning described locating terminal.
Wherein, the coded message that described locating terminal obtains the current affiliated base station of place communication network also comprises before: receive the orientation triggering request, according to described orientation triggering request, described locating terminal is carried out the operation of the coded message of obtaining the current affiliated base station of place communication network again.
Wherein, described orientation triggering request is issued by service center, or is triggered by self-timing in the described locating terminal.
Wherein, described locating terminal obtain the place communication network current under the step of coded message of base station comprise:
Obtain the coded message of the current affiliated base station of place communication network in the internal storage data of the wireless communication module of described locating terminal from described locating terminal, perhaps,
Described locating terminal sends the directly described wireless communication module of inquiry of AT instruction by the master control borad group in the described locating terminal, obtains the coded message of current affiliated base station according to return instruction.
Wherein, base station location comprises longitude and latitude at least in the described database, and/or the geographic descriptor definite according to described longitude and latitude.
The geographical position of described base station comprises: the longitude and latitude of base station, and/or the geographic descriptor definite according to described longitude and latitude.
The positional information of described locating terminal comprises: the longitude and latitude of its described base station, and/or the geographic descriptor definite according to described longitude and latitude.
Wherein, base station location comprises longitude and latitude at least in the described database, and/or the geographic descriptor definite according to described longitude and latitude; When if the coded message that service center obtained comprises the coded message of three base stations at least, then determine that according to the geographical position of described base station the step of the current position of locating terminal information comprises:
According to the coded message of described at least three base stations, obtain the longitude and latitude of described at least three base stations, calculate the geographical coordinate of described locating terminal by the method for triangle location, described geographical coordinate is represented by longitude and latitude.
Wherein, described method further comprises: service center is described the positional information of described locating terminal with better address mode shows, perhaps, shows in the mode of map.
Wherein, described method further comprises: described service center receives the query requests of subscribing to terminal, and the positional information of described locating terminal is sent to described subscription terminal in inquiry response; Perhaps, described service center regularly sends the positional information of described locating terminal to the subscription terminal.
Wherein, mutual between described locating terminal and the service center by Wireless transmission mode;
Mutual between described service center and the subscription terminal by wired or wireless mode.
Wherein, the coded message of described current affiliated base station comprises local area code LAC and base station numbering CID at least.
The present invention has following tangible benefit effect:
1. terminal composition cost is low, and technology realizes simple.
2 location obtain autonomous, do not rely on the third party.Though the location mechanism of system has been used cordless communication network, location technology does not need the support of operator.The base coded information of being obtained by terminal handles directly to resolve to geographical location information and use by the service center platform in the native system.
3. the entire system operation cost is extremely low, removes the cost that terminal cost and number pass passage, the rate cost that does not almost have locating resource to relate to.Sector application and society generalization to the demand of various long range positioning follow-up services have great promotion advantage.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 1, it is the locating terminal structural representation according to the embodiment of the invention.This locating terminal can comprise: power module 101, authentication module 102, wireless communication module 103, master control borad group 104, antenna 105.
Power module 101 is used for described wireless communication module 103 and 104 power supplies of described master control borad group.In the practical application, can use general lithium battery group.
Described authentication module 102 is used under the control of described master control borad group 104, and is mutual with the outside by described wireless communication module 103 and antenna 105, carries out register and authentication, is connected to the communication website.In the practical application, it can be client identification module (SIM) card, or universal subscriber identity module (USIM) card, and this authentication module 102 is not limited to hardware and realizes, can also be the virtual authentication module that realizes by software module etc.It adopts built-in mode to be installed in the locating terminal.
Described wireless communication module 103 is used for being connected to communication network under the control of described master control borad group 104, obtains the coded message of current affiliated base station.
Above-mentioned communication network includes but not limited to GSM network or cdma network.In the practical application, it is realized and being connected and the propagation function of data of GSM/CDMA communication network.In specific implementation process, can adopt the commercial GSM/GPRS/CDMA communication module of mature and reliable to use, for example Siemens M39i module.Wireless communication module 101 can realize that data transmit by short message (SMS) mode or GPRS (GPRS) mode.
The coded message of above-mentioned current affiliated base station comprises local area code (LAC) and base station numbering (CID) at least, can also comprise speech quality information parameter and signal strength parameter etc.
Described master control borad group 104, it is mutual with the outside by described wireless communication module 103 and antenna 105 to be used to control described authentication module 102, carries out register and authentication, notifies described wireless communication module 103 to obtain the coded message of current affiliated base station; The coded message of described current affiliated base station is sent by described wireless communication module 103 and antenna 105.That is to say that master control borad group 102 is used for centralized control, it is responsible for and being connected of miscellaneous part, and is built-in with terminal program, is responsible for the business of terminal positioning function and controls.This master control borad group includes but not limited to adopt the AVR/51 series monolithic, and built-in program includes but not limited to use the C language compilation.
Above-mentioned antenna 105 includes but not limited to adopt the built-in miniature communication antenna.
Locating terminal shown in Figure 1 can also comprise: push-button unit 106, and this push-button unit 106 can comprise one of following button or combination in any:
Power button is used for directly controlling the break-make of described power module, perhaps, is used to control the break-make of described master control borad group;
The emergency alarm button is used for connecting or disconnecting described master control borad group, controls described wireless communication module and antenna and outside mutual by described master control borad group, sends urgency signal information.
For preventing the false triggering action, power button can be lower than the surface of the shell of described locating terminal, even need can touch described power button by sharp-pointed object.
In order to prevent the false touch action, described master control borad group is further used for, and judges by the button duration whether the switch motion of described power button and/or emergency alarm button is effective.
Locating terminal shown in Figure 1 can also comprise: indicating member 107 is used to indicate described locating terminal present located operating state.In the practical application, it can be a bi-colour LED, and the different operating state of indication in the terminal works process is as power supply status, network login state, the query State etc. of reaching the standard grade.
Above-mentioned locating terminal can also be realized battery saving mode automatically according to the orientation triggering mode.That is to say that described wireless communication module also is used for, do not need when described service center sends coded message, to enter resting state, when obtaining the coded message of current affiliated base station, be converted to wake-up states from resting state at described locating terminal.At battery saving mode, because wireless communication module is in resting state, so its power consumption is an operate as normal 1/10 even lower.Wireless communication module can wake up automatically according to the time interval of orientation triggering mode, carried out terminal positioning and obtained, obtain be sent completely after, locating terminal can enter resting state once more.Can greatly prolong the operating time of terminal by battery saving mode, help the engineering practical application.
Referring to Fig. 2, it is the structural representation according to the realization long range positioning service system of the embodiment of the invention.Described system comprises:
Locating terminal 201 is used to be connected to communication network, obtains the coded message of the current affiliated base station of locating terminal in the described communication network, and described coded message is sent to service center;
Service center 202, the coded message retrieval base station information database according to described base station according to the corresponding relation of base coded information and base station location in the described database, obtains the geographical position of described base station; Determine the current position of locating terminal information according to the geographical position of described base station, realize long range positioning described locating terminal.
Described service center 202 also is used for the current position of described locating terminal information is shown to the booking reader.
Can be mutual between described locating terminal 201 and the service center 202 by Wireless transmission mode.Described Wireless transmission mode includes but not limited to transmit by note, GPRS or CDMAX1 passage.No matter based on which kind of channel mode, the communication protocol content all adopts processing and realization unified, that make things convenient for locating terminal and service center.
Described system can also comprise: subscribe to terminal 203, be used to receive the current position of locating terminal information, and be shown to the booking reader; Perhaps, obtain the current position of described locating terminal information from described service center, and be shown to the booking reader.Can be mutual between described service center 202 and the subscription terminal 203 by wired or wireless transmission manner.
Be appreciated that when service center is located continuously to certain locating terminal, can realize tracking, and then provide follow-up service for subscribing to terminal to this locating terminal.
Referring to Fig. 3, it is an instantiation structural representation of realizing the long range positioning service system.Comprise in the present embodiment: base station 301, locating terminal 302, number pass passage 303, communication data switching center 304, service center 305, the Internet 306, subscribe to terminal 307.
Base station 301 can be the communication base station of GSM/CDMA network, and its operator includes but not limited to move or UNICOM.
Locating terminal 302 has the function that the base station number information positions under obtaining.
Number passes passages 303, the number in this example pass passages according to the different application demand can be different several biography modes including, but not limited to short message mode, GPRS mode, CDMAX1 channel mode.For example locating query can adopt SMS mode short message channel, and tracing monitoring can adopt GPRS mode number to pass passage.Simultaneously for guaranteeing that number passes the unimpeded and reliable of passage, the situation in that GPRS or CDMAX1 do not connect starts short message mode automatically and returns data.The number of this example passes passage and supports uplink and downlink communication.
Communication data switching center 304, common carrier converts the communication data of SMS/GPRS to interconnected network mode by Short Message Service Gateway/GPRS/CDMAX1 gateway by data switching center.
Service center 305, bearing system operation system platform, main two big function: a. are responsible for the base coded information of locating terminal passback is carried out computing, resolve to corresponding geographical location information.B. offer and subscribe to the location follow-up service content of terminal: locate follow-up service etc. such as vehicles such as the location follow-up service of assets such as goods, special population location follow-up service, vehicles based on the long range positioning terminal.
The Internet 306, the Internet are to connect the connection that each system forms.
Subscribe to terminal 307, the user can use long range positioning of the present invention to follow the trail of service by system's authentication.The mode of subscriber access system comprises: Web mode, short message mode etc.
Referring to Fig. 4, it is the realization long range positioning service method flow chart according to the embodiment of the invention, and it comprises:
Step 401, locating terminal are obtained the coded message of the current affiliated base station of place communication network.This coded message comprises local area code (LAC) and base station numbering (CID) at least.Concrete, locating terminal can have two kinds of obtain manners:
A, because locating terminal can be regularly and the network interaction positional information, position to network side report self, simultaneously, also can obtain current for the information of serving base station is provided self, therefore, locating terminal can obtain the coded message of the current affiliated base station of place communication network from the internal storage data of self radio communication module; As by the built-in embedded software api interface read module internal fixation position internal storage data of wireless communication module 103, can obtain above-mentioned information.
B, locating terminal base station under communication network is current sends Query Information, obtains the coded message of current affiliated base station in the response that receives.
For example, master control borad group 104 sends the AT instruction to wireless communication module 103, requester network registration, roaming situation and signal quality information.Instruction set with MC39i is an example, " AT+CREG? " ordered in transmission the reception return information "+CREG:<n 〉;<star〉[;<lac 〉;<ci 〉] ", wherein parameter l ac is 2 local zone, hexadecimal base station code (LAC) value, ci is 2 16 system base stations numberings (CID).Other meaning of parameters can be referring to AT command set.Lac+ci forms the unique network base station numbering in the whole nation.Logging under the GSM/CDMA network condition as long as satisfy wireless communication module 103, all can return the base station numbering that is connected at present.
Simultaneously by other AT instruction as " AT+CSQ " etc., can obtain other detailed base coded information, that is to say, base coded information can also comprise speech quality information parameter etc., this speech quality parameter can comprise CH-channel number (Channel), TA-time trail (Time Advance), distance between display terminal and base station, the RxL-signal receiving strength, TxPwr-terminal called power emission intensity (PowerLevel) etc.
The just described coded message of step 402, locating terminal is sent to service center.Locating terminal can pass through the mode of SMS, GPRS or CDMA 1X passage, and the base station number information is sent to service center.And locating terminal can timed sending, or answers the request of service center to send.
When locating terminal does not need to obtain the coded message of base station or when described service center sends coded message, can enter battery saving mode.
Step 403, service center according to the corresponding relation of base coded information and base station location in the described database, obtains the geographical position of described base station according to described coded message retrieval base station information database; Determine the current position of locating terminal information according to the geographical position of described base station, realize long range positioning described locating terminal.
Step 404, service center sends locating information to the subscription terminal.This step is an optional step.Concrete have following two kinds of load modes, can choose one wantonly or adopt following dual mode simultaneously:
A, service center receive the query requests of subscribing to terminal, and the positional information of described locating terminal is sent to described subscription terminal in inquiry response;
B, service center regularly send the positional information of described locating terminal to the subscription terminal.
Service center can be presented to the booking reader with forms such as note, web maps with the geographical location information of locating terminal, for the booking reader provides the location follow-up service according to the business demand difference.
Need to prove, can be mutual between locating terminal and the service center by wired or wireless mode; Also can be mutual between service center and the subscription terminal by wired or wireless mode.
The coded message that above-mentioned locating terminal obtains the current affiliated base station of place communication network also comprises before: receive the orientation triggering request, according to described orientation triggering request, described locating terminal is carried out the operation of the coded message of obtaining the current affiliated base station of place communication network again.Described orientation triggering request is issued by service center, or is triggered by self-timing in the described locating terminal.
Be appreciated that when service center is located continuously to certain locating terminal, can realize tracking, and then provide follow-up service for subscribing to terminal to this locating terminal.
Referring to Fig. 5, it is a flow chart of determining the current position of locating terminal information according to the service center of the embodiment of the invention.It comprises:
The base coded information that step 501, receiving terminal are obtained.
Step 502 according to described coded message retrieval base station information database, is obtained the geographical position of described base station.
The corresponding relation that has base coded information and base station location in the base station information database, table 1 are demonstrations of base station information database:
Sequence number |
??LCA |
??CELL?ID |
Longitude |
Latitude |
Geographic descriptor |
Remarks |
??1 |
??14401 |
??1074 |
??111.751 |
??33.8725 |
The Luanchuan, Luoyang City is red |
|
Table 1
[notes]: the non-True Data of data uses for illustrative purposes only in the table 1.
Concrete, service center can obtain the geographical position of described base station according to the corresponding relation of base coded information and base station location in the described database.
Be appreciated that base station location comprises longitude and latitude at least in the above-mentioned database, and/or the geographic descriptor definite according to described longitude and latitude.The geographical position of the base station of determining can comprise: the longitude and latitude of base station, and/or the geographic descriptor definite according to described longitude and latitude; When base station location comprised longitude and latitude and geographic descriptor in the above-mentioned database, the geographical position of determined base station can comprise: the longitude and latitude of base station and geographic descriptor perhaps, include only the geographic descriptor of base station.
Step 503 is determined the current position of locating terminal information according to the geographical position of base station.Following several mode is specifically arranged:
A, with the longitude and latitude data of position, base station or the geographical positional information of describing as locating terminal.
If the coded message that the b service center is obtained comprises the coded message of three base stations at least, and when comprising the speech quality information parameter in the described coded message, then determine that according to the geographical position of described base station the step of the current position of locating terminal information comprises:
According to the coded message of described at least three base stations, obtain the longitude and latitude of described at least three base stations, calculate the geographical coordinate of described locating terminal by the method for triangle location, described geographical coordinate is represented by longitude and latitude.Specifically can adopt following formula:
L=TA×500+RxL×A+TxPwr×B
Wherein, L represents the position of locating terminal, TA express time trail, and RxL represents signal receiving strength, and A represents the radiofrequency signal attenuation coefficient, and TxRwr represents locating terminal communication power emission intensity, and B represents the transmitting power attenuation coefficient.
C, on the basis of a, b, the mode that the positional information of described locating terminal is described with better address shows, perhaps, shows in the mode of map.For example, the longitude and latitude data can be translated into the geographical map correspondence position of describing in detail or mark by GIS-Geographic Information System (GIS, Geographic Information System) platform.
Be appreciated that when service center is located continuously to certain locating terminal, can realize tracking, and then provide follow-up service for subscribing to terminal to this locating terminal.
As seen, the present invention has following tangible benefit effect: 1. terminal composition cost is low, and technology realizes simple.2. the location obtains independently, does not rely on the third party.Though the location mechanism of system has been used cordless communication network, location technology does not need the support of operator.The base coded information of being obtained by terminal handles directly to resolve to geographical location information and use by the service center platform in the native system.3. the entire system operation cost is extremely low, removes the cost that terminal cost and number pass passage, the rate cost that does not almost have locating resource to relate to.Sector application and society generalization to the demand of various long range positioning follow-up services have great promotion advantage.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, here the alleged storage medium that gets, as: ROM/RAM, magnetic disc, CD etc.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.