A method and device for upgrading RSU, RSU and RSU relay

By obtaining the upgrade synchronization information of neighboring RSUs and optimizing the upgrade strategy to avoid simultaneous upgrades of multiple RSUs, the problem of reduced V2R service quality during RSU upgrades is solved and network stability and service continuity during RSU upgrades are achieved.

CN112000345BActive Publication Date: 2024-09-06ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910446844.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-27
Publication Date
2024-09-06
Estimated Expiration
2039-10-25

AI Technical Summary

Technical Problem

During the RSU upgrade process, the upgrade of a single device may cause multiple devices to be upgraded simultaneously, resulting in a significant reduction in V2R service quality and inability to effectively maintain the stability of the in-vehicle network.

Method used

By obtaining the upgrade synchronization information of nearby RSUs to determine whether they are in a non-upgrade state, an optimized upgrade strategy is adopted to maintain the stability of the on-board network during the RSU upgrade period, avoid simultaneous upgrades of multiple RSUs, and ensure the continuity of V2R services.

Benefits of technology

Provide relatively stable V2R services during the RSU upgrade period, significantly improve road traffic efficiency, and avoid the situation where some road sections cannot support V2R functions in the short term.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112000345B
    Figure CN112000345B
Patent Text Reader

Abstract

A method, device, RSU and RSU relay for RSU upgrade, wherein the method comprises: a first RSU obtains upgrade synchronization information of a neighboring RSU; the neighboring RSU is one or more preset RSUs; the first RSU performs an upgrade when it determines that the neighboring RSU is in a non-upgraded state according to the upgrade synchronization information of the neighboring RSU. The embodiment of the present invention optimizes the upgrade strategy of the RSU using the Internet of Vehicles technology, maintains the stability of the vehicle network during the RSU upgrade, provides an acceptable and relatively stable V2R service, and thus significantly improves the road traffic efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to, but is not limited to, a method, device, RSU, RSU relay, and computer-readable storage medium for upgrading a road side unit (RSU). Background Art

[0002] The Internet of Vehicles provides two dedicated communication modes: vehicle-to-vehicle and vehicle-to-roadside unit (V2R) communication. R stands for Road Side Unit (RSU), which has data storage and computing capabilities and gateway functions. It is a wireless transceiver that can exchange information with the On Board Unit (OBU) in the vehicle. It can be independently deployed on both sides of the road for large-area sensing and communication. RSU can not only communicate with vehicles through wireless networks, but also access the Internet to expand the application services of the Internet of Vehicles.

[0003] In actual use, the RSU software itself also needs to be upgraded. Since RSU products are deployed on both sides of the road, their working environment makes their version upgrades special. Summary of the invention

[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0005] During the RSU product upgrade process, only considering the upgrade of a single device may cause multiple devices to be upgraded at the same time, which will greatly reduce the quality of V2R services.

[0006] Embodiments of the present invention provide a method, an apparatus, an RSU, an RSU relay, and a computer-readable storage medium for upgrading an RSU, so as to provide a relatively stable V2R service during the upgrading process.

[0007] An embodiment of the present invention provides a method for upgrading an RSU, including:

[0008] The first RSU obtains upgrade synchronization information of a neighboring RSU; the neighboring RSU is one or more preset RSUs;

[0009] When the first RSU determines, according to the upgrade synchronization information of the adjacent RSU, that the adjacent RSU is in a non-upgraded state, the first RSU performs an upgrade.

[0010] An embodiment of the present invention further provides a method for upgrading an RSU, including:

[0011] RSU relay obtains upgrade synchronization information;

[0012] The RSU relay determines the target RSU according to the adjacent RSU list in the upgrade synchronization information;

[0013] The RSU relay sends the upgrade synchronization information to the target RSU.

[0014] An embodiment of the present invention further provides a device for upgrading an RSU, including:

[0015] A first acquisition unit is used to acquire upgrade synchronization information of an adjacent RSU; the adjacent RSU is one or more preset RSUs;

[0016] The upgrading unit is used to upgrade when it is determined that the adjacent RSU is in a non-upgraded state according to the upgrading synchronization information of the adjacent RSU.

[0017] An embodiment of the present invention further provides a device for upgrading an RSU, including:

[0018] A second acquisition unit, used to acquire upgrade synchronization information;

[0019] A determination unit, configured to determine a target RSU according to a list of adjacent RSUs in the upgrade synchronization information;

[0020] A sending unit is used to send the upgrade synchronization information to the target RSU.

[0021] An embodiment of the present invention further provides an RSU, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method for upgrading the RSU is implemented when the processor executes the program.

[0022] An embodiment of the present invention also provides an RSU relay, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the RSU upgrade method when executing the program.

[0023] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the RSU upgrading method.

[0024] The embodiment of the present invention includes: a first RSU obtains upgrade synchronization information of a neighboring RSU; the neighboring RSU is one or more preset RSUs; the first RSU performs an upgrade when it determines that the neighboring RSU is in a non-upgraded state according to the upgrade synchronization information of the neighboring RSU. The embodiment of the present invention optimizes the upgrade strategy of the RSU using the Internet of Vehicles technology, maintains the stability of the vehicle network during the RSU upgrade, provides an acceptable and relatively stable V2R service, and thus significantly improves the road traffic efficiency.

[0025] Other aspects will be apparent upon reading and understanding the drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flow chart of a method for upgrading an RSU according to an embodiment of the present invention (applied to RSU);

[0027] Figure 2 is a processing flow chart of the first RSU of an application example of the present invention;

[0028] Figure 3 is a schematic diagram of the composition of the first RSU of an application example of the present invention;

[0029] Figure 4 is a flow chart of a method for upgrading an RSU according to an embodiment of the present invention (applied to an RSU relay);

[0030] Figure 5 It is a processing flow chart of the RSU relay of the application example of the present invention;

[0031] Figure 6 It is a schematic diagram of the composition of the RSU relay of the application example of the present invention;

[0032] Figure 7 It is a schematic diagram of forwarding upgrade synchronization information via a passing vehicle before and after the upgrade of an application example of the present invention;

[0033] Figure 8 1 is a schematic diagram of the composition of an RSU upgrading device according to an embodiment of the present invention (applied to RSU);

[0034] Fig. 9 It is a schematic diagram of the composition of the RSU upgrading device according to an embodiment of the present invention (applied to RSU relay);

[0035] Fig.10 Schematic diagram of the composition of the RSU according to an embodiment of the present invention;

[0036] Fig.11 It is a schematic diagram of the composition of the RSU relay according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0038] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.

[0039] The current upgrade plan is usually to upgrade a single RSU, and no upgrade based on the overall status of the RSU on the entire road is considered. However, if all RSUs on both sides of the road are upgraded at the same time, the road will temporarily be unable to support the V2R function. If several adjacent RSUs are upgraded at the same time, some sections of the road may not be able to support the V2R function for a short period of time.

[0040] Considering that RSUs are deployed on both sides of the road for real-time detection of road vehicle conditions, it is not possible to upgrade all or randomly some RSUs like other terminals. When upgrading a certain RSU, it is necessary to comprehensively consider the RSU upgrade strategy on the entire road.

[0041] Therefore, the embodiments of the present invention propose a method, device and system for RSU upgrade, so as to maintain the stability of the vehicle network during the RSU upgrade and provide acceptable and relatively stable V2R services.

[0042] like Figure 1 As shown, the RSU upgrade method of the embodiment of the present invention includes:

[0043] Step 101: A first RSU obtains upgrade synchronization information of a neighboring RSU, where the neighboring RSU is one or more preset RSUs.

[0044] The adjacent RSU may refer to one or more RSUs within a specified range from the first RSU, for example, RSUs on both sides of the same road, or two RSUs closest to the first RSU.

[0045] The upgrade synchronization information includes an upgrade flag, which is used to indicate whether the RSU is in an upgrade state.

[0046] In one embodiment, the upgrade mark "to be upgraded" corresponds to the RSU being in the upgrade state, and the upgrade mark "idle" corresponds to the RSU being in the non-upgrade state.

[0047] In one embodiment, the upgrade synchronization information may further include: a device number of the own RSU, a GPS (Global Positioning System) location, and a list of neighboring RSUs.

[0048] The adjacent RSU list includes device numbers of the adjacent RSUs.

[0049] In the embodiment of the present invention, the first RSU can obtain the upgrade synchronization information of the adjacent RSU in three ways:

[0050] 1. The first RSU directly obtains the upgrade synchronization information of the adjacent RSU through the self-organizing network;

[0051] 2. The first RSU obtains the upgrade synchronization information of the adjacent RSU through the relay forwarding of the passing vehicle based on the V2R protocol;

[0052] 3. The first RSU obtains the upgrade synchronization information of the adjacent RSU through the Internet of Vehicles cloud relay.

[0053] The relays 2 and 3 may obtain the upgrade synchronization information of the adjacent RSUs and forward it to the first RSU.

[0054] Step 102: When the first RSU determines that the adjacent RSU is in a non-upgraded state according to the upgrade synchronization information of the adjacent RSU, the first RSU performs an upgrade.

[0055] Among them, according to a preset strategy, the upgrade can be performed when all neighboring RSUs are in a non-upgraded state, or when some neighboring RSUs are in a non-upgraded state.

[0056] This can avoid upgrading several adjacent RSUs at the same time, which may cause some road sections to be unable to support the V2R function in the short term.

[0057] In one embodiment, the method further comprises:

[0058] The first RSU determines that the adjacent RSU is in an upgrading state according to the upgrading synchronization information of the adjacent RSU, waits until the adjacent RSU is in a non-upgrading state, and then performs upgrading.

[0059] In this step, the upgrade may be performed after waiting until all neighboring RSUs are in a non-upgraded state.

[0060] In other words, it is ensured that several adjacent RSUs are not upgraded at the same time.

[0061] In one embodiment, before the first RSU is upgraded, the method further includes:

[0062] The first RSU sends its own upgrade synchronization information to the adjacent RSU, where the upgrade synchronization information carries information that the first RSU is in an upgrade state.

[0063] In this step, the first RSU informs the neighboring RSUs that it is in an upgrade state.

[0064] In one embodiment, after the first RSU is upgraded, the method further includes:

[0065] The first RSU sends its own upgrade synchronization information to the adjacent RSU, where the upgrade synchronization information carries information that the first RSU is in a non-upgraded state.

[0066] In this step, the first RSU informs the neighboring RSUs that it is in a non-upgraded state.

[0067] The embodiment of the present invention utilizes the Internet of Vehicles technology to optimize the upgrade strategy of the RSU, maintains the stability of the vehicle network during the RSU upgrade, and provides an acceptable and relatively stable V2R service, thereby significantly improving road traffic efficiency.

[0068] The following is an application example:

[0069] The processing flow of the first RSU includes the following steps:

[0070] Step 201, collecting the upgrade synchronization information of this RSU (the upgrade synchronization information includes the device number, GPS location, upgrade mark of the RSU, and the numbers of several adjacent RSUs);

[0071] Step 202, determine whether the upgrade mark of this RSU has changed, such as from "idle" to "to be upgraded", or from "to be upgraded" to "idle". If it has changed, go to step 203, otherwise, go to step 201;

[0072] Step 203, extracting the upgrade synchronization information of the adjacent RSU, and then proceeding to step 204;

[0073] Step 204, determine whether there is any RSU in the vicinity that is "about to be upgraded". If not, proceed to step 205, otherwise proceed to step 203;

[0074] Step 205, record the upgrade synchronization information collected by the RSU this time, and send it to the neighboring RSU;

[0075] Step 206, determining whether the upgrade flag of the RSU is updated from "idle" to "to be upgraded", if yes, proceeding to step 207, otherwise proceeding to step 201;

[0076] Step 207 , upgrade this RSU, after the upgrade is completed, update the upgrade mark, and go to step 201 .

[0077] like Figure 3 As shown, the RSU device may include three parts: an information collection module 301 , an information processing module 302 , and an information sending module 303 .

[0078] The information collection module 301 is used to collect the upgrade synchronization information of the RSU (the upgrade synchronization information consists of the device number of the RSU, GPS location, upgrade mark, and numbers of several adjacent RSUs), and the collection can be done once every 10 seconds.

[0079] The information sending module 302 supports one or more communication protocols such as the self-organizing network protocol, the V2R protocol, and the cloud agreement protocol, and is used to send upgrade synchronization information to the adjacent RSU. There are multiple sending methods:

[0080] (1) Directly sent through the RSU self-organizing network;

[0081] (2) Relay-forwarding based on the V2R protocol by passing vehicles;

[0082] (3) Relay-forwarding through the Internet of Vehicles cloud;

[0083] Among them, the relays in (2) and (3) can extract the neighboring RSU information through the upgrade synchronization information of the sender RSU and forward it to the designated target.

[0084] The information processing module 303 determines whether it needs to send status information to the adjacent RSU according to its own upgrade synchronization information; determines whether it can be upgraded according to the received upgrade synchronization information of the adjacent RSU, and upgrades when it can be upgraded.

[0085] like Figure 4 As shown, the RSU upgrade method of the embodiment of the present invention is applied to the RSU relay, including:

[0086] Step 401: The RSU relay obtains upgrade synchronization information.

[0087] The RSU relay may obtain the upgrade synchronization information from the source RSU via a V2R protocol or a cloud protocol.

[0088] The cloud agreement refers to the agreement agreed upon with the cloud.

[0089] The upgrade synchronization information may include: the device number of its own RSU, GPS location, upgrade mark, and adjacent RSU list.

[0090] The adjacent RSU list includes device numbers of the adjacent RSUs.

[0091] Step 402: The RSU relay determines a target RSU according to the adjacent RSU list in the upgrade synchronization information.

[0092] The target RSU is an RSU included in the adjacent RSU list.

[0093] Step 403: The RSU relay sends the upgrade synchronization information to the target RSU.

[0094] The RSU relay may send the upgrade synchronization information to the target RSU via a V2R protocol or a cloud protocol.

[0095] In one embodiment, the RSU relay deletes the upgrade synchronization information.

[0096] When the sending is completed, the RSU relay can delete the sent upgrade synchronization information.

[0097] The following is an application example:

[0098] The RSU relay in the embodiment of the present invention can be a vehicle-mounted device or a vehicle network cloud. Figure 5 , the processing flow of the RSU relay includes:

[0099] Step 501, the RSU relay reads an upgrade synchronization message; proceed to step 502;

[0100] Step 502, the RSU relay checks the adjacent RSU list in the upgrade synchronization information and confirms the target RSU to be sent;

[0101] Step 503, the RSU relay sends the upgrade synchronization information to the target RSU;

[0102] Step 504 , the RSU relay deletes the upgrade synchronization information, and then goes to step 501 .

[0103] like Figure 6 As shown, the RSU relay cooperates with the RSU upgrade and may include three parts: an information receiving module 601 , an information processing module 602 and an information forwarding module 603 .

[0104] The information receiving module 601 receives the upgrade synchronization information sent by the RSU;

[0105] Information processing module 602, responsible for sending upgrade synchronization information to the target RSU;

[0106] The information forwarding module 603 is used to check the adjacent RSU list to determine to which targets and to which adjacent RSUs the upgrade synchronization information is sent.

[0107] Reference Figure 7 , taking the relay-forwarding based on the V2R protocol by passing vehicles as an example.

[0108] The pre-conditions are as follows:

[0109] (1) The RSUs interact with each other through the V2R protocol, and the relay-forwarding upgrade synchronization information is carried out by passing vehicles;

[0110] (2) RSUs 1, 2, and 3 are deployed in sequence on a road, and the only RSUs adjacent to RSU 2 are RSUs 1 and 3;

[0111] (3) At a certain moment, RSU No. 2 is in the "upgrade-to-be" state, and RSU No. 1 and No. 3 are in the "idle" state. Then, car A passes by in the direction from RSU No. 2 to RSU No. 3. Car B passes by in the direction from RSU No. 2 to RSU No. 1.

[0112] (4) After the upgrade of RSU No. 2 is completed, RSU No. 2 is in the "idle" state, and RSU No. 1 and RSU No. 3 are in the "idle" state. Then, the direction from RSU No. 2 to RSU No. 3 passes by car C. The direction from RSU No. 2 to RSU No. 1 passes by car D.

[0113] Step 1, RSU No. 2 collects its own upgrade synchronization information every 10 seconds. After comparing it with the last recorded upgrade synchronization information, it finds that its own upgrade mark has changed from "idle" to "upgrade soon". RSU No. 2 then detects the received upgrade synchronization information of the adjacent RSUs (i.e., RSU No. 1 and RSU No. 3), and finds that RSU No. 1 and RSU No. 3 are both in idle state, confirming that it can be upgraded. Therefore, RSU No. 2 records this upgrade synchronization information and prepares to send the information to RSU No. 1 and RSU No. 3.

[0114] If RSU No. 2 detects that the upgrade synchronization information of RSU No. 1 and RSU No. 3 has an upgrade mark of RSU as about to be upgraded, it waits until RSU No. 1 and RSU No. 3 are both in an idle state.

[0115] Step 2: Car A enters the coverage of RSU No. 2. Based on the V2R protocol, the on-board equipment receives the upgrade synchronization information (about to be upgraded) sent by RSU No. 2. Car A leaves and enters the coverage of RSU No. 3. It confirms that the current RSU is the target RSU to send information, sends the upgrade synchronization information to RSU No. 3 using the V2R protocol, and deletes this information.

[0116] Step 3: Car B enters the coverage of RSU No. 2. Similar to step 2, based on the V2R protocol, the on-board equipment receives the upgrade synchronization information (about to be upgraded) sent by RSU No. 2. Car B leaves and enters the coverage of RSU No. 1, confirms that the current RSU is the target RSU to send information, sends the upgrade synchronization information to RSU No. 1 using the V2R protocol, and deletes this information.

[0117] Step 4: RSU No. 2 is upgraded, and RSU No. 1 and No. 3 continue to work and provide V2R services.

[0118] Step 5: After the upgrade of RSU No. 2 is completed, its upgrade mark changes to "idle". RSU No. 2 then detects the upgrade synchronization information received from the adjacent RSUs (i.e., RSU No. 1 and RSU No. 3), and finds that RSU No. 1 and RSU No. 3 are both in idle state, so upgrade synchronization information can be sent to them. Therefore, RSU No. 2 records the upgrade synchronization information and prepares to send the information to RSU No. 1 and RSU No. 3.

[0119] Step 6: Car C enters the coverage of RSU No. 2. Based on the V2R protocol, the on-board equipment receives the upgrade synchronization information (idle) sent by RSU No. 2. Car C leaves and enters the coverage of RSU No. 3. It confirms that the current RSU is the target RSU to send information. It sends the upgrade synchronization information to RSU No. 3 using the V2R protocol and deletes the information.

[0120] Step 7, vehicle D enters the coverage of RSU No. 2. Similar to step 6, based on the V2R protocol, the on-board equipment receives the upgrade synchronization information (idle) sent by RSU No. 2. Vehicle D leaves and enters the coverage of RSU No. 1, confirms that the current RSU is the target RSU to send information, sends the upgrade synchronization information to RSU No. 1 using the V2R protocol, and deletes this information.

[0121] Step 8: RSU No. 2 is idle and can continue to work and provide V2R service. RSU No. 1 and RSU No. 3 can determine whether they can be upgraded based on the information of their neighboring RSUs.

[0122] In summary, the embodiments of the present invention can prevent multiple RSUs on some sections of the road or the entire section of the RSU from being unable to support the V2R function in the short term due to upgrading, so that some RSUs can still provide related services, such as smart transportation and autonomous driving, while upgrading, which is conducive to improving the stability of the Internet of Vehicles business during the RSU upgrade.

[0123] like Figure 8 As shown, an embodiment of the present invention further provides a device for upgrading an RSU, which is applied to an RSU, and includes:

[0124] The first acquisition unit 801 is used to acquire the upgrade synchronization information of the adjacent RSU; the adjacent RSU is one or more preset RSUs;

[0125] The upgrading unit 802 is configured to upgrade the adjacent RSU when it is determined that the adjacent RSU is in a non-upgraded state according to the upgrading synchronization information of the adjacent RSU.

[0126] In one embodiment, the upgrading unit 802 is further configured to determine that the adjacent RSU is in an upgraded state according to the upgrading synchronization information of the adjacent RSU, and wait until the adjacent RSU is in a non-upgraded state before upgrading.

[0127] In one embodiment, the upgrading unit 802 is further configured to send its own upgrading synchronization information to the adjacent RSU, wherein the upgrading synchronization information carries information that the upgrading unit is in an upgrading state.

[0128] In one embodiment, the upgrading unit 802 is further configured to send its own upgrading synchronization information to the adjacent RSU, wherein the upgrading synchronization information carries information that the upgrading unit is in a non-upgrading state.

[0129] In one embodiment, the first acquisition unit 801 is configured to acquire the upgrade synchronization information of the adjacent RSU in at least one of the following ways:

[0130] Directly obtain the upgrade synchronization information of the adjacent RSU through the self-organizing network;

[0131] Obtaining the upgrade synchronization information of the adjacent RSU through relaying based on the V2R protocol by passing vehicles;

[0132] The upgrade synchronization information of the adjacent RSU is obtained through the Internet of Vehicles cloud relay forwarding.

[0133] In one embodiment, the upgrade synchronization information includes an upgrade flag, which is used to indicate whether the RSU is in an upgrade state.

[0134] In one embodiment, the upgrade synchronization information further includes at least one of the following:

[0135] The device number of its own RSU, GPS location, and list of nearby RSUs;

[0136] The adjacent RSU list includes device numbers of the adjacent RSUs.

[0137] like Fig. 9 As shown, an embodiment of the present invention further provides an RSU upgrading device, which is applied to RSU relay, including:

[0138] The second acquisition unit 901 is used to acquire upgrade synchronization information;

[0139] A determining unit 902, configured to determine a target RSU according to a list of adjacent RSUs in the upgrade synchronization information;

[0140] The sending unit 903 is configured to send the upgrade synchronization information to the target RSU.

[0141] In one embodiment, the second acquisition unit 901 is configured to acquire the upgrade synchronization information from the source RSU via a V2R protocol or a cloud protocol.

[0142] In one embodiment, the device further comprises:

[0143] A deleting unit is used to delete the upgrade synchronization information.

[0144] like Fig.10 As shown, an embodiment of the present invention further provides an RSU, comprising: a memory 1001, a processor 1002, and a computer program 1003 stored in the memory 1001 and executable on the processor 1002, wherein the processor 1002 implements the RSU upgrade method when executing the program.

[0145] like Fig.11 As shown, an embodiment of the present invention also provides an RSU relay, including: a memory 1101, a processor 1102, and a computer program 1103 stored in the memory 1101 and executable on the processor 1102, wherein the processor 1102 implements the RSU upgrade method when executing the program.

[0146] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the RSU upgrading method.

[0147] In this embodiment, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0148] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A method for upgrading a roadside unit RSU, comprising: The first RSU obtains the upgrade synchronization information of the adjacent RSU; The adjacent RSU is one or more preset RSUs; When the first RSU determines, according to the upgrade synchronization information of the adjacent RSU, that the adjacent RSU is in a non-upgraded state, upgrading; Wherein, the method further comprises: The first RSU determines that the adjacent RSU is in an upgraded state according to the upgrade synchronization information of the adjacent RSU, waits until the adjacent RSU is in a non-upgraded state, and then performs an upgrade; Before the first RSU is upgraded, the method further includes: The first RSU sends its own upgrade synchronization information to the adjacent RSU, where the upgrade synchronization information carries information that the first RSU is in an upgrade state; After the first RSU is upgraded, the method further includes: The first RSU sends its own upgrade synchronization information to the adjacent RSU, where the upgrade synchronization information carries information that the first RSU is in a non-upgraded state; The first RSU acquires the upgrade synchronization information of the adjacent RSU, including at least one of the following: The first RSU directly obtains the upgrade synchronization information of the adjacent RSU through the self-organizing network; The first RSU obtains the upgrade synchronization information of the adjacent RSU through relay forwarding based on the V2R protocol by a passing vehicle; The first RSU obtains the upgrade synchronization information of the adjacent RSU through the Internet of Vehicles cloud relay forwarding.

2. The method according to claim 1, characterized in that The upgrade synchronization information includes an upgrade flag, which is used to indicate whether the RSU is in an upgrade state.

3. The method according to claim 2, characterized in that The upgrade synchronization information also includes at least one of the following: The device number of its own RSU, GPS location, and list of nearby RSUs; The adjacent RSU list includes device numbers of the adjacent RSUs.

4. A method for upgrading an RSU, comprising: RSU relay obtains upgrade synchronization information; The RSU relay determines a target RSU according to a neighboring RSU list in the upgrade synchronization information, wherein the neighboring RSU is one or more preset RSUs, and the target RSU is an RSU included in the neighboring RSU list; The RSU relay sends the upgrade synchronization information to the target RSU, wherein the RSU relay obtains the upgrade synchronization information, including: The RSU relay obtains the upgrade synchronization information from the source RSU through the vehicle-to-roadside unit V2R protocol or the cloud protocol.

5. The method according to claim 4, characterized in that After the RSU relay sends the upgrade synchronization information to the target RSU, the method further includes: The RSU relay deletes the upgrade synchronization information.

6. A device for upgrading an RSU, comprising: A first acquisition unit, configured to acquire upgrade synchronization information of an adjacent RSU; The adjacent RSU is one or more preset RSUs; an upgrading unit, configured to upgrade when determining that the adjacent RSU is in a non-upgraded state according to the upgrade synchronization information of the adjacent RSU; The upgrading unit is further configured to determine that the adjacent RSU is in an upgrading state according to the upgrading synchronization information of the adjacent RSU, and wait until the adjacent RSU is in a non-upgrading state before upgrading; The upgrading unit is further configured to send its own upgrading synchronization information to the adjacent RSU, wherein the upgrading synchronization information carries information that the upgrading unit is in an upgrading state; The upgrading unit is further configured to send its own upgrading synchronization information to the adjacent RSU, wherein the upgrading synchronization information carries information that the upgrading unit is in a non-upgrading state; The first acquisition unit is configured to acquire the upgrade synchronization information of the adjacent RSU in at least one of the following ways: Directly obtain the upgrade synchronization information of the adjacent RSU through the self-organizing network; Obtaining the upgrade synchronization information of the adjacent RSU through relaying based on the V2R protocol by passing vehicles; The upgrade synchronization information of the adjacent RSU is obtained through the Internet of Vehicles cloud relay forwarding.

7. A device for upgrading an RSU, comprising: A second acquisition unit, used to acquire upgrade synchronization information; A determining unit, configured to determine a target RSU according to a neighboring RSU list in the upgrade synchronization information, wherein the neighboring RSU is one or more preset RSUs, and the target RSU is an RSU included in the neighboring RSU list; A sending unit, configured to send the upgrade synchronization information to the target RSU; The second acquisition unit is used to acquire the upgrade synchronization information from the source RSU through the V2R protocol or the cloud protocol.

8. An RSU, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for upgrading the RSU as claimed in any one of claims 1 to 3 is implemented.

9. An RSU relay, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for upgrading the RSU as described in any one of claims 4 to 5 is implemented.

10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the RSU upgrading method according to any one of claims 1 to 5.