CN110149344A - Instrument docks remote configuration system - Google Patents

Instrument docks remote configuration system Download PDF

Info

Publication number
CN110149344A
CN110149344A CN201910491427.9A CN201910491427A CN110149344A CN 110149344 A CN110149344 A CN 110149344A CN 201910491427 A CN201910491427 A CN 201910491427A CN 110149344 A CN110149344 A CN 110149344A
Authority
CN
China
Prior art keywords
vehicle
instrument
mounted machine
protocol converter
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910491427.9A
Other languages
Chinese (zh)
Other versions
CN110149344B (en
Inventor
郭建国
关宏图
沃睿峰
邢立军
任海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd filed Critical ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd
Priority to CN201910491427.9A priority Critical patent/CN110149344B/en
Publication of CN110149344A publication Critical patent/CN110149344A/en
Application granted granted Critical
Publication of CN110149344B publication Critical patent/CN110149344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a kind of instrument to dock remote configuration system, including headend equipment and server platform, headend equipment include vehicle-mounted machine, TM2252 and instrument system.Server platform is responsible for issuing meter configuration file and instrument message data that receiving front-end vehicle-mounted machine reports and parses storage, and is shown processing in the platform page based on database.Vehicle-mounted machine is responsible for downloading meter configuration file and is handed down to TM2252, and downlink transparent transmission sends backstage and is forwarded to background server to message datas such as the inquiry controls of TM2252, and by the instrument message data that TM2252 parsing is packaged.Instrument docking remote configuration system overall goal of the present invention is the highly integrated management system of browser/server (B/S) structure based on windows platform.An information management system and solution efficiently, intelligent is established for public transportation enterprise.

Description

Instrument docks remote configuration system
Technical field
The invention belongs to public transit vehicle instrument arrangement equipment technical fields, and in particular to a kind of instrument docking Remote configuration system System.
Background technique
Public transport user purchased vehicle in recent years and proposes using intelligent scheduling terminal acquisition vehicle meter bus data and upload The demand of intelligent scheduling platform, currently used hardware connection scheme mainly use protocol converter to do intermediate acquisition devices company Connect vehicle CAN bus and vehicle dispatching terminal.For different market different manufacturers even disparity items, the original machine of protocol converter System takes customized development, is responsible for being acquired instrument system CAN bus data, parsing, being packaged, upload process.But in view of Different market different instruments producer provide agreement it is multifarious, cause up to now protocol converter version it is numerous, exploitation, survey Examination and maintenance workload are big, and redundancy is many and diverse.
Summary of the invention
To solve the above problems, the present invention takes a set of new instrumented data to acquire, parse and upload mechanism, realize to instrument The remote automation of table configures, and reduces the exploitation maintenance difficulties to later periods such as TM2252.
The present invention solves scheme used by its technical problem: a kind of instrument docking remote configuration system, including front end Equipment and server platform, headend equipment include vehicle-mounted machine, TM2252 and instrument system.
Server platform is responsible for issuing meter configuration file and instrument message data that receiving front-end vehicle-mounted machine reports and is solved Analysis storage, and processing is shown in the platform page based on database.
Vehicle-mounted machine is responsible for downloading meter configuration file and is handed down to TM2252, and downlink transparent transmission sends backstage to TM2252 Inquiry control etc. message datas, and by TM2252 parsing be packaged instrument message data be forwarded to background server.
TM2252 is responsible for storage meter configuration file, and automatically configures filtering analytic message data and whole on this basis Reason is transmitted to vehicle-mounted machine, in addition, the command operations such as inquiry control that response vehicle-mounted machine transparent transmission gets off.
Vehicle-mounted machine need to support meter configuration file by ftp remote upgrade mode and local USB flash disk lead-in mode, store to vehicle Carrier aircraft internal storage.
Background server, which increases, supports that vehicle-mounted machine core board is to background server to the function that meter configuration file is downloaded The meter configuration file downloading request issued responds, and meter configuration file is downloaded to the memory inside vehicle-mounted machine, And file distributing downloading is carried out from trend protocol converter after the download is complete.
Allow vehicle-mounted machine by USB flash disk lead-in mode, meter configuration file is directed into vehicle-mounted machine, and permits after the completion of importing Perhaps protocol converter is downloaded to either manually or by UI interface operation or automatically by meter configuration file distribution.
After receiving meter configuration file, vehicle-mounted machine is needed according to the communication side arranged with protocol converter vehicle-mounted machine Formula the operation such as interacts by vehicle-mounted machine with the request of protocol converter, response, and vehicle-mounted machine simply solves instrument file Analysis, and one by one or a plurality of mode is successively sent to protocol converter.Protocol converter notifies vehicle-mounted machine after the completion of file reception Corresponding downloading result.
Protocol converter needs vehicle-mounted machine to match instrument because itself not supporting file system, and without corresponding external memory Set file and be converted into data flow and be sent to protocol converter, protocol converter by file data analyzed it is regular after storage to master It controls in chip.Main control chip is divided into the area IAP, the area APP, instrument arrangement area and other four parts of configuring area by protocol converter, On the basis of reduced code, enough spaces are reserved to greatest extent to store meter configuration file.
Vehicle-mounted machine need to be completed to be read out the meter configuration file of storage inside, and according to the call format of file, will The data item of reading is required according to communications protocol, is distributed to protocol converter.What protocol converter can be stored with instrument arrangement area Meter configuration file is read out control, and analyzes reading related content, and can further complete to the upper of instrument arrangement information Report, the automated setting of hardware can filter and received can packet parsing are handled etc..
Protocol converter is automatically performed by reading the can id collection relevant information in meter configuration file to high speed can The filter deployment of peripheral hardware is completed identification, screening to the numerous messages of instrument can network from hardware layer and is controlled, reduces external superfluous Remainder is according to the interference to the processing of protocol converter software, the efficiency of lifting system operation.
Protocol converter carries out instrument message to be resolved and field information regular by reading meter configuration file. Protocol converter is after access meter network power-up operation, and program is to the instrument message after the completion of the filtering of can peripheral control unit It is matched, dissection process is carried out to message data item by item according to configuration file id data item after the completion of matching.
Specified message data is buffered in corresponding message queue after the processing of instrument packet parsing by protocol converter. Such as data class and state class data, after reporting interval what is met the requirements, message data will directly be packaged and be uploaded to vehicle-mounted machine. Switching value and alarm class data, then after it changes, by the way of transmitting using fixed interval (1s) or immediately, protocol converter Data packing is uploaded to vehicle-mounted machine.
Protocol converter instrumented data packet class such as state class, data class upload interval with parameter mode storage to inner core In piece flash, backstage and vehicle-mounted machine is supported to upload spacing parameter to the instrumented data report in vehicle-mounted machine by transmitting order to lower levels mode It is inquired and is set, if not setting, protocol converter enables the upload spacing parameter of default.
Protocol converter actively sends the version etc. of the meter configuration file of storage inside after electrifying startup to vehicle-mounted machine Information, vehicle-mounted machine can be shown (if having this demand) in UI after receiving, and this information is pass-through to background server.This Outside, background server and vehicle-mounted machine is supported to send version information querying command to protocol converter, protocol converter is receiving After querying command, sends the information such as FileVersion and give response.
Beneficial effects of the present invention: instrument docking remote configuration system overall goal of the present invention is based on windows platform Browser/server (B/S) structure highly integrated management system.A height is established for public transportation enterprise The information management system and solution of effect, intelligence.
System is based on high efficiency smart standardization development platform, and component abundant ensure that the efficient of business development, drop Low operation and maintenance threshold, so that user also can oneself maintenance, management even exploitation business.In view of different market different instruments Producer provide agreement it is multifarious, cause up to now protocol converter version it is numerous, exploitation, test and maintenance workload Greatly, and redundancy is many and diverse.To solve the above problems, taking a set of new instrumented data to acquire, parse and upload mechanism, realize to instrument The remote automation of table configures, and reduces the exploitation maintenance workload to later periods such as TM2252.
Detailed description of the invention
Fig. 1 is system structure of the invention block diagram.
Fig. 2 is business process map.
Specific embodiment
Embodiment 1: the agreement provided in view of different market different instruments producer is multifarious, leads to agreement turn up to now Parallel operation version is numerous, and exploitation, test and maintenance workload are big, and the status that redundancy is many and diverse, instrument docking provided in this embodiment Remote configuration system can specify instrument long-distance allocation plan total system constitute and be related to TM2252, vehicle-mounted machine and after Software Coding and debugging work are completed in the exploitation demand of platform server, division and the division of labor of the guiding software engineer to functional module Make, provides certain whole guidance for the software development of whole system.Working environment: software is embedded in TM8713-II vehicle-mounted monitoring Terminal hardware system, applied to the realizations such as net about vehicle monitoring scene in.
Technical term and abbreviation explanation, CAN:Controller Area Network, i.e. controller local area network;TF card: Also known as microSD is a kind of superfine small flash memory cards;4G module: refer to that hardware is loaded into designated frequency band, software support mark Quasi- LTE protocol, a kind of highly integrated modular general designation of module product of software and hardware.USB:Universal Serial Bus The abbreviation of (universal serial bus).
System architecture as shown in Figure 1, vehicle-mounted machine, TM2252 and instrument system are headend equipment, server platform, vehicle-mounted Machine and TM2252 constitute instrument message and automatically configure and parse the total system for reporting processing.
Server platform is responsible for issuing meter configuration file and instrument message data that receiving front-end vehicle-mounted machine reports and is solved Analysis storage, and processing etc. is shown in the platform page based on database.
Vehicle-mounted machine is responsible for downloading meter configuration file and is handed down to TM2252, and downlink transparent transmission sends backstage to TM2252 Inquiry control etc. message datas, and by TM2252 parsing be packaged instrument message data be forwarded to background server.
TM2252 is responsible for storage meter configuration file, and automatically configures filtering analytic message data and whole on this basis Reason is transmitted to vehicle-mounted machine, in addition, the command operations such as inquiry control that response vehicle-mounted machine transparent transmission gets off.
Remote profile format is issued using character type data, since protocol converter does not support file system, therefore is adjusted Degree terminal receives to read file content after file and break into data packet and be issued in protocol converter.
1. configuration file format illustrates: configuration file is by version information, configuration information content starting character (START), configuration Content and configuration information end of text symbol four part (END) composition.
(1) remote profile release format by leading character VER:+ version information+r n form.
(2) remote profile content is started with START, and END terminates.
(3) configuration information content format by leading character+configuration information+' * '+check code+r n form.Wherein ' $ ' starts Sentence is CAN ID configuration information, and it is that data field parses configuration information that ' # ', which starts sentence,.Check code is from leading character to ' * ' Preceding all the elements are cumulative and take low byte.
(4) bus message CAN ID to be collected is configured, is started with " $ ", followed by all message CAN ID for needing to filter, It is separated between CAN ID with ', ', protocol converter is according to this information initializing CAN controller filter value.Have in one configuration file And only a CAN ID configures sentence.
(5) data item to be uploaded is configured, is started with " # " followed by resolution rules, is separated between different attribute item with ', ', every row Configure a data item acquisition resolution rules.
2. data item configuration rule is as follows.
(1) data class: # data item ID, message CAN ID, data items length, initial position, data exist data in messages End position in message uploads sub- message numbering, resolution ratio, offset, unit coefficient * check code.Calculation method: it is defeated to set acquisition Enter for X, uploading output is Y, resolution ratio a, offset b, and unit coefficient (ratio of the unit of the unit and aX of Y) c is calculated Formula is Y=(aX-b) ÷ c.
(2) state class: # data item ID, message CAN ID, data items length, initial position, data exist data in messages End position in message, uploads sub- message numbering, state 1, state 2 ..., state n* check code, the state being not configured be it is empty or FF is filled, the state that tail portion does not configure can be omitted.
(3) switching value: # data item ID, message CAN ID, data items length, initial position, data exist data in messages End position in message uploads sub- message numbering, place message frame number (optional), state corresponding relationship (optional) * check code.
(4) alarm class: # data item ID, message CAN ID, data items length, initial position, data exist data in messages End position in message uploads sub- message numbering, place message frame number * check code.
Embodiment 2: it illustrates on that basis of example 1 to configuration file content.
VER:K8A HUAIBEI 300-V1
START
$ 18FEC117,18FEF100,18F00503,18FC08F4,18FC1221,18FEF612*C1
# 11002,18FEC117,4,4.7,1.0,1,5,0,1*8A
# 13001,18FEF100,1,3.7,2.0,2,0.00390625,0,1*46
# 01001,18F00503,1,4.0,4.7,2,7D,7E,FF,7C,FB*A7
# 14001,18FC08F4,1,6.0,6.7,5,1,0,1*94
# 21008,18FC1221,1,2.0,2.1,3*81
# 21017,18FEF612,1,7.5,7.6,3,1*E3
# 32009,18FEF612,1,2.3,2.4,4,2*DA
# 21007,18FBAA17,1,2.4,2.5,3,,3,0*68
END。
It is explained as follows.
1. 2 Field ID of total kilometrage: 11002, CAN ID:18FEC117, field length: 4bytes, initial position Byte4bit7, end position byte1bit0, affiliated message: 1, resolution ratio: 5m, offset: 0, unit coefficient: 1.
2. speed Field ID: 13001, CAN ID:18FEF100, field length: 1bytes, initial position byte3bit7, End position byte2bit0, affiliated message: 2, resolution ratio: 1/256km/h, offset: 0, unit coefficient: 1.
3. gear state Field ID: 01001, CAN ID:18F00503, field length: 1bytes, initial position Byte4bit0, end position byte4bit7, affiliated message: 2, gear state is followed successively by neutral gear, forward gear, reverse gear and parking, The undefined filling 0xFF of low or first gear, when processing, skip this state.
4. battery SOC Field ID: 14001, CAN ID:18FC08F4, field length: 1bytes, initial position Byte6bit0, end position byte6bit7, affiliated message: 5, resolution ratio: 1%, offset: 0, unit coefficient: 1.
5. brake pedal Field ID: 21008, CAN ID:18FC1221, field length: 1bytes, initial position Byte2bit0, end position byte2bit1, affiliated message: 3, without frame number, default 00 is OFF, and 01 is ON.
6. Field ID of lighting a fire: 21017, CAN ID:18FEF612, field length: 1bytes, initial position byte7bit5, End position byte7bit6, affiliated message: 3, frame number 1, default 00 is OFF, and 01 is ON.
7. oil pressure alert field ID:32009, CAN ID:18FEF612, field length: 1bytes, initial position Byte2bit3, end position byte2bit4, affiliated message: 4, frame number 2.
8. regarding wide lamp Field ID: 21007, CAN ID:18FBAA17, field length: 1bytes, initial position Byte2bit4, end position byte2bit5, affiliated message: 3, OFF is indicated without frame number, 11, and 00 indicates ON.
Embodiment 3: function is carried out on the basis of 1 instrument of embodiment docks remote configuration system and realizes that process is as follows.
1. meter configuration file makes.
In the way of upper computer software, technical attendant according to instruments protocol document on software interface by choose, The configuration to instrument arrangement item is completed in the operations such as input, click, and after configuration is complete, upper computer software is automatic according to call format Produce corresponding meter configuration file.
2. the downloading of meter configuration file vehicle-mounted machine and storage.
Vehicle-mounted machine need to support meter configuration file by ftp remote upgrade mode and local USB flash disk lead-in mode, store to vehicle Carrier aircraft internal storage.
Background server, which increases, supports that vehicle-mounted machine core board is to background server to the function that meter configuration file is downloaded The meter configuration file downloading request issued responds, and meter configuration file can be downloaded to the storage inside vehicle-mounted machine Device, and file distributing downloading is carried out from trend protocol converter after the download is complete.
Allow vehicle-mounted machine by USB flash disk lead-in mode, meter configuration file is directed into vehicle-mounted machine, and permits after the completion of importing Perhaps protocol converter is downloaded to either manually or by UI interface operation or automatically by meter configuration file distribution.
3. meter configuration file vehicle-mounted machine is read and distribution.
After receiving meter configuration file, vehicle-mounted machine is needed according to the communication side arranged with protocol converter vehicle-mounted machine Formula the operation such as interacts by vehicle-mounted machine with the request of protocol converter, response, and vehicle-mounted machine simply solves instrument file Analysis, and one by one or a plurality of mode is successively sent to protocol converter.Protocol converter notifies vehicle-mounted machine after the completion of file reception Corresponding downloading result.
4. meter configuration file protocol converter stores.
Protocol converter needs vehicle-mounted machine to match instrument because itself not supporting file system, and without corresponding external memory Set file and be converted into data flow and be sent to protocol converter, protocol converter by file data analyzed it is regular after storage to master It controls in chip.Main control chip is divided into the area IAP, the area APP, instrument arrangement area and other four parts of configuring area by protocol converter, On the basis of reduced code, enough spaces are reserved to greatest extent to store meter configuration file.
5. the load of meter configuration file protocol converter is read.
Vehicle-mounted machine need to be completed to be read out the meter configuration file of storage inside, and according to the call format of file, will The data item of reading is required according to communications protocol, is distributed to protocol converter.What protocol converter can be stored with instrument arrangement area Meter configuration file is read out control, and analyzes reading related content, and can further complete to the upper of instrument arrangement information Report, the automated setting of hardware can filter and received can packet parsing are handled etc..
6. instrument can network message hardware filtering.
Protocol converter is automatically performed by reading the can id collection relevant information in meter configuration file to high speed can The filter deployment of peripheral hardware is completed identification, screening to the numerous messages of instrument can network from hardware layer and is controlled, reduces external superfluous Remainder is according to the interference to the processing of protocol converter software, the efficiency of lifting system operation.
7. packet parsing is handled.
Protocol converter carries out instrument message to be resolved and field information regular by reading meter configuration file. Protocol converter is after access meter network power-up operation, and program is to the instrument message after the completion of the filtering of can peripheral control unit It is matched, dissection process is carried out to message data item by item according to configuration file id data item after the completion of matching.
8. instrumented data transmits.
Specified message data is buffered in corresponding message queue after the processing of instrument packet parsing by protocol converter. Such as data class and state class data, after reporting interval what is met the requirements, message data will directly be packaged and be uploaded to vehicle-mounted machine. Switching value and alarm class data, then after it changes, by the way of transmitting using fixed interval (1s) or immediately, protocol converter Data packing is uploaded to vehicle-mounted machine.
9. instrumented data report uploads spacing parameter setting and inquiry.
Protocol converter instrumented data packet class such as state class, data class upload interval with parameter mode storage to inner core In piece flash, backstage and vehicle-mounted machine is supported to upload spacing parameter to the instrumented data report in vehicle-mounted machine by transmitting order to lower levels mode It is inquired and is set, if not setting, protocol converter enables the upload spacing parameter of default.
10. meter configuration file version information is inquired and is reported.
Protocol converter actively sends the version etc. of the meter configuration file of storage inside after electrifying startup to vehicle-mounted machine Information, vehicle-mounted machine can be shown (if having this demand) in UI after receiving, and this information is pass-through to background server.This Outside, background server and vehicle-mounted machine is supported to send version information querying command to protocol converter, protocol converter is receiving After querying command, sends the information such as FileVersion and give response.
Embodiment 4: the carry out mass property design that instrument docks remote configuration system is as follows.
1. reliability design: reliability design from mistake proofing, sentence it is wrong and fault-tolerant three in terms of be designed.
1. mistake proofing, writing and inputting and must strictly regulate to code, either compiling engineer and commissioning engineer, most The compilation tool of whole program and configuration must unify, and the distribution of thread resources must be reasonable, and the configuration of priority must be balanced, prohibit The event for high priority only occur is delayed by and underestimates.
2. sentencing mistake, need to establish wrong output mechanism, either debugging printing or UI such as show at the approach, it is necessary to by program Running error message output.For there is input parameter in function, the parameter for needing to transmit in function carries out legitimacy inspection It looks into, in addition, function needs return value, must return as required.There is operation to need to return operation result, it as a result must can Control.Finally, making sure to keep in mind RAM leakage, that is, the pointer that we often say crosses the border.
3. fault-tolerant, there is mistake in the target of system detection needs, needs certain fault-tolerant processing, such as the key overall situation The storage of variable, can disperse in memory it is discontinuous elsewhere, certain rule such as former radix-minus-one complement, check code can also be passed through Storage, when an error occurs, can restore to evade mistake in time.If the output of switching value is interfered due to outer signals there is mistake Accidentally, it needs real-time monitoring and backs up, and gone to replace the mechanism such as wrong data output with Backup Data.
2. scalability designs.
When application program should ensure that increase in demand or modification, even only hardware is set code change as few as possible Standby adds, and can be achieved with the linear increase of whole system processing capacity, realizes high-throughput and low latency high-performance.In more industry When business is run parallel, it still is able to guarantee that a business does not have apparent delay process, the later period is just able to achieve more new on this basis The increase of business.
3. safety Design.
1. the even automatic detection of software function on module hardware is completed in module self-test.
2. risk is isolated, the conjunction coupling degree between control module, as far as possible lower coupling avoid individual module failure from influencing To the normal operation of its relating module.
3. failure monitoring establishes failure monitoring process, once discovery failure, carries out necessary safeguard protection, such as converse It breaks down, can not hang up, this maskable business of system, and close user right.
4. configuration monitoring, user's input or configuration system parameter, should protect important parameter, forbid to important ginseng Several inputs saves extremely.
4. Maintainable Design.
Software code is write never stiff, and other business functions should be able to flexibly be added;When increasing simultaneously or deleting business not It can influence other business even operation of system;Partial function code should be able to be multiplexed to be used in other modules, but ensuring should be able to be only It is vertical, excessive other things cannot be relied on;Finally, the design of application framework should be able to adapt to the requirement that later period business increases and deletes, It can be carried out under system framework, the design without destroying original system.
5. ease for use designs.
1. providing the programming document for being easy to upper hand, while system help document is provided, such as moves remote EC20 and user hand is provided Volume is to the understanding of operating system and application method etc..
2. specification is write in the programming prompt of mistake and alarm prompt, output error or alarm, prompting.
3. default option wouldn't be with being concerned about, the option suggestion default value of some parameters reminds programming to pay attention to key object.
4. writing for code meets conventional practice, it is not necessary to individual character programming.
6. Design of Compatibility.
System is write using standard C, C++, and it is easy-to-understand to write language;With vehicle-mounted machine and background communication, using new can Id mark and communication command word, vehicle-mounted machine and backstage may be implemented incremental development, compatible programming in the early time, the later period even Self-identifying processing may be implemented;The hardware data stream of external interface follows standard agreement, is used in the peripheral module of standard agreement.
7. portability design.
It is write using standard C, C++, compiling and debugging software, is based on standard, it is versatile.Program code enables independent Modularized design, coupling is low, portable strong.

Claims (10)

1. a kind of instrument docks remote configuration system, including headend equipment and server platform, it is characterised in that: headend equipment packet Vehicle-mounted machine, TM2252 and instrument system are included, server platform is responsible for issuing meter configuration file and receiving front-end vehicle-mounted machine reports Instrument message data and parse storage, and processing in the platform page is shown based on database;Vehicle-mounted machine is responsible for downloading instrument Table configuration file is simultaneously handed down to TM2252, and downlink transparent transmission sends backstage to message datas such as the inquiry controls of TM2252, and will The instrument message data that TM2252 parsing is packaged is forwarded to background server;TM2252 be responsible for store meter configuration file, and Filtering analytic message data are automatically configured on the basis of this and are arranged and are transmitted to vehicle-mounted machine, in addition, under response vehicle-mounted machine transparent transmission The command operations such as the inquiry control come;Vehicle-mounted machine supports meter configuration file to import by ftp remote upgrade mode and local USB flash disk Mode is stored to vehicle-mounted machine internal storage;The function support that background server downloads meter configuration file, vehicle-mounted machine core Plate is responded in the meter configuration file downloading request issued to background server, and meter configuration file is downloaded to vehicle-mounted Memory inside machine, and file distributing downloading is carried out from trend protocol converter after the download is complete;Vehicle-mounted machine is led by USB flash disk Enter mode, meter configuration file is directed into vehicle-mounted machine, and allows after the completion of importing either manually or by UI interface operation or automatic Meter configuration file distribution is downloaded to protocol converter.
2. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: vehicle-mounted machine is matched receiving instrument After setting file, vehicle-mounted machine according to the communication modes arranged with protocol converter, by the request of vehicle-mounted machine and protocol converter and Response interactive operation, vehicle-mounted machine simply parse instrument file, and one by one or a plurality of mode be successively sent to agreement turn Parallel operation;For protocol converter after the completion of file reception, notice vehicle-mounted machine downloads result accordingly.
3. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: vehicle-mounted machine is by meter configuration file It is converted into data flow and is sent to protocol converter, file data is analyzed regular rear storage to main control chip by protocol converter Interior, main control chip is divided into the area IAP, the area APP, instrument arrangement area and other four parts of configuring area by protocol converter.
4. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: instrument of the vehicle-mounted machine to storage inside Table configuration file is read out, and according to the call format of file, the data item of reading is required according to communications protocol, is distributed to Protocol converter;The meter configuration file that protocol converter stores instrument arrangement area is read out control, and analyzes reading phase Hold inside the Pass, further completes to the reporting of instrument arrangement information, to the automated setting of hardware can filter and received The processing of can packet parsing.
5. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter is by reading instrument Can id collection relevant information in table configuration file, is automatically performed the filter deployment to high speed can peripheral hardware, completes from hardware layer Identification and screening control to the numerous messages of instrument can network, reduce what external redundant data handled protocol converter software Interference.
6. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter is by reading instrument Table configuration file carries out instrument message to be resolved and field information regular.
7. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter is in access instrument Network power-up operation after, to can peripheral control unit filtering after the completion of instrument message match, after the completion of matching according to Configuration file id data item carries out dissection process to message data item by item.
8. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter is in instrument message After dissection process, specified message data is buffered in corresponding message queue, after reporting interval what is met the requirements, message number Vehicle-mounted machine is uploaded to according to by direct packing;Switching value and alarm class data, then after it changes, using fixed interval or immediately Data packing is uploaded to vehicle-mounted machine by the mode of transmission, protocol converter.
9. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter instrumented data packet Class uploads interval with parameter mode storage into inside chip flash, and support backstage and vehicle-mounted machine pass through transmitting order to lower levels mode pair Instrumented data report in vehicle-mounted machine uploads spacing parameter and is inquired and set, if not setting, protocol converter enables default Upload spacing parameter.
10. instrument shown according to claim 1 docks remote configuration system, it is characterised in that: protocol converter is opened powering on After dynamic, the version information of the meter configuration file of storage inside is actively sent to vehicle-mounted machine, vehicle-mounted machine can be in UI after receiving It is shown, and this information is pass-through to background server.
CN201910491427.9A 2019-06-06 2019-06-06 Instrument docking remote configuration system Active CN110149344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910491427.9A CN110149344B (en) 2019-06-06 2019-06-06 Instrument docking remote configuration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910491427.9A CN110149344B (en) 2019-06-06 2019-06-06 Instrument docking remote configuration system

Publications (2)

Publication Number Publication Date
CN110149344A true CN110149344A (en) 2019-08-20
CN110149344B CN110149344B (en) 2022-03-22

Family

ID=67590664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910491427.9A Active CN110149344B (en) 2019-06-06 2019-06-06 Instrument docking remote configuration system

Country Status (1)

Country Link
CN (1) CN110149344B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546699A (en) * 2010-12-13 2012-07-04 中国移动通信集团广东有限公司 Data transmission method and device for acquisition terminals
CN102752299A (en) * 2012-06-29 2012-10-24 山东电力集团公司电力科学研究院 Debugging-free composite communication device and method for electric vehicle charging station
CN104883374A (en) * 2014-02-28 2015-09-02 惠州市德赛西威汽车电子有限公司 On-vehicle remote data terminal and processing method thereof
US20170278313A1 (en) * 2016-03-22 2017-09-28 Nermin Maslar Onboard vehicle diagnostic, monitoring, safety, and maintenance system
CN109510759A (en) * 2018-10-22 2019-03-22 智强通达科技(北京)有限公司 A kind of Universal-purpose quick multi-protocol gateway realization system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546699A (en) * 2010-12-13 2012-07-04 中国移动通信集团广东有限公司 Data transmission method and device for acquisition terminals
CN102752299A (en) * 2012-06-29 2012-10-24 山东电力集团公司电力科学研究院 Debugging-free composite communication device and method for electric vehicle charging station
CN104883374A (en) * 2014-02-28 2015-09-02 惠州市德赛西威汽车电子有限公司 On-vehicle remote data terminal and processing method thereof
US20170278313A1 (en) * 2016-03-22 2017-09-28 Nermin Maslar Onboard vehicle diagnostic, monitoring, safety, and maintenance system
CN109510759A (en) * 2018-10-22 2019-03-22 智强通达科技(北京)有限公司 A kind of Universal-purpose quick multi-protocol gateway realization system and method

Also Published As

Publication number Publication date
CN110149344B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US8659447B2 (en) System for scheduling tasks to control the execution of warning procedures on an aircraft
CN103149899B (en) Grain bin intelligent sensor integration terminal
CN103309792B (en) A kind of control method of log information and system
CN110225026A (en) Protocol converter instrument long-distance configuration method
CN103124938B (en) Method and system for upgrading runtime environment of programmable logic controller
CN105359143B (en) DBD database diagnostics interface system
CN103516551B (en) Utilize passive pair of RFID tag to optical fiber physical port intelligent management system
CN100395728C (en) Single board read/writ system and method for information
CN104536746A (en) Software structure based on DLL
CN106371838A (en) Method and system for maintaining software package dependence relationship
CN103227779A (en) Communication control method, system and device for building equipment
CN103902305A (en) Software long-distance loading and solidifying method based on TI DSP
CN112328313B (en) Universal system applied to embedded software
CN103048984A (en) Multi-channel ARINC(aeronautical radio incorporated) 700 bus monitoring device and realizing method thereof
CN104318638B (en) J1939 bus datas logger, element method for arranging and technological process
CN104091187A (en) Embedded data concentrator based on RFID middleware
CN106355116A (en) Bar code reading method and system compatible with multiple ways
CN109507991B (en) Double-shaft servo control platform debugging system and method
CN110149344A (en) Instrument docks remote configuration system
CN1973279A (en) Mutual access method of data and mutual access system of data
CN110389871B (en) Safety computer platform with system integrity confirmation function
CN116541065A (en) Software system construction method, device, equipment and computer readable storage medium
CN109190969B (en) Weighing equipment management and control method and system, weighing equipment management middleware and medium
CN108694048A (en) A kind of implementation method of batch issuing service
CN114785659A (en) Instruction configuration method and device, electronic equipment and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant