CN112738784A - Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium - Google Patents

Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium Download PDF

Info

Publication number
CN112738784A
CN112738784A CN202011602233.0A CN202011602233A CN112738784A CN 112738784 A CN112738784 A CN 112738784A CN 202011602233 A CN202011602233 A CN 202011602233A CN 112738784 A CN112738784 A CN 112738784A
Authority
CN
China
Prior art keywords
radio frequency
data
frequency assembly
receiving
sending
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.)
Granted
Application number
CN202011602233.0A
Other languages
Chinese (zh)
Other versions
CN112738784B (en
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 Intelligent Network Technology Co ltd
Original Assignee
Beijing Wanji Intelligent Network 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 Intelligent Network Technology Co ltd filed Critical Beijing Wanji Intelligent Network Technology Co ltd
Priority to CN202011602233.0A priority Critical patent/CN112738784B/en
Publication of CN112738784A publication Critical patent/CN112738784A/en
Application granted granted Critical
Publication of CN112738784B publication Critical patent/CN112738784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
    • G07B15/063Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems using wireless information transmission between the vehicle and a fixed station
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The application relates to a communication control method, a communication control device, an on-board unit, equipment and a readable storage medium. The method comprises the following steps: if the vehicle-mounted unit is detected to be awakened by the road side unit, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether a sending function and a receiving function of the first radio frequency assembly and a sending function and a receiving function of the second radio frequency assembly are normal or not; in the transaction communication process of the vehicle-mounted unit and the road side unit, according to the self-checking result, uplink transaction data are sent to the road side unit through the first radio frequency assembly or the second radio frequency assembly with the normal sending function, and downlink transaction data sent by the road side unit are received through the first radio frequency assembly or the second radio frequency assembly with the normal receiving function. By adopting the method, the communication reliability between the vehicle-mounted unit and the road side unit can be improved.

Description

Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium
Technical Field
The present application relates to the field of intelligent transportation technologies, and in particular, to a communication control method, apparatus, vehicle-mounted unit, device, and readable storage medium.
Background
An On Board Unit (OBU) is a device that communicates with a Road Side Unit (RSU) through microwaves using a Dedicated Short Range Communication (DSRC) technology.
At present, radio frequency signals are generally broadcast by a road side unit installed on a lane portal, and after an on-board unit on a running vehicle within the coverage of the road side unit is awakened by the radio frequency signals, the on-board unit and the road side unit perform transaction communication so as to electronically deduct fees for the running vehicle.
However, in the actual use process, it is difficult for the user to find that the vehicle-mounted unit has a fault, and when the user carries out electronic deduction through the faulty vehicle-mounted unit, the transaction fails due to the communication failure between the vehicle-mounted unit and the road side unit. How to improve the communication reliability between the vehicle-mounted unit and the road side unit becomes a problem to be solved urgently at present.
Disclosure of Invention
In view of the above, it is necessary to provide a communication control method, a device, an on-board unit, an apparatus, and a readable storage medium capable of improving reliability of communication between the on-board unit and the roadside unit.
In a first aspect, an embodiment of the present application provides a communication control method, which is used for an onboard unit, where the onboard unit includes a first radio frequency component and a second radio frequency component, and the method includes:
if the fact that the vehicle-mounted unit is awakened by a road side unit is detected, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether a sending function and a receiving function of the first radio frequency assembly and a sending function and a receiving function of the second radio frequency assembly are normal or not;
in the transaction communication process of the vehicle-mounted unit and the road side unit, according to the self-checking result, sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function, and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function.
In one embodiment, the sending, according to the self-test result, the uplink transaction data to the rsu through the first radio frequency component or the second radio frequency component with a normal function, and receiving, through the first radio frequency component or the second radio frequency component with a normal function, the downlink transaction data sent by the rsu, includes:
if the self-checking result shows that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the first radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly.
In one embodiment, the sending, according to the self-test result, the uplink transaction data to the rsu through the first radio frequency component or the second radio frequency component with a normal function, and receiving, through the first radio frequency component or the second radio frequency component with a normal function, the downlink transaction data sent by the rsu, includes:
if the self-checking result shows that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the second radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the first radio frequency assembly.
In one embodiment, the sending, according to the self-test result, the uplink transaction data to the rsu through the first radio frequency component or the second radio frequency component with a normal function, and receiving, through the first radio frequency component or the second radio frequency component with a normal function, the downlink transaction data sent by the rsu, includes:
and if the self-checking result shows that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, performing transaction communication with the road side unit through the first radio frequency assembly or the second radio frequency assembly based on preset conditions.
In one embodiment, the performing transaction communication with the rsu through the first rf component or the second rf component based on a preset condition includes:
after the on-board unit is awakened by the road side unit, acquiring the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component;
detecting whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component;
if the number of the uplink transaction data is larger than the number of the downlink transaction data, the uplink transaction data is sent to the road side unit through the first radio frequency assembly, and the downlink transaction data sent by the road side unit is received through the first radio frequency assembly.
In one embodiment, the method further comprises:
in the process of transaction communication between the first radio frequency assembly and the road side unit, receiving the uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly;
and if a transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, switching to transaction communication with the road side unit through the second radio frequency assembly.
In one embodiment, the method further comprises:
if the current transaction is detected to be failed, the uplink transaction data and the downlink transaction data are used as transaction failure data and stored in a database;
and if the current transaction is detected to be successful, deleting the uplink transaction data and the downlink transaction data from the cache.
In one embodiment, the method further comprises:
if the vehicle-mounted unit is detected to meet a preset self-checking condition, first sending data are sent through the first radio frequency assembly, wherein the self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit;
receiving the first sending data through the second radio frequency assembly to obtain first receiving data;
detecting whether the first sending data and the first receiving data are the same or not to obtain a detection result;
and obtaining the self-checking result according to the detection result.
In one embodiment, after the receiving the first transmission data by the second radio frequency component to obtain first reception data, the method further includes:
acquiring a second received signal strength corresponding to the first sending data of the second radio frequency component;
and if the second received signal strength is within a preset signal strength range, executing the step of detecting whether the first sending data and the first received data are the same to obtain a detection result.
In one embodiment, the obtaining the self-test result according to the test result includes:
transmitting second transmission data through the second radio frequency component;
receiving the second sending data through the first radio frequency assembly to obtain second receiving data;
detecting whether the second transmission data and the second reception data are the same;
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, and outputting corresponding prompt information.
In one embodiment, after the receiving, by the first radio frequency component, the second sending data to obtain second receiving data, the method further includes:
acquiring first receiving signal strength corresponding to the first radio frequency component and the second sending data;
and if the first received signal strength is within a preset signal strength range, executing the step of detecting whether the second sending data and the second received data are the same.
In one embodiment, after detecting whether the second transmission data and the second reception data are the same, the method further includes:
and if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal, the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
In one embodiment, after detecting whether the second transmission data and the second reception data are the same, the method further includes:
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, determining that the self-detection result is that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
In a second aspect, an embodiment of the present application provides a communication control apparatus, which is disposed in an on-board unit, where the on-board unit includes a first radio frequency component and a second radio frequency component, and the apparatus includes:
a determining module, configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a roadside unit, where the self-checking result is obtained by performing functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal;
and the control module is used for sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function according to the self-checking result in the transaction communication process of the vehicle-mounted unit and the road side unit.
In a third aspect, an embodiment of the present application provides an onboard unit, where the onboard unit includes a first radio frequency component, a second radio frequency component, and a control component;
the control component is configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a road side unit, where the self-checking result is obtained by performing functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal;
the control component is further configured to send uplink transaction data to the road side unit through the first radio frequency component or the second radio frequency component with a normal sending function and receive downlink transaction data sent by the road side unit through the first radio frequency component or the second radio frequency component with a normal receiving function according to the self-checking result in the transaction communication process of the vehicle-mounted unit and the road side unit.
In one embodiment, the first radio frequency component comprises a first antenna and the second radio frequency component comprises a second antenna;
wherein the first antenna is disposed outside of the on-board unit and the second antenna is disposed inside of the on-board unit;
or both the first antenna and the second antenna are arranged inside the vehicle-mounted unit;
or the first antenna and the second antenna are both arranged outside the vehicle-mounted unit, and the arrangement positions of the first antenna and the second antenna are different.
In a fourth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method according to the first aspect as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
according to the communication control method, the communication control device, the vehicle-mounted unit, the equipment and the readable storage medium, the vehicle-mounted unit comprises the first radio frequency assembly and the second radio frequency assembly, if the fact that the vehicle-mounted unit is awakened by the road side unit is detected, the self-checking results of the first radio frequency assembly and the second radio frequency assembly are determined, the self-checking results are obtained by performing function state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether the sending function and the receiving function of the first radio frequency assembly and the sending function and the receiving function of the second radio frequency assembly are normal or not; therefore, in the transaction communication process between the vehicle-mounted unit and the road side unit, the uplink transaction data can be sent to the road side unit through the first radio frequency assembly or the second radio frequency assembly with the normal sending function according to the self-checking result, and the downlink transaction data sent by the road side unit can be received through the first radio frequency assembly or the second radio frequency assembly with the normal receiving function, so that the vehicle-mounted unit is ensured to be communicated with the road side unit through the radio frequency assembly with the normal sending function and the radio frequency assembly with the normal receiving function. Therefore, the problem that in the traditional technology, because a user hardly finds that the vehicle-mounted unit breaks down, when the user adopts the broken-down vehicle-mounted unit to carry out electronic deduction, the transaction fails due to the communication failure of the vehicle-mounted unit and the road side unit is solved. The embodiment of the application improves the communication reliability between the vehicle-mounted unit and the road side unit, thereby improving the transaction success rate between the vehicle-mounted unit and the road side unit.
Drawings
FIG. 1 is a diagram of an implementation environment of a communication control method according to an embodiment;
FIG. 2 is a flow diagram illustrating a communication control method according to an embodiment;
fig. 3 is a flowchart illustrating a communication control method according to another embodiment;
FIG. 4 is a schematic flow chart illustrating a transaction communication performed by the OBU with the RSU via the first RF module or the second RF module based on a predetermined condition in accordance with another embodiment;
FIG. 5 is a flowchart illustrating how the OBU may utilize the second RF component if the OBU selects the first RF component to communicate with the RSU based on a predetermined condition in another embodiment;
FIG. 6 is a schematic flow chart illustrating how the on-board unit performs self-check of functional status via the first RF module and the second RF module according to another embodiment;
FIG. 7 is a flowchart illustrating step 604 in another embodiment;
fig. 8 is a block diagram showing the structure of a communication control apparatus according to an embodiment;
FIG. 9 is a schematic diagram of an exemplary on-board unit in one embodiment;
FIG. 10 is a schematic diagram of an exemplary on-board unit in another embodiment;
FIG. 11 is a schematic diagram of an exemplary on-board unit in another embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The communication control method, the communication control device, the vehicle-mounted unit, the equipment and the readable storage medium can improve the communication reliability between the vehicle-mounted unit and the road side unit. The technical solution of the present application will be specifically described below by way of examples with reference to the accompanying drawings. The following specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The communication control method provided by the embodiment of the application can be applied to the implementation environment shown in fig. 1. As shown in fig. 1, the implementation environment includes a Road Side Unit (RSU) 101 and an On Board Unit (OBU) 102.
The roadside unit 101 may be installed at the roadside, the on-board unit 102 may be installed on the vehicle, and the roadside unit 101 and the on-board unit 102 may perform network Communication based on DSRC (Dedicated Short Range Communication) technology.
In one embodiment, as shown in fig. 2, a communication control method is provided, which is described by taking the method as an example applied to the vehicle-mounted unit in fig. 1, and includes steps 201 and 202:
step 201, if the on board unit detects that the on board unit is awakened by the road side unit, the on board unit determines the self-checking results of the first radio frequency component and the second radio frequency component.
The on-board unit may be disposed in the vehicle, and if the vehicle travels within a coverage area of the roadside unit, the on-board unit may sense the radio frequency signal broadcast by the roadside unit, so as to be awakened.
In the conventional technology, the on-board unit includes a radio frequency component, and during the communication between the on-board unit and the roadside unit, the on-board unit may send data to the roadside unit through the radio frequency component and receive data issued by the roadside unit through the radio frequency component. If the radio frequency assembly fails, communication failure between the on-board unit and the road side unit can be caused.
In the embodiment of the application, the vehicle-mounted unit comprises a first radio frequency component and a second radio frequency component, namely the vehicle-mounted unit is a vehicle-mounted unit with double radio frequency components, and the first radio frequency component and the second radio frequency component can support communication in a 5.8GHz frequency band under normal conditions.
In the actual use process of the vehicle-mounted unit, there may be various reasons that one or more of the transmitting function of the first radio frequency component, the receiving function of the first radio frequency component, the transmitting function of the second radio frequency component and the receiving function of the second radio frequency component are abnormal. If the sending function of the first radio frequency component is abnormal, if the vehicle-mounted unit sends the uplink transaction data to the road side unit through the first radio frequency component, the uplink transaction data will be sent unsuccessfully.
In order to avoid the above situation, in the embodiment of the present application, after the on-board unit is awakened by the road side unit, first, a self-checking result of the first radio frequency component and the second radio frequency component is determined, where the self-checking result is obtained by performing a function state self-check on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal; therefore, the vehicle-mounted unit can determine whether the sending function of the first radio frequency assembly is normal, whether the receiving function of the first radio frequency assembly is normal, whether the sending function of the second radio frequency assembly is normal and whether the receiving function of the second radio frequency assembly is normal according to the self-checking result.
In the embodiment of the application, before the on board unit is awakened by the road side unit, the on board unit can perform functional state self-checking on the first radio frequency assembly and the second radio frequency assembly through the first radio frequency assembly and the second radio frequency assembly to obtain the self-checking result.
In a possible implementation manner, the onboard unit may send test data to the outside through the first radio frequency component, receive the test data through the second radio frequency component, and then compare the sent test data with the received test data to detect whether the sending function of the first radio frequency component and the receiving function of the second radio frequency component are normal. The vehicle-mounted unit can also send test data to the outside through the second radio frequency assembly, receive the test data through the first radio frequency assembly, and then compare the sent test data with the received test data to detect whether the sending function of the second radio frequency assembly and the receiving function of the first radio frequency assembly are normal.
In another possible embodiment, a data transmitting device and a data receiving device with normal transceiving functions may be provided outside the on-board unit. After the data sending device sends the test data, the vehicle-mounted unit respectively receives the test data through the first radio frequency assembly and the second radio frequency assembly, the vehicle-mounted unit compares the received test data with the test data sent by the data sending device, and then whether the receiving functions of the first radio frequency assembly and the second radio frequency assembly are normal or not can be determined, wherein the test data sent by the data sending device can be preset in the vehicle-mounted unit so that the vehicle-mounted unit can conveniently compare the data. The vehicle-mounted unit can also send test data to the outside through the first radio frequency assembly and the second radio frequency assembly, the data receiving device respectively receives the test data, the data receiving device compares the received test data with the test data sent by the vehicle-mounted unit, whether the sending function of the first radio frequency assembly and the sending function of the second radio frequency assembly are normal or not can be determined, and the result is returned to the vehicle-mounted unit, wherein the test data sent by the vehicle-mounted unit can be preset in the data receiving device so that the data receiving device can compare the data.
The embodiment of the application does not specifically limit the way of the vehicle-mounted unit performing the function state self-check on the first radio frequency component and the second radio frequency component through the first radio frequency component and the second radio frequency component.
Step 202, in the process of transaction communication between the on-board unit and the road side unit, the on-board unit sends uplink transaction data to the road side unit through the first radio frequency component or the second radio frequency component with the normal sending function according to the self-checking result, and receives downlink transaction data sent by the road side unit through the first radio frequency component or the second radio frequency component with the normal receiving function.
After the vehicle-mounted unit determines whether the transceiving functions of the first radio frequency assembly and the second radio frequency assembly are normal according to the self-checking result, if uplink transaction data need to be sent to the road side unit in the transaction communication process of the vehicle-mounted unit and the road side unit, the vehicle-mounted unit selects the first radio frequency assembly or the second radio frequency assembly with the normal sending function to send the uplink transaction data to the road side unit so as to ensure that the uplink transaction data are sent normally.
If the downlink transaction data sent by the road side unit needs to be received, the vehicle-mounted unit selects the first radio frequency assembly or the second radio frequency assembly with the normal receiving function to receive the downlink transaction data sent by the road side unit so as to ensure the normal receiving of the downlink transaction data. In this way, the vehicle-mounted unit selectively uses the radio frequency assembly, and normal communication between the vehicle-mounted unit and the road side unit is ensured.
In a possible implementation manner, if the self-checking result shows that the sending function of the first radio frequency component and the receiving function of the second radio frequency component are both normal and the receiving function of the first radio frequency component and/or the sending function of the second radio frequency component are/is abnormal, the vehicle-mounted unit sends the uplink transaction data to the road side unit through the first radio frequency component and receives the downlink transaction data sent by the road side unit through the second radio frequency component.
In another possible implementation manner, if the self-checking result indicates that the receiving function of the first radio frequency component and the sending function of the second radio frequency component are both normal and the sending function of the first radio frequency component and/or the receiving function of the second radio frequency component are/is abnormal, the on-board unit sends the uplink transaction data to the road side unit through the second radio frequency component and receives the downlink transaction data sent by the road side unit through the first radio frequency component.
The vehicle-mounted unit in the above embodiment includes a first radio frequency component and a second radio frequency component, and if it is detected that the vehicle-mounted unit is awakened by the roadside unit, a self-checking result of the first radio frequency component and the second radio frequency component is determined, where the self-checking result is obtained by performing a self-checking of a function state by the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal; therefore, in the transaction communication process between the vehicle-mounted unit and the road side unit, the uplink transaction data can be sent to the road side unit through the first radio frequency assembly or the second radio frequency assembly with the normal sending function according to the self-checking result, and the downlink transaction data sent by the road side unit can be received through the first radio frequency assembly or the second radio frequency assembly with the normal receiving function, so that the vehicle-mounted unit is ensured to be communicated with the road side unit through the radio frequency assembly with the normal sending function and the radio frequency assembly with the normal receiving function. Therefore, the problem that in the traditional technology, because a user hardly finds that the vehicle-mounted unit has a fault, when the user adopts the faulty vehicle-mounted unit to carry out electronic deduction, the transaction fails due to the communication failure of the vehicle-mounted unit and the road side unit is solved. The embodiment of the application improves the communication reliability between the vehicle-mounted unit and the road side unit, thereby improving the transaction success rate between the vehicle-mounted unit and the road side unit.
In one embodiment, based on the above-mentioned embodiment shown in fig. 2, referring to fig. 3, this embodiment relates to a process of how the on-board unit communicates with the roadside unit when both the transmitting function and the receiving function of the first rf component are normal and both the transmitting function and the receiving function of the second rf component are normal. Referring to fig. 3, step 202 may include step 2021:
in step 2021, if the self-checking result shows that the sending function and the receiving function of the first rf component are both normal and the sending function and the receiving function of the second rf component are both normal, the on-board unit performs transaction communication with the roadside unit through the first rf component or the second rf component based on a preset condition.
In the embodiment of the application, if the vehicle-mounted unit determines that the self-checking result is that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, that is, the sending and receiving functions of the first radio frequency assembly and the second radio frequency assembly are both normal, the vehicle-mounted unit selects one of the radio frequency assemblies to perform transaction communication with the road side unit based on the preset condition.
In a possible implementation manner, referring to fig. 4, the process of the on-board unit performing transaction communication with the roadside unit through the first radio frequency component or the second radio frequency component based on the preset condition may be implemented by performing steps 401, 402, and 403 shown in fig. 4:
step 401, after the on board unit is awakened by the road side unit, the on board unit obtains the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component.
In step 402, the obu detects whether the received signal strength of the first rf component is greater than the received signal strength of the second rf component.
And 403, if the uplink transaction data is larger than the downlink transaction data, the vehicle-mounted unit sends the uplink transaction data to the road side unit through the first radio frequency component, and receives the downlink transaction data sent by the road side unit through the first radio frequency component.
In this application embodiment, when the on-board unit is awakened by the road side unit, the on-board unit can receive the radio frequency signal broadcast by the road side unit through the first radio frequency assembly and the second radio frequency assembly, the sending function and the receiving function of the first radio frequency assembly are both normal, and under the condition that the sending function and the receiving function of the second radio frequency assembly are both normal, the on-board unit can receive the corresponding radio frequency signal through the first radio frequency assembly, and receive the corresponding radio frequency signal through the second radio frequency assembly.
In a possible implementation manner, a Received Signal Strength Indication (RSSI) field may be carried in a radio frequency Signal Received by the on-board unit through the first radio frequency component, so that the on-board unit may determine the current Received Signal Strength of the first radio frequency component based on a value of the RSSI field; the vehicle-mounted unit may also carry an RSSI field in the radio frequency signal received by the second radio frequency component, and similarly, the vehicle-mounted unit may determine the current received signal strength of the second radio frequency component based on the value of the RSSI field.
The vehicle-mounted unit can acquire the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component by analyzing the RSSI field, and the vehicle-mounted unit detects whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component. It will be appreciated that the greater the received signal strength, the better the quality of the communication between the radio frequency components and the roadside unit is characterized.
If the received signal strength of the first radio frequency assembly is greater than that of the second radio frequency assembly, the vehicle-mounted unit selects the first radio frequency assembly to send uplink transaction data to the road side unit, and selects the first radio frequency assembly to receive downlink transaction data sent by the road side unit. Namely, under the condition that the transceiving functions of the first radio frequency assembly and the second radio frequency assembly are normal, the vehicle-mounted unit selects the radio frequency assembly with the higher received signal strength from the first radio frequency assembly and the second radio frequency assembly to communicate with the road side unit, namely, the radio frequency assembly with the higher received signal strength is dynamically selected to communicate with the road side unit, and better compatibility is achieved for the conditions that the performances of the road side units in different road sections are inconsistent and the transaction coverage areas are inconsistent, so that the communication reliability between the vehicle-mounted unit and the road side unit can be further improved, and the probability of transaction failure is reduced.
Based on the embodiment shown in fig. 4, referring to fig. 5, this embodiment relates to a process of how the on board unit utilizes the second radio frequency component if the on board unit selects the first radio frequency component to communicate with the rsu based on a preset condition. As shown in fig. 5, after step 402, the embodiment of the present application may further include steps 501 and 502 shown in fig. 5:
step 501, in the process of transaction communication between the first radio frequency assembly and the road side unit, the vehicle-mounted unit receives uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receives downlink transaction data sent by the road side unit through the second radio frequency assembly.
In the embodiment of the application, under the condition that the transceiving functions of the first radio frequency assembly and the second radio frequency assembly are normal and the first received signal strength of the first radio frequency assembly is greater than the second received signal strength of the second radio frequency assembly, the vehicle-mounted unit selects the first radio frequency assembly to perform transaction communication with the road side unit. In the process of transaction communication with the road side unit through the first radio frequency assembly, the vehicle-mounted unit monitors the communication process of the vehicle-mounted unit and the road side unit by taking the second radio frequency assembly as a monitoring assembly, namely, the uplink transaction data sent by the first radio frequency assembly is received through the second radio frequency assembly, the downlink transaction data sent by the road side unit is received through the second radio frequency assembly, and the received transaction data is recorded.
Step 502, if the vehicle-mounted unit detects a transaction failure risk based on the uplink transaction data and the downlink transaction data, the vehicle-mounted unit switches to transaction communication with the road side unit through the second radio frequency assembly.
And the vehicle-mounted unit analyzes the uplink transaction data and the downlink transaction data received based on the second radio frequency assembly and detects whether the risk of transaction failure exists.
In a possible implementation manner, the on-board unit detects whether there is a risk of transaction failure, and may determine whether data transmission timeout occurs between the on-board unit and the roadside unit by analyzing the uplink transaction data and the downlink transaction data.
As an implementation manner, each uplink transaction data and each downlink transaction data may include an identifier of a corresponding process node in the current transaction communication process, and the process node may be, for example, a process of sending a bill, confirming a bill, and the like. Under normal conditions, in the current transaction communication process, the identifiers of the uplink transaction data and the downlink transaction data received by the on-board unit based on the second radio frequency component should be continuous, for example, the identifier of the on-board unit based on the second radio frequency component that receives the uplink transaction data is 1, the identifier of the downlink transaction data is 2, the identifier of the uplink transaction data is 3, the identifier of the downlink transaction data is 4, and the like, so that the on-board unit determines that there is no data transmission timeout between the on-board unit and the roadside unit, and the two units communicate normally.
If the identification of the uplink transaction data and the downlink transaction data received by the vehicle-mounted unit based on the second radio frequency component is discontinuous, for example, the identification of the uplink transaction data continuously received by the vehicle-mounted unit for multiple times based on the second radio frequency component is 1, the vehicle-mounted unit determines that the data transmission of the vehicle-mounted unit and the roadside unit is overtime, namely determines that the transaction failure risk is detected.
In another possible implementation, the on-board unit detects whether there is a risk of transaction failure, and may also determine whether the uplink transaction data and the downlink transaction data are erroneous by analyzing the uplink transaction data and the downlink transaction data. As an implementation manner, the on-board unit may check a data format of the uplink transaction data and/or the downlink transaction data, and if the data format is wrong, the on-board unit determines that the uplink transaction data and/or the downlink transaction data is wrong, that is, determines that the transaction failure risk is detected.
If the vehicle-mounted unit detects a transaction failure risk based on the uplink transaction data and the downlink transaction data, the function of the first radio frequency assembly is represented to be abnormal at present, and the vehicle-mounted unit selects the second radio frequency assembly to perform transaction communication with the road side unit, so that the condition of communication failure caused by the fact that the abnormal first radio frequency assembly is adopted to perform communication is avoided. According to the embodiment of the application, the second radio frequency assembly is switched in time to continue to communicate with the road side unit under the condition that the first radio frequency assembly is detected to be abnormal, so that the communication reliability between the vehicle-mounted unit and the road side unit is ensured.
It can be understood that, if the on-board unit selects that the second radio frequency component communicates with the roadside unit based on the preset condition, similar to the process of step 501 and step 502, in the process of transaction communication between the second radio frequency component and the roadside unit, the on-board unit receives uplink transaction data sent by the second radio frequency component through the first radio frequency component, and receives downlink transaction data sent by the roadside unit through the first radio frequency component; and if the vehicle-mounted unit detects the transaction failure risk based on the uplink transaction data and the downlink transaction data, switching to the transaction communication with the road side unit through the first radio frequency assembly.
In a possible implementation manner, in the process of performing transaction communication with the road side unit through the first radio frequency assembly, the vehicle-mounted unit receives uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receives downlink transaction data sent by the road side unit through the second radio frequency assembly, the vehicle-mounted unit can temporarily store the uplink transaction data and the downlink transaction data in the cache, and if the vehicle-mounted unit detects that the current transaction is successful, the vehicle-mounted unit deletes the uplink transaction data and the downlink transaction data from the cache. And if the vehicle-mounted unit detects that the current transaction fails, the uplink transaction data and the downlink transaction data are stored in the database as transaction failure data, so that all uplink and downlink aerial data in the case of transaction failure are stored, the problem analysis and positioning by maintenance personnel is facilitated, and the maintenance efficiency is improved.
In an embodiment, based on the embodiment shown in fig. 2, referring to fig. 6, this embodiment relates to a process of how the on-board unit performs a self-test of a functional state through the first radio frequency component and the second radio frequency component to obtain a self-test result. As shown in fig. 6, the process may include steps 601, 602, 603, and 604:
step 601, if the vehicle-mounted unit detects that the vehicle-mounted unit meets a preset self-checking condition, the vehicle-mounted unit sends first sending data through the first radio frequency assembly.
In the embodiment of the application, the self-checking condition includes any one of that a vehicle provided with a vehicle-mounted unit is ignited, the vehicle-mounted unit is powered on, the vehicle-mounted unit receives a bluetooth self-checking command and the vehicle-mounted unit receives a 5.8GHz self-checking command. The bluetooth self-checking command and the 5.8GHz self-checking command can be triggered by a user, the bluetooth self-checking command can be a self-checking command received by the vehicle-mounted unit through bluetooth connection, and the 5.8GHz self-checking command can be a self-checking command received by the vehicle-mounted unit based on a 5.8GHz communication technology.
If the vehicle-mounted unit detects that a vehicle provided with the vehicle-mounted unit is ignited, the vehicle-mounted unit is electrified, receives a Bluetooth self-checking command or receives a 5.8GHz self-checking command, starting functional state self-checking, and sending first sending data through a first radio frequency assembly.
Step 602, the vehicle-mounted unit receives the first sending data through the second radio frequency component to obtain first receiving data.
In a possible implementation manner, after step 602, the vehicle-mounted unit may further obtain a second received signal strength of the second radio frequency component corresponding to the first transmission data, specifically, the first received data may carry an RSSI field, and a value of the RSSI field may be used as the second received signal strength; if the second received signal strength is within the predetermined signal strength range, the obu then proceeds to step 603.
And if the second received signal strength is not in the preset signal strength range, the vehicle-mounted unit directly determines that the receiving function of the second radio frequency assembly is abnormal.
Step 603, the vehicle-mounted unit detects whether the first sending data and the first receiving data are the same, and obtains a detection result.
The vehicle-mounted unit may detect whether the lengths of the first transmission data and the first reception data are the same, and if so, sequentially compare whether each bit of the first transmission data and each bit of the first reception data are the same according to the data bits to obtain a detection result, where the detection result includes that the first transmission data and the first reception data are the same, or that the first transmission data and the first reception data are different.
And step 604, the vehicle-mounted unit acquires a self-checking result according to the detection result.
In one possible implementation of step 604, referring to fig. 7, the on-board unit may perform the process of step 604 as shown in fig. 7:
and step 701, the vehicle-mounted unit sends second sending data through a second radio frequency component.
As described above, the on-board unit sends the first sending data through the first radio frequency component and receives the first sending data through the second radio frequency component to obtain the first receiving data, and the on-board unit detects whether the first sending data is the same as the first receiving data to obtain a detection result, where the detection result includes that the first sending data is the same as the first receiving data, or that the first sending data is different from the first receiving data.
The vehicle-mounted unit continues to transmit second transmission data through the second radio frequency assembly.
And step 702, the vehicle-mounted unit receives second sending data through the first radio frequency component to obtain second receiving data.
In a possible implementation manner, after step 702, the onboard unit may further obtain a first received signal strength corresponding to the first radio frequency component and the second transmission data, specifically, the second reception data may carry an RSSI field, and a value of the RSSI field may be used as the first received signal strength; if the first received signal strength is within the predetermined signal strength range, the on-board unit then proceeds to step 703.
If the first received signal strength is not within the preset signal strength range, the vehicle-mounted unit directly determines that the receiving function of the first radio frequency assembly is abnormal.
In step 703, the on-board unit detects whether the second transmission data and the second reception data are the same.
The on-board unit may detect whether lengths of the second transmission data and the second reception data are identical, and if so, sequentially compare, by data bit, whether each bit of the second transmission data and each bit of the second reception data are identical.
Step 704, if the second sending data is the same as the second receiving data, and the detection result is that the first sending data is the same as the first receiving data, the on-board unit determines that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are both normal, and that the sending function and the receiving function of the second radio frequency assembly are both normal, and outputs corresponding prompt information.
Because the first sending data is sent by the first radio frequency assembly, and the first receiving data is received by the second radio frequency assembly, if the first sending data is the same as the first receiving data, the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal.
Because the second sending data is sent by the second radio frequency component and the second receiving data is received by the first radio frequency component, if the second sending data is the same as the second receiving data, the sending function of the second radio frequency component and the receiving function of the first radio frequency component are represented to be normal.
After the vehicle-mounted unit determines that the self-checking result is that the sending function and the receiving function of the first radio frequency assembly are both normal, and the sending function and the receiving function of the second radio frequency assembly are both normal, the vehicle-mounted unit can output corresponding prompt information, and the prompt information can be displayed on a screen connected with the vehicle-mounted unit, or can be in a voice prompt mode, or can be in a prompt lamp prompt mode, and the like.
Step 705, if the second sending data is different from the second receiving data, and the detection result is that the first sending data is the same as the first receiving data, the on-board unit determines that the self-detection result is that the sending function of the first radio frequency component and the receiving function of the second radio frequency component are both normal, and the receiving function of the first radio frequency component and/or the sending function of the second radio frequency component are/is abnormal, and outputs corresponding prompt information.
Because the first sending data is sent by the first radio frequency assembly, and the first receiving data is received by the second radio frequency assembly, if the first sending data is the same as the first receiving data, the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are represented to be normal.
Because the second sending data is sent by the second radio frequency component and the second receiving data is received by the first radio frequency component, if the second sending data is different from the second receiving data, at least one abnormality exists in the receiving function of the first radio frequency component and the sending function of the second radio frequency component, namely the receiving function of the first radio frequency component and/or the sending function of the second radio frequency component is abnormal.
After the vehicle-mounted unit determines that the self-detection result is that the sending function of the first radio frequency component and the receiving function of the second radio frequency component are both normal, and the receiving function of the first radio frequency component and/or the sending function of the second radio frequency component are abnormal, corresponding prompt information can be output in the same manner, and the form of the prompt information can refer to the implementation mode of step 704, which is not described herein again.
Step 706, if the second sending data is the same as the second receiving data, and the detection result is that the first sending data is different from the first receiving data, the on-board unit determines that the self-detection result is that the receiving function of the first radio frequency component and the sending function of the second radio frequency component are both normal, and the sending function of the first radio frequency component and/or the receiving function of the second radio frequency component are/is abnormal, and outputs corresponding prompt information.
Because the first sending data is sent by the first radio frequency assembly, and the first receiving data is received by the second radio frequency assembly, if the first sending data is different from the first receiving data, it is characterized that at least one of the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly is abnormal, that is, the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal.
Because the second sending data is sent by the second radio frequency component and the second receiving data is received by the first radio frequency component, if the second sending data is the same as the second receiving data, the sending function of the second radio frequency component and the receiving function of the first radio frequency component are represented to be normal.
After the vehicle-mounted unit determines that the self-detection result is that the receiving function of the first radio frequency component and the sending function of the second radio frequency component are both normal and the sending function of the first radio frequency component and/or the receiving function of the second radio frequency component are abnormal, corresponding prompt information can be output, and the form of the prompt information can be referred to in step 704, which is not described herein again.
According to the vehicle-mounted unit, the functional states of the first radio frequency assembly and the second radio frequency assembly can be subjected to quick self-checking through the mutual data receiving and sending of the first radio frequency assembly and the second radio frequency assembly, and a self-checking result is obtained. Therefore, after the on-board unit is awakened by the road side unit, the on-board unit can send uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with the normal sending function based on the self-checking result, and receive downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with the normal receiving function, so that the communication reliability of the on-board unit and the road side unit is ensured. According to the embodiment of the application, the vehicle-mounted unit can output prompt information after self-checking, so that a user can master the faults of the first radio frequency assembly and the second radio frequency assembly at any time, and timely maintenance is facilitated.
In one embodiment, based on the above embodiments, the communication control method of the present embodiment is applied to an on-board unit, where the on-board unit includes a first radio frequency component and a second radio frequency component, and the method includes:
step a, if the vehicle-mounted unit detects that the vehicle-mounted unit meets a preset self-checking condition, first sending data are sent through a first radio frequency assembly.
The self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit.
And b, the vehicle-mounted unit receives the first sending data through the second radio frequency assembly to obtain first receiving data.
In this embodiment, after step b, the vehicle-mounted unit may further obtain a second received signal strength of the second radio frequency component corresponding to the first transmission data; and if the second received signal strength is within the preset signal strength range, continuing to execute the step c.
And c, detecting whether the first sending data and the first receiving data are the same by the vehicle-mounted unit to obtain a detection result.
And d, the vehicle-mounted unit sends second sending data through the second radio frequency assembly.
And e, the vehicle-mounted unit receives the second sending data through the first radio frequency assembly to obtain second receiving data.
In this embodiment, after step e, the vehicle-mounted unit may further obtain a first received signal strength corresponding to the first radio frequency component and the second sending data; and if the first received signal strength is within the preset signal strength range, continuing to execute the step f.
And f, the vehicle-mounted unit detects whether the second sending data and the second receiving data are the same.
And g, if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, the vehicle-mounted unit determines that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are normal and the sending function and the receiving function of the second radio frequency assembly are normal, and outputs corresponding prompt information.
And h, if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, the vehicle-mounted unit determines that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, and outputs corresponding prompt information.
And i, if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, the vehicle-mounted unit determines that the self-detection result is that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are/is abnormal, and outputs corresponding prompt information.
And j, if the vehicle-mounted unit detects that the vehicle-mounted unit is awakened by the road side unit, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether the sending function and the receiving function of the first radio frequency assembly and the sending function and the receiving function of the second radio frequency assembly are normal or not.
And k, in the transaction communication process of the vehicle-mounted unit and the road side unit, if the self-checking result shows that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, the vehicle-mounted unit sends uplink transaction data to the road side unit through the first radio frequency assembly and receives downlink transaction data sent by the road side unit through the second radio frequency assembly.
And step l, in the transaction communication process of the vehicle-mounted unit and the road side unit, if the self-checking result shows that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, the vehicle-mounted unit sends uplink transaction data to the road side unit through the second radio frequency assembly and receives downlink transaction data sent by the road side unit through the first radio frequency assembly.
And step m, in the transaction communication process of the vehicle-mounted unit and the road side unit, if the self-checking result shows that the sending function and the receiving function of the first radio frequency assembly are normal and the sending function and the receiving function of the second radio frequency assembly are normal, the vehicle-mounted unit performs transaction communication with the road side unit through the first radio frequency assembly or the second radio frequency assembly based on a preset condition.
The vehicle-mounted unit performs a transaction communication process with the road side unit through the first radio frequency component or the second radio frequency component based on a preset condition, specifically, after the vehicle-mounted unit is awakened by the road side unit, the vehicle-mounted unit acquires the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component; the vehicle-mounted unit detects whether the received signal strength of the first radio frequency assembly is greater than the received signal strength of the second radio frequency assembly; if the number of the uplink transaction data is larger than the number of the downlink transaction data, the vehicle-mounted unit sends the uplink transaction data to the road side unit through the first radio frequency assembly, and receives the downlink transaction data sent by the road side unit through the first radio frequency assembly.
The vehicle-mounted unit receives uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receives downlink transaction data sent by the road side unit through the second radio frequency assembly.
And if the transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, the vehicle-mounted unit is switched to be in transaction communication with the road side unit through the second radio frequency assembly.
And if the current transaction is detected to be failed, the vehicle-mounted unit stores the uplink transaction data and the downlink transaction data serving as transaction failure data into the database.
And if the current transaction is detected to be successful, the vehicle-mounted unit deletes the uplink transaction data and the downlink transaction data from the cache.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 8, there is provided a communication control apparatus provided in an on-board unit, the on-board unit including a first radio frequency component and a second radio frequency component, including:
a determining module 10, configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a roadside unit, where the self-checking result is obtained by performing a functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal;
and the control module 20 is configured to send uplink transaction data to the road side unit through the first radio frequency component or the second radio frequency component with a normal sending function and receive downlink transaction data sent by the road side unit through the first radio frequency component or the second radio frequency component with a normal receiving function according to the self-checking result in the transaction communication process between the vehicle-mounted unit and the road side unit.
In an embodiment, the control module 20 is specifically configured to send the uplink transaction data to the rsu through the first radio frequency component and receive the downlink transaction data sent by the rsu through the second radio frequency component if the self-checking result indicates that the sending function of the first radio frequency component and the receiving function of the second radio frequency component are both normal and the receiving function of the first radio frequency component and/or the sending function of the second radio frequency component are abnormal.
In an embodiment, the control module 20 is specifically configured to send the uplink transaction data to the rsu through the second rf component and receive the downlink transaction data sent by the rsu through the first rf component if the self-checking result indicates that the receiving function of the first rf component and the sending function of the second rf component are both normal and the sending function of the first rf component and/or the receiving function of the second rf component are abnormal.
In an embodiment, the control module 20 is specifically configured to perform transaction communication with the roadside unit through the first radio frequency component or the second radio frequency component based on a preset condition if the self-checking result indicates that the sending function and the receiving function of the first radio frequency component are both normal and the sending function and the receiving function of the second radio frequency component are both normal.
In one embodiment, the control module 20 is specifically configured to obtain the received signal strength of the first rf component and the received signal strength of the second rf component after the on-board unit is awakened by the roadside unit; detecting whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component; if the number of the uplink transaction data is larger than the number of the downlink transaction data, the uplink transaction data is sent to the road side unit through the first radio frequency assembly, and the downlink transaction data sent by the road side unit is received through the first radio frequency assembly.
In an embodiment, the control module 20 is further specifically configured to receive, by the second radio frequency component, the uplink transaction data sent by the first radio frequency component and receive, by the second radio frequency component, the downlink transaction data sent by the rsu in a transaction communication process between the first radio frequency component and the rsu; and if a transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, switching to transaction communication with the road side unit through the second radio frequency assembly.
In an embodiment, the control module 20 is further specifically configured to, if it is detected that the current transaction fails, store the uplink transaction data and the downlink transaction data as transaction failure data in a database; and if the current transaction is detected to be successful, deleting the uplink transaction data and the downlink transaction data from the cache.
In one embodiment, the apparatus further comprises:
the first sending module is used for sending first sending data through the first radio frequency assembly if the vehicle-mounted unit is detected to meet a preset self-checking condition, wherein the self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit;
the first receiving module is used for receiving the first sending data through the second radio frequency assembly to obtain first receiving data;
the detection module is used for detecting whether the first sending data and the first receiving data are the same or not to obtain a detection result;
the detection module is further configured to obtain a second received signal strength of the second radio frequency component corresponding to the first transmission data; and if the second received signal strength is within a preset signal strength range, executing the step of detecting whether the first sending data and the first received data are the same to obtain a detection result.
And the acquisition module is used for acquiring the self-checking result according to the detection result.
In one embodiment, the obtaining module includes:
a second transmitting unit, configured to transmit second transmission data through the second radio frequency component;
a second receiving unit, configured to receive the second sending data through the first radio frequency component, so as to obtain second receiving data;
a detecting unit configured to detect whether the second transmission data and the second reception data are the same;
the detection unit is further configured to obtain a first received signal strength corresponding to the first radio frequency component and the second sending data; and if the first received signal strength is within a preset signal strength range, executing the step of detecting whether the second sending data and the second received data are the same.
And the first obtaining unit is configured to determine that the self-checking result is that the sending function and the receiving function of the first radio frequency component are both normal and the sending function and the receiving function of the second radio frequency component are both normal if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, and output corresponding prompt information.
And the second obtaining unit is used for determining that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, and outputting corresponding prompt information.
And a third obtaining unit, configured to determine that the self-checking result is that the receiving function of the first radio frequency component and the sending function of the second radio frequency component are both normal and the sending function of the first radio frequency component and/or the receiving function of the second radio frequency component are/is abnormal if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, and output corresponding prompt information.
For specific limitations of the communication control device, reference may be made to the above limitations of the communication control method, which are not described herein again. The respective modules in the above communication control apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an on-board unit is provided, the on-board unit comprising a first radio frequency component, a second radio frequency component, and a control component;
the control component is configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a road side unit, where the self-checking result is obtained by performing functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal.
The control component is further configured to send uplink transaction data to the road side unit through the first radio frequency component or the second radio frequency component with a normal sending function and receive downlink transaction data sent by the road side unit through the first radio frequency component or the second radio frequency component with a normal receiving function according to the self-checking result in the transaction communication process of the vehicle-mounted unit and the road side unit.
In one embodiment, the first radio frequency assembly includes a first radio frequency module and a first antenna, the second radio frequency assembly includes a second radio frequency module and a second antenna, and the first radio frequency module and the second radio frequency module are both disposed inside the on-board unit.
In one possible embodiment, referring to fig. 9, fig. 9 is a schematic diagram of an exemplary on-board unit.
As shown in fig. 9, the first antenna is disposed outside the on-board unit and the second antenna is disposed inside the on-board unit, for example, the first antenna may be fixed to the roof or head of the vehicle, while the on-board unit is generally disposed inside the vehicle. Because different angles perceive the signal strength difference of road side unit, through setting up first antenna and second antenna separately, be favorable to keeping reliable communication from different angles and road side unit.
In another possible embodiment, referring to fig. 10, fig. 10 is a schematic diagram of an exemplary on-board unit. As shown in fig. 10, the first antenna and the second antenna are both provided inside the in-vehicle unit.
In another possible embodiment, referring to fig. 11, fig. 11 is a schematic structural view of an exemplary on-board unit.
As shown in fig. 11, the first antenna and the second antenna are both disposed outside the on-board unit, and the first antenna and the second antenna are disposed at different positions. For example, the first antenna may be fixed to the roof of the vehicle and the second antenna may be fixed to the head of the vehicle. Because different angles perceive the signal strength difference of road side unit, through setting up first antenna and second antenna separately, be favorable to keeping reliable communication from different angles and road side unit.
For specific limitations of the on-board unit, reference may be made to the above limitations of the communication control method, which are not described herein again. The various modules in the on-board unit described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
It will be understood by those skilled in the art that the configurations shown in fig. 9-11 are merely block diagrams of some of the configurations relevant to the present teachings and do not constitute a limitation on the on-board units to which the present teachings may be applied, and that a particular on-board unit may include more or fewer components than shown, or some components may be combined, or have a different arrangement of components.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data of the communication control method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a communication control method.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
if the fact that the vehicle-mounted unit is awakened by a road side unit is detected, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether a sending function and a receiving function of the first radio frequency assembly and a sending function and a receiving function of the second radio frequency assembly are normal or not;
in the transaction communication process of the vehicle-mounted unit and the road side unit, according to the self-checking result, sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function, and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the self-checking result shows that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the first radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the self-checking result shows that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the second radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the first radio frequency assembly.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the self-checking result shows that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, performing transaction communication with the road side unit through the first radio frequency assembly or the second radio frequency assembly based on preset conditions.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
after the on-board unit is awakened by the road side unit, acquiring the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component;
detecting whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component;
if the number of the uplink transaction data is larger than the number of the downlink transaction data, the uplink transaction data is sent to the road side unit through the first radio frequency assembly, and the downlink transaction data sent by the road side unit is received through the first radio frequency assembly.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in the process of transaction communication between the first radio frequency assembly and the road side unit, receiving the uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly;
and if a transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, switching to transaction communication with the road side unit through the second radio frequency assembly.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the current transaction is detected to be failed, the uplink transaction data and the downlink transaction data are used as transaction failure data and stored in a database;
and if the current transaction is detected to be successful, deleting the uplink transaction data and the downlink transaction data from the cache.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the vehicle-mounted unit is detected to meet a preset self-checking condition, first sending data are sent through the first radio frequency assembly, wherein the self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit;
receiving the first sending data through the second radio frequency assembly to obtain first receiving data;
detecting whether the first sending data and the first receiving data are the same or not to obtain a detection result;
and obtaining the self-checking result according to the detection result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a second received signal strength corresponding to the first sending data of the second radio frequency component;
and if the second received signal strength is within a preset signal strength range, executing the step of detecting whether the first sending data and the first received data are the same to obtain a detection result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
transmitting second transmission data through the second radio frequency component;
receiving the second sending data through the first radio frequency assembly to obtain second receiving data;
detecting whether the second transmission data and the second reception data are the same;
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, and outputting corresponding prompt information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring first receiving signal strength corresponding to the first radio frequency component and the second sending data;
and if the first received signal strength is within a preset signal strength range, executing the step of detecting whether the second sending data and the second received data are the same.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal, the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, determining that the self-detection result is that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
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:
if the fact that the vehicle-mounted unit is awakened by a road side unit is detected, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether a sending function and a receiving function of the first radio frequency assembly and a sending function and a receiving function of the second radio frequency assembly are normal or not;
in the transaction communication process of the vehicle-mounted unit and the road side unit, according to the self-checking result, sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function, and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the self-checking result shows that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the first radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the self-checking result shows that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the second radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the first radio frequency assembly.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the self-checking result shows that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, performing transaction communication with the road side unit through the first radio frequency assembly or the second radio frequency assembly based on preset conditions.
In one embodiment, the computer program when executed by the processor further performs the steps of:
after the on-board unit is awakened by the road side unit, acquiring the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component;
detecting whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component;
if the number of the uplink transaction data is larger than the number of the downlink transaction data, the uplink transaction data is sent to the road side unit through the first radio frequency assembly, and the downlink transaction data sent by the road side unit is received through the first radio frequency assembly.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in the process of transaction communication between the first radio frequency assembly and the road side unit, receiving the uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly;
and if a transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, switching to transaction communication with the road side unit through the second radio frequency assembly.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the current transaction is detected to be failed, the uplink transaction data and the downlink transaction data are used as transaction failure data and stored in a database;
and if the current transaction is detected to be successful, deleting the uplink transaction data and the downlink transaction data from the cache.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the vehicle-mounted unit is detected to meet a preset self-checking condition, first sending data are sent through the first radio frequency assembly, wherein the self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit;
receiving the first sending data through the second radio frequency assembly to obtain first receiving data;
detecting whether the first sending data and the first receiving data are the same or not to obtain a detection result;
and obtaining the self-checking result according to the detection result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a second received signal strength corresponding to the first sending data of the second radio frequency component;
and if the second received signal strength is within a preset signal strength range, executing the step of detecting whether the first sending data and the first received data are the same to obtain a detection result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
transmitting second transmission data through the second radio frequency component;
receiving the second sending data through the first radio frequency assembly to obtain second receiving data;
detecting whether the second transmission data and the second reception data are the same;
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, and outputting corresponding prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring first receiving signal strength corresponding to the first radio frequency component and the second sending data;
and if the first received signal strength is within a preset signal strength range, executing the step of detecting whether the second sending data and the second received data are the same.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal, the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, determining that the self-detection result is that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A communication control method for an in-vehicle unit including a first radio frequency component and a second radio frequency component, the method comprising:
if the fact that the vehicle-mounted unit is awakened by a road side unit is detected, determining self-checking results of the first radio frequency assembly and the second radio frequency assembly, wherein the self-checking results are obtained by performing functional state self-checking on the first radio frequency assembly and the second radio frequency assembly, and the self-checking results are used for indicating whether a sending function and a receiving function of the first radio frequency assembly and a sending function and a receiving function of the second radio frequency assembly are normal or not;
in the transaction communication process of the vehicle-mounted unit and the road side unit, according to the self-checking result, sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function, and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function.
2. The method according to claim 1, wherein the sending uplink transaction data to the rsu through the first rf component or the second rf component with a normal function and receiving downlink transaction data sent by the rsu through the first rf component or the second rf component with a normal function according to the self-test result comprises:
if the self-checking result shows that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal and the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the first radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly.
3. The method according to claim 1, wherein the sending uplink transaction data to the rsu through the first rf component or the second rf component with a normal function and receiving downlink transaction data sent by the rsu through the first rf component or the second rf component with a normal function according to the self-test result comprises:
if the self-checking result shows that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, sending the uplink transaction data to the road side unit through the second radio frequency assembly and receiving the downlink transaction data sent by the road side unit through the first radio frequency assembly.
4. The method according to claim 1, wherein the sending uplink transaction data to the rsu through the first rf component or the second rf component with a normal function and receiving downlink transaction data sent by the rsu through the first rf component or the second rf component with a normal function according to the self-test result comprises:
and if the self-checking result shows that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, performing transaction communication with the road side unit through the first radio frequency assembly or the second radio frequency assembly based on preset conditions.
5. The method of claim 4, wherein the performing transaction communication with the rsu via the first rf component or the second rf component based on a predetermined condition comprises:
after the on-board unit is awakened by the road side unit, acquiring the received signal strength of the first radio frequency component and the received signal strength of the second radio frequency component;
detecting whether the received signal strength of the first radio frequency component is greater than the received signal strength of the second radio frequency component;
if the number of the uplink transaction data is larger than the number of the downlink transaction data, the uplink transaction data is sent to the road side unit through the first radio frequency assembly, and the downlink transaction data sent by the road side unit is received through the first radio frequency assembly.
6. The method of claim 5, further comprising:
in the process of transaction communication between the first radio frequency assembly and the road side unit, receiving the uplink transaction data sent by the first radio frequency assembly through the second radio frequency assembly, and receiving the downlink transaction data sent by the road side unit through the second radio frequency assembly;
and if a transaction failure risk is detected based on the uplink transaction data and the downlink transaction data, switching to transaction communication with the road side unit through the second radio frequency assembly.
7. The method of claim 6, further comprising:
if the current transaction is detected to be failed, the uplink transaction data and the downlink transaction data are used as transaction failure data and stored in a database;
and if the current transaction is detected to be successful, deleting the uplink transaction data and the downlink transaction data from the cache.
8. The method of claim 1, further comprising:
if the vehicle-mounted unit is detected to meet a preset self-checking condition, first sending data are sent through the first radio frequency assembly, wherein the self-checking condition comprises any one of ignition of a vehicle provided with the vehicle-mounted unit, electrification of the vehicle-mounted unit, receiving of a Bluetooth self-checking command by the vehicle-mounted unit and receiving of a 5.8GHz self-checking command by the vehicle-mounted unit;
receiving the first sending data through the second radio frequency assembly to obtain first receiving data;
detecting whether the first sending data and the first receiving data are the same or not to obtain a detection result;
and obtaining the self-checking result according to the detection result.
9. The method of claim 8, wherein after receiving the first transmission data by the second radio frequency component to obtain first received data, the method further comprises:
acquiring a second received signal strength corresponding to the first sending data of the second radio frequency component;
and if the second received signal strength is within a preset signal strength range, executing the step of detecting whether the first sending data and the first received data are the same to obtain a detection result.
10. The method of claim 8, wherein the obtaining the self-test result according to the test result comprises:
transmitting second transmission data through the second radio frequency component;
receiving the second sending data through the first radio frequency assembly to obtain second receiving data;
detecting whether the second transmission data and the second reception data are the same;
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function and the receiving function of the first radio frequency assembly are both normal and the sending function and the receiving function of the second radio frequency assembly are both normal, and outputting corresponding prompt information.
11. The method of claim 10, wherein after receiving the second transmit data by the first rf component to obtain second receive data, the method further comprises:
acquiring first receiving signal strength corresponding to the first radio frequency component and the second sending data;
and if the first received signal strength is within a preset signal strength range, executing the step of detecting whether the second sending data and the second received data are the same.
12. The method of claim 10, wherein after detecting whether the second transmission data and the second reception data are the same, the method further comprises:
and if the second sending data is different from the second receiving data and the detection result is that the first sending data is the same as the first receiving data, determining that the self-detection result is that the sending function of the first radio frequency assembly and the receiving function of the second radio frequency assembly are both normal, the receiving function of the first radio frequency assembly and/or the sending function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
13. The method of claim 10, wherein after detecting whether the second transmission data and the second reception data are the same, the method further comprises:
and if the second sending data is the same as the second receiving data and the detection result is that the first sending data is different from the first receiving data, determining that the self-detection result is that the receiving function of the first radio frequency assembly and the sending function of the second radio frequency assembly are both normal and the sending function of the first radio frequency assembly and/or the receiving function of the second radio frequency assembly are abnormal, and outputting corresponding prompt information.
14. A communication control apparatus provided in an on-board unit including a first radio frequency component and a second radio frequency component, the apparatus comprising:
a determining module, configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a roadside unit, where the self-checking result is obtained by performing functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal;
and the control module is used for sending uplink transaction data to the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal sending function and receiving downlink transaction data sent by the road side unit through the first radio frequency assembly or the second radio frequency assembly with normal receiving function according to the self-checking result in the transaction communication process of the vehicle-mounted unit and the road side unit.
15. An on-board unit, characterized in that the on-board unit comprises a first radio frequency component, a second radio frequency component and a control component;
the control component is configured to determine a self-checking result of the first radio frequency component and the second radio frequency component if it is detected that the on-board unit is awakened by a road side unit, where the self-checking result is obtained by performing functional state self-checking on the first radio frequency component and the second radio frequency component, and the self-checking result is used to indicate whether a sending function and a receiving function of the first radio frequency component, and a sending function and a receiving function of the second radio frequency component are normal;
the control component is further configured to send uplink transaction data to the road side unit through the first radio frequency component or the second radio frequency component with a normal sending function and receive downlink transaction data sent by the road side unit through the first radio frequency component or the second radio frequency component with a normal receiving function according to the self-checking result in the transaction communication process of the vehicle-mounted unit and the road side unit.
16. The on-board unit of claim 15, wherein the first radio frequency component comprises a first antenna and the second radio frequency component comprises a second antenna;
wherein the first antenna is disposed outside of the on-board unit and the second antenna is disposed inside of the on-board unit;
or both the first antenna and the second antenna are arranged inside the vehicle-mounted unit;
or the first antenna and the second antenna are both arranged outside the vehicle-mounted unit, and the arrangement positions of the first antenna and the second antenna are different.
17. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 13 when executing the computer program.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 13.
CN202011602233.0A 2020-12-29 2020-12-29 Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium Active CN112738784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011602233.0A CN112738784B (en) 2020-12-29 2020-12-29 Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011602233.0A CN112738784B (en) 2020-12-29 2020-12-29 Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112738784A true CN112738784A (en) 2021-04-30
CN112738784B CN112738784B (en) 2023-02-17

Family

ID=75609982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011602233.0A Active CN112738784B (en) 2020-12-29 2020-12-29 Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112738784B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114202817A (en) * 2021-11-30 2022-03-18 广州市凌特电子有限公司 ETC radio environment monitoring guarantee method, system, equipment and medium
CN114362844A (en) * 2021-12-29 2022-04-15 北京万集科技股份有限公司 Antenna device, method for diagnosing a malfunction of an on-board unit and related product
CN114398914A (en) * 2021-12-27 2022-04-26 北京万集科技股份有限公司 Method for detecting fault of electronic tag and related product
CN117914347A (en) * 2024-03-19 2024-04-19 广州铭创通讯科技有限公司 DSRC switch on-off control method and device based on abnormal optimization of control signals
CN117914347B (en) * 2024-03-19 2024-05-31 广州铭创通讯科技有限公司 DSRC switch on-off control method and device based on abnormal optimization of control signals

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5461262A (en) * 1992-01-29 1995-10-24 Nec Corporation Vehicle mounted adaptor for a portable radio transceiver
CN102490768A (en) * 2011-12-23 2012-06-13 北京交大思诺科技有限公司 Double-sleeve automatic switching BTM (Business Transaction Management) equipment and realizing method thereof
CN103731172A (en) * 2013-06-21 2014-04-16 深圳市金溢科技有限公司 Road side unit equipment and radio frequency transmit-receive method
CN103888984A (en) * 2012-12-19 2014-06-25 中兴通讯股份有限公司 Method of base station radio frequency unit redundant hot backup and system thereof
CN203911933U (en) * 2013-12-27 2014-10-29 北京万集科技股份有限公司 ETC roadside unit having radio frequency self-test function
CN107315626A (en) * 2016-04-27 2017-11-03 比亚迪股份有限公司 Vehicle mounted multimedia and its control method
CN108032877A (en) * 2017-11-14 2018-05-15 北京全路通信信号研究设计院集团有限公司 The method and device of vehicle-mounted BTM unit hot backups, computer-readable medium
CN108082221A (en) * 2017-11-14 2018-05-29 北京全路通信信号研究设计院集团有限公司 The method and device of vehicle-mounted TCR Hot Spares, computer-readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5461262A (en) * 1992-01-29 1995-10-24 Nec Corporation Vehicle mounted adaptor for a portable radio transceiver
CN102490768A (en) * 2011-12-23 2012-06-13 北京交大思诺科技有限公司 Double-sleeve automatic switching BTM (Business Transaction Management) equipment and realizing method thereof
CN103888984A (en) * 2012-12-19 2014-06-25 中兴通讯股份有限公司 Method of base station radio frequency unit redundant hot backup and system thereof
CN103731172A (en) * 2013-06-21 2014-04-16 深圳市金溢科技有限公司 Road side unit equipment and radio frequency transmit-receive method
CN203911933U (en) * 2013-12-27 2014-10-29 北京万集科技股份有限公司 ETC roadside unit having radio frequency self-test function
CN107315626A (en) * 2016-04-27 2017-11-03 比亚迪股份有限公司 Vehicle mounted multimedia and its control method
CN108032877A (en) * 2017-11-14 2018-05-15 北京全路通信信号研究设计院集团有限公司 The method and device of vehicle-mounted BTM unit hot backups, computer-readable medium
CN108082221A (en) * 2017-11-14 2018-05-29 北京全路通信信号研究设计院集团有限公司 The method and device of vehicle-mounted TCR Hot Spares, computer-readable medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114202817A (en) * 2021-11-30 2022-03-18 广州市凌特电子有限公司 ETC radio environment monitoring guarantee method, system, equipment and medium
CN114398914A (en) * 2021-12-27 2022-04-26 北京万集科技股份有限公司 Method for detecting fault of electronic tag and related product
CN114362844A (en) * 2021-12-29 2022-04-15 北京万集科技股份有限公司 Antenna device, method for diagnosing a malfunction of an on-board unit and related product
CN117914347A (en) * 2024-03-19 2024-04-19 广州铭创通讯科技有限公司 DSRC switch on-off control method and device based on abnormal optimization of control signals
CN117914347B (en) * 2024-03-19 2024-05-31 广州铭创通讯科技有限公司 DSRC switch on-off control method and device based on abnormal optimization of control signals

Also Published As

Publication number Publication date
CN112738784B (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN112738784B (en) Communication control method, communication control device, vehicle-mounted unit, device and readable storage medium
US10339731B2 (en) In-vehicle unit and in-vehicle unit diagnosis system
CN104977170B (en) Vehicle failure remote diagnosis system and its control method
US20160157179A1 (en) Telematics terminal and telematics center for preventing vehicle discharge and control method thereof
KR102429017B1 (en) System and method for vehicle inspection
CN107273771B (en) Vehicle driving direction identification method and system, identification station, memory and background server
CN104655947A (en) Vehicle-mounted antenna fault diagnosis method, vehicle-mounted antenna fault diagnosis device, and vehicle-mounted antenna fault diagnosis system
CN108566407A (en) Method, its device and the electronic equipment of communication connection are established with system for monitoring pressure in tyre
CN103824342A (en) Method for detecting binding between vehicle-mounted terminal and vehicle, vehicle-mounted terminal and user identification unit
CN103042888A (en) Valve id registration system
CN111385762A (en) Vehicle abnormity reporting method and device, shared vehicle and storage medium
CN110995823B (en) Vehicle-mounted terminal offline processing method, device, storage medium and device
CN106569482A (en) Vehicle fault diagnosis maintenance method, server and maintenance center
CN113505056A (en) Vehicle diagnosis method, system, device and storage medium
CN110466450B (en) Automobile safety detection system
CN110574311A (en) Vehicle-to-outside information interaction (V2X) communication system
CN107516422B (en) Motor vehicle electronic identity card safety protection system and method based on double-source positioning
CN111741489A (en) OBU fault detection method, OBU device and OBU fault detection system
CN107294791B (en) Abnormal maintenance method and device for vehicle-mounted WIFI equipment
CN113472457B (en) Antenna anomaly detection method and device, computer equipment and storage medium
CN112947980A (en) Server, vehicle, remote upgrading method and remote upgrading system thereof
CN111866704B (en) Method, device and equipment for positioning fault bicycle and readable storage medium
CN109792454B (en) Data transmission method
JPH08322101A (en) Test method and instruments on-board rolling stock of train
KR20210063832A (en) Apparatus and method for managing vehicle communication module

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
GR01 Patent grant
GR01 Patent grant