CN111158720A - Method, system, medium and equipment for upgrading road test unit (RSU) - Google Patents
Method, system, medium and equipment for upgrading road test unit (RSU) Download PDFInfo
- Publication number
- CN111158720A CN111158720A CN201911370182.0A CN201911370182A CN111158720A CN 111158720 A CN111158720 A CN 111158720A CN 201911370182 A CN201911370182 A CN 201911370182A CN 111158720 A CN111158720 A CN 111158720A
- Authority
- CN
- China
- Prior art keywords
- rsu
- upgrading
- upgrade
- test unit
- wifi hotspot
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an upgrading method, a system, a medium and equipment of a drive test unit (RSU), comprising the following steps: step 1: the RSU configures a known WIFI hotspot; step 2: configuring the PC to transmit known WIFI hot spot information; and step 3: the RSU automatically searches for known WIFI hotspot signals and connects the WIFI hotspot signals; and 4, step 4: setting an upgrade file in a server; and 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; step 6: judging whether the version of the upgrade package is larger than the current version of the RSU; and 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; and 8: and upgrading the mirror image. According to the method, upgrading can be realized only by bringing the computer configured with the wifi transmitting signal to the vicinity of the RSU.
Description
Technical Field
The invention relates to the field of RSU upgrading methods, in particular to an upgrading method, a system, a medium and equipment of a drive test unit RSU.
Background
At present, embedded equipment is generally connected to PC equipment and manually upgraded by manual control. The RSU is a road test unit and is erected on a pole on the highway side, and the assembly and disassembly are difficult. There is a need in the art to solve the problem of how to upgrade RSUs with WiFi reasonably and effectively.
Patent document CN110532735A discloses a firmware upgrade method, including: the user equipment establishes a secure connection with the upgrade server and downloads the firmware upgrade package through the encryption channel to obtain encrypted firmware and a second digital signature; verifying the second digital signature to verify the integrity and/or legitimacy of the encrypted firmware; decrypting the encrypted firmware by using a decryption algorithm to obtain the firmware to be upgraded and a first digital signature; the user equipment writes the firmware to be upgraded into the application logic program unit; the user equipment verifies the first digital signature to verify the integrity and the validity of the firmware to be upgraded. This patent is not well suited for use in the upgrading of a drive test unit RSU.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method, a system, a medium and equipment for upgrading a drive test unit (RSU).
The method for upgrading the drive test unit RSU provided by the invention comprises the following steps: step 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot; step 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information; and step 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information; and 4, step 4: setting upgrading files which are manufactured in advance are put into a server (PC); and 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist; step 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program; and 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and exiting after obtaining the error prompt; and 8: upgrading the mirror image, obtaining the prompt information of successful upgrading, and quitting after successful upgrading
Preferably, the step 1 comprises: step 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
Preferably, the step 2 includes: step 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
Preferably, the method further comprises the following steps: and step 9: the PC hotspot is disconnected.
The invention provides an upgrade system of a drive test unit (RSU), which comprises: module 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot; and (3) module 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information; and a module 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information; and (4) module: setting upgrading files which are manufactured in advance are put into a server (PC); and a module 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist; and a module 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program; and a module 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and exiting after obtaining the error prompt; and a module 8: upgrading the mirror image, obtaining the prompt information of successful upgrading, and quitting after successful upgrading
Preferably, the module 1 comprises: module 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
Preferably, the module 2 comprises: module 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
Preferably, the method further comprises the following steps: and a module 9: the PC hotspot is disconnected.
According to the present invention, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method for upgrading a drive test unit RSU.
The invention provides an upgrade device of a drive test unit (RSU), which comprises: a controller; the controller includes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of upgrading a drive test unit RSU; or the controller comprises an upgrading system of the drive test unit RSU.
Compared with the prior art, the invention has the following beneficial effects:
1. the method provides a simple upgrading mode, can realize upgrading without disassembling and assembling the RSU, and is faster and more convenient than the traditional upgrading mode;
2. according to the method, upgrading can be realized only by bringing the computer configured with the wifi transmitting signal to the vicinity of the RSU.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a schematic view of the structure of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
As shown in fig. 1, the method for upgrading a drive test unit RSU according to the present invention includes: step 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot; step 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information; and step 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information; and 4, step 4: setting upgrading files which are manufactured in advance are put into a server (PC); and 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist; step 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program; and 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and exiting after obtaining the error prompt; and 8: upgrading the mirror image, obtaining the prompt information of successful upgrading, and quitting after successful upgrading
Preferably, the step 1 comprises: step 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
Preferably, the step 2 includes: step 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
Preferably, the method further comprises the following steps: and step 9: the PC hotspot is disconnected.
The invention provides an upgrade system of a drive test unit (RSU), which comprises: module 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot; and (3) module 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information; and a module 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information; and (4) module: setting upgrading files which are manufactured in advance are put into a server (PC); and a module 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist; and a module 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program; and a module 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and exiting after obtaining the error prompt; and a module 8: upgrading the mirror image, obtaining the prompt information of successful upgrading, and quitting after successful upgrading
Preferably, the module 1 comprises: module 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
Preferably, the module 2 comprises: module 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
Preferably, the method further comprises the following steps: and a module 9: the PC hotspot is disconnected.
According to the present invention, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method for upgrading a drive test unit RSU.
The invention provides an upgrade device of a drive test unit (RSU), which comprises: a controller; the controller includes a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of upgrading a drive test unit RSU; or the controller comprises an upgrading system of the drive test unit RSU.
Specifically, in an embodiment, a method for upgrading a drive test unit RSU includes:
step 1: configuring a known WIFI hotspot before the RSU leaves a factory, wherein the user name is as follows: ucit, password: 123.
step 2: configuring the PC into the WIFI hotspot, bringing the PC to the vicinity of the RSU, enabling the RSU to search the WiFi signal of the PC, opening the PC hotspot, and automatically searching connection by the RSU;
and step 3: putting an upgrade file which is made in advance into a server (PC);
and 4, step 4: RSU ping 1.2.3.4, where it is detected whether an upgrade file exists. Transmitting the upgrade package to the RSU by adopting TFTP transmission;
and 5: judging that the version of the upgrade package is larger than the current version of the RSU, and continuing to perform an upgrade program;
step 6: analyzing the upgrade packet header, acquiring information of MD5 in the upgrade packet header, calculating and judging that the value of MD5 is equal to the size of the obtained upgrade packet;
and 7: upgrading the mirror image, and quitting after prompting success;
and 8: and closing the PC hot spot and disconnecting the connection.
The method provides a simple upgrading mode, can realize upgrading without disassembling and assembling the RSU, and is faster and more convenient than the traditional upgrading mode; according to the method, upgrading can be realized only by bringing the computer configured with the wifi transmitting signal to the vicinity of the RSU.
Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units included in the system for realizing various functions can also be regarded as structures in the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.
Claims (10)
1. A method for upgrading a drive test unit (RSU) is characterized by comprising the following steps:
step 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot;
step 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information;
and step 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information;
and 4, step 4: setting an upgrade file in a server;
and 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist;
step 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program;
and 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and acquiring error prompt information;
and 8: and upgrading the mirror image to obtain prompt information of successful upgrading.
2. The method for upgrading the drive test unit (RSU) according to claim 1, wherein the step 1 comprises: step 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
3. The method for upgrading the drive test unit (RSU) according to claim 1, wherein the step 2 comprises:
step 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
4. The method for upgrading the drive test unit RSU according to claim 1, further comprising:
and step 9: the PC hotspot is disconnected.
5. A method for upgrading a drive test unit (RSU) is characterized by comprising the following steps:
step 1: the RSU configures the known WIFI hotspot and acquires configuration information of the known WIFI hotspot;
step 2: according to the known WIFI hotspot configuration information, configuring a PC to transmit a known WIFI hotspot signal, and acquiring configuration PC transmission result information;
and step 3: the RSU automatically searches for known WIFI hotspot signals and connects to obtain RSU automatic search connection result information;
and 4, step 4: setting an upgrade file in a server;
and 5: the RSU pings the PC address, judges whether the set upgrade file exists, if yes, transmits the upgrade package to the RSU local by adopting TFTP transmission; if not, acquiring the prompting information that the upgrade package does not exist;
step 6: and judging whether the version of the upgrade package is larger than the current version of the RSU. If yes, acquiring version information prompt information; if not, continuing to perform the upgrading program;
and 7: analyzing the upgrade packet header, acquiring an MD5 value of the upgrade packet, calculating an MD5 value of the obtained upgrade packet, and judging whether the value is equal to the acquired MD5 value; if yes, continuing upgrading; if not, discarding the current upgrade package, and acquiring error prompt information;
and 8: and upgrading the mirror image to obtain prompt information of successful upgrading.
6. The method for upgrading the drive test unit (RSU) according to claim 1, wherein the step 1 comprises: step 1.1: and configuring a known WIFI hotspot before the RSU leaves a factory, and detecting the connectivity of the WiFi network after the RSU detects that the WiFi is connected.
7. The method for upgrading the drive test unit (RSU) according to claim 1, wherein the step 2 comprises:
step 2.1: and configuring the PC into the WIFI hotspot, and bringing the PC to the vicinity of the RSU, so that the RSU can search the WiFi signal of the PC and open the PC hotspot.
8. The method for upgrading the drive test unit RSU according to claim 1, further comprising:
and step 9: the PC hotspot is disconnected.
9. A computer-readable storage medium storing a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method for upgrading a drive test unit, RSU, according to any of claims 1 to 4.
10. An upgrade apparatus of a drive test unit (RSU), comprising: a controller;
the controller comprises a computer readable storage medium of claim 9 having stored thereon a computer program which, when executed by a processor, implements the steps of the method of upgrading a drive test unit, RSU, of any of claims 1 to 4; alternatively, the controller comprises an upgrade system of a drive test unit, RSU, according to any of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370182.0A CN111158720A (en) | 2019-12-26 | 2019-12-26 | Method, system, medium and equipment for upgrading road test unit (RSU) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911370182.0A CN111158720A (en) | 2019-12-26 | 2019-12-26 | Method, system, medium and equipment for upgrading road test unit (RSU) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111158720A true CN111158720A (en) | 2020-05-15 |
Family
ID=70558444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911370182.0A Pending CN111158720A (en) | 2019-12-26 | 2019-12-26 | Method, system, medium and equipment for upgrading road test unit (RSU) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111158720A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090119657A1 (en) * | 2007-10-24 | 2009-05-07 | Link Ii Charles M | Methods and systems for software upgrades |
CN106066792A (en) * | 2016-05-25 | 2016-11-02 | 桂林电子科技大学 | A kind of software wireless remote debugging based on WiFi updates system and method |
WO2017076109A1 (en) * | 2015-11-04 | 2017-05-11 | 中兴通讯股份有限公司 | Software upgrading method and device |
CN109783122A (en) * | 2019-01-29 | 2019-05-21 | 重庆邮电大学 | A kind of software security upgrade method and system based on V2X roadside device |
-
2019
- 2019-12-26 CN CN201911370182.0A patent/CN111158720A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090119657A1 (en) * | 2007-10-24 | 2009-05-07 | Link Ii Charles M | Methods and systems for software upgrades |
WO2017076109A1 (en) * | 2015-11-04 | 2017-05-11 | 中兴通讯股份有限公司 | Software upgrading method and device |
CN106066792A (en) * | 2016-05-25 | 2016-11-02 | 桂林电子科技大学 | A kind of software wireless remote debugging based on WiFi updates system and method |
CN109783122A (en) * | 2019-01-29 | 2019-05-21 | 重庆邮电大学 | A kind of software security upgrade method and system based on V2X roadside device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9652320B2 (en) | Device validation, distress indication, and remediation | |
KR101600460B1 (en) | System for electric control unit upgrade with security functions and method thereof | |
KR100584448B1 (en) | Remote download method and system of embedded software using the position of binary image | |
CN103685487A (en) | Child node updating method in wireless communication network | |
US8477647B2 (en) | Connection setting apparatus, connection setting method, and computer program product | |
US8458448B2 (en) | Method of installing a wireless network | |
CN105357572A (en) | Set top box built-in wifi automatic upgrade system and method based on integration of three networks | |
WO2011153751A1 (en) | Software upgrading method and apparatus | |
US20170068585A1 (en) | Method and Apparatus for Recovering System Software of Intelligent Terminal | |
CN111726242A (en) | Electronic device and control method thereof | |
CN110688648A (en) | Security chip firmware updating method and device | |
US20230409510A1 (en) | System and method for direct device communication with diagnostics and provisioning | |
WO2022257927A1 (en) | Key burning method and apparatus, electronic device board card, and storage medium | |
CN104991800A (en) | Method, apparatus and system for upgrading firmware of device that is not networked | |
CN105549995B (en) | A kind of audio frequency apparatus upgrade method and device | |
CN114398050A (en) | Charging pile software upgrading method, device, equipment and storage medium | |
CN111158720A (en) | Method, system, medium and equipment for upgrading road test unit (RSU) | |
CN110716732A (en) | Device and method for upgrading automobile instrument UI and firmware program | |
CN105024843A (en) | Cable modem, server and firmware upgrading method | |
CN108810002B (en) | Multi-CA application system and method of security chip | |
CN112559349B (en) | Program running method and running device | |
US10979287B2 (en) | Method and apparatus for receiving a solution when configuration function verification fails in a terminal | |
JP2021511583A (en) | Methods and devices for remotely updating satellite devices | |
CN112925538B (en) | Equipment updating method, system and device | |
US9983969B2 (en) | Interface switch for automatically performing operations in an embedded system and a method thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200515 |
|
RJ01 | Rejection of invention patent application after publication |