The present disclosure relates to the field of Vehicle-to-Everything, and in particular, to an RSU (Road Side Unit) device control method, a server, and a storage medium.
In recent years, there is rapid development in the field of Vehicle-to-Everything, and how to ensure stability of communication between an RSU device and an On Board Unit (OBU) is an important issue. The RSU device has a limited signal coverage range. When a larger coverage range is set, more OBU devices are allowed to be accessed in unit area, which correspondingly results in large power consumption and high load of the RSU device, and causes hidden dangers to quality of service; and when a smaller coverage range is set, a smaller number of OBU devices are allowed to be accessed in the unit area, so that the RSU device can provide more reliable services, but once the RSU device has a fault such as an off-line fault, a signal blind spot may appear along a whole road, and requests from the OBUs in such spot cannot be responded to in time, which may seriously influence the stability of the communication between the RSU device and the OBU devices.
A major objective of the present disclosure is to provide an RSU device control method, a server, and a storage medium.
According to an exemplary embodiment of the present disclosure, there is provided an RSU device control method, including: monitoring a state of a first RSU device; according to the state of the first RSU device, determining a second RSU device which needs to be subjected to coverage range adjustment; and adjusting a coverage range of the second RSU device.
An embodiment of the present disclosure further provides a server, including a processor and a memory; and the processor is configured to execute one or more computer programs stored in the memory to implement operations of the RSU device control method described herein.
An embodiment of the present disclosure further provides a computer storage medium storing one or more computer programs executable by one or more processors to implement operations of the RSU device control method described herein.
Other features and corresponding beneficial effects of the present disclosure will be described in the following description, and it should be understood that at least part of the beneficial effects can become apparent from the description in the specification of the present disclosure.
In order to illustrate the technical solutions of the present disclosure more clearly, drawings for the illustration of the embodiments will be briefly described below.
Apparently, the drawings described below are merely for some embodiments of the present disclosure, and other drawings can be derived by those of ordinary skill in the art from the drawings described herein without any creative work.
The embodiments of the present disclosure will be described in detail below, the examples of the embodiments are illustrated by the drawings, and the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout the present disclosure. The embodiments described below with reference to the drawings are illustratively and merely used to explain the present disclosure, and should not be interpreted as limiting the present disclosure.
It should be understood by those of ordinary skill in the art that, unless expressly stated, “a”, “one”, and “the” used herein and indicating a singular form may indicate a plural form. It should be further understood that the term “comprise” used herein indicates the presence of the described features, integers, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, integers, operations, elements, components and/or combinations thereof. It should be understood that when an element is “connected” or “coupled” to another element, the element may be connected or coupled to another element directly or through an intermediate element. Further, the term “connect” or “couple” used herein may include wireless connection or wireless coupling. The term “and/or” used herein includes all or any one of one or more of associated listed items, and all combinations of the one or more of associated listed items.
It should be understood by those of ordinary skill in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It should be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with a meaning in the context of the existing technology, and should not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It should be understood that the embodiments described herein are merely intended to explain the present disclosure, rather than limiting the present disclosure. The terms “first” and “second” are merely used to refer to the RSU devices and have no other meaning. The “first RSU device” and the “second RSU device” may refer to a same RSU device or different RSU devices.
In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure are described in detail below in conjunction with the drawings. It should be noted that the embodiments herein and the features therein can be combined with one another if no conflict is incurred
According to an embodiment of the present disclosure, there is provided an RSU device control method. As shown in
operation S100, monitoring a state of a first RSU device.
In an exemplary implementation, monitoring the state of the first RSU device may include monitoring off-line time of the first RSU device or a current device access quantity of the first RSU device, so as to determine whether the state of the first RSU device is an off-line state or a high-load state.
In an exemplary implementation, various methods may be adopted to monitor whether the state of the first RSU device is the off-line state, and include, but are not limited to, monitoring the off-line time of the first RSU device, and marking the state of the first RSU device as the off-line state when the off-line time of the first RSU device exceeds a preset threshold, or when a device access quantity of the first RSU device is not read within a preset time range, or when a preset message is not received from the first RSU device within a preset time range, with the preset message including, but not limited to, a response message or a heartbeat message.
Furthermore, the device access quantity of the first RSU device is recorded when the off-line time of the first RSU device does not exceed the preset threshold, or when the device access quantity of the first RSU device is read within the preset time range, or when the preset message is received from the first RSU device within the preset time range, with the preset message including, but not limited to, the response message or the heartbeat message. In a case where the device access quantity of the first RSU device exceeds a preset threshold, the state of the first RSU device is marked as the high-load state.
It should be noted that the marking operation may be dynamically updated.
Certainly, the marking operation is not necessarily an actual marking action, as long as the state of the first RSU device can be accurately monitored.
Moreover, in an exemplary implementation, monitoring the state of the first RSU device refers to monitoring a state of the first RSU device in which the first RSU device fails to provide an effective high-quality service in time, so as to achieve effective control of the first RSU device and/or other RSU devices to improve the quality of service of the RSU devices. Therefore, the state is not limited to the aforesaid off-line or high-load state, and may be any other applicable state in which high-quality services cannot be provided, such as a power-off state or a network disconnection state.
The RSU device control method further includes operation S120:
operation S120, according to the state of the first RSU device, determining a second RSU device which needs to be subjected to coverage range adjustment.
In an exemplary implementation, the state of the first RSU device is obtained through accurate monitoring, and the second RSU device which needs to be subjected to coverage range adjustment is effectively and clearly determined based on the state of the RSU device, thereby achieving accurate and effective control, and ensuring that the RSU device can provide effective services with high reliability, stability and quality.
In an exemplary implementation, in a case where it is monitored that the state of the first RSU device is the off-line state, as shown in
In an exemplary implementation, in a case where the predicted device access quantity of the first RSU device is greater than a preset threshold, all other RSU devices except the first RSU device within a preset range are determined as the second RSU devices which need to be subjected to coverage range adjustment; or in a case where the predicted device access quantity of the first RSU device is less than the preset threshold, some other RSU devices except the first RSU device within the preset range are determined as the second RSU devices which need to be subjected to coverage range adjustment. The preset range may be set according to a location of the first RSU device or according to a certain region (a preset region where the first RSU device is located) that is convenient for unified management. That is, the preset range is not necessarily in a fixed or regular shape, and may be set according to actual situations.
It should be noted that predicting the device access quantity of the first RSU device may be performed according to historical access quantities of the first RSU device, and the historical access quantities may be counted according to seasons, peak hours, or other associated data. Certainly, predicting the device access quantity of the first RSU device may be also performed through dynamic intelligent prediction by a corresponding deep learning algorithm.
In an exemplary implementation, predicting the device access quantity of the first RSU device may be performed with the following method: reading the number of vehicles M1t within a coverage range corresponding to the first RSU device at a moment t in a normal state, an average value M2t of device access quantities of neighboring RSU devices with respect to the first RSU device at the moment t, and the device access quantity Mt of the first RSU device at the moment t; calculating an average value
For example, the method for predicting the device access quantity of the first RSU device may include the following operations.
Operation One: when the state of the first RSU device is the normal state, the following information is recorded at certain intervals, with the normal state referring to that the state of the first RSU device is neither the off-line state nor the high-load state.
(1) A statistical range is determined by taking the location of the first RSU device as a center and the coverage range of the first RSU device as a radius, and the number of all vehicles within the statistical range is counted according to location information of OBUs within the statistical range and is recorded as M1t.
(2) The OBU device access quantities of the neighboring RSU devices with respect to the first RSU device are acquired and are averaged to obtain an average value, and the average value is recorded M2t.
(3) The OBU device access quantity of the first RSU device is acquired and recorded as Mt.
Operation Two: when the state of the first RSU device is the off-line state, the recorded information is taken out. It is assumed that the historical records of n moments are recorded in total.
Operation Three: the prediction equation is established according to the recorded information for calculating a predicted value.
Firstly, an average value
Secondly, for M1 and M2 at a certain moment, both M1 and M2 may be taken as estimated values of Mt and estimated deviation degrees of the two estimated values with respect to M are respectively calculated, that is, calculating a variance σ12 of M1 relative to M and a variance σ22 of M2 relative to M.
Finally, the OBU device access quantity of the first RSU device in the off-line state is predicated.
Since the data of M is missing in the off-line state, the OBU device access quantity of the first RSU device in the off-line state is predicted according to M1 and M2. For M1 and M2, different deviation situations are incurred, so that M1 and M2 take different weights during prediction, and the prediction equation established is as follows:
The objective is to minimize a prediction error, i.e., minimizing the variance. Therefore, a following function is obtained through further derivation:
Derivation of the function is performed with respect to K, so as to obtain the following relational expression merely related to the variances of the two variables M1 and M2:
An extreme point of the function is:
In summary, the predication relational expression is:
The device access quantity of the first RSU device may be predicted by the prediction relational expression.
In another exemplary implementation, in a case where it is monitored that the state of the first RSU device is the high-load state, as shown in
In an exemplary implementation, the other RSU devices except the first RSU device within the preset range may be some other RSU devices except the first RSU device within the preset range, or all other RSU devices except the first RSU device within the preset range.
In an exemplary implementation, determining the other RSU devices as the second RSU devices which need to be subjected to coverage range adjustment may be determining some other RSU devices except the first RSU device within the preset range as the second RSU devices which need to be subjected to coverage range adjustment, or determining all other RSU devices except the first RSU device within the preset range as the second RSU devices which need to be subjected to coverage range adjustment. Some other RSU devices except the first RSU device within the preset range refer to such devices within the preset range that, taking a location of the first RSU device as a center, distances from the devices to the location of the first RSU device meet a requirement of a preset distance threshold.
It should be noted that the preset range may be set according to the location of the first RSU device or according to a certain region (a preset region where the first RSU device is located) that is convenient for unified management. That is, the preset range is not necessarily in a fixed or regular shape, and may be set according to actual situations.
Furthermore, an illustrative description of the operation of determining, according to the state of the first RSU device, the second RSU device which needs to be subjected to coverage range adjustment is given with reference to
What is illustrated by
In an exemplary implementation, in a case where the state of the first RSU device is the off-line state and the predicted device access quantity of the first RSU device is greater than the preset threshold, all other RSU devices except the first RSU device within the preset range are determined as the second RSU devices which need to be subjected to coverage range adjustment. Exemplarily, as shown in
In another exemplary implementation, in a case where the state of the first RSU device is the off-line state and the predicted device access quantity of the first RSU device is less than the preset threshold, some other RSU devices except the first RSU device within the preset range are determined as the second RSU devices which need to be subjected to coverage range adjustment. Some other RSU devices except the first RSU device within the preset range refer to such devices within the preset range that, taking the location of the first RSU device as the center, the distances from the devices to the location of the first RSU device meet the requirement of the preset distance threshold. As shown in
In another exemplary implementation, in a case where the state of the first RSU device is the high-load state, determining the second RSU device which needs to be subjected to coverage range adjustment may include: in the case where the state of the first RSU device is the high-load state, determining some other RSU device except the first RSU device within the preset range as the second RSU devices which need to be subjected to coverage range adjustment, with some other RSU devices except the first RSU device within the preset range referring to such devices within the preset range that, taking the location of the first RSU device as the center, the distances from the devices to the location of the first RSU device meet the requirement of the preset distance threshold. As shown in
The RSU device control method further includes operation S140:
operation S140, adjusting a coverage range of the second RSU device.
It should be noted that adjusting the coverage range of the second RSU device may be performed according to actual needs. For example, the coverage range of the second RSU device is adjusted to a maximum coverage range or increased to a certain proportion, or the coverage range of the first RSU device is reduced to a certain proportion.
In an exemplary implementation, with other conditions unchanged, a signal coverage range of an RSU device is related to transmission power. Before deploying the RSU devices, each RSU device used is measured in advance, a coverage range obtained in the presence of a highest power output is a maximum coverage range, and a coverage range corresponding to a preset proportion (for example, 80%) of maximum output power may be taken as a normal coverage range. Therefore, adjusting the coverage range may be implemented by adjusting the transmission power of the RSU device.
It should be noted that adjusting the coverage range of the second RSU device in a case where the first RSU device is in the off-line state may be performed for allowing the adjusted coverage range of the second RSU device to cover a part or all of the original coverage range of the first RSU device, so as to ensure that the RSU devices can provide high-quality services, and further reduce service blind spots. In an exemplary implementation, in the case where the first RSU device is in the off-line state, the coverage range of the second RSU device is typically increased by the adjustment. Certainly, the number of the adjusted second RSU device may be one or more than one; and the coverage range of each second RSU device may be adjusted by a same value or by a different value. For example, the coverage ranges of all the determined second RSU devices are adjusted to the maximum coverage ranges, or the coverage range of an RSU device having a distance to the first RSU device smaller than a first preset value is adjusted to the maximum coverage range and the coverage range of an RSU device having a distance to the first RSU device smaller than a second preset value is adjusted to a preset multiple of the original coverage range. That is, a final adjustment policy is to ensure that the second RSU devices can cover the coverage range of the first RSU device as much as possible and areas of overlapping regions between the second RSU devices are not larger than a preset area.
In an embodiment, in a case where the first RSU device is in the high-load state, adjusting the coverage range of the second RSU device may be performed for allowing the device access quantity of the first RSU device after the adjustment is within a preset normal value range, so as to enable loads of the first RSU device and the second RSU devices within the preset range to reach a balanced state. In such case, the second RSU devices determined may include the first RSU device.
Furthermore, in an exemplary implementation, the operation S140 may further include reading a state of the second RSU device, and determining the second RSU device which is in a normal state as a target RSU device which needs to be subjected to coverage range adjustment; and adjusting a coverage range of the target RSU device which is in the normal state.
In an exemplary implementation, the second RSU device which is in the normal state may refer to the second RSU device which is not in the off-line state, or the high-load state, or other states in which it is inconvenient or impossible to adjust the coverage range (e.g., a disconnection state, a network disconnection state, and a state in which the device access quantity is greater than a preset value).
Furthermore, in an exemplary implementation, after the coverage range of the second RSU device is adjusted, a situation of duplicate coverage may occur. A connection handover criterion is a relative signal strength criterion with a hysteresis margin as shown in
A policy similar to soft handover is adopted as a control policy, but the adopted soft handover is different from a handover mode involving base stations. The soft handover involving the base stations is a handover between different base stations at a same frequency, and a same data stream is transmitted in two links, thereby ensuring no interruption of communication. As shown in
The PC5 interface is adopted for the connection between the OBU and the RSU device, and the connection is direct connection between the OBU and the RSU device, with no need to use a base station as an intermediary. When the handover criterion is met, the OBU of the vehicle first uses a new channel to establish connection with the new RSU device and then interrupts the connection with the original RSU device, which avoids an influence of a no-connection period on the whole intelligent transportation communication, with the no-connection period appearing due to the connection being slow or the failed connection when the OBU of the vehicle establishes the new connection. It should be understood that the mode of the communication between the RSU device and the cloud platform (e.g., a server) and the mode of the communication between the OBU of the vehicle and the RSU device are not limited to the MQTT mode and the PC5 communication mode described above, and may adopt other communication modes as long as the communication between the RSU device and the cloud platform (e.g., a server) and the communication between the OBU of the vehicle and the RSU device can be achieved.
In an embodiment, there is provided an RSU device control apparatus, which may be run as software on an RSU device or in a server, or in any other suitable device of the Vehicle-to-Everything. The RSU device control apparatus may include a plurality of modules/units for implementing the above embodiments and implementations. The RSU device control apparatus may be one or more programs that are stored on a memory and executable by a processor to implement at least one operation of the RSU device control method according to the above embodiments. The term “module/unit” refers to a combination of software and/or hardware capable of performing a predetermined function.
The RSU device control apparatus may operate in a server, and monitors, with a monitoring module 100, the state of the first RSU device and/or a state of a second RSU device. The RSU device control apparatus further includes a determination module 102 configured to determine a second RSU device or a target RSU device which needs to be subjected to coverage range adjustment, and an adjustment module 104 configured to adjust a coverage range of the second RSU device or the target RSU device.
The structure shown in
In an embodiment, the RSU device control apparatus 10 further includes a processor 11 (one or more processors 11 may be provided, and merely one processor 11 is shown), and a memory 12 (one or more memories 12 may be provided, and merely one memory 12 is shown). The processor 11 and the memory 12 may be connected to and communicate with each other via a universal bus (not marked by a reference numeral).
The processor 11 may include, but is not limited to, a processing device such as a microprocessor (e.g., a microcontroller unit (MCU)) or a programmable logic device (e.g., a field programmable gate array (FPGA)). The memory 12 may be configured to store computer programs, such as software programs and modules of application software. For example, the memory 12 may be configured to store a computer program corresponding to the service configuration management method provided in the embodiments of the present disclosure. By running the computer programs stored in the memory 12, the processor 11 performs various functional applications and data processing, that is, implementing the above method. The memory 12 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 12 may further include a memory remotely arranged relative to the processor 11, and the remote memory may be connected to the apparatus 10 via a network. The examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, the combinations thereof, and any type of suitable network.
According to another embodiment of the present disclosure, there is provided a computer-readable storage medium, which may be configured to store one or more computer programs, and the stored one or more computer programs are executable by a processor to implement at least one operation of the RSU device control method according to the above embodiments.
According to still another embodiment of the present disclosure, there is provided a server, including a processor configured to run a program, and a memory. The program implements the aforesaid method when being run, or the operations of the aforesaid method are performed when the program is run.
An embodiment of the present disclosure further provides a computer program product (a computer program or software), including a computer-readable device having the above computer program stored therein. In this embodiment, the computer-readable device may include the above computer-readable storage medium. The computer program product may be distributed on a computer-readable medium and executable by a computing device to implement at least one operation of the RSU device control method according to the above embodiments.
The RSU device control method provided in the embodiments of the present disclosure solves the following problems: when the RSU device is in the off-line state, the OBU device is in a signal blind spot and a request from the OBU device cannot be responded to in time; and when the RSU device is in the high-load state, there are hidden dangers to quality of service. Thus, the RSU device control method can ensure the stability of the communication between the RSU device and the OBU.
It should be understood by those of ordinary skill in the art that the present disclosure includes and relates to devices for performing one or more operations described in the present disclosure. Those devices may be specially designed and manufactured for desired purposes, or may include known devices in general purpose computers. Those devices have computer programs stored therein, and the computer programs are selectively activated or reconfigured. Those computer programs may be stored in a device (e.g., a computer) readable medium or in any type of medium suitable to store electronic instructions and respectively coupled to buses. The computer readable medium includes, but is not limited to, any type of disk (including a floppy disk, a hard disk, an optical disc, a Compact Disc Read-Only Memory (CD-ROM), and a magneto-optical disk), a Read-Only Memory (ROM), a Random Access Memory (RAM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash memory, a magnetic card or a light card. That is, the readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
Apparently, it should be understood by those of ordinary skill in the art that the functional modules/units in all or some of the operations, the systems and the devices in the methods disclosed above may be implemented as software (which may be implemented as computer program codes executable by a computing device), firmware, hardware, or suitable combinations thereof. If implemented as hardware, the division between the functional modules/units described above is not necessarily corresponding to the division of physical components; for example, one physical component may have a plurality of functions, or one function or operation may be performed through cooperation of several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit.
It should be understood by those of ordinary skill in the art that each block of the structural diagrams and/or block diagrams and/or flowcharts and combinations of the blocks of the structural diagrams and/or block diagrams and/or flowcharts can be implemented by computer program instructions. It should be understood by those of ordinary skill in the art that the computer program instructions may be provided for a general purpose computer, a special purpose computer, or a processor for other programmable data processing methods, so as to implement the solutions specified in one or more blocks of the structural diagrams and/or block diagrams and/or flowcharts with the computers or the processor for the other programmable data processing methods.
It should be understood by those of ordinary skill in the art that the operations, measures and solutions in various operations, methods and flows discussed herein can be alternated, modified, combined or deleted. Moreover, other operations, measures and solutions having the various operations, methods and flows discussed herein can be alternated, modified, rearranged, decomposed, combined or deleted as well.
Furthermore, the operations, measures and solutions in the prior art the same as those in the various operations, methods and flows discussed herein can be alternated, modified, rearranged, decomposed, combined or deleted as well.
The above description is merely for some implementations of the present disclosure. It should be noted that various improvements and modifications can be made by those of ordinary skill in the art without departing from the principle of the present disclosure, and those improvements and modifications should be considered to fall within the scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202111645242.2 | Dec 2021 | CN | national |
The present disclosure is a National Phase application filed under 35 U.S.C. 371 as a national stage of PCT/CN2022/119671, filed on Sep. 19, 2022, an application based on and claiming the priority to Chinese Patent Application No. CN202111645242.2 entitled “RSU DEVICE CONTROL METHOD, SERVER AND STORAGE MEDIUM” and filed on Dec. 29, 2021, the contents of which are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/119671 | 9/19/2022 | WO |