Software upgrading method, system, medium and equipment for road side networking equipment
1. A software upgrading method for road side networking equipment is characterized by comprising the following steps:
step 1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range to be upgraded;
step 2: establishing a cloud server and a distributed server, and issuing a device list and an area range to be upgraded to the distributed server;
and step 3: and performing remote software upgrading on the road side networking equipment through the cloud server and the distributed server.
2. The software upgrading method for the roadside networking device according to claim 1, wherein a user logs in an account through a browser, uploads a program file to be updated to the cloud server, and the cloud server distributes the program file to be updated to the distributed servers.
3. The method for upgrading software of the roadside networking device according to claim 1, wherein the cloud server communicates with the browser and the distributed server through a wide area ethernet, and the architecture adopts a B/S architecture or a C/S architecture.
4. The method for upgrading software of the road side networking device according to claim 1, wherein the distributed server communicates and exchanges data with the road side networking device by using an ethernet or an RS485 bus, and if the road side networking device receives a program file to be updated, the program is upgraded.
5. A software upgrading system of road side networking equipment is characterized by comprising:
module M1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range to be upgraded;
module M2: establishing a cloud server and a distributed server, and issuing a device list and an area range to be upgraded to the distributed server;
module M3: and performing remote software upgrading on the road side networking equipment through the cloud server and the distributed server.
6. The software upgrading system of the roadside networking device of claim 5, wherein a user logs in an account through a browser, uploads a program file to be updated to the cloud server, and the cloud server distributes the program file to be updated to the distributed servers.
7. The system for upgrading software of the roadside networking device of claim 5, wherein the cloud server communicates with the browser and the distributed server through a wide area Ethernet, and the architecture adopts a B/S architecture or a C/S architecture.
8. The system for upgrading software of the road side networking device according to claim 5, wherein the distributed server communicates and exchanges data with the road side networking device by using an Ethernet or an RS485 bus, and if the road side networking device receives a program file to be updated, the program is upgraded.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
10. A software upgrading device of road side networking equipment is characterized by comprising: a controller;
the controller comprises a computer readable storage medium of claim 9 storing a computer program which, when executed by a processor, implements the steps of the software upgrade method of a roadside networking device of any one of claims 1 to 4; alternatively, the controller comprises a software upgrade system of a roadside networking device as claimed in any one of claims 5 to 8.
Background
The intelligent equipment software for roadside networking is characterized in that a Hex file or a Bin file is loaded through proprietary burning software, a Jlink tool or other burning tools are connected, and online or offline burning is adopted.
Generally, if the software of the intelligent road side networking equipment is operated on site and needs to be upgraded, a large number of people need to be arranged to the site of the device, the shell of the intelligent road side networking equipment is disassembled, and then the special burning tool and the software are used for sequentially burning programs of the intelligent road side networking equipment.
Patent document CN110850848A (application number: CN201911190409.3) discloses a vehicle internet diagnostic service system, which is characterized by comprising an adapter, a PC diagnostic client and a diagnostic service platform; the vehicle-mounted electronic control unit to be diagnosed is connected with the PC diagnosis client through an adapter, and the PC diagnosis client communicates with the diagnosis service platform through the Internet; the PC diagnosis client side carries out diagnosis and online data writing operation on the vehicle-mounted electric control unit; the PC diagnosis client automatically acquires the information of the whole vehicle and the operation result and uploads the information and the operation result to the diagnosis service platform; the PC diagnosis client downloads the ECU module data flash package from the diagnosis service platform to update the electronic control unit; the diagnosis service platform remotely controls the PC diagnosis client to generate a diagnosis result of the vehicle-mounted electronic control unit.
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 software of road side networking equipment.
The software upgrading method of the road side networking equipment provided by the invention is characterized by comprising the following steps:
step 1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range to be upgraded;
step 2: establishing a cloud server and a distributed server, and issuing a device list and an area range to be upgraded to the distributed server;
and step 3: and performing remote software upgrading on the road side networking equipment through the cloud server and the distributed server.
Preferably, the user logs in the account through the browser, uploads the program file to be updated to the cloud server, and the cloud server distributes the program file to be updated to the distributed server.
Preferably, the cloud server communicates with the browser and the distributed server through a wide area ethernet, and the architecture adopts a B/S architecture or a C/S architecture.
Preferably, the distributed server communicates and exchanges data with the road side networking device by adopting an ethernet or an RS485 bus, and if the road side networking device receives the program file to be updated, the program is upgraded.
The software upgrading system of the road side networking equipment provided by the invention comprises the following components:
module M1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range to be upgraded;
module M2: establishing a cloud server and a distributed server, and issuing a device list and an area range to be upgraded to the distributed server;
module M3: and performing remote software upgrading on the road side networking equipment through the cloud server and the distributed server.
Preferably, the user logs in the account through the browser, uploads the program file to be updated to the cloud server, and the cloud server distributes the program file to be updated to the distributed server.
Preferably, the cloud server communicates with the browser and the distributed server through a wide area ethernet, and the architecture adopts a B/S architecture or a C/S architecture.
Preferably, the distributed server communicates and exchanges data with the road side networking device by adopting an ethernet or an RS485 bus, and if the road side networking device receives the program file to be updated, the program is upgraded.
According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method.
The invention provides a software upgrading device of road side networking equipment, which comprises: a controller;
the controller comprises the computer readable storage medium storing a computer program, and the computer program realizes the software upgrading method of the road side networking equipment when being executed by a processor; or the controller comprises a software upgrading system of the road side networking equipment.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention can reduce the software upgrading cost of the intelligent equipment of the road side networking;
(2) the invention is convenient for the user to select the equipment list to be updated through the browser, and the user can use the equipment list more simply;
(3) the cloud server and the distributed server framework are adopted, the problem of server load balance when the program is high in concurrency is solved, and the distributed server and the road side networking equipment are communicated through the Ethernet, so that the speed is higher, and the updating efficiency is higher.
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 diagram of the architecture for upgrading the software of the roadside networking intelligent device according to 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.
Example (b):
the method for upgrading the large-scale software of the intelligent equipment of the road side networking provided by the invention comprises the following steps of:
step 1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range which need to be upgraded;
step 2: the cloud server and the distributed servers are established, so that the load of the cloud server is effectively reduced, and the stability of large-scale software upgrading is improved;
and step 3: the roadside intelligent cloud platform is updated in a remote upgrading mode, so that program upgrading from an operator to a device site is avoided, and the labor hour and cost caused by large-scale software upgrading are reduced.
As shown in fig. 1, a large-scale software upgrading architecture for roadside networking intelligent devices includes:
cloud server: a cloud server, referred to as A for short;
a distributed server: B1-MEC server 1, B2-MEC server 2 and Bn server n, which are respectively called B1 and B2.. Bn for short;
the terminal application device: c11 road-side networking intelligent equipment 1, C12 road-side networking intelligent equipment 2, C1n road-side networking intelligent equipment n and the like, which are respectively referred to as C11, C12, C1n, C21.. C2n and cn1.. Cnn for short;
a client: d browser
The cloud server is mainly responsible for a user to log in an account through a browser, select and submit an updated program file to be uploaded to the cloud server, and the cloud server distributes the updated program file to the distributed servers. The communication mode of the cloud server, the client and the distributed server adopts wide area Ethernet, the architecture adopts a B/S architecture or a C/S architecture, wherein a user of the B/S architecture can log in a user management platform only by a browser without installing an application program;
the distributed server is used as a client to be connected with the cloud server through the wide area Ethernet, obtains the program needing to be updated from the cloud server, and is also used as a server to issue the updated program to the roadside networking intelligent equipment through the local area network. The distributed server communicates with the terminal application devices by adopting an Ethernet or RS485 bus, wherein the distributed server can simultaneously communicate with a plurality of terminal applications through the Ethernet.
The terminal application equipment exchanges data with the distributed server, and if an updated program is received, the program can be upgraded;
the client logs in the user management platform through the browser platform, selects the equipment number range and the area range which need to be updated by submitting the program which needs to be updated, and uploads the equipment list which is selected and updated by the user to the cloud server.
The software upgrading system of the road side networking equipment provided by the invention comprises the following components:
module M1: providing an equipment management platform for a user through a browser, and selecting an equipment list and an area range to be upgraded;
module M2: establishing a cloud server and a distributed server, and issuing a device list and an area range to be upgraded to the distributed server;
module M3: and performing remote software upgrading on the road side networking equipment through the cloud server and the distributed server.
The user logs in the account through the browser, the program file to be updated is uploaded to the cloud server, and the cloud server distributes the program file to be updated to the distributed servers.
The cloud server communicates with the browser and the distributed server through a wide area Ethernet, and the architecture adopts a B/S architecture or a C/S architecture.
The distributed server adopts an Ethernet or RS485 bus to communicate and exchange data with the road side networking equipment, and if the road side networking equipment receives a program file to be updated, the program is upgraded.
According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method.
The invention provides a software upgrading device of road side networking equipment, which comprises: a controller;
the controller comprises the computer readable storage medium storing a computer program, and the computer program realizes the software upgrading method of the road side networking equipment when being executed by a processor; or the controller comprises a software upgrading system of the road side networking equipment.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
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.