Summary of the invention
The objective of the invention is to provide that a kind of communication information is difficult for losing, antijamming capability is strong and the communication means of vehicle-mounted accurately radio-frequency identification card of data acquisition and wireless base station at the defective that the above-mentioned background technology exists.
For achieving the above object, the invention provides the communication means of a kind of vehicle-mounted radio-frequency identification card and wireless base station, comprising: what the wireless base station is provided with work alone one wakes channel, a locating channel and a plurality of data channel up; Vehicle-mounted radio-frequency identification card is provided with and corresponding channel, a locating channel and the data channel of waking up of each channel of wireless base station; The channels transmit of waking up of wireless base station is waken sign indicating number up, and vehicle-mounted radio-frequency identification card wakes the channel reception up by it and wakes sign indicating number up; Locating channel launching site, the field alignment code of wireless base station, vehicle-mounted radio-frequency identification card is by its locating channel received field alignment code, after the locating channel received field alignment code of the field of vehicle-mounted radio-frequency identification card, a data channel of vehicle-mounted radio-frequency identification card is to the respective data channels reported data of wireless base station.
Wake up channel, locating channel and the data channel of described vehicle-mounted radio-frequency identification card are worked in the mode of mutual switching, and vehicle-mounted radio-frequency (RF) identification is stuck in to be waken channel up by it and receive and wake the sign indicating number back up and switch the locating channel of showing up; Vehicle-mounted radio-frequency (RF) identification is stuck in by after its locating channel received field alignment code and switches to a data channel.
The described sign indicating number that wakes up comprises the field intensity threshold values, described vehicle-mounted radio-frequency identification card with the wireless base station of its reception wake the electromagnetic field intensity value of channels transmit up and the field intensity threshold values compares, wireless base station that vehicle-mounted radio-frequency identification card receives wake the electromagnetic field intensity value of channels transmit greater than the field intensity threshold values up the time, vehicle-mounted radio-frequency identification card switches the locating channel of showing up.
Described awake sign indicating number comprises time value, and described vehicle-mounted radio-frequency identification card is selected the length of dormancy time according to time value.
Described vehicle-mounted radio-frequency identification card has the vibrations sensing module, and this vehicle-mounted radio-frequency identification card is according to waking sign indicating number, an alignment code and vibrations sensing module senses up to whether having vibrations that the dormancy time of this vehicle-mounted radio-frequency identification card is set.
After the data channel reported data of described vehicle-mounted radio-frequency identification card, this vehicle-mounted radio-frequency identification card switches the locating channel of showing up, the field locating channel of described wireless base station is to vehicle-mounted radio-frequency identification card transmitting base station answer back code, vehicle-mounted radio-frequency identification card is provided with the time that receives the base station answer back code according to the time value of waking sign indicating number up, if vehicle-mounted radio-frequency (RF) identification is stuck in and does not receive the base station answer back code in this time, then vehicle-mounted radio-frequency identification card reports fails to report numeric data code.
The described sign indicating number that wakes up comprises discre value, and the field intensity value that described vehicle-mounted radio-frequency identification card receives the field locating channel launching electromagnetic wave of wireless base station according to this discre value and vehicle-mounted radio-frequency identification card determines whether to receive the field alignment code of the field locating channel emission of wireless base station.
Described discre value is a byte, the field intensity value of field locating channel launching electromagnetic wave that receives the wireless base station at vehicle-mounted radio-frequency identification card is during greater than preceding four place values of this discre value, and the field locating channel of vehicle-mounted radio-frequency identification card receives the field alignment code of the field locating channel emission of wireless base station; The field intensity value of field locating channel launching electromagnetic wave that receives the wireless base station at vehicle-mounted radio-frequency identification card is during less than preceding four place values of this discre value, and vehicle-mounted radio-frequency identification card determines to withdraw from this wireless base station.
The field alignment code that described wireless base station sends comprises that field intensity logins threshold values, and described vehicle-mounted radio-frequency identification card is logined the field intensity value that threshold values and this vehicle-mounted radio-frequency identification card receive a locating channel launching electromagnetic wave of wireless base station according to this field intensity and determined whether to switch to the respective data channels reported data of a data channel to the wireless base station.
Because the present invention works alone by each channel of wireless base station, vehicle-mounted radio-frequency identification card selects a data channel to the wireless base station reported data, therefore the communication information between vehicle-mounted radio-frequency identification card and the wireless base station is difficult for losing and has avoided Communication Jamming between a plurality of vehicle-mounted radio-frequency (RF) identification cartoon letters and the wireless base station, thereby makes the accuracy height of wireless base station image data.
Embodiment
For describing technology contents of the present invention, the purpose of being reached and effect in detail, described in detail below in conjunction with embodiment and conjunction with figs..
See also Fig. 1 to Fig. 3, the communication means of vehicle-mounted radio-frequency identification card of the present invention and wireless base station is arranged on such as the wireless base station 100 in places such as port, harbour, bonded area and is arranged at communication means between the vehicle-mounted radio-frequency identification card 200 on the vehicle, to identify the vehicle that enters this place.
Please consult Fig. 1 again, wireless base station 100 comprise a base station controller 110, a plurality of wake up radio-frequency module 120, a plurality of location radio-frequency module 130, a plurality of data radio-frequency module 140, power modules 150 and is connected with each radio-frequency module 120,130,140 respectively wake antenna 160, field positioning antenna 170 and data antenna 180 up.Above-mentioned each radio-frequency module 120,130,140 all is connected with base station controller 110.Power module 150 is connected with each radio-frequency module 120,130,140 thinks that it provides stable, linear communication stage DC power supply.In the present embodiment, wireless base station 100 has four and wakes radio-frequency module 120, two field location radio-frequency modules 130 and eight data radio-frequency modules 140 up, these four are waken up radio-frequency module 120, two field location radio-frequency modules 130 and eight data radio-frequency modules 140 and form first radio frequency units, and this cell operation is in the 433MHz frequency range.
Base station controller 110 is an industrial computer, the data that its vehicle-mounted radio-frequency identification card 200 that collects by data antenna 180 by base stations control software records data radio-frequency module 140 reports, be sent to the background server (not shown) by network after the data processing that vehicle-mounted radio-frequency identification card 200 is reported then, and obtain feedback data and this feedback data processing back is sent to vehicle-mounted radio-frequency identification card 200 by location, a field radio-frequency module 130 and a positioning antenna 170 from background server.
These four are waken up radio-frequency module 120 and are connected with base station controller 110 respectively, and wherein two are waken up radio-frequency module 120 and are operational module, and in running order, two other wakes radio-frequency module 120 up and is spare module.In running order two wake radio-frequency module 120 alternations up to wake sign indicating number up by waking antenna 160 timed sending accordingly up, thereby avoid one to wake the continuous for a long time transmission data of radio-frequency module 120 up and cause its damage, two wake radio-frequency module 120 alternations up and be not limited only to two and wake radio-frequency module 120 up and send equal time at interval in regular turn respectively and wake sign indicating number up herein, as long as two wake radio-frequency module 120 up bumping procedures can be arranged, and do not work simultaneously and get final product.Thereby this two wakes radio-frequency module 120 alternations up and wakes sign indicating number up and form one and wake channel up by waking antenna 160 timed sending accordingly up.
These two location radio-frequency modules 130 are connected with base station controller 110 respectively, and these two location radio-frequency module 130 alternations simultaneously also send field alignment code and base station answer back code by a corresponding positioning antenna 170, thereby form a field locating channel.
Eight data radio-frequency modules 140 are connected with base station controller 110 respectively, these eight data radio-frequency modules 140 work alone to receive data by corresponding data antenna 180, select above-mentioned a certain data channel reported data (being detailed later) thereby form 8 data channels to receive vehicle-mounted radio-frequency identification card 200.
Please consult Fig. 2 again, vehicle-mounted radio-frequency identification card 200 has a microcontroller 201 and the radio-frequency (RF) receiving and transmission module 202 that is connected with this microcontroller 201 respectively, PDA communication module 203, LED display module 204, reseting module 205, clock module 206, power circuit module 207, battery detecting module 208, vibrations sensing module 209 and voice module 210.
In this enforcement, the model of microcontroller 201 is MSP430F2350, radio-frequency (RF) receiving and transmission module 202 works in the 433MHz frequency range, and this radio-frequency (RF) receiving and transmission module 202 under microcontroller 201 control, form can switch mutually 10 respectively with each channel 120,130,140 corresponding channel of wireless base station 100, this 10 channel is respectively one and wakes channel, a field locating channel and eight data channels up.
PDA communication module 203 is used for PDA and writes data in vehicle-mounted radio-frequency identification card 200.LED display module 204 shows the operating state of vehicle-mounted radio-frequency identification card 200 by the color that changes LED under the control of microcontroller 201.Reseting module 205 can reset to vehicle-mounted radio-frequency identification card 200.Clock module 206 is used for providing work clock to microcontroller 201.Power circuit module 207 is used for being connected with battery, thereby provides working power for microcontroller 201.Battery detecting module 208 is used to detect the electric weight of battery.Vibrations sensing module 209 is used for the vibrations of senses vehicle, whether is in transport condition thereby differentiate vehicle, and then makes vehicle-mounted radio-frequency identification card 200 be in battery saving mode or mode of operation to reach purpose of power saving.Voice module 210 is pointed out the vehicle driver by pronunciation under the control of microcontroller 201.
See also Fig. 3, five wireless base stations 100 are set in a place, these five wireless base stations 100 all are in the wake-up signal area of coverage 300 scopes, and these five wireless base stations 100 have been determined five field framing signal areas of coverage 310,320,330,340,350 respectively.
See also Fig. 1 to Fig. 4, one wireless base station 100 sends and wakes sign indicating number up by waking channel up, this wakes sign indicating number up and has four bytes (8 bits of each byte, totally 32 bits), wherein first byte is that wake command word, second byte are that field intensity threshold values, the 3rd byte are that time value, the 4th byte are discre value.Microcontroller 201 control radio-frequency (RF) receiving and transmission module 202 are in wakes channel up to receive the sign indicating number that wakes up that wireless base station 100 sends, microcontroller 201 according to the wake command word judge receive for waking sign indicating number up, microcontroller 201 will wake the field intensity threshold values of sign indicating number up and the electromagnetic field intensity value of channels transmit of waking up of its radio-frequency (RF) receiving and transmission module 202 reception wireless base stations 100 compares, when radio-frequency (RF) receiving and transmission module 202 receive wireless base stations 100 wake the electromagnetic field intensity value of channels transmit greater than the field intensity threshold values up the time, the radio-frequency (RF) receiving and transmission module 202 of vehicle-mounted radio-frequency identification card 200 switches to a locating channel under microcontroller 201 controls.This field intensity threshold values can artificially be provided with according to different places, thereby makes vehicle-mounted radio-frequency identification card 200 can adapt to different places.
Vehicle-mounted radio-frequency identification card 200 is determined the length of dormancy time according to the highest order of time value, and determines to fail to report numeric data code (being detailed later) to the data channel of respective wireless base station 100 time of reported data once more to report according to back seven of time value.The highest order of time value artificially is provided with as the case may be, if the highest order of time value is set to 1, the dormancy time that then vehicle-mounted radio-frequency identification card 200 is arranged in this place is T1; If the highest order of time value is set to 0, vehicle-mounted radio-frequency identification card 200 is judged the state of vehicles according to waking sign indicating number, an alignment code and vibrations sensing module 209 up, if vehicle is in the place and be kept in motion, it is T2 that vehicle-mounted radio-frequency identification card 200 is provided with dormancy time; If vehicle is in the place and remain static, it is T3 that vehicle-mounted radio-frequency identification card 200 is provided with dormancy time; In the institute, it is T4 that vehicle-mounted radio-frequency identification card 200 is provided with dormancy time if vehicle is absent from the scene, T1<T2<T3<T4 wherein, and therefore, vehicle-mounted radio-frequency identification card 200 is by being provided with dormancy time, thereby not only satisfies requirements of one's work but also reach purpose of power saving.
Vehicle-mounted radio-frequency identification card 200 judges whether to be in the field framing signal area of coverage of wireless base station 100 according to discre value.Whether vehicle-mounted radio-frequency identification card 200 differentiates the received field alignment code according to preceding four of discre value, if the field intensity value of the field locating channel launching electromagnetic wave of microcontroller 201 control radio-frequency (RF) receiving and transmission module 202 reception wireless base stations 100 is greater than preceding four place values of discre value, the field locating channel of then vehicle-mounted radio-frequency identification card 200 receives the field alignment code of the field locating channel emission of wireless base station 100, otherwise vehicle-mounted radio-frequency identification card 200 received field alignment code not.Whether vehicle-mounted radio-frequency identification card 200 withdraws from this base station or place according to back four differentiations of discre value, if the field intensity value of the field locating channel launching electromagnetic wave of microcontroller 201 control radio-frequency (RF) receiving and transmission module 202 reception wireless base stations 100 is greater than back four place values of discre value, then vehicle-mounted radio-frequency identification card 200 is still in the field framing signal area of coverage of corresponding wireless base station 100, if its back four place values less than discre value, then vehicle-mounted radio-frequency identification card 200 withdraws from corresponding wireless base station 100, and if subsequently vehicle-mounted radio-frequency identification card 200 receive wireless base station 100 wake up the electromagnetic field intensity value of channels transmit less than wake up the sign indicating number the field intensity threshold values, then vehicle-mounted radio-frequency identification card 200 withdraws from this place.
See also Fig. 1, Fig. 2, Fig. 3 and Fig. 5, wireless base station 100 sends an alignment code by the field locating channel, in the present embodiment, it has six bytes, and wherein first byte is that base coded, the 3rd byte are that field intensity is logined threshold values, the 4th byte is that channel status sign indicating number, the 5th byte are that data length value, the 6th byte are check code for a positioning command word, second byte.
Microcontroller 201 control radio-frequency (RF) receiving and transmission module 202 are in a locating channel to receive the field alignment code that wireless base station 100 sends, and microcontroller 201 is judged an alignment code that is of receiving according to field positioning command word.Microcontroller 201 is which wireless base station 100 sends in the place according to this alignment code of the definite emission of base coded.Microcontroller 201 is received radio-frequency (RF) receiving and transmission module 202 the field intensity value of field locating channel launching electromagnetic wave of wireless base station 100 and field intensity and is logined threshold values and compare, when this field intensity value of radio-frequency (RF) receiving and transmission module 202 receptions was logined threshold values greater than field intensity, the radio-frequency (RF) receiving and transmission module 202 of vehicle-mounted radio-frequency identification card 200 switched to a data channel at random under microcontroller 201 controls.Microcontroller 201 judges according to the channel status sign indicating number whether the data channel of wireless base station 100 has damage, thereby avoids sending data to the data channel that has damaged of wireless base station 100, and causes wireless base station 100 can't receive data.Microcontroller 201 is judged the length of an alignment code according to the data length value, thereby avoids causing the length of an alignment code to change owing to an alignment code is set to comprise out of Memory.
See also Fig. 7 and Fig. 8, the data that the data channel of vehicle-mounted radio-frequency identification card 200 reports to the data channel of wireless base station 100 are divided into the card numbering and report sign indicating number and card data to report sign indicating number, adapting to different vehicle reported data needs, as be arranged on vehicle-mounted radio-frequency identification card 200 on the passenger vehicle and report that the card numbering reports sign indicating number, the vehicle-mounted radio-frequency identification card 200 that is arranged on the lorry reports the card data to report sign indicating number.
The card numbering reports sign indicating number to have six bytes, and wherein first byte is that electronic cards field intensity value, third and fourth byte are that base coded, the 6th byte are check code for card coding, the 5th byte for card reports command word, second byte.
Please consult Fig. 1 and Fig. 2 again, wireless base station 100 will block and report background server after numbering reports sign indicating number to handle.Background server determines that according to electronic cards field intensity value vehicle-mounted radio-frequency identification card 200 receives the electromagnetic field intensity of the field locating channel emission of wireless base station 100; Background server is determined and the corresponding vehicle of this card coding according to the card coding; Background server is judged the path of the vehicle with vehicle-mounted radio-frequency identification card 200 according to base coded, thereby declares the immigration and the situation of end vehicle, as shown in Figure 3.
The card data report sign indicating number to report sign indicating number similar to the card numbering, difference is: the card data report declaration data that sign indicating number also comprises the packet sequence number of the data length value of a byte, a byte and n byte (wherein, n 〉=1), thereby background server can obtain the declaration data content that vehicle-mounted radio-frequency identification card 200 reports, this declaration data is imported in the vehicle-mounted radio-frequency identification card 200 by PDA communication module 203 in advance by PDA, as the kind of goods, quantity or the like.
After wireless base station 100 received that card numbering that vehicle-mounted radio-frequency identification card 200 reports reports sign indicating number or card data to report sign indicating number, the field locating channel of wireless base station 100 sent the base station answer back code.See also Fig. 6, the base station answer back code is similar to an alignment code, and difference is: the base station answer back code also comprises the card information sign indicating number of three bytes.The card information sign indicating number has the card coding of two bytes and the card conditional code of a byte.Vehicle-mounted radio-frequency identification card 200 according to the time value of waking sign indicating number up after seven the time that wireless base station 100 sends the base station answer back code that receives is set, if vehicle-mounted radio-frequency identification card 200 is not received the base station answer back code in this time, then vehicle-mounted radio-frequency identification card 200 reports fails to report numeric data code, fail to report numeric data code and also be divided into two kinds, to report sign indicating number and card data to report yard similar to card numbering respectively for it, and difference is: fail to report numeric data code for these two kinds and all also comprise and fail to report base coded.In the present embodiment, only provide to blocking numbering and report the similar a kind of numeric data code of failing to report of sign indicating number, as shown in Figure 9.
From the above mentioned, the communication means of vehicle-mounted radio-frequency identification card of the present invention and wireless base station all works alone by wake up channel, a locating channel and a plurality of data channel that makes wireless base station 100, switch mutually with corresponding by wake up channel, a locating channel and the data channel that makes vehicle-mounted radio-frequency identification card 200 with the respective channel of wireless base station 100, the channels transmit of waking up by wireless base station 100 is waken sign indicating number up, and vehicle-mounted radio-frequency identification card 200 wakes up by it and switches the locating channel of showing up after channel reception wakes sign indicating number up; Locating channel launching site, the field alignment code of wireless base station 100, vehicle-mounted radio-frequency identification card 200 switches to the respective data channels reported data of a data channel to wireless base station 100 after by its locating channel received field alignment code, because each channel of wireless base station 100 works alone, vehicle-mounted radio-frequency identification card 200 switches to a data channel to wireless base station 100 reported datas, therefore the communication information between vehicle-mounted radio-frequency identification card 200 and the wireless base station 100 is difficult for losing and has avoided Communication Jamming between a plurality of vehicle-mounted radio-frequency identification cards 200 and the wireless base station 100, thereby makes the accuracy height of wireless base station 100 image data.
See also Fig. 9 and Figure 10, it has disclosed another embodiment of the communication means of vehicle-mounted radio-frequency identification card of the present invention and wireless base station.In the present embodiment, the similar of a wireless base station 100 ' and a last embodiment wireless base station 100, its difference is: this wireless base station 100 ' also comprises one second radio frequency unit and a reception antenna 191, and this second radio frequency unit power supply module 192 of having a Receiver Module 190 and being connected with this Receiver Module 190.Receiver Module 190 is connected with reception antenna 191 to receive the data that vehicle-mounted radio-frequency identification card 200 ' reports, and this Receiver Module 190 works in the 920MHz frequency range and forms a plurality of data channels in the mode of frequency hopping, causes data collision to avoid a plurality of vehicle-mounted radio-frequency identification card 200 ' reported datas.
In the present embodiment, the similar of this vehicle-mounted radio-frequency identification card 200 ' and the vehicle-mounted radio-frequency identification card 200 of a last embodiment, its difference is: vehicle-mounted radio-frequency identification card 200 ' also comprises a radiofrequency emitting module 211, this radiofrequency emitting module 211 also works in the 920MHz frequency range, after vehicle-mounted radio-frequency identification card 200 ' was activated from resting state, radiofrequency emitting module 211 is reported data under the control of microcontroller 201.
Because the electromagnetic diffracting power of 433MHz frequency range is strong, penetration power good, about 300~500 meters of the reliable transmission distance of this frequency range, however this also brings inconvenience in a certain vehicle of concrete inspection.And the electromagnetic directionality of 920MHz frequency range is good, and a little less than the penetration capacity, about 20~50 meters of reliable transmission distance when in a place a large amount of vehicle being arranged, can be searched corresponding vehicle so that inspection rapidly by reading device.
If the radio-frequency (RF) receiving and transmission module 202 of vehicle-mounted radio-frequency identification card 200 ' is normal, then base station controller 110 control first radio frequency unit receives the data that the radio-frequency (RF) receiving and transmission module 202 of vehicle-mounted radio-frequency identification card 200 ' reports, and controls the data that radiofrequency emitting module 211 that second radio frequency unit do not receive vehicle-mounted radio-frequency identification card 200 ' reports; After if the radio-frequency (RF) receiving and transmission module of vehicle-mounted radio-frequency identification card 200 ' 202 is damaged, then Receiver Module 190 receives the data that vehicle-mounted radio-frequency identification card 200 ' reports by radiofrequency emitting module 211 with reception antenna 191.
Because the mode that adopts 920MHz frequency range and 433MHz frequency range to combine, places such as this both applicable port, harbour, bonded area, thus transfer of data accuracy height, antijamming capability make vehicle-mounted radio-frequency identification card 200 ' stable, reliable with communicating by letter of wireless base station 100 ' by force simultaneously.
The present invention is by the technical scheme of above-mentioned exposure, can reach described purpose and effect, yet above the exposure only is preferred embodiment of the present invention, from not limiting interest field of the present invention with this, modify or variation as for other equivalence of the present invention, all should be encompassed in the claim scope of the present invention.