CN116048578A - Road side equipment upgrading method and device, storage medium and electronic device - Google Patents

Road side equipment upgrading method and device, storage medium and electronic device Download PDF

Info

Publication number
CN116048578A
CN116048578A CN202211742984.1A CN202211742984A CN116048578A CN 116048578 A CN116048578 A CN 116048578A CN 202211742984 A CN202211742984 A CN 202211742984A CN 116048578 A CN116048578 A CN 116048578A
Authority
CN
China
Prior art keywords
road side
upgrading
equipment
vehicle
side equipment
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
CN202211742984.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.)
Beijing Wanji Technology Co Ltd
Original Assignee
Beijing Wanji 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 Beijing Wanji Technology Co Ltd filed Critical Beijing Wanji Technology Co Ltd
Priority to CN202211742984.1A priority Critical patent/CN116048578A/en
Publication of CN116048578A publication Critical patent/CN116048578A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Abstract

The application discloses a method and a device for upgrading road side equipment, a storage medium and an electronic device, wherein the method comprises the following steps: responding to the received upgrade instruction, acquiring a first equipment upgrade package, wherein the first equipment upgrade package is used for carrying out equipment upgrade on the current road side equipment; sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device; determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service; and under the condition that the vehicle does not exist in the second area range and a suspension upgrading instruction sent by any one of the set of road side equipment is not received, carrying out equipment upgrading on the current road side equipment by using the first equipment upgrading packet, wherein the suspension upgrading instruction is used for indicating suspension of equipment upgrading.

Description

Road side equipment upgrading method and device, storage medium and electronic device
Technical Field
The present application relates to the field of vehicle identification, and in particular, to a method and apparatus for upgrading a road side device, a storage medium, and an electronic apparatus.
Background
In V2X (Vehicle to X), along with the continuous increase of the electronic degree of the road side device, there is a need for device upgrade, especially software upgrade, in the life cycle of the road side device. When the road side equipment is upgraded, in order to avoid the problem that the service end needs to send down instructions in sequence for each single upgrade to consume too much time, a mode of upgrading the road side equipment in batches can be adopted.
However, when the road side equipment is upgraded in batches, a passive immediate upgrade mode or an autonomous upgrade mode according to a set upgrade time is generally adopted. However, in the process of upgrading the road side equipment, the reliability of service provision is reduced because the service cannot be provided for the vehicle in the area where the road side equipment is located.
Therefore, the road side equipment upgrading method in the related art has the problem that the reliability of service provision is low because the service cannot be provided for the vehicles in the area in the upgrading process.
Disclosure of Invention
The embodiment of the application provides a method and a device for upgrading road side equipment, a storage medium and an electronic device, which at least solve the problem that the reliability of service provision is low because the vehicle in the area cannot be provided with the service in the upgrading process in the road side equipment upgrading method in the related art.
According to an aspect of the embodiments of the present application, there is provided a method for upgrading a road side device, including: responding to a received upgrading instruction, and responding to the received upgrading instruction, obtaining a first equipment upgrading packet, wherein the first equipment upgrading packet is used for carrying out equipment upgrading on current road side equipment; sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device; determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service; and under the condition that no vehicle exists in the second area range and a suspension upgrading instruction sent by any one of the set of road side equipment is not received, carrying out equipment upgrading on the current road side equipment by using the first equipment upgrading packet, wherein the suspension upgrading instruction is used for indicating suspension of equipment upgrading.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for upgrading a road side device, including: the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for responding to a received upgrading instruction and acquiring a first device upgrading packet, wherein the first device upgrading packet is used for carrying out device upgrading on current road side equipment; the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending a target upgrading application to a group of road side equipment, and the group of road side equipment is road side equipment in a first area range of the current road side equipment; a first determining unit, configured to determine whether a vehicle exists in a second area range of the current roadside apparatus, where the second area range is an area range in which the current roadside apparatus provides a preset service; and the first upgrading unit is used for upgrading the current road side equipment by using the first equipment upgrading packet under the condition that no vehicle exists in the second area range and a suspending upgrading instruction sent by any road side equipment in the group of road side equipment is not received, wherein the suspending upgrading instruction is used for indicating suspending equipment upgrading.
In an exemplary embodiment, the first determining unit includes: the first determining module is used for determining whether the first vehicle is located in the second area range according to the vehicle position of the first vehicle carried in the target vehicle message under the condition that the target vehicle message sent by the first vehicle is received; a second determining module configured to determine that a vehicle exists in the second area range if the first vehicle is located in the second area range; and the third determining module is used for determining that no vehicle exists in the second area range when the first vehicle is located outside the second area range.
In an exemplary embodiment, the apparatus further comprises: the second determining unit is used for determining one or more road side devices to which the first vehicle is to travel from the group of road side devices according to the vehicle running parameters of the first vehicle carried in the target vehicle message after the presence of the vehicle in the second area range is determined; and the second sending unit is used for sending the temporary upgrading instruction to the road side equipment initiating the upgrading application in the one or more road side equipment.
In an exemplary embodiment, the apparatus further comprises: an extracting unit, configured to extract, when the deferred upgrade instruction sent by a first roadside device in the set of roadside devices is received, a running speed of a second vehicle to be driven to the current roadside device from the deferred upgrade instruction sent by the first roadside device; a third determining unit, configured to determine an estimated travel time for the second vehicle to reach the current roadside apparatus according to a travel speed of the second vehicle and a distance between the first roadside apparatus and the current roadside apparatus; and the third sending unit is used for sending the temporary upgrading instruction to second road side equipment under the condition that the estimated running time is less than or equal to the maximum upgrading time, wherein the second road side equipment is the road side equipment which initiates an upgrading application in the next road side equipment to which the second vehicle runs from the current road side equipment.
In an exemplary embodiment, the apparatus further comprises: a fourth determining unit, configured to determine, when the second roadside apparatus includes a plurality of roadside apparatuses and the second vehicle travels within the second area, a target roadside apparatus to which the second vehicle is to travel, from among the plurality of roadside apparatuses, according to a vehicle travel parameter of the second vehicle; the first execution unit is used for sending the temporary upgrading instruction to the target road side equipment and sending an upgrading allowing instruction to other road side equipment except the target road side equipment in the plurality of road side equipment, wherein the upgrading allowing instruction is used for indicating that the other road side equipment is allowed to carry out equipment upgrading.
In an exemplary embodiment, the apparatus further comprises: a fourth sending unit, configured to send a first request message to a server, where the first request message is used to request configuration of an upgrade time of the current roadside device, where the presence of a vehicle in the second area range is determined and/or the deferred upgrade instruction sent by any roadside device in the set of roadside devices is received; and a fifth determining unit, configured to determine, when receiving a first response message sent by the server in response to the first request message, an upgrade time carried in the first response message as an upgrade time of the current roadside device.
In an exemplary embodiment, the upgrade instruction further includes an expiration date of the first device upgrade package; the apparatus further comprises: a fifth sending unit, configured to send a second request message to a server side when the validity period of the first equipment upgrade package expires and the current roadside equipment does not perform equipment upgrade, where the second request message is used to request to obtain the equipment upgrade package of the current roadside equipment; the second execution unit is used for receiving a second equipment upgrade package sent by the server side in response to the second request message and setting the validity period of the second equipment upgrade package; and the second upgrading unit is used for attempting to upgrade the equipment of the current road side equipment by using the second equipment upgrading packet in the effective period of the second equipment upgrading packet.
According to still another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described roadside apparatus upgrade method when run.
According to still another aspect of the embodiments of the present application, there is further provided an electronic apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the above-mentioned method for upgrading a road side device through the computer program.
In the embodiment of the application, a method for downloading an equipment upgrade package according to an upgrade instruction is adopted, and a first equipment upgrade package is obtained in response to the received upgrade instruction, wherein the first equipment upgrade package is used for carrying out equipment upgrade on current road side equipment; sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device; determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service; under the condition that no vehicle exists in the second area and a suspension upgrading instruction sent by any road side device in a group of road side devices is not received, the first device upgrading package is used for upgrading the current road side device, wherein the suspension upgrading instruction is used for indicating suspension of device upgrading, an upgrading application is sent to other road side devices, whether a vehicle exists in the area where the current road side device provides service or not is determined, under the condition that no vehicle exists in the area where the current device provides service and the suspension upgrading instruction sent by the other road side devices is not received, the device upgrading package is used for upgrading the current road side device, the technical effect of improving the reliability of service provision is achieved under the condition that the service provision is not influenced, and the problem that the reliability of service provision is low due to the fact that the vehicle in the area where the road side device in the related art cannot provide service in the upgrading process is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of an alternative roadside device upgrade method, according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of upgrading a road side device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative roadside device upgrade system according to an embodiment of the present application;
FIG. 4 is a block diagram of an alternative roadside device upgrade apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, a method for upgrading road side equipment is provided. Alternatively, in the present embodiment, the above-described roadside apparatus upgrade method may be applied to a hardware environment including the roadside apparatus 102 and the data processor 104 as shown in fig. 1. As shown in fig. 1, the data processor 104 is connected to the roadside device 102 through a network, and may be used to upgrade the roadside device 102 based on a software and hardware version of the roadside device 102, etc., and a data storage unit (the data may be stored by a database) may be provided on the data processor 104 or independent of the data processor 104, for providing a data storage service for the data processor 104. Here, the roadside device 102 and the data processor 104 may both belong to a roadside device upgrade system.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. In addition to being connected via a network, the roadside device 102 and the data processor 104 may also be connected via a network cable or serial port.
The method for upgrading the road side equipment in the embodiment of the application may be executed by the road side equipment 102, or may be executed by the road side equipment 102 and the data processor 104 together. Taking the example that the roadside device 102 performs the roadside device upgrading method in the present embodiment, fig. 2 is a schematic flow diagram of an alternative roadside device upgrading method according to an embodiment of the present application, and as shown in fig. 2, the flow of the method may include the following steps:
step S202, a first equipment upgrade package is obtained in response to a received upgrade instruction, wherein the first equipment upgrade package is used for carrying out equipment upgrade on current road side equipment.
The method for upgrading the Road Side device in this embodiment may be applied to a scenario of upgrading the Road Side device, where the Road Side device may be divided into a broad Road Side device and a narrow Road Side device, the broad Road Side device may include a Road Side Unit (RSU), a traffic light, a Road Side sensing device, and the like, the Road Side device may provide a service configured thereon to a vehicle in a corresponding area range, and the area range corresponding to the Road Side device may be fixed or adjustable, and the area range corresponding to different Road Side devices may be the same or similar, for example, the area ranges corresponding to different Road Side devices may be at least partially different, for example, the area ranges corresponding to adjacent Road Side devices that provide the same service may be partially overlapped, so as to avoid a service blind area.
Along with the intelligent development of the vehicle-road cooperation, the electronic degree of road side equipment is continuously improved, and the equipment upgrading requirement exists in the life cycle of the road side equipment, like other consumer electronic systems, particularly, the software upgrading is more frequent. When the road side equipment is upgraded, the server side can instruct the road side equipment to upgrade the equipment through an upgrade instruction. For a certain road side device to be upgraded, namely, the current road side device can receive an upgrade instruction sent by a server side and respond to the received upgrade instruction to obtain a first device upgrade package, wherein the first device upgrade package is used for upgrading the current road side device.
The first equipment upgrade package can be sent together with the upgrade instruction, and the current road side equipment can directly acquire the first equipment upgrade package; the first device upgrade package may also be downloaded from the server after receiving the upgrade instruction. In addition, the current roadside device may also obtain the first device upgrade package from a certain roadside device or other devices, which is not limited in this embodiment. Here, the device upgrade package may be downloaded from the server side using OTA (Over-the-air technology).
The upgrade mode of the road side equipment can be used for independently upgrading each road side equipment, and can also be used for upgrading a plurality of road side equipment in batches. If each road side device is upgraded independently, the server needs to issue upgrading instructions in sequence, and the consumed time is too long. If a plurality of road side devices are upgraded in batches, the following problems are brought: when the road side equipment needs to be upgraded in batches, if a plurality of road side equipment are upgraded at the same time, the effective time can not be ensured to provide effective service for the V2X (vehicle to everything, vehicle wireless communication technology) vehicles in the whole road section area. For this, the road side device may be used to perform autonomous upgrade at the arrival upgrade time. For the current road side color to be received, the received upgrade instruction may include a preset upgrade time, that is, a preset upgrade time of the current road side device. In order to ensure timeliness of equipment upgrade, the upgrade instruction can also comprise the validity period of the first equipment upgrade package.
Here, the road side device may be provided with an OTA upgrade module, and the OTA upgrade module may establish a connection channel with the OTA service platform through a 4G (the 4th generation mobile communication technology, fourth generation mobile communication technology)/5G (5 th Generation Mobile Communication Technology, fifth generation mobile communication technology) or a network cable, for communication with the OTA service platform and device upgrade. The OTA service platform may be the aforementioned service end.
For example, the road side device may receive an upgrade instruction from the external OTA service platform through the OTA upgrade module and download an upgrade package to perform a device upgrade operation, where the upgrade instruction includes an expiration date and upgrade time of the upgrade package.
The road side equipment can be provided with a road side V2X communication terminal for receiving V2X information and broadcasting V2X information. The central processing module of the road side equipment can be used for carrying out integration calculation according to communication data received by the road side V2X communication terminal to generate decision information and forwarding the decision information to other road side V2X communication terminals through the road side V2X communication terminal.
Step S204, a target upgrading application is sent to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device.
When each road side device is passively upgraded immediately, a plurality of road side devices in the same area are easy to upgrade, so that timely and effective service cannot be provided for V2X vehicles in the area. Even if the method of automatic upgrading is adopted, the effective time can not be ensured to provide timely and effective service for the V2X vehicles in the current area.
In order to improve timeliness and effectiveness of service provision, the current road side device can send a target upgrading application to surrounding road side devices so as to apply for device upgrading, so that whether the upgrading can affect the vehicles in the corresponding area range to provide preset service at the moment can be determined based on received feedback. The roadside devices surrounding the current roadside device may be a set of roadside devices, where the set of roadside devices are roadside devices that are within a first area range of the current roadside device. Here, the target upgrade application may be sent when the preset upgrade time arrives, or may be directly sent after the first device upgrade package is acquired, which may be an OTA upgrade request; the first area range may be an area range with a preset area radius as a radius, with a device position of the current roadside device as a center. For example, a set of roadside devices may be roadside devices that are within one kilometer of the current roadside device or other specified range.
For example, in order to avoid the phenomenon that RSUs are not served by system upgrades in the case of more V2X vehicles in a peak period or an area, a road side device OTA area negotiation upgrading method based on V2X technology may be provided, and negotiation upgrading and sequential upgrading are performed by communicating with other RSUs around the road side device OTA area negotiation upgrading method without affecting the service provided for V2X vehicles. The upgrade method can be applied to a road side equipment OTA area negotiation upgrade system based on V2X technology, and the system can comprise road side equipment and a V2X vehicle. The upgrade method may include at least one of the following two schemes:
Firstly, downloading an upgrade package preferentially and storing the upgrade package locally, judging whether a V2X vehicle exists in a current area, if the upgrade has excessive influence on other vehicles, negotiating and upgrading with an adjacent RSU, and completing upgrading in sequence under the condition that the service for the V2X vehicle is not influenced;
in the second scheme, the upgrade instruction issued by the OTA service platform comprises the effective period, the upgrade time and the like of the upgrade package, when the appointed upgrade time is reached, whether the V2X vehicle exists in the current area or not is judged, and whether the other vehicles are excessively influenced during the upgrade is judged, the adjacent RSU is subjected to negotiation upgrade, and the upgrade is completed under the condition that the service for the V2X vehicle is not influenced.
The road side device may receive an upgrade instruction of the external OTA service platform, download an upgrade package, determine an upgrade time according to information such as an upgrade package validity period and upgrade time in the upgrade instruction, and initiate an upgrade application to other RSUs around.
After receiving the target upgrade application sent by the current road side device, the road side device in the first area range of the current road side device can send a suspend upgrade instruction or an upgrade permission instruction to the current road side device according to the vehicle condition in the area range of the configured service provided by the current road side device, or can not send any instruction when the current road side device is determined to permit upgrade. Here, the service configured on the road side device may include one or more services, which may include, but is not limited to, navigation, speed pre-warning, collision pre-warning, and the like.
For example, the road side device may broadcast the V2X message to the outside through the road side V2X communication terminal, and apply for OTA upgrade. The broadcasted V2X message may provide the V2X vehicle with the following service information: MAP (MAP message), RSI (Road Side Information ), RSM (Basic Safety Message, base safety message), spat (Signal phase timing message, traffic light phase and timing message), and the like.
In step S206, it is determined whether there is a vehicle in a second area range of the current roadside apparatus, where the second area range is an area range in which the current roadside apparatus provides a preset service.
When the device upgrade of the current road side device is to be performed by using the first device upgrade package, the current road side device may determine whether a vehicle exists in the second area of the current road side device in addition to the target upgrade application. Here, the second area range is an area range in which the current roadside apparatus provides a preset service. The current roadside device may provide a preset service for the vehicles within the second area by interacting with the vehicles within the second area, where the second area may include a part or all of the area where the current roadside device provides the preset service, and the preset service may be one or more of the foregoing services.
The manner of determining whether the vehicle exists in the second area of the current roadside apparatus may be one or more, for example, the current roadside apparatus may broadcast a preset message to the second area, determine whether the vehicle exists in the second area based on whether a response message of the vehicle in the second area is received, and for example, determine whether the vehicle exists in the second area by whether a preset type of message transmitted in the second area is received.
Alternatively, the determined vehicle may be a V2X vehicle, and the V2X vehicle may include an on-board V2X communication terminal, a GNSS (Global Navigation Satellite System ) module, an antenna module, a central processing module, a security authentication module, and a CAN (Controller Area Network ) module. The vehicle-mounted V2X communication terminal CAN be used for receiving an aerial V2X message set and periodically broadcasting the V2X message, the GNSS module is used for positioning the V2X vehicle, the antenna module is used for communicating with other equipment, the central processing module of the V2X vehicle is the same as or similar to the central processing module of the road side equipment in function, the safety authentication module is used for carrying out safety authentication on the received V2X message and CAN also be used for sending safety authentication information to other equipment so as to carry out safety authentication on the V2X vehicle, and the CAN module CAN be used for communicating with different modules in the V2X vehicle.
Here, the V2X message may include a BSM message (Basic Safety Message ) of the V2X vehicle, and the BSM message may include information of longitude and latitude of the vehicle itself, real-time speed, heading angle, lamp status, and driving intention. Meanwhile, the V2X message may further include an OTA upgrade application and region negotiation information sent by each road side device, where the region negotiation information may be information for performing information negotiation between road side devices in the same region.
For example, when receiving a BSM message of a V2X vehicle, the roadside apparatus may determine whether the V2X vehicle is in a message broadcasting range (one example of the second region range) of the roadside apparatus based on information carried in the BSM message.
Step S208, in the case that it is determined that there is no vehicle in the second area and a suspension upgrade instruction sent by any one of the set of roadside apparatuses is not received, performing an apparatus upgrade on the current roadside apparatus using the first apparatus upgrade package.
Under the condition that vehicles exist in the second area of the current road side equipment, upgrading the current road side equipment can affect provision of preset services for the vehicles in the second area, and equipment upgrading can be suspended at the moment. Under the condition that no vehicle exists in the second area of the current road side equipment, upgrading the current road side equipment does not affect provision of preset service for the vehicle in the second area, and at the moment, whether equipment upgrading is allowed or not can be determined by combining other information.
If any one of the set of road side devices does not have a deferred upgrade instruction sent to the current road side device, it may be determined that each road side device of the set of road side devices allows the current road side device to upgrade, that is, the current road side device does not upgrade at this time or affect a vehicle that is about to enter the second area, or provide a preset service for the vehicle that is about to enter the second area.
Therefore, in the case that no vehicle exists in the second area and the current roadside device does not receive the suspension upgrade instruction sent by any one of the set of roadside devices, the current roadside device may be upgraded by the first device upgrade package, where the suspension upgrade instruction is used to instruct suspension of device upgrade.
Through the steps S202 to S208, a first device upgrade package is obtained in response to the received upgrade instruction, where the first device upgrade package is used to upgrade the device of the current road side device; sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device; determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service; under the condition that no vehicle exists in the range of the second area and a suspension upgrading instruction sent by any road side equipment in a group of road side equipment is not received, the first equipment upgrading packet is used for carrying out equipment upgrading on the current road side equipment, wherein the suspension upgrading instruction is used for indicating suspension to carry out equipment upgrading, the problem that service providing reliability is low due to the fact that service cannot be provided for the vehicle in the area in the upgrading process in the road side equipment upgrading method in the related art is solved, and the service providing reliability is improved.
In one exemplary embodiment, determining whether a vehicle is present within a second area of the current roadside apparatus includes:
s11, under the condition that a target vehicle message sent by a first vehicle is received, determining whether the first vehicle is located in a second area according to the vehicle position of the first vehicle carried in the target vehicle message;
s12, determining that the vehicle exists in the second regional range when the first vehicle is positioned in the second regional range;
s13, determining that no vehicle exists in the second area range when the first vehicle is located outside the second area range.
During travel of the first vehicle, a target vehicle message (e.g., a BSM message) may be sent to the roadside device, which may contain location information of the first vehicle; the roadside device may determine whether to provide the first vehicle with the service configured thereon based on the received target vehicle message. After receiving the target vehicle message sent by the first vehicle, the current road side device can determine whether the first vehicle is located in the second area range of the current road side device according to the position information of the first vehicle. If the first vehicle is within the second zone, it may be determined that there is a vehicle within the second zone, and if the first vehicle is outside the second zone, it may be determined that there is no vehicle within the second zone.
For example, the V2X communication terminal on the road side may receive the V2X message, i.e., the BSM message, from the external V2X vehicle and forward the same to the central processing module of the road side device, where the central processing module of the road side device may determine whether the vehicle is located in its own area (i.e., the second area range, which may be a message broadcasting range) according to the longitude and latitude, the real-time speed, the heading angle, the lamp status, the driving intention, and other information in the BSM message of the V2X vehicle.
According to the method and the device for determining whether the vehicle exists in the area of the road side equipment or not through the received vehicle message sent by the vehicle, accuracy of information determination can be improved.
In one exemplary embodiment, after determining that the vehicle is within the second area, the method further includes:
s21, determining one or more road side devices to which the first vehicle is to travel from a group of road side devices according to the vehicle running parameters of the first vehicle carried in the target vehicle message;
s22, sending a suspending upgrading instruction to one or more road side devices, wherein the road side devices initiate upgrading application.
In this embodiment, in order to improve timeliness of information interaction, if a road side device definitely has a vehicle already located in its own area, upgrade of the road side device may be suspended, and meanwhile, the next point (point location, i.e. road side device) or two points where the vehicle will arrive are acquired, so that a suspension upgrade instruction is sent to other road side devices (e.g. RSU) around the road side device, where the suspension upgrade instruction may be sent in a non-specific manner, for example, a suspension upgrade instruction is sent to all road side devices around the road side device, and may also be sent in a specific manner, for example, a suspension upgrade instruction is sent to the road side device around which initiates an upgrade application.
For the first vehicle, according to the vehicle running parameters of the first vehicle carried in the target vehicle message, one or more road side devices to which the first vehicle is to run, for example, the next point or two points to which the first vehicle is about to arrive, may be determined from a set of road side devices. The vehicle travel parameters may include at least one of: longitude and latitude information, real-time speed, course angle, car light state, driving intention and the like.
The manner of determining the one or more road side devices may be various, for example, a connection line between the current road side device and each road side device in the set of road side devices may be obtained, and a plurality of included angles are formed between the current road side device and the running direction of the first vehicle, and according to the angle sizes of the plurality of included angles, the road side device corresponding to the included angle with the smallest angle or the included angle located in the preset angle range is selected as the one or more road side devices to which the first vehicle is to run.
When one or more roadside devices are determined, the server may send instructions to the one or more roadside devices to suspend upgrades. The device upgrade time of different road side devices may be different, in order to improve the accuracy of information transmission and reduce occupation of network resources, the current road side device may send an instruction to suspend upgrade to the road side device that initiates the upgrade application in one or more road side devices, where the road side device that initiates the upgrade application may be the road side device that initiates the upgrade request to be effective.
For example, receiving upgrade application and negotiation information initiated by surrounding RSUs. The method comprises the steps that through an upgrade application, whether a designated RSU finishes upgrade package downloading and reaches the upgrade time can be determined, meanwhile, whether a V2X vehicle exists in a current area is judged, when the V2X vehicle exists, whether the next point position or two point positions are the point positions of the RSU initiating the upgrade application is judged according to the running intention of the V2X vehicle, and if yes, a temporary upgrade instruction is sent to the RSU initiating the upgrade application.
When determining the next point location, if the BSM message can be received in the current area, indicating that a V2X vehicle exists in the current area, and judging whether the vehicle reaches or passes the point location; if so, determining the next point position to be reached by the current vehicle when the included angle formed by the running direction of the V2X vehicle and the node connecting line of the current point position and the next point position approaches to 0 infinitely, and if the point position is the point position initiating the upgrading application, sending a deferred upgrading instruction to the point position.
According to the method and the device, the update suspending instruction is sent to the road side equipment which sends the update application to one or more road side equipment to which the vehicle is to travel, so that the accuracy of information transmission can be improved, and meanwhile, the occupation of network resources is reduced.
In an exemplary embodiment, the above method further comprises:
s31, under the condition that a suspension upgrading instruction sent by a first road side device in a group of road side devices is received, extracting the running speed of a second vehicle to be driven to the current road side device from the suspension upgrading instruction sent by the first road side device;
s32, determining estimated running time of the second vehicle reaching the current road side equipment according to the running speed of the second vehicle and the distance between the first road side equipment and the current road side equipment;
s33, sending a deferred upgrading instruction to second road side equipment under the condition that the estimated running time is smaller than or equal to the maximum upgrading time, wherein the second road side equipment is the road side equipment which initiates an upgrading application in the next road side equipment to which the second vehicle runs from the current road side equipment.
When a vehicle exists in an area range (e.g., a message broadcasting range) corresponding to a first road side device in a group of road side devices, that is, a second vehicle, the first road side device can send a suspension upgrade instruction to a current road side device, and the current road side device can receive the suspension upgrade instruction sent by the first road side device, and at this time, device upgrade can be suspended. In addition, in order to improve timeliness of information interaction, the suspension upgrading instruction sent by the first road side device can carry the running speed of the second vehicle, and the current road side device can extract the running speed of the second vehicle from the suspension upgrading instruction sent by the first road side device. Here, traveling to the current roadside apparatus means traveling to an apparatus position where the current roadside apparatus is located.
From the travel speed of the second vehicle and the distance between the first roadside apparatus and the current roadside apparatus, the time at which the second vehicle arrives at the current roadside apparatus (i.e., arrives at the apparatus position of the current roadside apparatus), that is, the estimated travel time, may be calculated. If the estimated driving time is less than or equal to the maximum upgrade time required for the current roadside apparatus to complete the apparatus upgrade, if the second vehicle needs to perform the apparatus upgrade at the next roadside apparatus (i.e., the second roadside apparatus) to which the second vehicle is driven by the current roadside apparatus, the second vehicle may enter the area range (e.g., the message broadcasting range) corresponding to the second roadside apparatus before it completes the apparatus upgrade. Therefore, the instruction for suspending the upgrade may be sent to the second roadside device in a case where the estimated travel time is less than or equal to the maximum upgrade time.
For example, according to the longitude and latitude and the real-time speed in the BSM message sent by the vehicle, the distance and time t1 for reaching the next point location can be determined and calculated, and t1, the real-time speed of the vehicle and the deferred upgrade instruction are sent to the next point location (i.e. the current roadside device), and meanwhile, the distance and time t2 for the vehicle to reach the next point location (i.e. the second roadside device) at the current point location are calculated by the next point location; and judging whether t1+ t2 is less than or equal to t3 or not by taking the maximum preset upgrading time as t3 and the next point as the middle point, if so, initiating a suspending upgrading instruction from the middle point to the lower point. Otherwise, if t1+t2't3 and t1 is less than or equal to t3, initiating a suspension upgrading instruction from the middle point position to the lower point position. Otherwise, if t1+t2 > t3 and t1 > t3 are satisfied, the equipment upgrading of the lower point location is considered to have no influence on the V2X vehicle, and an upgrading starting instruction is initiated from the middle point location to the lower point location.
According to the method and the device for upgrading the equipment, the time for the vehicle to reach the middle point is determined based on the distance between the points, the running speed of the vehicle and the like, whether the equipment can be upgraded at the point after the middle point is determined based on the maximum time for upgrading the equipment or not, and the reliability of service provision can be improved.
In an exemplary embodiment, the above method further comprises:
s41, determining target road side equipment to which the second vehicle is to travel in the plurality of road side equipment according to the vehicle traveling parameters of the second vehicle when the second road side equipment comprises the plurality of road side equipment and the second vehicle travels to the second area range;
s42, sending a suspension upgrading instruction to the target road side equipment, and sending an upgrading allowing instruction to other road side equipment except the target road side equipment in the plurality of road side equipment, wherein the upgrading allowing instruction is used for indicating that the other road side equipment is allowed to carry out equipment upgrading.
Because a road may have a straight running, a left turn, a right turn, and the like, the second road side device may include only one road side device, or may include multiple road side devices, and if the second road side device includes multiple road side devices, the road side device to which the second vehicle actually travels is one of the multiple road side devices, but the current road side device has sent a suspension upgrade instruction to all of the multiple road side devices. In order to improve timeliness of equipment upgrade, when the second vehicle travels to the second area range or to the current road side equipment (the distance from the current road side equipment is smaller than or equal to a preset distance threshold value), the vehicle traveling parameters of the second vehicle are acquired, for example, the vehicle traveling parameters of the second vehicle are acquired from a BSM message of the second vehicle. The vehicle driving parameters are similar to those in the foregoing embodiments, and will not be described in detail herein.
According to the driving parameters of the second vehicle, the current road side device can determine the target road side device to which the second vehicle is to be driven from the plurality of road side devices. The device upgrade by the target roadside device may affect the device upgrade by the other roadside devices of the plurality of roadside devices other than the target roadside device to service the second vehicle (as no service needs to be provided to the second vehicle). Therefore, the update suspension instruction can be sent to the target road side equipment, and the update permission instruction can be sent to other road side equipment except the target road side equipment in the plurality of road side equipment.
For example, the next point of the middle point may contain a straight, left-hand, or right-hand point, then the middle point initiates a deferred upgrade instruction to the next 3 points at the same time. When the vehicle reaches the middle point, judging the next point according to the state of the vehicle lamp and the driving intention, and initiating a continuing suspension upgrading instruction to the next point; meanwhile, initiating an upgrade starting instruction to other points which cannot pass through; and when the vehicle leaves the self area, the self equipment starts to upgrade again.
According to the method and the device for updating the road side equipment, the running track of the vehicle is determined based on the running state parameters of the vehicle, so that negotiation information among the road side equipment is updated in time, ordered updating of the road side equipment can be ensured, and the reliability of equipment updating of the road side equipment is improved.
In an exemplary embodiment, the above method further comprises:
s51, under the condition that the fact that a vehicle exists in the second area range and/or a suspension upgrading instruction sent by any one of a group of road side equipment is received is determined, a first request message is sent to a server, wherein the first request message is used for requesting configuration of upgrading time of the current road side equipment;
s52, under the condition that the receiving server responds to the first response message sent by the first request message, determining the upgrading time carried in the first response message as the upgrading time of the current road side equipment.
And when the fact that the vehicle exists in the second area range and any one of the deferred upgrading instructions sent by any one of the set of road side equipment is received, the current road side equipment cannot be upgraded. At this point, an attempt to upgrade the device may be made again after waiting a certain time. The equipment upgrading mode is poor in controllability, and the situation that equipment upgrading fails in multiple attempts is easy to occur.
In this embodiment, the current roadside device may send a first request message to the server to request to suspend the upgrade and request the server to reconfigure the upgrade time of the current roadside device. The first request message is sent when the upgrade instruction carries the preset upgrade time, or may be sent when the upgrade instruction does not carry the upgrade time corresponding to the upgrade package of the first device, which is not limited in this embodiment.
For example, receiving a BSM message of an external V2X vehicle and an upgrade instruction of an external OTA service platform, if the current time is an upgrade time and there is a V2X vehicle in the current area, sending information such as negotiation suspension upgrade and reapplication of upgrade time to the OTA service platform through an OTA upgrade module. And when the V2X vehicles are fewer or no network connected vehicles, the upgrading is finished.
According to the embodiment, when equipment upgrading is suspended, the upgrading time is acquired from the server side, so that the equipment is controlled to be upgraded according to the acquired upgrading time, and the controllability of the equipment upgrading can be improved; meanwhile, the service end controls the equipment upgrading time in the same mode, so that the equipment upgrading rationality is improved, and the equipment upgrading efficiency is further improved.
In an exemplary embodiment, the upgrade instruction further includes a validity period of the upgrade package of the first device; the method further comprises the following steps:
s61, sending a second request message to the server side under the condition that the validity period of the first equipment upgrading packet expires and the equipment upgrading of the current road side equipment is not performed, wherein the second request message is used for requesting to acquire the equipment upgrading packet of the current road side equipment;
s62, receiving a second equipment upgrade package sent by the server side in response to the second request message, and setting the validity period of the second equipment upgrade package;
S63, in the validity period of the second equipment upgrading packet, equipment upgrading is attempted to be carried out on the current road side equipment by using the second equipment upgrading packet.
In order to ensure timeliness of device upgrade, the road side device has been upgraded to the latest version, and a validity period may be configured for the first device upgrade package, where the validity period may be carried in an upgrade instruction. If the current road side device is not upgraded by using the first device upgrade package when the validity period of the first device upgrade package expires, continuing to attempt to upgrade the device by using the first device upgrade package is easy to occur that the upgrade is not the latest version.
For this, the current roadside device may send a second request message to the server to request acquisition of a new device upgrade package. After receiving the second request message of the current roadside device, the server may send a second device upgrade package to the current roadside device, and set a validity period of the second device upgrade package, where the second device upgrade package may be a device upgrade package that is newer than the first device upgrade package. And in the validity period of the second equipment upgrading package, the current road side equipment can attempt to upgrade the equipment by using the second equipment upgrading package by sending an upgrading application to the road side equipment in the first area range and determining whether vehicles exist in the second area range.
Optionally, if the first device upgrade package is the latest device upgrade package, the receiving server may send, in response to the second request message, indication information to the current roadside device to indicate an expiration date of updating the first device upgrade package, so that the current roadside device continues to attempt to use the first device upgrade package to perform device upgrade. The indication information here may be used to indicate that the first device upgrade package is the latest device upgrade package, to indicate the validity period of updating the first device upgrade package, and so on.
For example, if the validity period of the upgrade package expires and there is a V2X vehicle in the current area, the OTA upgrade module sends a negotiation suspension upgrade to the OTA service platform to reapply the upgrade package. And when the V2X vehicles are fewer or no network connected vehicles, the upgrading is finished.
By configuring the expiration of the validity period of the equipment upgrading package and reapplying the equipment upgrading package when the expiration of the validity period of the equipment upgrading package, the reliability of equipment upgrading can be improved, and the situation that the equipment is not the latest version after upgrading is avoided.
The following explains the road side equipment upgrading method in the embodiment of the application with reference to an optional example. In this optional example, the vehicle is a V2X vehicle, the vehicle message is a BSM message, the server is an OTA service platform, and the device upgrade package is an upgrade package.
The optional example provides a solution for negotiating and upgrading an OTA area of road side equipment based on a V2X technology, the road side equipment receives instruction information of an OTA service platform and downloads an upgrade package, and meanwhile, if a BSM is received, a V2X vehicle is considered to exist in a current area, or if negotiation information of a previous point location is received, the V2X vehicle is considered to exist in the current area, and upgrading is suspended; and if the current time is the upgrading time or the effective period of the upgrading packet expires, sending information such as negotiation, delay upgrading, re-applying for the upgrading packet or upgrading time and the like to the OTA service platform.
Referring to fig. 3, when 5 pieces of road side equipment simultaneously receive an upgrade instruction, the 5 pieces of road side equipment perform region negotiation, initiate an upgrade application to an adjacent RSU, and judge whether the upgrade can be performed, where the message broadcast regions of the 5 pieces of road side equipment are respectively from the region 1 to the region 5. If there is a networked vehicle (i.e., V2X vehicle) in zone 1 and the time for the vehicle to reach all points is less than the upgrade time, negotiating with other RSUs by V2X, and suspending upgrade at all points.
When the vehicle reaches the middle No. 2 area, the No. 2 area acquires the driving intention of the vehicle, and the next driving point position of the vehicle is determined to be the No. 3 area, an upgrade starting instruction is respectively sent to the No. 1 area, the No. 4 area and the No. 5 area, a temporary upgrade stopping instruction is sent to the No. 3 area, and when the vehicle leaves the No. 3 area, the upgrade is carried out.
By the alternative example, by providing the road side equipment OTA region negotiation upgrading method based on the V2X technology, communication between the road side equipment and an OTA service platform, communication between a vehicle-mounted unit and the road side unit, communication between the road side equipment and the like are realized, and by applying the upgrading method, the upgrading rationality of the road side equipment can be improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, optical disk), including instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is further provided a device upgrade apparatus for implementing the above method for upgrading a roadside device, where the device upgrade apparatus may be a roadside device, another device disposed in the roadside device or connected to the roadside device. Fig. 4 is a block diagram of an alternative apparatus for upgrading a road side device according to an embodiment of the present application, and as shown in fig. 4, the apparatus may include:
an obtaining unit 402, configured to obtain a first device upgrade package in response to a received upgrade instruction, where the first device upgrade package is used to perform device upgrade on a current roadside device;
a first sending unit 404, connected to the obtaining unit 402, configured to send a target upgrade application to a group of roadside devices, where the group of roadside devices is a roadside device that is within a first area range of the current roadside device;
a first determining unit 406, connected to the first sending unit 404, configured to determine whether a vehicle exists in a second area range of the current roadside apparatus, where the second area range is an area range in which the current roadside apparatus provides a preset service;
a first upgrade unit 408, connected to the first determination unit 406, configured to perform device upgrade on the current roadside device using the first device upgrade package when it is determined that there is no vehicle within the second area and no deferred upgrade instruction sent by any one of the set of roadside devices is received, where the deferred upgrade instruction is used to instruct deferred device upgrade
It should be noted that, the acquiring unit 402 in this embodiment may be used to perform the above-mentioned step S202, the first transmitting unit 404 in this embodiment may be used to perform the above-mentioned step S204, the first determining unit 406 in this embodiment may be used to perform the above-mentioned step S206, and the first upgrading unit 408 in this embodiment may be used to perform the above-mentioned step S208.
Through the module, a first equipment upgrading packet is obtained by responding to the received upgrading instruction, wherein the first equipment upgrading packet is used for carrying out equipment upgrading on the current road side equipment; sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device; determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service; under the condition that no vehicle exists in the range of the second area and a suspension upgrading instruction sent by any road side equipment in a group of road side equipment is not received, the first equipment upgrading packet is used for carrying out equipment upgrading on the current road side equipment, wherein the suspension upgrading instruction is used for indicating suspension to carry out equipment upgrading, the problem that service providing reliability is low due to the fact that service cannot be provided for the vehicle in the area in the upgrading process in the road side equipment upgrading method in the related art is solved, and the service providing reliability is improved.
In one exemplary embodiment, the first determining unit includes:
the first determining module is used for determining whether the first vehicle is located in the second area according to the vehicle position of the first vehicle carried in the target vehicle message under the condition that the target vehicle message sent by the first vehicle is received;
the second determining module is used for determining that the vehicle exists in the second regional range when the first vehicle is positioned in the second regional range;
and the third determining module is used for determining that no vehicle exists in the second area range when the first vehicle is located outside the second area range.
In an exemplary embodiment, the above apparatus further includes:
the second determining unit is used for determining one or more road side devices to which the first vehicle is to travel from a group of road side devices according to the vehicle running parameters of the first vehicle carried in the target vehicle message after determining that the vehicle exists in the second area range;
the second sending unit is used for sending a suspending upgrading instruction to the road side equipment which initiates the upgrading application in the one or more road side equipment.
In an exemplary embodiment, the above apparatus further includes:
the extraction unit is used for extracting the running speed of the second vehicle to be driven to the current road side equipment from the suspension upgrading instruction sent by the first road side equipment under the condition of receiving the suspension upgrading instruction sent by the first road side equipment in the group of road side equipment;
A third determining unit, configured to determine an estimated travel time for the second vehicle to reach the current roadside apparatus according to a travel speed of the second vehicle and a distance between the first roadside apparatus and the current roadside apparatus;
and the third sending unit is used for sending a suspension upgrading instruction to the second road side equipment under the condition that the estimated running time is less than or equal to the maximum upgrading time, wherein the second road side equipment is the road side equipment which initiates an upgrading application in the next road side equipment to which the second vehicle runs from the current road side equipment.
In an exemplary embodiment, the above apparatus further includes:
a fourth determining unit, configured to determine, when the second road side device includes a plurality of road side devices and the second vehicle travels within the second area, a target road side device to which the second vehicle is to travel, from the plurality of road side devices, according to a vehicle traveling parameter of the second vehicle;
the first execution unit is used for sending a deferred upgrading instruction to the target road side equipment and sending an upgrading allowing instruction to other road side equipment except the target road side equipment in the plurality of road side equipment, wherein the upgrading allowing instruction is used for indicating that the other road side equipment is allowed to carry out equipment upgrading.
In an exemplary embodiment, the above apparatus further includes:
a fourth sending unit, configured to send a first request message to the server under the condition that it is determined that the vehicle exists in the second area range and/or a suspension upgrade instruction sent by any one of a set of roadside devices is received, where the first request message is used to request configuration of upgrade time of the current roadside device;
and the fifth determining unit is used for determining the upgrading time carried in the first response message as the upgrading time of the current road side equipment under the condition that the receiving server responds to the first response message sent by the first request message.
In an exemplary embodiment, the upgrade instruction further includes a validity period of the upgrade package of the first device; the device further comprises:
a fifth sending unit, configured to send a second request message to the server side when the validity period of the first device upgrade package expires and the current roadside device does not perform device upgrade, where the second request message is used to request to obtain the device upgrade package of the current roadside device;
the second execution unit is used for receiving a second equipment upgrade package sent by the server side in response to the second request message and setting the validity period of the second equipment upgrade package;
And the second upgrading unit is used for attempting to upgrade the equipment of the current road side equipment by using the second equipment upgrading packet in the valid period of the second equipment upgrading packet.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to yet another aspect of embodiments of the present application, there is also provided a storage medium. Alternatively, in this embodiment, the storage medium may be used to execute the program code of any one of the above-mentioned roadside device upgrade methods in the embodiments of the present application.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
s1, responding to a received upgrade instruction, acquiring a first equipment upgrade package, wherein the first equipment upgrade package is used for carrying out equipment upgrade on current road side equipment;
S2, sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device;
s3, determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service;
s4, under the condition that no vehicle exists in the second area range and a suspension upgrading instruction sent by any one of a group of road side devices is not received, performing device upgrading on the current road side device by using the first device upgrading packet, wherein the suspension upgrading instruction is used for indicating suspension of device upgrading.
Alternatively, specific examples in the present embodiment may refer to examples described in the above embodiments, which are not described in detail in the present embodiment.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, ROM, RAM, a mobile hard disk, a magnetic disk or an optical disk.
According to still another aspect of the embodiments of the present application, there is further provided an electronic apparatus for implementing the above-mentioned method for upgrading a road side device, where the electronic apparatus may be a road side device, another device (electronic device) having a connection with a road side device, or a combination thereof.
Fig. 5 is a block diagram of an alternative electronic device, according to an embodiment of the present application, including a processor 502, a communication interface 504, a memory 506, and a communication bus 508, as shown in fig. 5, wherein the processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508, wherein,
a memory 506 for storing a computer program;
the processor 502 is configured to execute the computer program stored in the memory 506, and implement the following steps:
s1, responding to a received upgrade instruction, acquiring a first equipment upgrade package, wherein the first equipment upgrade package is used for carrying out equipment upgrade on current road side equipment;
s2, sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device;
s3, determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service;
s4, under the condition that no vehicle exists in the second area range and a suspension upgrading instruction sent by any one of a group of road side devices is not received, performing device upgrading on the current road side device by using the first device upgrading packet, wherein the suspension upgrading instruction is used for indicating suspension of device upgrading.
Alternatively, in the present embodiment, the communication bus may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus. The communication interface is used for communication between the electronic device and other equipment.
The memory may include RAM or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
As an example, the memory 506 may include, but is not limited to, the acquiring unit 402, the first transmitting unit 404, the first determining unit 406, and the first upgrading unit 408 in the above-described roadside apparatus upgrading device. In addition, other module units in the above-mentioned road side equipment upgrading device may be further included, which is not described in detail in this example.
The processor may be a general purpose processor and may include, but is not limited to: CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (DigitalSignal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be understood by those skilled in the art that the structure shown in fig. 5 is only schematic, and the device implementing the event slot extraction method may be a terminal device, and the terminal device may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 5 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 units may be selected according to actual needs to achieve the purpose of the solution provided in the present embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or at least two units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for upgrading road side equipment, comprising the steps of:
responding to a received upgrading instruction, acquiring a first equipment upgrading packet, wherein the first equipment upgrading packet is used for carrying out equipment upgrading on current road side equipment;
Sending a target upgrading application to a group of road side devices, wherein the group of road side devices are road side devices in a first area range of the current road side device;
determining whether a vehicle exists in a second area range of the current road side equipment, wherein the second area range is an area range of the current road side equipment for providing preset service;
and under the condition that no vehicle exists in the second area range and a suspension upgrading instruction sent by any one of the set of road side equipment is not received, carrying out equipment upgrading on the current road side equipment by using the first equipment upgrading packet, wherein the suspension upgrading instruction is used for indicating suspension of equipment upgrading.
2. The method of claim 1, wherein the determining whether a vehicle is present within a second area of the current roadside device comprises:
under the condition that a target vehicle message sent by a first vehicle is received, determining whether the first vehicle is located in the second area according to the vehicle position of the first vehicle carried in the target vehicle message;
determining that a vehicle is present in the second area range if the first vehicle is located in the second area range;
And determining that no vehicle exists in the second area range when the first vehicle is located outside the second area range.
3. The method of claim 2, wherein after said determining that a vehicle is present within said second area, the method further comprises:
according to the vehicle running parameters of the first vehicle carried in the target vehicle message, determining one or more road side devices to which the first vehicle is to run from the set of road side devices;
and sending the temporary upgrading instruction to the road side equipment initiating the upgrading application in the one or more road side equipment.
4. The method according to claim 1, wherein the method further comprises:
extracting the running speed of a second vehicle to be driven to the current road side equipment from the deferred upgrading instruction sent by the first road side equipment under the condition that the deferred upgrading instruction sent by the first road side equipment in the group of road side equipment is received;
determining estimated travel time for the second vehicle to reach the current road side equipment according to the travel speed of the second vehicle and the distance between the first road side equipment and the current road side equipment;
And sending the temporary upgrading instruction to second road side equipment under the condition that the estimated running time is smaller than or equal to the maximum upgrading time, wherein the second road side equipment is the road side equipment which initiates an upgrading application in the next road side equipment to which the second vehicle runs from the current road side equipment.
5. The method according to claim 4, wherein the method further comprises:
when the second road side device comprises a plurality of road side devices and the second vehicle runs in the second area range, determining a target road side device to which the second vehicle is to run in the plurality of road side devices according to the vehicle running parameters of the second vehicle;
and sending the temporary upgrading instruction to the target road side equipment, and sending an upgrading allowing instruction to other road side equipment except the target road side equipment in the plurality of road side equipment, wherein the upgrading allowing instruction is used for indicating that the other road side equipment is allowed to carry out equipment upgrading.
6. The method according to any one of claims 1 to 5, further comprising:
transmitting a first request message to a server under the condition that a vehicle exists in the second area range and/or the deferred upgrading instruction transmitted by any one of the set of road side equipment is received, wherein the first request message is used for requesting to configure the upgrading time of the current road side equipment;
Under the condition that a first response message sent by the server side in response to the first request message is received, determining the upgrading time carried in the first response message as the upgrading time of the current road side equipment.
7. The method of any one of claims 1 to 5, wherein the upgrade instruction further comprises an expiration date of the first device upgrade package; the method further comprises the steps of:
sending a second request message to a server under the condition that the validity period of the first equipment upgrading packet expires and the current road side equipment is not subjected to equipment upgrading, wherein the second request message is used for requesting to acquire the equipment upgrading packet of the current road side equipment;
receiving a second equipment upgrading packet sent by the server side in response to the second request message, and setting the validity period of the second equipment upgrading packet;
and in the validity period of the second equipment upgrading packet, attempting to upgrade the equipment of the current road side equipment by using the second equipment upgrading packet.
8. A roadside apparatus upgrade apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for responding to a received upgrading instruction to acquire a first device upgrading packet, wherein the first device upgrading packet is used for carrying out device upgrading on current road side equipment;
The system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending a target upgrading application to a group of road side equipment, and the group of road side equipment is road side equipment in a first area range of the current road side equipment;
a first determining unit, configured to determine whether a vehicle exists in a second area range of the current roadside apparatus, where the second area range is an area range in which the current roadside apparatus provides a preset service;
and the first upgrading unit is used for upgrading the current road side equipment by using the first equipment upgrading packet under the condition that no vehicle exists in the second area range and a suspending upgrading instruction sent by any road side equipment in the group of road side equipment is not received, wherein the suspending upgrading instruction is used for indicating suspending equipment upgrading.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202211742984.1A 2022-12-31 2022-12-31 Road side equipment upgrading method and device, storage medium and electronic device Pending CN116048578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211742984.1A CN116048578A (en) 2022-12-31 2022-12-31 Road side equipment upgrading method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211742984.1A CN116048578A (en) 2022-12-31 2022-12-31 Road side equipment upgrading method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116048578A true CN116048578A (en) 2023-05-02

Family

ID=86124993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211742984.1A Pending CN116048578A (en) 2022-12-31 2022-12-31 Road side equipment upgrading method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116048578A (en)

Similar Documents

Publication Publication Date Title
CN109416871B (en) Vehicle communication system and method
JP6519708B2 (en) CONTROL DEVICE, PROGRAM UPDATE METHOD, AND COMPUTER PROGRAM
US10542379B2 (en) On-vehicle communication device, communication control method and vehicle
CN107521438B (en) Method and apparatus for dynamic localized coordinate download
US11228884B2 (en) Vehicle-to-vehicle file sharing system and method
CN111198890A (en) Map updating method, roadside device, vehicle-mounted device, vehicle and system
CN111066334B (en) Mobile communication system
CN107977215B (en) Vehicle-mounted system upgrading method and device
KR102103823B1 (en) V2x communication system and method thereof
US20190129710A1 (en) Control apparatus, method for determining whether or not a control program is updatable, and computer program
JP2017228107A (en) Relaying device, relaying method, and computer program
CN113203425A (en) Lane matching method, device, equipment, storage medium and vehicle based on vehicle-road cooperation
US20200409678A1 (en) Vehicle software update network
CN110362329A (en) A kind of version updating inspection method and system
KR20220127185A (en) Vehicle, infra and method for controlling the vehicle to infrastructure communication
EP3678353B1 (en) Matching a first connected device with a second connected device based on vehicle-to-everything v2x message variables
CN113542018A (en) OTA (over the air) upgrading system and method based on V2X
CN114401270A (en) Application migration method, system, device, electronic equipment and storage medium
CN116048578A (en) Road side equipment upgrading method and device, storage medium and electronic device
WO2020003814A1 (en) Car-to-car communication system, vehicle communication device
CN111031142A (en) Software upgrading method, device and medium
US10721686B2 (en) Method for controlling a telematic control unit
CN113242533B (en) Driving environment information acquisition method and vehicle-mounted equipment
WO2017195520A1 (en) Vehicle control system and vehicle control device
JP2018077587A (en) On-vehicle communication device, information collection system, computer program, and communication method

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