Summary of the invention
The application provides the implementation method of a kind of car-mounted terminal and interconnected thereof and the long-distance monitoring method of car-mounted terminal and system, can be further for user provides more senior service.
According to the application's first aspect, the application provides a kind of implementation method of car-mounted terminal interconnected, comprise: the data packet format of determining the data of transmitting between the central processing unit of car-mounted terminal and each equipment of the inside of car-mounted terminal, described each equipment is connected and is integrated in one with described central processing unit signal respectively, described each equipment comprises electronic tag and wireless communication module, and described data packet format comprises the data layout of charge data that electronic tag is received and order, the data layout of information that wireless communication module sending and receiving arrives; Described electronic tag and described wireless communication module are worked independently of each other, or described electronic tag and described wireless communication module carry out alternately via described central processing unit; In the time there is data transmission between described each equipment and described central processing unit, described central processing unit is processed accordingly according to corresponding data packet format.
Further, described each equipment also comprises the GPS locating module that is connected and is integrated in one with described central processing unit signal, and described data packet format also comprises the data layout of the positional information of GPS locating module reception; Described GPS locating module is independent of described electronic tag and/or described wireless communication module work, or described GPS locating module carries out via described central processing unit and described electronic tag and/or described wireless communication module alternately.
Further, described electronic tag comprise be connected with described central processing unit signal as one or more in lower module: 5.8GHz wireless module, IC-card interactive module, Anti-dismantling module; Described electronic tag and described wireless communication module are worked and are comprised independently of each other: for described electronic tag, it realizes the radio communication that meets dedicated short-range communication by described 5.8GHz wireless module, realize the data circulation between two interface C PU cards and described central processing unit by described IC-card interactive module, whether illegally dismantled by electronic tag described in described Anti-dismantling module monitors, described Anti-dismantling module adopts 2.4GHz communication protocol to realize; Working alone of described wireless communication module comprises up processing and the downlink processing of data, described downlink processing comprises: the described wireless communication module sending and receiving network information, if the described network information is tcp data, described wireless communication module call tcp data receive call back function process; If the described network information is TCP connection closed signal, described wireless communication module calls TCP and closes call back function and process; If the described network information is 3G data, described wireless communication module calls 3G data receiver call back function; If the described network information is AT repeat-back, described AT repeat-back is cached to reception buffer zone by described wireless communication module; Described up processing comprises: data receiver call back function is set, opens serial ports to carry out the transmitting-receiving of data; Described electronic tag and described wireless communication module comprise alternately via described central processing unit: described electronic tag sends data to back-stage management server via described central processing unit by described wireless communication module, and receive the data from back-stage management server by described wireless communication module via described central processing unit.
Further, described central processing unit carries out corresponding processing according to corresponding data packet format and comprises: described central processing unit is processed corresponding data packet format accordingly according to time slicing principle, when described equipment is electronic tag, described central processing unit receives the Transaction Information of described electronic tag, and export described Transaction Information by video output module and/or audio frequency output module, described video output module is connected and becomes one with described central processing unit signal respectively with described audio frequency output module; Described equipment is GPS locating module, and described central processing unit receives the positional information of described GPS locating module, exports described positional information by described video output module and described audio frequency output module; Described equipment is wireless communication module, and described central processing unit sends described Transaction Information or described positional information by described wireless communication module, and/or described central processing unit receives the network information by described wireless communication module.
According to the application's second aspect, the application provides a kind of car-mounted terminal, comprising: the central processing unit, electronic tag and the wireless communication module that are integrated in one; Described electronic tag is connected with described central processing unit signal respectively with described wireless communication module; Described electronic tag comprise be connected with described central processing unit signal as one or more in lower module: 5.8GHz wireless module, IC-card interactive module, Anti-dismantling module; Described 5.8GHz wireless module is for realizing the radio communication that meets dedicated short-range communication, described IC-card interactive module is for realizing the data circulation between two interface C PU cards and described central processing unit, whether described Anti-dismantling module is used for monitoring described electronic tag is illegally dismantled, and described Anti-dismantling module adopts 2.4GHz communication protocol to realize; Described wireless communication module is for sending and receiving information by mobile radio network.
Further, described car-mounted terminal also comprises the GPS locating module for receiving position information, and described GPS locating module is connected with described central processing unit signal.
Further, described car-mounted terminal also comprises following at least one that is connected with described central processing unit signal: output module, USB interface, video input interface, memory module; Described output module comprises video output module and/or audio frequency output module, and described video output module comprises LCDs and/or touch LCD screen; Described audio frequency output module comprises earphone socket and/or loudspeaker; Described video input interface comprises multimedia card slot; Described memory module comprises onboard flash memory storer and/or DDR internal memory.
According to the application's the third aspect, the application provides a kind of back-stage management server, comprising: background communication module and upgrading module; Described upgrading module is for the upgrade file of recorded electronic label; Described background communication module is used for carrying out radio communication with car-mounted terminal, and the upgrade file recording in described upgrading module is sent to described car-mounted terminal.
Further, described back-stage management server also comprises following at least one: transaction modules, GPS module and enquiry module, described transaction modules is for calculating and/or the Transaction Information of recorded electronic label, described GPS module is for the positional information of registration of vehicle, and described enquiry module is used for inquiring about described Transaction Information and/or described positional information.
According to the application's fourth aspect, the application provides a kind of long-distance management system of car-mounted terminal, comprise: back-stage management server as above and at least one car-mounted terminal as above, described car-mounted terminal is undertaken alternately by described wireless communication module and described back-stage management server, and/or described car-mounted terminal is undertaken by the wireless communication module of described correspondence to each other alternately.
According to the application's the 5th aspect, the application provides a kind of method for remote management of car-mounted terminal, comprising: back-stage management server as above and at least one car-mounted terminal as above are undertaken by described wireless communication module alternately.
Further, described car-mounted terminal comprises alternately by described wireless communication module and back-stage management server: the electronic tag of described car-mounted terminal sends upgrade request by described wireless communication module to described back-stage management server, and/or described electronic tag receives by described wireless communication module the upgrading order that described back-stage management server is sent; Described electronic tag is downloaded corresponding upgrade file by described wireless communication module; Described electronic tag sends transaction request by described wireless communication module to described back-stage management server, and carries out transaction processing according to described back-stage management service area feedack; The GPS locating module of described car-mounted terminal sends the positional information of vehicle to back-stage management server by described wireless communication module, described back-stage management server is carried out vehicle monitoring and management according to described positional information to the vehicle that described car-mounted terminal is installed.
Further, described car-mounted terminal is multiple car-mounted terminals, between described multiple car-mounted terminals, is undertaken alternately by wireless communication module separately.
The application's beneficial effect is: central processing unit and each integration of equipments one, each equipment works alone, and completes data processing by central processing unit cooperation, has solved cooperatively interact under the same system problem of collaborative work of each equipment.
Embodiment
By reference to the accompanying drawings the application is described in further detail below by embodiment.
Embodiment 1
Be illustrated in figure 1 the structural representation of the car-mounted terminal of a kind of embodiment of the application, comprise: the central processing unit 101, electronic tag 102 and the wireless communication module 104 that are integrated in one, electronic tag 102 is connected with central processing unit 101 signals respectively with wireless communication module 104.Central processing unit 101 comprises control module, logical block and storage unit three parts from function, and this three part interacts to analyze, judgement, computing control each equipment coordination work being attached thereto.Electronic tag 102 is for carrying out mutual to realize the transaction of electric non-stop toll with the roadside unit that is arranged on charge station side, or be to carry out transaction processing by wireless communication module and back-stage management server, in addition, electronic tag also can be realized mutual with central processing unit 101, Transaction Information is passed to central processing unit 101 by electronic tag, passes to user by central processing unit 101 by output module 105 in the mode of sound and/or image.Electronic tag comprise be connected with described central processing unit signal as one or more in lower module: 5.8GHz wireless module, IC-card interactive module, Anti-dismantling module.In a kind of specific implementation, electronic tag comprises 5.8GHz wireless module, IC-card interactive module and Anti-dismantling module.5.8GHz wireless module is by being connected with central processing unit with external interrupt interface as synchronous serial interface, for realizing the short-distance wireless communication that meets CNS DSRC agreement and decode-regulating and the encoding and decoding that realize communication data, IC-card interactive module is connected with central processing unit by general purpose I/O port, for realizing as the data circulation between two interface C PU cards and central processing unit, Anti-dismantling module is connected with central processing unit signal, whether illegally dismantled for detection of electronic tag, in a kind of realization, Anti-dismantling module realizes based on 2.4GHz communication protocol, specifically can be with reference to conventional correlation technique, be not described further.Wireless communication module 104 is for sending and receiving information by mobile radio network, and wireless communication module comprises gsm module or GPRS module or 3G module.Output module 105 comprises video output module and/or audio frequency output module, wherein, video output module comprises LCDs or touch LCD screen, audio frequency output module comprises earphone socket and/or loudspeaker, and central processing unit 101 offers user by output module in the mode of sound and/or image by the network information of the Transaction Information of electronic tag and/or wireless communication module.In a kind of realization, video output module can be TFT liquid crystal display systems, can under the operation of main control module, show relevant information, resolution can be 800*400, the various information such as energy display image data, touch-screen in addition, various operations can complete by touch control operation.
Another kind of embodiment still as shown in Figure 1, car-mounted terminal also comprises the GPS locating module 103 being connected with central processing unit 101 signals, for receiving position information, conventionally way is that GPS locating module arrives by the selected satellite to be measured of certain satellite cutoff angle by antenna trapping, and follow the tracks of the operation of these satellites, when the receiver acquisition of GPS locating module arrives after the satellite-signal of following the tracks of, just can measure receiving antenna to the pseudo-distance of satellite and the rate of change of distance, demodulate the data such as satellite orbit parameter, and according to these data, the microprocessor of GPS locating module just can position calculating by positioning calculation method, calculate the longitude and latitude of user geographic location, highly, speed, the information such as time.Central processing unit 101 is also for the positional information of GPS locating module is offered to user by output module in the mode of sound and/or image, or central processing unit 101 sends to back-stage management server by the positional information of GPS locating module by wireless communication module 104.
In another embodiment, car-mounted terminal also can comprise following at least one that is connected with central processing unit signal: USB interface, video input interface, memory module; Wherein video input interface comprises multimedia card slot, and memory module comprises onboard flash memory storer and/or DDR internal memory.Be appreciated that car-mounted terminal also can comprise the power module being connected with central authorities and processor, be used to car-mounted terminal power supply.
Based on above-mentioned car-mounted terminal, a kind of embodiment of the application also provides the implementation method of car-mounted terminal interconnected, comprising:
Determine the data packet format of the data of transmitting between the central processing unit of car-mounted terminal and each equipment of the inside of car-mounted terminal, each equipment is connected and is integrated in one with central processing unit signal respectively, comprise electronic tag and wireless communication module, data packet format comprises the data layout of charge data that electronic tag is received and order, the data layout of information that wireless communication module sending and receiving arrives;
Electronic tag and wireless communication module are worked independently of each other, or electronic tag and wireless communication module carry out alternately via central processing unit;
In the time there is data transmission between each equipment and central processing unit, central processing unit is processed accordingly according to corresponding data packet format.
For the electronic tag being connected with central processing unit (OBU), OBU can work alone as conventional OBU, be illustrated in figure 2 the processing schematic diagram between inner structure and the appellative function of OBU, wherein, the microprocessor of OBU comprises universal input output (GPIO, General Purpose Input Output) interface, AD interface, UART(Universal Asynchronous Receiver/Transmitter, universal asynchronous reception/transmission) interface, I2C(Inter-Integrated Circuit) bus and Serial Peripheral Interface (SPI) (SPI, Serial Peripheral Interface) etc., GPIO interface is for being connected with LED or hummer (Buzzer), AD interface detects for supply voltage, UART interface adopts UART to drive, and is realized upper layer software (applications) control and realized production test etc. by testing software communication protocol by upper layer software (applications) communication protocol, I2C bus adopts I2C to drive, and realizes ETC transaction by ETC communication protocol, SPI interface adopts SPI to drive, and is realized IC-card consumption and is supplemented with money, and realize the control of dismounting/tamper by 2.4GHz communication protocol by TimeCos command protocols.The inner structure relating in OBU and relevant work agreement thereof can be achieved with reference to conventional OBU, are not described further at this.OBU also can and central processing unit between carry out mutual, for example central processing unit receives the Transaction Information of OBU, Transaction Information can be following any one or its combination: charge station's title, toll amount, chargeable time, remaining sum, by video output module and/or audio frequency output module output Transaction Information; Or OBU also can carry out alternately via central processing unit and miscellaneous equipment, for example central processing unit receives the Transaction Information of OBU, and by wireless communication module, Transaction Information is sent.
As above-mentioned, the work of OBU at least comprises: OBU Transaction Information as shown in Figure 3 receives flow process, the flow process of passing through central processing unit and wireless communication module and receive TCP network communication data as shown in Figure 4, and business execution flow process as shown in Figure 5 etc.As shown in Figure 3, the related communication module that OBU calls OBU receives ETC Transaction Information, in the time receiving data, recalls information call back function deal with data, OBU communication module and information call back function can be achieved by the conventional related function or the function that relate in OBU.As shown in Figure 4, central processing unit by wireless communication module as 3G communication module receive the network information, receive after active block packet, by Packet Generation to OBU.As shown in Figure 5, OBU also can send business operation with TCP connected mode to server by wireless communication module via central processing unit, and from TCP receiving queue data fetch packet, if being business, this packet replys class data, OBU analyzes and judges business result, if this packet is business operation class data, call OBU communication module and carry out dependent instruction as the operation of Guangdong logical card instruction finishing service, then business operation result is sent by wireless communication module via central processing unit.
For the GPS locating module being connected with central processing unit, GPS locating module can work alone as conventional GPS, and the work of GPS locating module at least comprises that GPS locating module as shown in Figure 6 receives the schematic flow sheet of the GPS locating module deal with data shown in schematic flow sheet and Fig. 7 of data.In Fig. 6, GPS locating module log-on data receiving thread receives data, receives call back function deal with data receiving to call after data, and receiving call back function can be achieved by the related function relating in conventional GPS; In Fig. 7, GPS locating module creation module object, arranges data receiver call back function, then opens serial ports, sends data in the time there are data, if there is no data, closes serial ports.GPS locating module also can and central processing unit between carry out alternately, for example central processing unit receives the positional information of GPS locating module, by video output module and/or audio frequency output module output position information; Or GPS locating module also can carry out alternately via central processing unit and miscellaneous equipment, for example central processing unit receives the positional information of GPS locating module, and by wireless communication module, positional information is sent.
For the wireless communication module being connected with central processing unit, wireless communication module can work alone as conventional wireless communication module as gsm module or GPRS module or 3G module, and the work of wireless communication module at least comprises: data downstream logical schematic as shown in Figure 8 and data uplink logical schematic as shown in Figure 9.In Fig. 8, wireless communication module is realized descending function by the AT instruction of calling 3G module and supporting, for example receive 3G data by 3G module, if the 3G data that receive are tcp datas, wireless communication module calls tcp data and receives call back function and process; If TCP connection closed signal, wireless communication module calls TCP and closes call back function and process; If 3G data, wireless communication module calls 3G data receiver call back function; If AT repeat-back, AT repeat-back is cached to reception buffer zone by wireless communication module.In Fig. 9, wireless communication module is as 3G module creation module object, data receiver call back function is set, open serial ports and connect 3G module, if there is no upstream data is closed serial ports, if the data of existence, can connect 3G network sets up TCP with Network Services Center and is connected to receive and dispatch TCP network data, thereby or disconnect TCP and connect and disconnect 3G network, in addition, can also call, receive the 3G such as note operation.
If the equipment being connected with central processing unit is OBU, GPS locating module and wireless communication module, central processing unit is processed according to time slicing principle accordingly according to the corresponding data packet format of each equipment of communication with it, according to the difference of data layout in every kind of corresponding packet of equipment, for example be added with different data heads and data tail, make the corresponding time and adjust.Specifically can be achieved with reference to the aforementioned processing for this equipment when the processing when to each equipment, not repeat at this.
Be the internal control constitutional diagram of the car-mounted terminal of a kind of embodiment of the application as shown in figure 10, the embodiment of the present application adopts OBU, GPS navigation system, 3G/2G mobile communication system is combined, and serves easily for car owner provides one by various ways such as voice, liquid crystal display and background services.Wherein each equipment is according to certain mechanism, interconnect, coordinated, jointly complete from waking up to data acquisition to finishing man-machine interaction etc., realize the function that can not complete at present in ETC Fare Collection System, and when through ETC charge station, ETC receives the information common completion system charge with it of RSU, now GPS locating module and wireless communication module still can work independently.In a kind of realization, MPV (Multi-Purpose Vehicle) mounted terminal can complete these several operations by time slicing principle within 300 milliseconds that complete transaction simultaneously, comprise reception short message or phone, GPS reception, ETC transaction etc., central processing unit is divided into the modules processing time small pieces of 50 milliseconds, periodic duty in turn.
In the embodiment of the present application, according to the difference response demand of each equipment, can make the corresponding time adjusts, in the time completing certain equipment part data, also can receive the data of other equipment, and data are according to the difference of every kind of equipment, be added with different data heads and data tail, that is to say it is the time slicing techniques of time slicing and agreement being located to a kind of complexity that both combine, in addition which kind of equipment priority processing the time slicing adopting, can also decide according to the urgency level of each equipment and size of data.
Embodiment 2
As shown in figure 11, the long-distance management system 20 of the car-mounted terminal of a kind of embodiment comprises: back-stage management server 201 and several car-mounted terminals 211(are illustrated as car-mounted terminal 1, car-mounted terminal 2 ... car-mounted terminal n, n is more than or equal to 1 integer).The car-mounted terminal of the car-mounted terminal 211 here for mentioning in embodiment 1, concrete function and realization do not repeat at this.In a kind of example, each car-mounted terminal 211 is by wireless communication module and back-stage management server are carried out alternately separately; In another example, each car-mounted terminal is undertaken by wireless communication module separately to each other alternately.
In a kind of embodiment, for back-stage management server 201, it comprises: background communication module and upgrading module; Upgrading module is for recording the upgrade file of OBU; Background communication module is used for carrying out radio communication with car-mounted terminal, and the upgrade file recording in upgrading module is sent to car-mounted terminal.
In another embodiment, back-stage management server also comprises following at least one: transaction modules, GPS module and enquiry module, wherein, transaction modules is for calculating and/or record the Transaction Information of OBU, GPS module is for the positional information of registration of vehicle, and enquiry module is used for inquiring about Transaction Information and/or positional information.
Based on above-mentioned car-mounted terminal long-distance management system, the application a kind of embodiment also provide corresponding car-mounted terminal method for remote management, comprise: back-stage management server and at least one car-mounted terminal are undertaken alternately by described wireless communication module, in addition, when car-mounted terminal is multiple car-mounted terminals, between these multiple car-mounted terminals, undertaken alternately by wireless communication module separately.
Illustrate car-mounted terminal and long-distance management system and method by several application examples below.
Application example 1:
In OBU use procedure, as intelligent transportation industry has new standard, or there is new function to need to improve.Need to upgrade to the software of OBU.Electronic tag OBU in this car-mounted terminal long-distance management system, receives by wireless communication module the upgrading order that server sends, and OBU is carried out to mandatory upgrade.Download upgrade file through wireless communication module from server, be saved in storage chip.BOOTLOADER program by OBU reads upgrade file from storage chip, and electronic labelling system is upgraded.As the user of In Guangzhou Area need to be upgraded to support GB from terrestrial reference, only need in server background management software, send the order of mandatory upgrade region.Support GB as the OBU equipment of the In Guangdong Province of need to upgrading, send upgrading code corresponding to In Guangdong Province, can carry out remote upgrade to the OBU of In Guangdong Province, make it support GB.And other areas are unaffected.Also can manually be carried out by user the upgrading of program, OBU sends upgrade request, by wireless communication module, through the checking of server background management software, downloads corresponding upgrade file, is saved in storage chip.BOOTLOADER program by OBU reads upgrade file from storage chip, and electronic labelling system is upgraded.
Application example 2:
On OBU, realize more function, as obtaining of vehicle-state, the report of weather forecast, traffic information.In system, by the GPS module on OBU, obtain user position information, then by wireless communication module, positional information is passed to server, server background management software, according to these positional informations, obtains OBU user region.Segment customer demand according to region.As the weather forecast in somewhere, the traffic information of certain highway.The system management software passes back to application message relevant this region in terminal, is presented on the LCD of electronic tag.Electronic tag (OBU) can also carry out point-to-point communication with another one electronic tag (OBU), realizes the networking of car to car.
Application example 3:
The main use scenes of OBU is in no-stop charging system, needs the support of RSU.And RSU only on high speed work road or some fixing ground have just now installation.Greatly limit the use scenes of electronic tag.And in the each embodiment of the application, electronic tag brings more wide market application.No matter be in parking lot, road limit, or can pay by mails in the place that there is no RSU.In the place that has RSU antenna, by 5.8GHz communication module, consumption card is carried out to electronics and deduct fees.In the place that there is no RSU, be connected to server background management software by wireless communication module, consumption card is deducted fees.The present invention supports that the scope of non-parking charge is more extensive, as Parking Fee auto deduction, and curb parking auto deduction.In native system, electronic tag reads radio-frequency card (consumption card) information by the card reading module of built-in RFID, after information is encrypted, passes in server background management software and processes.Server background management software, processes the information of submitting to, and according to use scenes, consumption card is withholdd, and supplements operation with money.
Application example 4:
OBU realizes monitoring in real time and management by wireless communication module and server background manage software to vehicle.
Obtain the information of vehicle by OBU.Obtain the positional information of vehicle by the GPS module of OBU, through wireless communication module connection server daemon software, the server background software that these information are uploaded.In background system management software, concentrate the vehicle to the application's car-mounted terminal is installed to carry out monitoring, know as need the record that travels recently that OBU car plate Guangdong AXXXX is installed, in server background management software, input Guangdong No. AXXXX, the input inquiry time period.Can check the record that travels recently of Guangdong AXXXX.Can, by the 3G/GSM wireless communication module on OBU, vehicle be monitored and be talked with, realize monitoring and the management of vehicle.
In the embodiment of the present application, the OBU information of obtaining can be real-time by wireless network long-distance management system, that do not limit distance limit, effectively manages OBU.OBU is carried out to the expansion in function, be no longer limited to single function, expand more function by remote wireless network.As information report, traffic, navigation, remote dialogue, OUB program maintenance, obtain OBU state, supplement with money online, payment, information of vehicles etc.Native system possesses wireless communication function by built-in wireless communication module by OBU.Telnet server, with the server intelligent system management that management software is realized OBU afterwards, realizes monitoring and the management of vehicle.The present invention is further expanding electronic label function.
It will be appreciated by those skilled in the art that, in above-mentioned embodiment, all or part of step of the whole bag of tricks can be carried out instruction related hardware by program and completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM (read-only memory), random access memory, disk or CD etc.
Above content is the further description of the application being done in conjunction with concrete embodiment, can not assert that the application's concrete enforcement is confined to these explanations.For the application person of an ordinary skill in the technical field, not departing under the prerequisite of the application's design, can also make some simple deduction or replace.