CN112181457A - Vehicle-mounted platform upgrading method and device and electronic equipment - Google Patents

Vehicle-mounted platform upgrading method and device and electronic equipment Download PDF

Info

Publication number
CN112181457A
CN112181457A CN202011025598.1A CN202011025598A CN112181457A CN 112181457 A CN112181457 A CN 112181457A CN 202011025598 A CN202011025598 A CN 202011025598A CN 112181457 A CN112181457 A CN 112181457A
Authority
CN
China
Prior art keywords
upgrading
mounted platform
information
target vehicle
vehicle
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.)
Pending
Application number
CN202011025598.1A
Other languages
Chinese (zh)
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.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit 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 CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202011025598.1A priority Critical patent/CN112181457A/en
Publication of CN112181457A publication Critical patent/CN112181457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a vehicle-mounted platform upgrading method, a device and electronic equipment, wherein the method comprises the steps of receiving upgrading information; acquiring state information of a target vehicle-mounted platform based on the upgrading information; generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform; sending the upgrading application to a server for the server to generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package. The workload of program upgrading of the train vehicle-mounted platform is greatly reduced, the programming error rate and the waste of human resources are reduced, the program upgrading efficiency of the vehicle-mounted platform is improved, and the whole upgrading process has the advantages of automation and informatization.

Description

Vehicle-mounted platform upgrading method and device and electronic equipment
Technical Field
The invention relates to the technical field of train upgrading, in particular to a method and a device for upgrading a vehicle-mounted platform and electronic equipment.
Background
The current method for upgrading programs of train-mounted platforms mainly relies on field personnel to hand a programming device to program the train-mounted platform of each train, and has the following obvious disadvantages: generally, the number of target vehicles needing to be upgraded on the site is large, the task nodes are urgent, and the dependence on the traditional upgrading method requires very large workload and labor cost. The upgrading process is seriously dependent on field personnel operation, and upgrading error accidents such as version disorder and the like easily occur. When upgrading, field personnel need to go to each train for upgrading, and the efficiency is very low. Upgrading, problem recording, etc. do not have the capability of automation and informatization, and are not beneficial to the full life cycle analysis of products and the product iteration in the future.
Disclosure of Invention
In order to solve the technical problems in the prior art, embodiments of the present invention provide a method and an apparatus for upgrading a vehicle-mounted platform, and an electronic device.
In a first aspect, an embodiment of the present invention provides a method for upgrading a vehicle-mounted platform, which is applied to a client, and includes:
receiving upgrading information;
acquiring state information of a target vehicle-mounted platform based on the upgrading information;
generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform;
sending the upgrading application to a server for the server to generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
Optionally, the upgrade information includes: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform;
the state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, current version information of the upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform;
the upgrade application includes: target vehicle platform ID and upgrade version information.
Optionally, before receiving the upgrade information, the method further includes:
receiving identity information, and sending the identity information to a server for identity verification;
and if the verification is passed, receiving the related upgrading information.
Optionally, before acquiring the state information of the target vehicle-mounted platform based on the upgrade information, the method further includes:
sending the upgrading information to a server for permission examination and approval;
and if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
In a second aspect, an embodiment of the present invention provides a method for upgrading a vehicle-mounted platform, where the method is applied to the vehicle-mounted platform and includes:
receiving an upgrading instruction sent by a server; the upgrading instruction is generated by the server based on an upgrading application; the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform;
and downloading an upgrading package based on the upgrading instruction, and upgrading according to the upgrading package.
In a third aspect, an embodiment of the present invention provides a client, including:
the upgrading information receiving module is used for receiving upgrading information;
the acquisition module is used for acquiring the state information of the target vehicle-mounted platform based on the upgrading information;
the generation module is used for generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform;
the sending module is used for sending the upgrading application to a server so that the server can generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
In a fourth aspect, an embodiment of the present invention provides a vehicle-mounted platform, including:
the upgrading instruction receiving module is used for receiving upgrading instructions sent by the server; the upgrading instruction is generated by the server based on an upgrading application; the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform;
and the upgrading module is used for downloading the upgrading package based on the upgrading instruction and upgrading according to the upgrading package.
In a fifth aspect, an embodiment of the present invention provides a vehicle-mounted platform upgrade system, including a client according to the third aspect and a vehicle-mounted platform according to the fourth aspect, and further including a server, where the server is configured to generate an upgrade instruction based on an upgrade application sent by the client.
In a sixth aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements, when executing the program, the step of upgrading the vehicle-mounted platform according to the first aspect, or implements the step of upgrading the vehicle-mounted platform according to the second aspect.
In a seventh aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the vehicle-mounted platform upgrade method according to the first aspect, or implements the steps of the vehicle-mounted platform upgrade method according to the second aspect.
According to the vehicle-mounted platform upgrading method, the device and the electronic equipment, the upgrading application is generated based on the upgrading information and the state information of the target vehicle-mounted platform, the upgrading application is sent to the server so that the server can generate the upgrading instruction, the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package, and upgrading is performed according to the upgrading package, so that the workload of program upgrading of the train vehicle-mounted platform is greatly reduced, the programming error rate and the waste of human resources are reduced, the program upgrading efficiency of the vehicle-mounted platform is improved, and the whole upgrading process has the advantages of automation and informatization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for upgrading a vehicle-mounted platform applied to a client according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a vehicle-mounted platform upgrading method applied to a vehicle-mounted platform according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an upgrade process of a vehicle-mounted platform according to an embodiment of the present invention;
fig. 4 is a schematic view of an operation flow of an APP program in an upgrade process of a vehicle-mounted platform according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a client according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a vehicle-mounted platform according to an embodiment of the present invention;
FIG. 7 is a hardware architecture diagram of a vehicle platform according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an upgrade system for a vehicle-mounted platform according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The current method for upgrading programs of train-mounted platforms mainly relies on field personnel to hand a programming device to program the train-mounted platform of each train, and the method relies on field personnel operation seriously, so that upgrading error accidents such as version disorder and the like easily occur, and the efficiency is very low.
In contrast, the embodiment of the invention provides a vehicle-mounted platform upgrading method and device and electronic equipment. Fig. 1 is a schematic diagram of an upgrading method applied to a vehicle-mounted platform of a client according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s101: and receiving upgrading information.
Specifically, when an operator receives a task of upgrading a vehicle-mounted platform of a certain subway line, the operator logs in a client, upgrade information is input through the client, and the client receives the upgrade information input by a user.
S102: and acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
Specifically, after receiving the upgrade information input by the operator, the client remotely obtains the state information of the target vehicle-mounted platform based on the upgrade information, so that the operator can conveniently know the current state of the target vehicle-mounted platform.
Optionally, the client sends the upgrade information to the server, the server obtains the state information of the target vehicle-mounted platform according to the upgrade information, and then the state information of the target vehicle-mounted platform is sent to the client.
S103: and generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform.
Specifically, after acquiring the state information of the target vehicle-mounted platform, an operator confirms that the target vehicle-mounted platform can be upgraded, and then applies for upgrading operation based on a client, and the client generates an upgrade application based on the upgrade information input by the user and the state information of the target vehicle-mounted platform acquired based on the upgrade information.
S104: sending the upgrading application to a server for the server to generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
Specifically, the client sends the generated upgrade application to the server so that the server can generate an upgrade instruction, and the upgrade instruction is used for instructing a target vehicle-mounted platform to download an upgrade package and carry out upgrading according to the upgrade package; the server responds to an upgrade application sent by the client, generates an upgrade instruction, sends the upgrade instruction to the target vehicle-mounted platform, the target vehicle-mounted platform responds to the upgrade instruction sent by the server, executes an upgrade package downloading task, carries out integrity verification on the upgrade package after the upgrade package is downloaded, stores the upgrade package in a fixed area after the verification is passed, writes programming information in a signature position of the area, reads the signature information of the programming area by a boot loader of the vehicle-mounted platform, and judges which area the upgrade program in the upgrade package should be started from. It will be appreciated that the upgrade package required for the upgrade is stored in the server prior to this time the upgrade operation is performed.
The method provided by the embodiment of the invention can realize remote upgrade of the vehicle-mounted platform without upgrading the vehicle-mounted platform by an operator on site, thereby reducing the programming error rate and waste of human resources, improving the program upgrading efficiency of the vehicle-mounted platform and realizing automation and informatization of the upgrading process.
Based on any of the above embodiments, the upgrade information includes: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform;
specifically, an operator determines a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, an upgrading change item and upgrading version information of the target vehicle-mounted platform according to a received upgrading task, and inputs the upgrading information into a client. The upgrading range of the target vehicle-mounted platform is a specific upgrading object of the target vehicle-mounted platform; the upgrading change item of the target vehicle-mounted platform is the specific upgrading change content of the upgrading object in the target vehicle-mounted platform by the upgrading operation; the upgrade version information is the version number of the upgrade information. For example, the upgrade task received by the operator is: and when the time is 0 a day, code upgrading is carried out on the main control board cards of all the parked trains in a certain train section. The operator determines that the target vehicle-mounted platform to be upgraded is the vehicle-mounted ATP system of all the parked trains parked in a certain vehicle section according to the upgrading task; the upgrading range of the target vehicle-mounted platform, namely the upgrading range of the vehicle-mounted ATP system, is a master control board card; and the upgrading change item of the target vehicle-mounted platform is the specific upgrading change content of the vehicle-mounted ATP system main control board card upgraded at this time.
The state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform.
Specifically, the client acquires a vehicle number and a line number of a train corresponding to the target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrade range ID of the target vehicle-mounted platform, version information of the upgrade range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform, and connection state information of the target vehicle-mounted platform based on upgrade information input by an operator. The position information of the train corresponding to the target vehicle-mounted platform is a train section corresponding to the train; the running state information of the train corresponding to the target vehicle-mounted platform comprises a running state or a non-running state; the connection state information of the target vehicle-mounted platform comprises connection with the client and the server on line or connection loss with the client and the server.
The upgrade application includes: target vehicle platform ID and upgrade version information.
Specifically, the client generates a target vehicle-mounted platform ID and upgrade version information based on the upgrade information and the state information of the target vehicle-mounted platform.
According to the method provided by the embodiment of the invention, after the client receives the upgrading information input by the operator, the client acquires the state information of the target vehicle-mounted platform, so that the operator can conveniently know the current state of the target vehicle-mounted platform, and an upgrading application is generated based on the upgrading information and the state information of the target vehicle-mounted platform, thereby improving the upgrading reliability.
Based on any of the above embodiments, the step S101: before receiving the upgrade information, the method further comprises the following steps:
receiving identity information, and sending the identity information to a server for identity verification;
specifically, before logging in to the client, the operator needs to perform identity authentication, and the client receives identity information input by the operator and sends the identity information to the server for identity authentication. The identity information may be identity information in various forms, such as physical key information, which is not limited in the embodiment of the present invention.
And if the verification is passed, receiving the related upgrading information.
Specifically, after receiving the identity information sent by the client, the server performs identity authentication on the identity information of the operator, if the authentication is passed, the authentication passed information is returned to the client, and after receiving the authentication passed information, the client allows the operator to log in, so that the operator successfully logs in the client, and can further input upgrade information based on the client; accordingly, if the verification fails, the operator fails to log in the client, and cannot further input the upgrade information based on the client.
The method provided by the embodiment of the invention verifies the identity information of the operator before the remote upgrade, thereby providing guarantee for the safety of the upgrade operation.
Based on any of the above embodiments, the step S102: before acquiring the state information of the target vehicle-mounted platform based on the upgrading information, the method further comprises the following steps:
sending the upgrading information to a server for permission examination and approval;
specifically, the client sends upgrading information input by an operator to the server for permission examination and approval, after the server receives the upgrading information sent by the client, a manager conducts permission examination and approval on the upgrading information based on the server according to the upgrading information, if the examination and approval are passed, the server opens the upgrading operation permission of the target vehicle-mounted platform for the client, the examination and approval passing information is sent to the client, and the client receives the examination and approval passing information and then obtains the upgrading operation permission of the target vehicle-mounted platform; correspondingly, if the approval is not passed, the client side does not have the upgrading operation authority of the target vehicle-mounted platform.
And if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
Specifically, after receiving the approval pass information, the client obtains the upgrade operation permission of the target vehicle-mounted platform, and obtains the state information of the target vehicle-mounted platform based on the upgrade information.
According to the method provided by the embodiment of the invention, before the upgrading operation is carried out by an operator, the authority of the upgrading operation is approved by a manager, so that the safety of the upgrading operation is further guaranteed.
An embodiment of the present invention further provides a vehicle-mounted platform upgrading method applied to a vehicle-mounted platform, and fig. 2 is a schematic flow diagram of the vehicle-mounted platform upgrading method applied to the vehicle-mounted platform provided in the embodiment of the present invention, as shown in fig. 2, the method includes:
s201: receiving an upgrading instruction sent by a server; the upgrading instruction is generated by the server based on an upgrading application; and the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform.
Specifically, when an operator receives a task of upgrading a vehicle-mounted platform of a certain subway line, the operator logs in a client, upgrade information is input through the client, and the client receives the upgrade information input by a user. After receiving the upgrading information input by the operator, the client remotely acquires the state information of the target vehicle-mounted platform based on the upgrading information, so that the operator can conveniently know the current state of the target vehicle-mounted platform. After obtaining the state information of the target vehicle-mounted platform, an operator confirms that the target vehicle-mounted platform can be upgraded, then the application of upgrading operation is carried out based on a client, and the client generates an upgrading application based on upgrading information input by a user and the state information of the target vehicle-mounted platform obtained based on the upgrading information. The client sends the generated upgrading application to the server so that the server can generate an upgrading instruction, the server responds to the upgrading application sent by the client to generate the upgrading instruction, the upgrading instruction is sent to the target vehicle-mounted platform, and the target vehicle-mounted platform receives the upgrading instruction sent by the server.
S202: and downloading an upgrading package based on the upgrading instruction, and upgrading according to the upgrading package.
Specifically, fig. 3 is a schematic flow chart of an upgrading process of a vehicle-mounted platform according to an embodiment of the present invention, and fig. 4 is a schematic flow chart of an operation flow of an APP program in the upgrading process of the vehicle-mounted platform according to the embodiment of the present invention, where as shown in fig. 3-4, a target vehicle-mounted platform responds to an upgrade instruction sent by a server to execute an upgrade package downloading task, and performs integrity check on the upgrade package after the upgrade package is downloaded, stores the upgrade package in a fixed area after the upgrade package passes the check, writes programming information in a signature position of the area, reads the signature information in the programming area by a boot loader of the vehicle-mounted platform, and determines from which area the application program should start.
Based on the above embodiment, the upgrade information includes: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform;
the state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, current version information of the upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform;
the upgrade application includes: target vehicle platform ID and upgrade version information.
Based on the above embodiment, before the client receives the upgrade information, the method further includes:
receiving identity information, and sending the identity information to a server for identity verification;
and if the verification is passed, receiving the related upgrading information.
Based on the embodiment, the client acquires the state information of the target vehicle-mounted platform based on the received upgrading information; further, before the client acquires the state information of the target vehicle-mounted platform based on the received upgrade information, the method further includes:
sending the upgrading information to a server for permission examination and approval;
and if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
The method provided by the embodiment of the invention can realize remote upgrade of the vehicle-mounted platform without upgrading the vehicle-mounted platform by an operator on site, thereby reducing the programming error rate and waste of human resources, improving the program upgrading efficiency of the vehicle-mounted platform and realizing automation and informatization of the upgrading process.
In the traditional upgrading method, the field personnel hand-hold the programming equipment to program the vehicle-mounted platform of each train, so that upgrading records and upgrading problem records are generally manually completed by the field personnel, the recording efficiency is low, and management personnel are inconvenient to inquire.
Therefore, based on the above embodiment, the method further comprises: and uploading the upgraded state information to a server.
Specifically, after the target vehicle-mounted platform is upgraded according to the upgrade package, the upgraded state information is uploaded to the server, and the server generates an upgrade task report for a manager to check based on the identity verification record and the permission approval record of the operator, the upgraded state information uploaded by the target vehicle-mounted platform, and the upgrade information and the upgrade application sent by the client.
The method provided by the embodiment of the invention can realize automatic uploading of the related upgrading information, and is convenient for management personnel to inquire the related upgrading information.
The method of this embodiment is further described below with a specific example.
Taking the task of upgrading a vehicle-mounted ATP system of a certain subway line as an example, the whole process of a remote upgrading scheme is described, and the method mainly comprises the following steps:
an operator receives and upgrades a vehicle-mounted ATP system of a certain subway line, and the specific tasks are as follows: and (3) upgrading codes of the main control board cards of the vehicle-mounted ATP systems of all the parked trains in the train section at 0 time on a certain day.
And step1, identity authentication, namely, the client sends physical key information input by an operator to a server for identity information authentication, and the operator can log in the remote program upgrading system client after the authentication is passed.
step2. application of operating authority: the operation personnel fills in the upgrading information of the upgrading task, which comprises the following steps: the method comprises the steps of obtaining a target vehicle-mounted platform to be upgraded, the upgrading range of the target vehicle-mounted platform, upgrading change items and upgrading version information of the target vehicle-mounted platform and submitting upgrading information operation permission application.
step3. permission approval: the manager approves the application of the operator, confirms the application content, opens the code upgrading operation authority of a target vehicle on a certain line, and the operator can obtain the temporary operation authority for upgrading the target at this time.
step4, acquiring state information of the target vehicle-mounted platform: the method comprises the following steps that an operator acquires state information of a target vehicle-mounted platform through a client, and the method comprises the following steps: the train number and the line number of the train corresponding to the target vehicle-mounted platform, the ID of the target vehicle-mounted platform, the upgrading range ID of the target vehicle-mounted platform, the current version information of the upgrading range of the target vehicle-mounted platform, the position information of the train corresponding to the target vehicle-mounted platform, the running state information of the train corresponding to the target vehicle-mounted platform, the connection state information of the target vehicle-mounted platform and the like.
step5, performing remote upgrade operation: and after the server responds, an upgrading command is issued to the target vehicle-mounted platform according to the operation of the client.
step6, downloading an upgrade package by the target vehicle-mounted platform: and after receiving the remote upgrading instruction, the target vehicle-mounted platform responds to the server, starts to execute the upgrading packet downloading task, and performs integrity verification on the upgrading packet after the downloading is finished. After the verification is passed, the upgrade package is stored in the fixed area, the programming information is written in the signature position of the area, the signature information of the programming area is read by a boot loader of the vehicle-mounted platform, and the area from which the upgrade program in the upgrade package should be started is judged.
step7, the server records the operation process information of the client, the target vehicle-mounted platform uploads the updated state information to the server, and the server generates an update task report based on the identity verification record and the authority approval record of the operator, the updated state information uploaded by the target vehicle-mounted platform and the update information and the update application sent by the client.
The following describes the client provided by the embodiment of the present invention, and the client described below and the above-described vehicle-mounted platform upgrading method applied to the client may be referred to correspondingly.
Based on any of the above embodiments, fig. 5 is a schematic structural diagram of a client provided in the embodiments of the present invention, and as shown in fig. 5, the client includes an upgrade information receiving module 501, an obtaining module 502, a generating module 503, and a sending module 504.
The upgrade information receiving module 501 is configured to receive upgrade information; the obtaining module 502 is configured to obtain state information of the target vehicle-mounted platform based on the upgrade information; the generating module 503 is configured to generate an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform; the sending module 504 is configured to send the upgrade application to a server, so that the server generates an upgrade instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
Optionally, the client adopts a web-side publishing mode, so that access is facilitated.
Based on the above embodiment, the upgrade information includes: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform;
the state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, current version information of the upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform;
the upgrade application includes: target vehicle platform ID and upgrade version information.
Based on the above embodiment, before the upgrade information receiving module 501 receives the upgrade information, the method further includes:
receiving identity information, and sending the identity information to a server for identity verification;
and if the verification is passed, receiving the related upgrading information.
Based on the foregoing embodiment, before the obtaining module 502 obtains the state information of the target vehicle-mounted platform based on the upgrade information, the method further includes:
sending the upgrading information to a server for permission examination and approval;
and if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
Based on the above embodiment, the client further includes:
and the uploading module is used for uploading the upgrading information, the state information of the target vehicle-mounted platform and the upgrading application to the server.
The client provided by the embodiment of the invention mainly completes the functions of login, operation permission application, remote upgrading operation and the like of an operator, can realize remote upgrading of the vehicle-mounted platform, does not need the operator to upgrade on site, reduces the programming error rate and the waste of human resources, improves the program upgrading efficiency of the vehicle-mounted platform, and realizes automation and informatization of the upgrading process.
The client of the embodiment of the present invention may be configured to execute the technical solutions of the foregoing upgrade method embodiments applied to the vehicle-mounted platform of the client, and the implementation principles and technical effects are similar, which are not described herein again.
The following describes the vehicle-mounted platform provided by the embodiment of the invention, and the vehicle-mounted platform described below and the vehicle-mounted platform upgrading method applied to the vehicle-mounted platform described above can be referred to correspondingly.
Based on any of the above embodiments, fig. 6 is a schematic structural diagram of a vehicle-mounted platform provided in an embodiment of the present invention, and as shown in fig. 6, the vehicle-mounted platform includes an upgrade instruction receiving module 601 and an upgrade module 602.
The upgrade instruction receiving module 601 is configured to receive an upgrade instruction sent by a server; the upgrading instruction is generated by the server based on an upgrading application; the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform; the upgrade module 602 is configured to download an upgrade package based on the upgrade instruction, and perform upgrade according to the upgrade package.
Optionally, the vehicle-mounted platform belongs to an upgraded object, fig. 7 is a schematic diagram of a hardware architecture of the vehicle-mounted platform provided in the embodiment of the present invention, and in order to implement a remote online upgrade function, as shown in fig. 7, the vehicle-mounted platform is configured with a test board card, and one function of the test board card is a remote upgrade function. And after the test board card receives the program upgrading instruction from the server, finishing a series of upgrading operations.
Based on the above embodiment, the upgrade information includes: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform; the state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, current version information of the upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform; the upgrade application includes: target vehicle platform ID and upgrade version information.
Based on the above embodiment, before the client receives the upgrade information, the method further includes:
receiving identity information, and sending the identity information to a server for identity verification;
and if the verification is passed, receiving the related upgrading information.
Based on the embodiment, the client acquires the state information of the target vehicle-mounted platform based on the received upgrading information; further, before the client acquires the state information of the target vehicle-mounted platform based on the received upgrade information, the method further includes:
sending the upgrading information to a server for permission examination and approval;
and if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
Based on the above embodiment, the vehicle-mounted platform further includes:
and the state information uploading module is used for uploading the upgraded state information to the server.
The vehicle-mounted platform provided by the embodiment of the invention can respond to the upgrading instruction sent by the server to download the upgrading packet, and upgrade is carried out according to the upgrading packet without an operator going to the site, so that the programming error rate and the waste of human resources are reduced, the program upgrading efficiency of the vehicle-mounted platform is improved, and the automation and the informatization of the upgrading process are realized.
Fig. 8 is a schematic structural diagram of the vehicle-mounted platform upgrading system provided in the embodiment of the present invention, and as shown in fig. 8, the vehicle-mounted platform upgrading system includes a client 801 and a vehicle-mounted platform 803 described in the above embodiments, and further includes a server 802, where the server 802 is configured to generate an upgrading instruction based on an upgrading application sent by the client. The server is mainly used for identity recognition, authority verification, operation approval, operation record, remote end state collection, database deployment and the like of operators.
The vehicle-mounted platform upgrading system provided by the embodiment of the invention can realize remote upgrading of the vehicle-mounted platform, does not need an operator to upgrade on site, reduces the programming error rate and the waste of human resources, improves the program upgrading efficiency of the vehicle-mounted platform, and realizes automation and informatization of the upgrading process.
In the traditional upgrading method, the field personnel hand-hold the programming equipment to program the vehicle-mounted platform of each train, so that upgrading records and upgrading problem records are generally manually completed by the field personnel, the recording efficiency is low, and management personnel are inconvenient to inquire.
Therefore, based on the above embodiment, the server generates the upgrade task report based on the identity verification record and the permission approval record of the operator, the upgraded state information uploaded by the target vehicle-mounted platform, and the upgrade information and the upgrade application sent by the client, so that the administrator can conveniently inquire the relevant information in the upgrade process.
The method provided by the embodiment of the invention can realize automatic uploading of the related upgrading information, and is convenient for management personnel to inquire the related upgrading information.
Fig. 9 illustrates a physical structure diagram of an electronic device, and as shown in fig. 9, the electronic device may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform the embodiments described above to provide an in-vehicle platform upgrade method for a client, or to perform the embodiments described above to provide an in-vehicle platform upgrade method for an in-vehicle platform.
Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the foregoing embodiments to provide a vehicle platform upgrading method for a client, or perform the foregoing embodiments to provide a vehicle platform upgrading method for a vehicle platform.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A vehicle-mounted platform upgrading method is applied to a client side and is characterized by comprising the following steps:
receiving upgrading information;
acquiring state information of a target vehicle-mounted platform based on the upgrading information;
generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform;
sending the upgrading application to a server for the server to generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
2. The vehicle-mounted platform upgrading method according to claim 1, wherein the upgrading information comprises: the method comprises the following steps of (1) obtaining a target vehicle-mounted platform to be upgraded, an upgrading range of the target vehicle-mounted platform, and upgrading change items and upgrading version information of the target vehicle-mounted platform;
the state information of the target vehicle-mounted platform comprises: the system comprises a train number and a line number of a train corresponding to a target vehicle-mounted platform, a target vehicle-mounted platform ID, an upgrading range ID of the target vehicle-mounted platform, current version information of an upgrading range of the target vehicle-mounted platform, current version information of the upgrading range of the target vehicle-mounted platform, position information of the train corresponding to the target vehicle-mounted platform, running state information of the train corresponding to the target vehicle-mounted platform and connection state information of the target vehicle-mounted platform;
the upgrade application includes: target vehicle platform ID and upgrade version information.
3. The vehicle-mounted platform upgrading method according to claim 1 or 2, characterized in that before receiving the upgrading information, the method further comprises:
receiving identity information, and sending the identity information to a server for identity verification;
and if the verification is passed, receiving the related upgrading information.
4. The vehicle-mounted platform upgrading method according to claim 1 or 2, before acquiring the state information of the target vehicle-mounted platform based on the upgrading information, further comprising:
sending the upgrading information to a server for permission examination and approval;
and if the approval is passed, acquiring the state information of the target vehicle-mounted platform based on the upgrading information.
5. A vehicle-mounted platform upgrading method is applied to a vehicle-mounted platform and is characterized by comprising the following steps:
receiving an upgrading instruction sent by a server; the upgrading instruction is generated by the server based on an upgrading application; the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform;
and downloading an upgrading package based on the upgrading instruction, and upgrading according to the upgrading package.
6. A client, comprising:
the upgrading information receiving module is used for receiving upgrading information;
the acquisition module is used for acquiring the state information of the target vehicle-mounted platform based on the upgrading information;
the generation module is used for generating an upgrade application based on the upgrade information and the state information of the target vehicle-mounted platform;
the sending module is used for sending the upgrading application to a server so that the server can generate an upgrading instruction; and the upgrading instruction is used for indicating the target vehicle-mounted platform to download the upgrading package and upgrading according to the upgrading package.
7. A vehicle platform, comprising:
the upgrading instruction receiving module is used for receiving upgrading instructions sent by the server; the upgrading instruction is generated by the server based on an upgrading application; the upgrading application is generated by the client based on the received upgrading information and the acquired state information of the target vehicle-mounted platform;
and the upgrading module is used for downloading the upgrading package based on the upgrading instruction and upgrading according to the upgrading package.
8. An upgrade system for a vehicle platform, comprising the client terminal as claimed in claim 6 and the vehicle platform as claimed in claim 7, further comprising a server, wherein the server is configured to generate an upgrade instruction based on an upgrade application sent by the client terminal.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the vehicle platform upgrade method according to any one of claims 1 to 4 or the steps of the vehicle platform upgrade method according to claim 5.
10. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, performs the steps of the vehicle platform upgrade method according to any one of claims 1 to 4, or performs the steps of the vehicle platform upgrade method according to claim 5.
CN202011025598.1A 2020-09-25 2020-09-25 Vehicle-mounted platform upgrading method and device and electronic equipment Pending CN112181457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011025598.1A CN112181457A (en) 2020-09-25 2020-09-25 Vehicle-mounted platform upgrading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011025598.1A CN112181457A (en) 2020-09-25 2020-09-25 Vehicle-mounted platform upgrading method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112181457A true CN112181457A (en) 2021-01-05

Family

ID=73943964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011025598.1A Pending CN112181457A (en) 2020-09-25 2020-09-25 Vehicle-mounted platform upgrading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112181457A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124701A (en) * 2021-11-05 2022-03-01 交控科技股份有限公司 Remote upgrading method and system for vehicle-mounted equipment
WO2022161285A1 (en) * 2021-02-01 2022-08-04 华为技术有限公司 Method and apparatus for function assistance for vehicle-mounted terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022161285A1 (en) * 2021-02-01 2022-08-04 华为技术有限公司 Method and apparatus for function assistance for vehicle-mounted terminal
CN114124701A (en) * 2021-11-05 2022-03-01 交控科技股份有限公司 Remote upgrading method and system for vehicle-mounted equipment
CN114124701B (en) * 2021-11-05 2024-01-26 交控科技股份有限公司 Remote upgrading method and system for vehicle-mounted equipment

Similar Documents

Publication Publication Date Title
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN102799515B (en) Applied program testing method and device
CN108418787B (en) Method for acquiring enterprise resource planning data, terminal device and medium
DE102016100203A1 (en) Methods and systems for updating vehicle controls
CN111866739B (en) Electronic map real-time transmission method and system suitable for CBTC (communication based train control) system
DE102015203151A1 (en) Silent software updates within a vehicle
CN102340541B (en) System and method for cloud volume production
CN112181457A (en) Vehicle-mounted platform upgrading method and device and electronic equipment
WO2021203604A1 (en) Update test method and apparatus for vehicle component, and computer device and storage medium
CN106897087A (en) Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software
CN105574369A (en) Method, device and system for re-signing application program
CN111475174A (en) Device and method for online writing and configuration of vehicle-mounted gateway
CN111930400A (en) Method, device and equipment for upgrading automatic driving control software and storage medium
CN113010191A (en) Integrated vehicle ECU flashing method and system
CN113608763A (en) Vehicle-mounted OTA upgrading method, device, equipment and operation machine
CN108196861B (en) Data upgrading method and diagnostic equipment thereof
CN117170803A (en) Method for generating signal-creation operating system pipeline, electronic equipment and storage medium
CN115437915A (en) Vehicle-based version testing method and device and electronic equipment
CN117573553A (en) Method, device, equipment and storage medium for debugging automobile machine
CN115442411A (en) Vehicle end management method and vehicle end management system based on terminal internet
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN116483660A (en) Method, device and equipment for acquiring vehicle-end log and readable storage medium
CN115934128A (en) Vehicle data uploading software upgrading method, device, medium, equipment and system
CN111221556A (en) Method and system for remotely upgrading RSU mirror image
CN111885116A (en) Electronic map remote downloading method and system suitable for CBTC (communication based train control) system

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