CN117650858A - Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium - Google Patents

Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium Download PDF

Info

Publication number
CN117650858A
CN117650858A CN202311616286.1A CN202311616286A CN117650858A CN 117650858 A CN117650858 A CN 117650858A CN 202311616286 A CN202311616286 A CN 202311616286A CN 117650858 A CN117650858 A CN 117650858A
Authority
CN
China
Prior art keywords
message
rate
threshold
sending
message source
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
CN202311616286.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 CN202311616286.1A priority Critical patent/CN117650858A/en
Publication of CN117650858A publication Critical patent/CN117650858A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a radio frequency fault detection method, a device, a computer device and a storage medium, wherein when a communication device receives a preset message, the detachment time length of a message source device from the signal radiation range of the communication device is determined according to the preset message, in the process of sending an extension message to the message source device, an extension reply message sent by the message source device is obtained in the detachment time period corresponding to the detachment time length, in the process of sending the extension message to the message source device, the extension reply message sent according to at least one message source device is obtained, the current fault rate of the radio frequency fault of the communication device is determined, and in the case that the preset message is not received, the current fault rate is updated by detecting environment information, so that the fault detection of the communication device can be accurately realized, and the safety of the radio frequency communication function is ensured.

Description

Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of vehicle communications technologies, and in particular, to a method and apparatus for detecting a radio frequency fault, a computer device, and a storage medium.
Background
The Vehicle-to-evaluation (V2X) device is used to implement real-time communication and data exchange between the Vehicle and the outside, so that real-time traffic information can be provided, and in case of failure of the V2X device, the V2X device may not be capable of performing data exchange with other devices.
In the related art, the packet loss rate of communication is calculated mainly in the process of communication between the V2X device and other devices, and the transceiving function of the V2X device is detected. Because the V2X equipment is required to interact with other equipment when calculating the packet loss rate, the receiving and transmitting functions of the V2X equipment are failed, and the data cannot be accurately detected.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a radio frequency fault detection method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the fault detection accuracy.
In a first aspect, the present application provides a radio frequency fault detection method, which is applied to a communication device having a vehicle-mounted communication function; comprising the following steps:
under the condition that the preset message is received within the preset time, determining a message source device for sending the preset message;
Determining the disengaging duration of the message source equipment from the signal radiation range of the communication equipment according to the preset message aiming at each message source equipment;
in the process of sending the extension message to the message source equipment, acquiring an extension reply message sent by the message source equipment in a detachment period corresponding to the detachment duration;
and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
In one embodiment, the step of determining, according to a preset message, a detachment duration of the message source device from the signal radiation range of the communication device includes:
determining motion information of the message source equipment according to a preset message, wherein the motion information comprises position information, motion direction and speed information;
and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
In one embodiment, determining, according to an extended reply message sent by at least one message source device, a current failure rate of the communication device when the communication device fails in radio frequency includes:
acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period;
According to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment;
and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
In one embodiment, the step of updating the current failure rate of the communication device when the radio frequency failure occurs according to the packet receiving rate and the packet sending rate includes:
increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value;
increasing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value;
and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
In one embodiment, the method further comprises:
under the condition that a preset message is not received within a preset time length, acquiring current environment information;
in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one;
when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
In one embodiment, the method further comprises:
continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information;
and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
In one embodiment, the method further comprises:
sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency;
setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency;
Restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value;
under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function;
continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value;
the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
In a second aspect, the present application further provides a radio frequency fault detection device, including:
the device determining module is used for determining a message source device for sending the preset message when the preset message is received within the preset time;
the time length acquisition module is used for determining the separation time length of the message source equipment from the signal radiation range of the communication equipment according to the preset message for each message source equipment;
the message acquisition module is used for acquiring the extension reply message sent by the message source equipment in the detachment period corresponding to the detachment time length in the process of sending the extension message to the message source equipment;
and the fault rate determining module is used for determining the current fault rate of the radio frequency fault of the communication equipment according to the extension reply message sent by the at least one message source equipment.
In a third aspect, the present application also provides a computer device comprising a memory storing a computer program and a processor implementing the method steps of any one of the first aspects when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
According to the radio frequency fault detection method, the radio frequency fault detection device, the computer equipment, the storage medium and the computer program product, the detachment time length that the message source equipment is detached from the signal radiation range of the communication equipment is determined according to the preset message when the communication equipment receives the preset message, the extension reply message sent by the message source equipment is obtained in the detachment time period corresponding to the detachment time length in the process of sending the extension message to the message source equipment, the extension reply message sent according to at least one message source equipment is obtained in the process of sending the extension message to the message source equipment, the current fault rate of radio frequency faults of the communication equipment is determined, and the fault detection of the communication equipment can be accurately realized by detecting the environment information and updating the current fault rate when the preset message is not received, so that the safety of radio frequency communication functions is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for a person having ordinary skill in the art.
FIG. 1 is a diagram of an application environment for a method of RF fault detection in one embodiment;
FIG. 2 is a flow chart of a method of RF fault detection in one embodiment;
FIG. 3 is a flow chart of a method of RF fault detection in one embodiment;
FIG. 4 is a block diagram of an RF fault detection device in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The radio frequency fault detection method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the communication device 102 communicates with the message source device 104 via radio frequency signals. The communication device 102 is configured to determine, when a preset message is received within a preset time period, a message source device 104 that sends the preset message, determine, for each message source device, a detachment time period when the message source device 104 is detached from a signal radiation range of the communication device 102 according to the preset message, obtain, in a process of sending an extension message to the message source device 104, an extension reply message sent by the message source device 104 within the detachment time period corresponding to the detachment time period, and determine, according to the extension reply message sent by at least one message source device 104, a current failure rate of the communication device 102 when a radio frequency failure occurs. The communication device 102 is a communication device having an in-vehicle communication function, and may be an in-vehicle unit. Message source device 104 may include, but is not limited to, an in-vehicle unit, a roadside unit, a pedestrian-worn device, a web server, and the like. The number of message source devices 104 may be at least one.
In an exemplary embodiment, as shown in fig. 2, a method for detecting a radio frequency fault is provided, which is illustrated by using the method applied to the communication device 102 in fig. 1 as an example, and includes the following steps 202 to 208. Wherein:
s202: and determining a message source device for transmitting the preset message under the condition that the preset message is received in the preset time period.
The communication device refers to a device with an on-vehicle communication function, such as a V2X (Vehicle to Everything) device, the V2X device refers to a vehicle and all devices for realizing real-time communication and data exchange between the vehicle and surrounding traffic environment, infrastructure and other communication devices, and the V2X device may include an on-vehicle unit and an on-vehicle unit (V2V), a vehicle and a roadside unit (V2I), a vehicle and a pedestrian (V2P), and a communication device between the vehicle and a network (V2N).
Further, after the communication device is started, data interaction is performed with other surrounding devices with V2X communication functions in real time, and when the radio frequency function of the communication device fails, a message may not be received and sent, or an intermittent receiving and sending failure problem occurs, so that in order to timely detect the condition of the radio frequency failure, after the communication device is started, if the message sent by the other devices is received within a period of time, the failure rate of the communication device is calculated based on the message sent in the data interaction process between the communication device and the other devices.
Specifically, the preset message refers to a message in a specified format sent by other devices according to a communication protocol pre-agreed with the communication device, where the message in the specified format may be a message in a data format specified in a V2X standard communication protocol, for example, may be a road MAP (MAP) message or a BSM (Basic Safety Message) message of a vehicle end, and the communication device adds a message source device sending the preset message to the statistics list, so that only devices in the statistics list need to be considered in the current fault detection process. It will be appreciated that the message source device may be a plurality of devices having V2X communication functions, and in general, the message source device may send a preset message to the communication device as long as the message source device is within the signal radiation range of the communication device.
S204: for each message source device, determining the disengagement time length of the message source device from the signal radiation range of the communication device according to the preset message.
For each message source device, the communication device obtains the motion related information of the corresponding message source device according to the received preset message, and because the communication device moves along with the vehicle, the signal radiation range of the communication device is also moving, when the communication device moves to other positions, the position of the message source device may be located outside the signal radiation range of the communication device, and even if the radio frequency receiving function of the communication device is normal, the message sent by the message source device can not be received.
Further, after receiving the preset message, the communication device determines the relative distance between the message source device and the communication device according to the motion information carried in the preset message, and under the condition that the relative distance is increased, the message source device gradually approaches to the boundary of the signal radiation range, so as to predict the disengagement time length of the message source device from the signal radiation range of the communication device, and after the message source device is disengaged from the signal radiation range, the communication device will not receive the message sent by the message source device. Specifically, the size of the effective radiation range may be preset, and when the size exceeds the preset range, the message source device is considered to be separated from the signal radiation range, or when the message sent by the message source device is not received within the preset time after receiving a certain message, the message source device is considered to be separated from the signal radiation range.
S206: and in the process of sending the extension message to the message source equipment, acquiring the extension reply message sent by the message source equipment in the detachment period corresponding to the detachment time length.
The extension message may be obtained by performing field extension according to a standard message, where an extension field of the extension message may include: starting fault detection TxFucId, a device unique identifier TxId and the number TxCnt of transmission extension messages, wherein TxFucId=1, txCnt=1 of a first extension message transmitted by the communication device can be randomly generated, and then TxCnt is increased by 1 for each message transmitted, wherein the maximum value of TxCnt is 0xFFFF, and the maximum value of TxId is 0xFFFFFFFF.
Further, the extension message is used as a start mark of fault detection, and the extension reply message sent by the message source device in the detachment period corresponding to the detachment time length is obtained in the process of sending the extension message to the message source device, so that the packet receiving rate and the packet sending rate of the communication device can be calculated, and the size of the packet receiving rate and the packet sending rate determines the fault probability of radio frequency faults.
The standard message refers to a message sent by the communication device according to a specified format, after the communication device sends an extension message to the message source device, the extension reply message sent by the message source device is obtained according to a preset message extension field, and specifically, the extension reply message includes: the communication device TxId, the communication device TxCnt, the unique identifier RxId of the message source device, the number of receiving bars RxCnt of the extension message sent by the communication device, and the number of sending bars sending the extension reply message may also be included.
S208: and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
The communication device determines the number of receiving the extension message according to the received extension reply message, and in combination with the number of sending the communication device, the communication device can determine the packet sending condition of the communication device, and according to the number of the received extension reply message of the message source device and the number of sending the extension reply message carried in the extension reply message, the communication device can determine the packet receiving condition of the communication device.
Further, since the message source device is a device having a V2X communication function in the surrounding environment, it cannot be guaranteed whether the radio frequency communication function of the message source device is normal, in order to eliminate interference caused by a radio frequency fault of the message source device, in general, the corresponding number of receiving strips and the corresponding number of transmitting strips are obtained for all the message source devices in the statistics list, the number of receiving strips and the number of transmitting strips are respectively fused, and the current fault rate of the radio frequency fault of the communication device is determined according to the finally obtained number of receiving strips and the number of transmitting strips.
According to the radio frequency fault detection method, under the condition that the communication equipment receives the preset message, the detachment time length of the message source equipment from the signal radiation range of the communication equipment is determined according to the preset message, in the process of sending the extension message to the message source equipment, the extension reply message sent by the message source equipment in the detachment time period corresponding to the detachment time length is obtained, in the process of sending the extension message to the message source equipment, the extension reply message sent according to at least one message source equipment is obtained, the current fault rate of the radio frequency fault of the communication equipment is determined, the fault detection of the communication equipment can be accurately realized, and the safety of the radio frequency communication function is ensured.
In an exemplary embodiment, the step of determining, according to a preset message, a detachment duration for the message source device to detach from the signal radiation range of the communication device includes: determining motion information of the message source equipment according to a preset message, wherein the motion information comprises position information, motion direction and speed information; and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
The preset message carries motion information of the message source equipment, for example, when the message source equipment is a road side unit, the motion information comprises position information of the road side unit; when the message source equipment is other vehicle-mounted units, the motion information comprises position information, motion direction and speed information of the vehicle corresponding to the vehicle-mounted units, wherein the motion direction refers to the running direction of the vehicle corresponding to the message source equipment, and the speed information refers to the running speed of the vehicle corresponding to the message source equipment.
Specifically, the communication device predicts a corresponding detachment duration when the message source device is detached from the boundary of the signal radiation range according to the motion information, and when the detachment duration is exceeded, the message source device is located outside the signal radiation range of the communication device, and it can be understood that if there is a situation that the motion directions of the message source device and the communication device are consistent and the motion speeds are similar, the detachment duration may be too long, at this time, a part of duration that the message source device is located in the signal radiation range may be selected, and an extension reply message sent by the message source device in a time period is obtained.
In this embodiment, the motion information of the message source device is determined according to the preset message, and according to the motion information, the corresponding detachment time length when the message source device moves to the boundary of the signal radiation range is predicted, and fault detection is performed within the detachment time length, so that the message source device can be ensured to be always within the signal radiation range of the communication device, and thus the accuracy of fault detection is ensured.
In an exemplary embodiment, the step of determining the current failure rate of the communication device when the radio frequency failure occurs according to the extended reply message sent by the at least one message source device includes: acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period; according to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment; and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
The packet receiving rate refers to the ratio of the number of the extension reply messages received by the communication equipment to the number of the extension reply messages sent by the message source equipment, and the packet sending rate refers to the ratio of the number of the extension messages received by the message source equipment sent by the communication equipment to the number of the extension messages sent by the communication equipment, and the higher the packet receiving rate/the packet sending rate is, the better the communication quality is, the less the data loss is, and the higher the communication reliability is.
Specifically, the communication device obtains a first transmission number of the extension message sent to the message source device in a separation period according to the number of TxCnt in the sent extension message, obtains a first actual number of the extension message received actually by the message source device according to the number of RxCnt in the received extension reply message, and calculates a packet sending rate of the communication device according to the first transmission number and the first actual number of the extension message. Meanwhile, the communication equipment acquires a second transmission number of the extension reply message transmitted by the message source equipment in the separation period according to the extension reply message, and a second actual number of the extension message actually received by the communication equipment, and calculates the packet receiving rate of the communication equipment according to the second transmission number and the second actual number. The second number of sending stripes can be obtained through a sending stripe digital section in the extension reply message, and the second number of actual receiving stripes is obtained according to the number of extension reply messages received by the communication equipment.
Further, for all the message source devices, a plurality of first sending numbers and a plurality of second sending numbers can be obtained, when the packet receiving rate and the packet sending rate are calculated, the packet receiving rate and the packet sending rate are calculated independently for each message source device, all the packet receiving rates and the packet sending rates are fused to obtain the final packet receiving rate and the final packet sending rate, and when the message source devices are fused, the maximum packet receiving rate and the maximum packet sending rate can be directly selected, or the average value of all the packet receiving rates and all the packet sending rates can be obtained respectively. And the communication equipment updates the current failure rate of the communication equipment when radio frequency failure occurs according to the finally obtained packet receiving rate and packet sending rate. In general, the larger the packet reception rate and the packet transmission rate, the smaller the failure rate.
In this embodiment, the number of extension messages sent to the message source device and the number of extension reply messages sent to the message source device in the detachment period are obtained, so that the packet receiving rate and the packet sending rate of the communication device are obtained, and the current failure rate of the communication device with radio frequency failure is updated according to the packet receiving rate and the packet sending rate, so that the failure detection accuracy can be improved.
In an exemplary embodiment, the step of updating the current failure rate of the communication device when the radio frequency failure occurs according to the packet receiving rate and the packet sending rate includes: increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value; reducing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; reducing the current failure rate by a third target value under the condition that the packet receiving rate is greater than or equal to the second packet receiving threshold value and/or the packet sending rate is greater than or equal to the second packet sending threshold value; the third target value is greater than the first target value.
The communication device updates the current failure rate of radio frequency failure according to the sizes of the packet receiving rate and the packet sending rate, specifically, when the packet receiving rate is smaller than 0.2 and/or the packet sending rate is smaller than 0.2, the number of data loss is larger, the current failure rate is increased by 0.2, when the packet receiving rate is larger than or equal to 0.2, smaller than 0.5 and/or the packet sending rate is larger than or equal to 0.2 and smaller than 0.5, the number of data loss is moderate, the current failure rate is reduced by 0.1, the more the data loss is, the influence on the current failure rate is larger, and when the packet receiving rate is larger than or equal to 0.5 and/or the packet sending rate is larger than or equal to 0.5, the number of data loss is smaller, the current failure rate is reduced by 0.5. It may be understood that, in the embodiment of the present application, the value of each threshold is one example, in practical application, other values may be selected according to practical requirements, and also more thresholds may be set, for example, when the packet receiving rate is greater than or equal to 0.5 and less than other thresholds, the current failure rate is updated again, and the specific manner is not limited in this application.
In this embodiment, the accuracy and instantaneity of the current failure rate can be ensured by updating the current failure rate according to different sizes of the packet receiving rate or the packet sending rate.
In an exemplary embodiment, the method further comprises: under the condition that a preset message is not received within a preset time length, acquiring current environment information; in the case where it is determined that there is a device having a capability of communicating with the in-vehicle unit based on the current environment information, the total number of times the current environment information is acquired is increased by one; and when the total times reach the target times, increasing the current fault rate by a fourth target value, wherein the fourth target value is smaller than the third target value and larger than the first target value.
Wherein, for the case that the communication device does not receive the preset message within the preset duration, the communication device may be caused by radio frequency function abnormality of the communication device or that the device with the V2X communication function does not exist in the signal radiation range, so the communication device may determine whether the device with the vehicle-mounted communication capability exists according to the current environment information by acquiring the current environment information, for example, whether the device with the V2X communication function in the current environment exists through a vehicle map (the V2X device in the surrounding environment may interact with a map server and the map server issues the device information to the vehicle map); or other communication modes (Bluetooth, WIFI and the like) at the vehicle end are used for acquiring whether the surrounding equipment has the V2X communication capability.
When the fact that the equipment with the vehicle-mounted communication capability exists is determined according to the current environment information, the total number of times of acquiring the environment information is increased by one, when the total number of times reaches the target number of times, the fact that the equipment with the vehicle-mounted communication capability exists in the surrounding environment is continuously acquired for multiple times is indicated, the fact that a preset message is not received possibly caused by the receiving fault of the radio frequency function of the communication equipment is indicated, and the current fault rate is increased by 0.3 is indicated.
In this embodiment, for the case that the preset message is not received, the current failure rate is updated by detecting the environmental information, so that the failure detection of the communication device can be accurately realized, and the security of the radio frequency communication function is ensured.
In an exemplary embodiment, the method further comprises: continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
And returning to the process of continuously waiting for receiving the preset message when the fact that the equipment with the vehicle-mounted communication capability does not exist is determined according to the current environment information, and returning to the process of continuously waiting for receiving the preset message when the total times do not reach the target times, wherein the times of detecting that the equipment with the vehicle-mounted communication capability does not exist currently are less and the fact that the equipment with the vehicle-mounted communication capability cannot be determined to be caused by radio frequency faults of the communication equipment cannot be determined.
In this embodiment, by continuing the process of receiving the preset message when it is determined that the device with the vehicle-mounted communication capability does not exist according to the current environmental information, and continuing the process of receiving the preset message when the total number of times does not reach the target number of times, accuracy and instantaneity of the current failure rate can be ensured.
In an exemplary embodiment, the method further comprises: sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
In a specific example, when the current failure rate is greater than 3.0 and the number of times of restarting the current device is greater than or equal to 3, it indicates that the communication device has not recovered to the normal radio frequency communication function after restarting for a plurality of times, and at this time, a message prompt is sent to the user to instruct the user to repair the communication device; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is greater than 3.0 and the restarting times of the current equipment are less than 3 times, returning to the process of continuously receiving the preset information, performing fault detection again, and under the condition that the current failure rate is less than or equal to 3.0 and greater than 2.0, indicating that the current failure degree of the communication equipment is lighter, firstly considering the restarting radio frequency function, returning to the process of continuously receiving the preset information, and performing fault detection again; under the condition that the current failure rate is less than or equal to 2.0 and greater than 1.0, the communication equipment basically has normal functions, and the process of continuously receiving the preset message is returned by enhancing the power and the receiving sensitivity of the radio frequency function; and under the condition that the current failure rate is less than or equal to 1.0, indicating that the communication equipment is normal in function at the moment, returning to the process of continuously receiving the preset message, and waiting for the next failure detection.
In this embodiment, the security of the radio frequency communication function of the communication device can be ensured by executing the corresponding control method under the condition that the current failure rate is in different sizes.
In an exemplary embodiment, as shown in fig. 3, there is provided a radio frequency fault detection method, the method comprising the steps of:
and determining a message source device for transmitting the preset message under the condition that the preset message is received in the preset time period.
For each message source device, determining the motion information of the message source device according to the preset message, and predicting the corresponding disengagement time length when the message source device moves to the boundary of the signal radiation range according to the motion information.
And in the process of sending the extension message to the message source equipment, acquiring the extension reply message sent by the message source equipment in the detachment period corresponding to the detachment time length.
Acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period; and obtaining the packet receiving rate and the packet sending rate of the process of sending the extension message to the message source equipment according to all the first sending numbers and all the second sending numbers.
Increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value; increasing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
Under the condition that a preset message is not received within a preset time length, acquiring current environment information; in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one; when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
Continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
Sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
In this embodiment, when the communication device receives the preset message, the detachment duration of the message source device from the signal radiation range of the communication device is determined according to the preset message, in the process of sending the extension message to the message source device, the extension reply message sent by the message source device in the detachment period corresponding to the detachment duration is obtained, in the process of sending the extension message to the message source device, the current failure rate of the radio frequency failure of the communication device is determined according to the extension reply message sent by at least one message source device, and in the case that the preset message is not received, the current failure rate is updated by detecting the environmental information, so that the failure detection of the communication device can be accurately realized, and the security of the radio frequency communication function is ensured.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a radio frequency fault detection device for realizing the above related radio frequency fault detection method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the radio frequency fault detection device or devices provided below may be referred to the limitation of the radio frequency fault detection method hereinabove, and will not be described herein.
In an exemplary embodiment, as shown in fig. 4, there is provided a radio frequency fault detection apparatus, including: a device determination module 10, a duration acquisition module 20, a message acquisition module 30, and a failure rate determination module 40, wherein:
the device determining module 10 is configured to determine a message source device that sends the preset message when the preset message is received within the preset time period.
The duration obtaining module 20 is configured to determine, for each message source device, a disengagement duration of the message source device from the signal radiation range of the communication device according to a preset message.
The message obtaining module 30 is configured to obtain, in a process of sending the extension message to the message source device, an extension reply message sent by the message source device in a detachment period corresponding to the detachment duration.
The failure rate determining module 40 is configured to determine, according to the extended reply message sent by the at least one message source device, a current failure rate of the communication device when the radio frequency failure occurs.
In an exemplary embodiment, the duration obtaining module 20 is further configured to determine, according to a preset message, movement information of the message source device, where the movement information includes location information, movement direction, and speed information; and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
In an exemplary embodiment, the failure rate determining module 40 is further configured to obtain a first number of transmission stripes for transmitting the extended message to the message source device during the detach period, and a second number of transmission stripes for transmitting the extended reply message by the message source device during the detach period; according to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment; and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
In an exemplary embodiment, the failure rate determination module 40 is further configured to increase the current failure rate by a first target value if the packet reception rate is less than the first packet reception threshold and/or the packet transmission rate is less than the first packet transmission threshold; reducing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
In an exemplary embodiment, the device determining module 10 is further configured to obtain the current environmental information if the preset message is not received within the preset time period; in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one; when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
In an exemplary embodiment, the device determining module 10 is further configured to continue the process of receiving the preset message in the case where it is determined that the device having the in-vehicle communication capability does not exist according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
In an exemplary embodiment, the failure rate determination module 40 is further configured to send a maintenance notification message to the user when the current failure rate is greater than the first failure threshold and the current device restart number is greater than or equal to the target number; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
The above-mentioned various modules in the radio frequency fault detection device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 5. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a radio frequency fault detection method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: under the condition that the preset message is received within the preset time, determining a message source device for sending the preset message; determining the disengaging duration of the message source equipment from the signal radiation range of the communication equipment according to the preset message aiming at each message source equipment; in the process of sending the extension message to the message source equipment, acquiring an extension reply message sent by the message source equipment in a detachment period corresponding to the detachment duration; and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
In one embodiment, determining a detachment duration of the message source device from the signal radiation range of the communication device according to a preset message involved in executing the computer program by the processor includes: determining motion information of the message source equipment according to a preset message, wherein the motion information comprises position information, motion direction and speed information; and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
In one embodiment, determining a current failure rate of the communication device for radio frequency failure based on the extended reply message sent by the at least one message source device, which is involved in executing the computer program, comprises: acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period; according to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment; and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
In one embodiment, updating the current failure rate of the communication device for radio frequency failure according to the packet receiving rate and the packet sending rate involved in executing the computer program by the processor comprises: increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value; reducing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
In one embodiment, the processor when executing the computer program further performs the steps of: under the condition that a preset message is not received within a preset time length, acquiring current environment information; in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one; when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
In one embodiment, the processor when executing the computer program further performs the steps of: continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
In one embodiment, the processor when executing the computer program further performs the steps of: sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: under the condition that the preset message is received within the preset time, determining a message source device for sending the preset message; determining the disengaging duration of the message source equipment from the signal radiation range of the communication equipment according to the preset message aiming at each message source equipment; in the process of sending the extension message to the message source equipment, acquiring an extension reply message sent by the message source equipment in a detachment period corresponding to the detachment duration; and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
In one embodiment, determining a disengagement period of the message source device from the signal radiation range of the communication device according to a preset message, which is involved when the computer program is executed by the processor, comprises: determining motion information of the message source equipment according to a preset message, wherein the motion information comprises position information, motion direction and speed information; and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
In one embodiment, determining a current failure rate of a radio frequency failure of a communication device based on extended reply messages sent by at least one message source device, which are involved when the computer program is executed by a processor, comprises: acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period; according to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment; and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
In one embodiment, updating the current failure rate of the communication device for radio frequency failure based on the packet receiving rate and the packet sending rate as it relates to when the computer program is executed by the processor comprises: increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value; reducing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that a preset message is not received within a preset time length, acquiring current environment information; in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one; when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
In one embodiment, the computer program when executed by the processor further performs the steps of: continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: under the condition that the preset message is received within the preset time, determining a message source device for sending the preset message; determining the disengaging duration of the message source equipment from the signal radiation range of the communication equipment according to the preset message aiming at each message source equipment; in the process of sending the extension message to the message source equipment, acquiring an extension reply message sent by the message source equipment in a detachment period corresponding to the detachment duration; and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
In one embodiment, determining a disengagement period of the message source device from the signal radiation range of the communication device according to a preset message, which is involved when the computer program is executed by the processor, comprises: determining motion information of the message source equipment according to a preset message, wherein the motion information comprises position information, motion direction and speed information; and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
In one embodiment, determining a current failure rate of a radio frequency failure of a communication device based on extended reply messages sent by at least one message source device, which are involved when the computer program is executed by a processor, comprises: acquiring a first transmission number of the extension message transmitted to the message source equipment in a separation period and a second transmission number of the extension reply message transmitted by the message source equipment in the separation period; according to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment; and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
In one embodiment, updating the current failure rate of the communication device for radio frequency failure based on the packet receiving rate and the packet sending rate as it relates to when the computer program is executed by the processor comprises: increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value; reducing the current failure rate by a second target value when the packet receiving rate is greater than or equal to a first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to a first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value; and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to a second packet receiving threshold and/or the packet sending rate is greater than or equal to a second packet sending threshold, wherein the third target value is greater than the first target value.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that a preset message is not received within a preset time length, acquiring current environment information; in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one; when the total number of times reaches the target number of times, the current failure rate is increased by a fourth target value, which is smaller than the third target value and larger than the first target value.
In one embodiment, the computer program when executed by the processor further performs the steps of: continuing to receive a preset message under the condition that no device with vehicle-mounted communication capability exists according to the current environment information; and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency; setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than a first failure threshold value and the restarting frequency of the current equipment is smaller than the target frequency; restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to a first fault threshold value and larger than or equal to a second fault threshold value; under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to the third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function; continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to a third threshold value; the first fault threshold is greater than the second fault threshold, and the second fault threshold is greater than the third fault threshold.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. The radio frequency fault detection method is characterized by being applied to communication equipment with a vehicle-mounted communication function; the method comprises the following steps:
under the condition that a preset message is received in a preset time period, determining a message source device for sending the preset message;
determining, for each message source device, a detachment duration of the message source device from the signal radiation range of the communication device according to the preset message;
Acquiring an extension reply message sent by the message source equipment in a separation period corresponding to the separation duration in the process of sending the extension message to the message source equipment;
and determining the current failure rate of the communication equipment when radio frequency failure occurs according to the extended reply message sent by the at least one message source equipment.
2. The method according to claim 1, wherein determining, from the preset message, a detachment duration for the message source device to detach from the signal radiation range of the communication device comprises:
determining motion information of the message source equipment according to the preset message, wherein the motion information comprises position information, motion direction and speed information;
and predicting the corresponding disengagement time length when the message source equipment moves to the boundary of the signal radiation range according to the movement information.
3. The method of claim 1, wherein determining a current failure rate of the communication device for radio frequency failure based on the extended reply message sent by the at least one message source device comprises:
acquiring a first transmission number of extension messages transmitted to the message source equipment in the disconnection period and a second transmission number of extension reply messages transmitted by the message source equipment in the disconnection period;
According to all the first sending numbers and all the second sending numbers, obtaining the packet receiving rate and the packet sending rate in the process of sending the extension message to the message source equipment;
and updating the current failure rate of the communication equipment when radio frequency failure occurs according to the packet receiving rate and the packet sending rate.
4. A method according to claim 3, wherein said updating the current failure rate of the communication device for radio frequency failure based on the packet receiving rate and the packet sending rate comprises:
increasing the current failure rate by a first target value under the condition that the packet receiving rate is smaller than a first packet receiving threshold value and/or the packet sending rate is smaller than a first packet sending threshold value;
increasing a current failure rate by a second target value when the packet receiving rate is greater than or equal to the first packet receiving threshold, less than a second packet receiving threshold and/or the packet sending rate is greater than or equal to the first packet sending threshold and less than a second packet sending threshold, wherein the second packet receiving threshold is greater than the first packet receiving threshold, the second packet sending threshold is greater than the first packet sending threshold, and the second target value is less than the first target value;
and reducing the current failure rate by a third target value when the packet receiving rate is greater than or equal to the second packet receiving threshold and/or the packet sending rate is greater than or equal to the second packet sending threshold, wherein the third target value is greater than the first target value.
5. The method according to claim 4, wherein the method further comprises:
acquiring current environment information under the condition that a preset message is not received within the preset time length;
in the case that it is determined that there is a device having a vehicle-mounted communication capability according to the current environment information, the total number of times of acquiring the current environment information is increased by one;
and when the total times reach the target times, increasing the current failure rate by a fourth target value, wherein the fourth target value is smaller than the third target value and larger than the first target value.
6. The method of claim 5, wherein the method further comprises:
continuing to receive the preset message under the condition that the equipment with the vehicle-mounted communication capability does not exist according to the current environment information;
and continuing the process of receiving the preset message under the condition that the total times do not reach the target times.
7. The method according to any one of claims 1 to 6, further comprising:
sending maintenance notification information to a user under the condition that the current failure rate is larger than a first failure threshold value and the current equipment restarting frequency is larger than or equal to a target frequency;
Setting the current failure rate to zero and restarting the communication equipment under the condition that the current failure rate is larger than the first failure threshold value and the current equipment restarting frequency is smaller than the target frequency;
restarting the radio frequency function under the condition that the current fault rate is smaller than or equal to the first fault threshold value and larger than or equal to the second fault threshold value;
under the condition that the current fault rate is smaller than the second fault threshold and larger than or equal to a third fault threshold, enhancing the power and the receiving sensitivity of the radio frequency function;
continuing to receive the process of the preset message under the condition that the current failure rate is smaller than or equal to the third threshold value;
wherein the first fault threshold is greater than the second fault threshold and the second fault threshold is greater than the third fault threshold.
8. A radio frequency fault detection device, the device comprising:
the device determining module is used for determining a message source device for sending the preset message when the preset message is received within the preset time;
a duration acquisition module, configured to determine, for each message source device, a disengagement duration of the message source device from the signal radiation range of the communication device according to the preset message;
The message acquisition module is used for acquiring an extension reply message sent by the message source equipment in a separation period corresponding to the separation duration in the process of sending the extension message to the message source equipment;
and the fault rate determining module is used for determining the current fault rate of the radio frequency fault of the communication equipment according to the extension reply message sent by the at least one message source equipment.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202311616286.1A 2023-11-29 2023-11-29 Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium Pending CN117650858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311616286.1A CN117650858A (en) 2023-11-29 2023-11-29 Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311616286.1A CN117650858A (en) 2023-11-29 2023-11-29 Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117650858A true CN117650858A (en) 2024-03-05

Family

ID=90047196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311616286.1A Pending CN117650858A (en) 2023-11-29 2023-11-29 Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117650858A (en)

Similar Documents

Publication Publication Date Title
US11778434B2 (en) Method and system for integratedly managing vehicle operation state
US11218852B2 (en) Communication mode switching method, network side device, and terminal device
US10234867B2 (en) Information processing device, vehicle-mounted device, and information processing method
US20220159431A1 (en) Flexible security rating and decision mechanism for machine type communications
EP3820172A1 (en) Communication solution for internet of vehicles
US20110238259A1 (en) V2X-Connected Cooperative Diagnostic & Prognostic Applications in Vehicular AD HOC Networks
CN105513382B (en) A kind of vehicle early warning processing method, server and system
US11244565B2 (en) Method and system for traffic behavior detection and warnings
KR101763604B1 (en) Method and apparatus for receiving multimedia data of surrounding car based on location in wireless communication system
US11003153B2 (en) Safety operation configuration for computer assisted vehicle
CN108696558B (en) Position information processing method and device
EP4021052A1 (en) Pathloss drop trusted agent misbehavior detection
WO2018024942A1 (en) Methods and apparatuses relating to v2x communication
JP7405058B2 (en) Radio wave map update device and communication quality identification device
CN110603797A (en) Information processing method, device and system
Raw et al. Analysis of message propagation for intelligent disaster management through vehicular cloud network
US20240007833A1 (en) Method and system for integratedly managing vehicle operation state
US20210099850A1 (en) Inter-vehicle communication system and vehicle communication device
CN117650858A (en) Radio frequency fault detection method, radio frequency fault detection device, computer equipment and storage medium
CN116817950A (en) Path planning method, apparatus, device, system, storage medium and program product
CN114128238B (en) Device and method for interactive communication of vehicle-to-external information
JP2020513125A (en) Communication management between vehicles connected via a cellular network
CN111429740B (en) Abnormality notification device
CN113670325B (en) Path deviation detection method and system and electronic equipment
KR102646657B1 (en) Server, vehicle terminal and method for providing emergency notification

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