Movatterモバイル変換


[0]ホーム

URL:


CN114936037B - Clamp implementation method compatible with multi-model railway CIR program upgrading - Google Patents

Clamp implementation method compatible with multi-model railway CIR program upgrading
Download PDF

Info

Publication number
CN114936037B
CN114936037BCN202210855834.5ACN202210855834ACN114936037BCN 114936037 BCN114936037 BCN 114936037BCN 202210855834 ACN202210855834 ACN 202210855834ACN 114936037 BCN114936037 BCN 114936037B
Authority
CN
China
Prior art keywords
upgrading
railway
program
cir equipment
clamp
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.)
Active
Application number
CN202210855834.5A
Other languages
Chinese (zh)
Other versions
CN114936037A (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.)
Tianjin 712 Mobile Communication Co Ltd
Original Assignee
Tianjin 712 Mobile Communication 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 Tianjin 712 Mobile Communication Co LtdfiledCriticalTianjin 712 Mobile Communication Co Ltd
Priority to CN202210855834.5ApriorityCriticalpatent/CN114936037B/en
Publication of CN114936037ApublicationCriticalpatent/CN114936037A/en
Application grantedgrantedCritical
Publication of CN114936037BpublicationCriticalpatent/CN114936037B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a clamp implementation method compatible with multi-model railway CIR program upgrading. The clamp and the upgrading software running on the clamp perform compatibility upgrading on unit programs of various types of railway CIR equipment, and the clamp is connected with the railway CIR equipment through a network cable; the upgrading software comprises a version detection and identification module, a program upgrading module and an integrity verification module which are used for sequentially carrying out data interaction, program files of all units of railway CIR equipment of all types stored in the clamp are automatically identified through a version detection and identification flow, a program upgrading flow and an integrity verification flow, and the program upgrading is carried out after the program files are identified and the integrity verification is carried out after the program upgrading is finished. The invention realizes the compatibility upgrade of unit programs of CIR equipment of various types of railways, simplifies the complex flow of the original upgrade mode, reduces the false rise and false rise probability and the maintenance cost, and realizes the intellectualization and automation of the CIR equipment program upgrade.

Description

Clamp implementation method compatible with multi-model railway CIR program upgrading
Technical Field
The invention relates to unit program upgrading of railway CIR equipment, in particular to a clamp implementation method compatible with multi-model railway CIR program upgrading.
Background
The last two decades that railway CIR equipment has been put into use has passed, over which many models have been derived and still used in railway systems. Release of a new service standard and modification of existing software problems need to be compatible with all models of CIR equipment, so that multiple versions of a modified new program are released to the field, and maintenance personnel need to correspond to the CIR equipment with multiple models by using the programs with multiple versions one by one. Because the field equipment has large quantity of stored field equipment and complex environment, and the upgrading modes of all CIR equipment programs are different, the situations of mistaken upgrading and mistaken upgrading of the programs often occur, and the maintenance cost is increased, a clamp which can be compatible with the upgrading of the programs of the field CIR equipment with various models needs to be developed urgently, so that the operation of maintenance personnel is reduced, and the automatic upgrading is realized.
Disclosure of Invention
In order to solve the problems of wrong upgrading and wrong upgrading of programs of field multi-model CIR equipment, the invention provides a clamp implementation method compatible with multi-model CIR program upgrading, so as to realize the functions of version detection and identification, program upgrading, integrity verification and the like.
The technical scheme adopted by the invention is as follows: a method for realizing a clamp compatible with program upgrading of multi-model railway CIR equipment comprises the following steps: the clamp and the upgrading software running on the clamp perform compatibility upgrading on unit programs of various types of railway CIR equipment, the clamp is provided with standard network port peripheral equipment by using a Linux operating system, and the clamp is connected with the railway CIR equipment through a network cable; the upgrading software comprises a version detection and identification module, a program upgrading module and an integrity verification module which are used for sequentially carrying out data interaction, program files of all units of the railway CIR equipment of all types stored in the clamp are automatically identified through the version detection and identification process, the program upgrading process and the integrity verification process after the program upgrading process is finished.
The version detection identification process performs the following operations:
1-1, copying program files of all units of the railway CIR equipment of all models to different paths of the clamp system, and connecting the railway CIR equipment by using a network cable.
1-2, the version detection and identification module running in the upgrade software on the clamp sends various connection instructions to the railway CIR equipment in sequence and waits for the railway CIR equipment to respond to the instructions.
1-3, the version detection and identification module judges the type of the railway CIR equipment according to a response instruction returned by the railway CIR equipment.
1-4, the version detection and identification module sends a version inquiry request to a railway CIR equipment upgraded unit with a known model.
1-5, the upgraded unit of the railway CIR equipment with the known model returns version information to the version detection and identification module, and the version detection and identification module identifies the identity of the upgraded unit of the railway CIR equipment according to the returned version information.
1-6, the version detection and identification module sends the identity details of the unit to be upgraded of the railway CIR equipment to the program upgrading module through inter-thread communication.
The program upgrading process executes the following operations:
2-1, the program upgrading module indexes the path corresponding to the program file in the clamp system according to the identity details of the upgraded unit of the railway CIR equipment with the known model transmitted by the version detection and identification module.
2-2, reading the upgrading program file into the memory by the program upgrading module.
2-3, the program upgrading module sends an upgrading starting instruction to the upgraded unit of the railway CIR equipment with the known model.
2-4, the program upgrading module sends the upgrading program file to the upgraded unit of the railway CIR equipment with the known model in an FTP or custom mode;
and 2-5, the program upgrading module sends an upgrading completion instruction to the upgraded unit of the railway CIR equipment with the known model.
2-6, the program upgrading module sends an upgrading completion instruction to the integrity checking module through inter-thread communication.
The integrity check flow performs the following operations:
3-1, reading and calculating the md5 value of the indexed upgrading program file in the fixture system by the integrity checking module.
And 3-2, reading and calculating the md5 value of the upgrade program file of the upgraded unit of the railway CIR equipment with the known model by the integrity checking module.
And 3-3, judging whether the md5 value of the upgraded program file indexed in the clamp system is the same as the md5 value of the upgraded program file in the upgraded unit of the railway CIR equipment by the integrity checking module, wherein the same indicates that the upgrade is successful, and the different indicates that the upgrade is failed, and giving a prompt.
The beneficial effects of the invention are: the invention realizes the compatibility upgrade of unit programs of CIR equipment of various types of railways, simplifies the complex flow of the original upgrade mode, reduces the false rise and false rise probability and the maintenance cost, and realizes the intellectualization and automation of the CIR equipment program upgrade.
Drawings
FIG. 1 is a schematic block diagram of the system connection of the present invention;
FIG. 2 is a schematic diagram of a version detection identification process in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a program upgrade process in an embodiment of the invention;
fig. 4 is a schematic diagram of an integrity check process in an embodiment of the invention.
Detailed Description
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
referring to fig. 1, a clamp compatible with program upgrading of multi-model railway CIR equipment and upgrading software running on the clamp perform compatibility upgrading on unit programs of the multi-model railway CIR equipment, the clamp is provided with standard network port peripheral equipment by using a Linux operating system, and the clamp is connected with the railway CIR equipment through a network cable; the upgrading software comprises a version detection and identification module, a program upgrading module and an integrity verification module which are used for sequentially carrying out data interaction, program files of all units of railway CIR equipment of all types stored in the clamp are automatically identified through a version detection and identification flow, a program upgrading flow and an integrity verification flow, and the program upgrading is carried out after the program files are identified and the integrity verification is carried out after the program upgrading is finished.
Referring to fig. 2, the version detection recognition procedure performs the following operations:
1-1, copying program files of all units of the CIR equipment of all types of railways to different paths of a clamp system, and connecting the CIR equipment of the railways by using a network cable.
And 1-2, the version detection and identification module running in the upgrading software on the clamp sequentially sends telnet, ping and ssh connection instructions to the railway CIR equipment and waits for the railway CIR equipment to respond to the instructions.
1-3, in the embodiment, the CIR equipment returns a telnet response instruction, and the version detection and identification module judges that the type of the CIR equipment is V2.0 according to the response instruction of the CIR equipment.
1-4, the version detection and identification module sends a version inquiry request to the upgraded unit of the railway CIRV2.0 equipment.
1-5, in this embodiment, the upgraded unit of the CIR 2.0 equipment of the railway returns Version information to the Version detection and identification module, wherein the Version information is one of Version _ ZK, version _ GPS and Version _ M450, the Version detection and identification module analyzes the Version information "Version _ ZK" according to the returned Version information, and identifies and determines that the upgraded unit of the CIR equipment of the railway is the master control unit of CIRV 2.0.
1-6, the version detection and identification module sends the identified identity details of the CIRV2.0 main control unit to the program upgrading module through inter-thread communication.
Referring to fig. 3, the program upgrade flow performs the following operations:
2-1, the program upgrading module indexes the path of the program file of the corresponding main control unit in the clamp system according to the identity details of the CIRV2.0 main control unit transmitted by the version detection and identification module.
2-2, reading the upgrading program file into the memory by the program upgrading module.
2-3, the program upgrading module sends an upgrading starting instruction to the CIRV2.0 main control unit.
2-4, in this embodiment, the CIRV2.0 main control unit supports FTP mode upgrade, so the program upgrade module sends an FTP connection instruction to the CIRV2.0 main control unit through two system functions of internet open and internet connect, after receiving a successful connection response of the CIRV2.0 main control unit, the program upgrade module sends an upgrade program file to the CIRV2.0 main control unit through the FtpPutFile system function, and after the sending is completed, the program upgrade module sends an FTP disconnection instruction to the CIRV2.0 main control unit through the internet closehandle system function.
2-5, the program upgrading module sends an upgrading completion instruction to the CIRV2.0 main control unit.
And 2-6, the program upgrading module sends an upgrading completion instruction to the integrity checking module through inter-thread communication.
Referring to fig. 4, the integrity check flow performs the following operations:
3-1, reading the indexed upgrading program file in the fixture system to a memory by the integrity checking module and calculating the md5 value of the upgrading program file.
3-2, the integrity check module reads an upgrade program file received by the CIRV2.0 main control unit through the FTP protocol to the memory and calculates the md5 value of the upgrade program file.
3-3, judging whether the md5 value of the upgraded program file indexed in the clamp system is the same as the md5 value of the upgraded program file in the CIRV2.0 main control unit by the integrity checking module, if so, indicating that the upgrade is successful, and if not, indicating that the upgrade is failed, and giving a prompt.
The integrity check module judges whether the md5 values of the two program files are the same, the md5 values are the same, which indicates that the upgrade program file has no lost data in the upgrade sending process, the program file is complete and effective, and an upgrade success prompt is given in the upgrade software; the different md5 values indicate that the program file may lose a data packet in the upgrading transmission process, the program file is incomplete and invalid, and an error prompt is given in the upgrading software.

Claims (1)

1. A clamp implementation method compatible with program upgrading of multi-model railway CIR equipment is characterized by comprising the following steps: the clamp and the upgrading software running on the clamp perform compatibility upgrading on unit programs of the railway CIR equipment of various types, the clamp is provided with standard network port peripheral equipment by using a Linux operating system, and the clamp is connected with the railway CIR equipment through a network cable; the upgrading software is divided into a version detection and identification module, a program upgrading module and an integrity verification module which are sequentially subjected to data interaction, program files of all units of the railway CIR equipment of all types stored in the clamp are automatically identified through a version detection and identification flow, a program upgrading flow and an integrity verification flow, and the program upgrading is carried out after the program upgrading is identified and the integrity verification is carried out after the program upgrading is finished;
CN202210855834.5A2022-07-212022-07-21Clamp implementation method compatible with multi-model railway CIR program upgradingActiveCN114936037B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210855834.5ACN114936037B (en)2022-07-212022-07-21Clamp implementation method compatible with multi-model railway CIR program upgrading

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210855834.5ACN114936037B (en)2022-07-212022-07-21Clamp implementation method compatible with multi-model railway CIR program upgrading

Publications (2)

Publication NumberPublication Date
CN114936037A CN114936037A (en)2022-08-23
CN114936037Btrue CN114936037B (en)2022-12-09

Family

ID=82868527

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210855834.5AActiveCN114936037B (en)2022-07-212022-07-21Clamp implementation method compatible with multi-model railway CIR program upgrading

Country Status (1)

CountryLink
CN (1)CN114936037B (en)

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN100472440C (en)*2005-11-092009-03-25中兴通讯股份有限公司 A method for loading mobile phone hardware driver intelligently
CN101303684B (en)*2007-05-082012-12-05中兴通讯股份有限公司Method for upgrading software edition of a plurality of mobile terminal
CN101198009B (en)*2008-01-032013-11-20中兴通讯股份有限公司Method for upgrading conference television terminal
JP5478986B2 (en)*2009-08-212014-04-23株式会社日立ソリューションズ Information equipment and program
CN101867694A (en)*2010-05-212010-10-20中兴通讯股份有限公司Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)
CN102638825B (en)*2011-02-122015-06-24苏州达联信息科技有限公司Remote firmware loading method for railway track monitoring sensor access multiplexing equipment
CN102255756B (en)*2011-07-212017-11-14中兴通讯股份有限公司A kind of set top box upgrading method and its system
CN103593203B (en)*2012-08-162016-12-21施耐德电器工业公司The programming of programmable logic controller (PLC) and firmware update
CN103984581A (en)*2014-05-302014-08-13乐视致新电子科技(天津)有限公司Firmware upgrading method and device of chip
CN104883271B (en)*2015-04-202018-11-06南车株洲电力机车研究所有限公司A kind of whole train program single-point update method
CN105072398B (en)*2015-08-062018-07-13浙江宇视科技有限公司A kind of device updating method and device
CN107749841B (en)*2017-09-262019-05-17北京北交信控科技有限公司A kind of locomotive CIR equipment GIS database wireless upgrade system and method
CN109901854A (en)*2017-12-082019-06-18镇江荣千软件开发有限公司On-line software updating method
CN110365510A (en)*2018-04-102019-10-22上海仪电(集团)有限公司中央研究院It is a kind of can to network node batch OTA upgrade things-internet gateway and OTA upgrade method
CN109582333A (en)*2018-11-282019-04-05合肥华凌股份有限公司The method of refrigerator software upgrading, medium on refrigerator production line and production line
CN109819286A (en)*2018-12-282019-05-28深圳市金锐显数码科技有限公司Multi-model software synchronization upgrade method, device and terminal device
KR102692889B1 (en)*2019-01-182024-08-08삼성전자주식회사Method for updating firmware, electronic device and storage medium therefor
CN110045972B (en)*2019-03-252022-03-25深圳市友华通信技术有限公司ONU online upgrading method and system
CN110515641A (en)*2019-08-302019-11-29西安易朴通讯技术有限公司The update method of server firmware, apparatus and system
CN111209017B (en)*2019-10-232023-09-22高新兴创联科技股份有限公司GMS-based CIR file remote upgrading method
CN112860283B (en)*2019-11-122024-04-02深圳怡化电脑股份有限公司SP upgrade package self-identification upgrade method and device and computer equipment
CN111294246A (en)*2020-03-092020-06-16天津七一二通信广播股份有限公司CIR equipment remote upgrading system and remote upgrading implementation method
CN111562935B (en)*2020-07-142020-10-27江苏海平面数据科技有限公司OTA security upgrading system and upgrading method thereof
CN114185579B (en)*2020-09-152025-09-19华为终端有限公司Method, device, electronic equipment and readable storage medium for upgrading software
CN113064612A (en)*2021-03-192021-07-02麒盛科技股份有限公司System program upgrading method, system and storage medium for electric bed with communication unit
CN113721953B (en)*2021-08-112024-06-04西安诺瓦星云科技股份有限公司Firmware program upgrading method and device and display control equipment
CN113515298B (en)*2021-09-132021-12-31国网江西省电力有限公司电力科学研究院System and method for upgrading and managing power distribution terminal program
CN114661330B (en)*2022-05-252022-09-09武汉海微科技有限公司Vehicle hardware program updating method, device, equipment and storage medium

Also Published As

Publication numberPublication date
CN114936037A (en)2022-08-23

Similar Documents

PublicationPublication DateTitle
CN113759883A (en)Vehicle diagnosis method, vehicle gateway device, server, and storage medium
US10405361B2 (en)Switching-on method, base station, base station controller, switching-on system and storage medium
CN110912944B (en)CAN equipment safety test system and test method
WO2015058497A1 (en)Method, device, and system for optical fiber link identification
CN106919163A (en)Communication system and the formation gathering method for performing in a communications system
CN115344281A (en) A vehicle OTA upgrade method, system, storage medium and equipment
CN114338270B (en)Data communication method, device, electronic equipment and storage medium
CN114936037B (en)Clamp implementation method compatible with multi-model railway CIR program upgrading
CN118733438A (en) Vehicle parts testing method, electronic equipment, storage medium and program product
CN117640720A (en)Remote diagnosis channel creation method, vehicle connector and remote diagnosis system
CN115168219A (en)Vehicle information safety testing method and device and storage medium
CN114240651A (en)Cross-chain transaction sending method, device, equipment and storage medium
CN111447231B (en)Vehicle protocol identification method and device
CN114157350B (en)Optical fiber misconnection detection method and system
CN117930624A (en)Dual-controller communication control method, dual-controller communication control device, storage medium and processor
CN114980203B (en) A method for upgrading multiple controllers based on OTA technology
US10310840B2 (en)Computer system, method of managing transmission of software with computer system, program therefor, and recording medium
CN111314805B (en)Debugging method and device for intercommunication OMCI (OMCI) messages of GPON (gigabit passive optical network) system
CN105959393A (en)Automatic card production method and device
CN114576828A (en)Communication management method, branching box, multi-split air conditioning system and storage medium
CN118900238B (en) Method and system for checking consistency of cross-device link aggregation group configuration
US12057965B2 (en)Data communication method and apparatus, electronic device, and storage medium
CN118605914A (en) Firmware upgrade method, device, computer equipment and readable storage medium
CN119473367A (en) Data updating method, system, device, medium and program product
CN111984438B (en)Message transmission method, message transmission device and message transmission system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address

Address after:300456 room 506-11, building 1, Rongsheng Plaza, Binhai Zhongguancun Science Park, economic and Technological Development Zone, Binhai New Area, Tianjin

Patentee after:Tianjin 712 Mobile Communication Co.,Ltd.

Country or region after:China

Address before:300456 room 506-11, building 1, Rongsheng Plaza, Binhai Zhongguancun Science Park, economic and Technological Development Zone, Binhai New Area, Tianjin

Patentee before:TIANJIN 712 MOBILE COMMUNICATIONS Co.,Ltd.

Country or region before:China

CP03Change of name, title or address

[8]ページ先頭

©2009-2025 Movatter.jp