OBU Bluetooth communication method, device, OBU and RSU

By enabling the Bluetooth connection to be turned on only when needed on OBU Bluetooth devices, the problem of low communication efficiency of OBU Bluetooth is solved, and the real-time forwarding capability and power utilization of vehicle road information are improved.

CN114071419BActive Publication Date: 2024-12-24SHENZHEN CHENGGU TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111234532.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2024-12-24
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

The communication efficiency of vehicle-road collaborative service based on OBU Bluetooth is low, resulting in the inability to send vehicle-road information to other terminals in real time and effectively, which consumes a lot of power.

Method used

When the Bluetooth subscription function is detected to be enabled and the Bluetooth start command sent by the RSU is received, the Bluetooth device is started, and a Bluetooth connection is established with the user terminal. After forwarding the road information in real time, the device is turned off in time, and the Bluetooth device is only started when needed.

Benefits of technology

It reduces the power consumption of Bluetooth devices, improves the communication efficiency between OBU and other terminal devices, and realizes real-time forwarding of vehicle road information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114071419B_ABST
    Figure CN114071419B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of Bluetooth communication technology, and provides an OBU Bluetooth communication method, device, OBU and RSU, the method comprising: when detecting that the Bluetooth subscription function has been turned on and receiving the Bluetooth start command sent by the RSU, starting the Bluetooth device, establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal, when receiving the vehicle-road information sent by the RSU, sending the vehicle-road information to the user terminal, and when detecting that the vehicle-road information is sent, shutting down the Bluetooth device. The present application can start the Bluetooth device only when needed, reduce the power consumption of the Bluetooth device, and improve the communication efficiency between the OBU and other terminal devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of Bluetooth communication technology, and in particular, relates to an OBU Bluetooth communication method, device, OBU and RSU. Background Art

[0002] The electronic toll collection system ETC is an intelligent transportation system, which mainly includes a road side unit (RSU) and an on-board unit (OBU). In recent years, the electronic toll collection system ETC has been often used to perform ETC charging services and vehicle-road collaborative services.

[0003] However, the related methods of implementing vehicle-road cooperative services based on OBU Bluetooth usually consume a lot of power of OBU devices, resulting in the inability to send vehicle-road information to other terminals in real time and effectively, and the communication efficiency is low. Summary of the invention

[0004] The embodiments of the present application provide an OBU Bluetooth communication method, device, OBU and RSU, which can solve the problem that related OBU Bluetooth-based communications cannot send vehicle-road information to other terminals in real time and effectively, and the communication efficiency is low.

[0005] In a first aspect, an embodiment of the present application provides an OBU Bluetooth communication method, which is applied to an OBU, wherein the OBU is communicatively connected with an RSU;

[0006] The OBU Bluetooth communication method comprises:

[0007] When it is detected that the Bluetooth subscription function is turned on and a Bluetooth start command sent by the RSU is received, the Bluetooth device is started;

[0008] Establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0009] When receiving the vehicle-road information sent by the RSU, sending the vehicle-road information to the user terminal;

[0010] When it is detected that the vehicle-road information is sent completely, the Bluetooth device is turned off.

[0011] In one embodiment, when it is detected that the Bluetooth subscription function has been turned on and a Bluetooth start command sent by the RSU is received, before starting the Bluetooth device, the steps include:

[0012] When receiving the Bluetooth status information acquisition instruction sent by the RSU, the Bluetooth status information is sent to the RSU, so that the RSU determines whether to generate a Bluetooth start command according to the Bluetooth status information.

[0013] In one embodiment, the Bluetooth state information includes Bluetooth state variables;

[0014] After the bluetooth device is turned off when the vehicle-road information is detected to be sent, the method further includes:

[0015] Get the connection status of the Bluetooth device;

[0016] When detecting that the connection state is that the Bluetooth connection is available, updating the Bluetooth state variable to zero;

[0017] When it is detected that the connection state is that the Bluetooth connection is unavailable, the Bluetooth state variable is increased by one.

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

[0019] When receiving a Bluetooth start command, start the Bluetooth device;

[0020] Establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0021] Upon receiving the device information acquisition instruction sent by the user terminal, sending the device information to the user terminal, so that the user terminal sends the device information to the ETC server, completing the two-way authentication process with the ETC server;

[0022] When receiving the Bluetooth status data sent by the user terminal, the Bluetooth status information is updated according to the Bluetooth status data; wherein the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription operation of the user terminal.

[0023] In one embodiment, after establishing the Bluetooth connection relationship between the Bluetooth device and the user terminal, the method further includes:

[0024] When a Bluetooth status reset command sent by the user terminal is received, the Bluetooth status information is updated according to the Bluetooth status reset command.

[0025] In one embodiment, the Bluetooth status information further includes Bluetooth service subscription information;

[0026] The method further comprises:

[0027] When detecting that the Bluetooth service subscription information is subscribed, determining that the Bluetooth subscription function is turned on;

[0028] When it is detected that the Bluetooth service subscription information is not subscribed, it is determined that the Bluetooth subscription function is not enabled.

[0029] In a second aspect, an embodiment of the present application provides an OBU Bluetooth communication method, which is applied to an RSU, wherein the RSU is communicatively connected with the OBU;

[0030] The OBU Bluetooth communication method comprises:

[0031] When it is detected that the vehicle has arrived at a preset position, a Bluetooth status information acquisition instruction is sent to the OBU of the vehicle, and the Bluetooth status information returned by the OBU is received;

[0032] When it is detected that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command;

[0033] The Bluetooth start command and the vehicle-road information are sent to the OBU.

[0034] In one embodiment, when detecting that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command includes:

[0035] When it is detected that the type of the RSU is a first preset type, detecting whether the Bluetooth state information meets a first preset condition; wherein the Bluetooth state information includes Bluetooth service subscription information;

[0036] When it is detected that the Bluetooth service subscription information is subscribed, it is determined that the Bluetooth status information meets the first preset condition, and the Bluetooth start command is generated.

[0037] In one embodiment, when detecting that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command includes:

[0038] When it is detected that the type of the RSU is a second preset type, detecting whether the Bluetooth state information meets a second preset condition; wherein the Bluetooth state information includes Bluetooth service subscription information and Bluetooth state variables;

[0039] When it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to the preset threshold, it is determined that the Bluetooth state information meets the second preset condition, and the Bluetooth start command is generated.

[0040] In a third aspect, an embodiment of the present application provides an OBU Bluetooth communication device, which is applied to an OBU, wherein the OBU is connected to an RSU for communication.

[0041] The OBU Bluetooth communication device comprises:

[0042] A first Bluetooth activation module, configured to activate the Bluetooth device when detecting that the Bluetooth subscription function has been activated and receiving a Bluetooth activation command sent by the RSU;

[0043] A first establishing module, used to establish a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0044] A vehicle-road information sending module, configured to send the vehicle-road information to the user terminal when receiving the vehicle-road information sent by the RSU;

[0045] The Bluetooth control module is used to turn off the Bluetooth device when it is detected that the vehicle-road information has been sent.

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

[0047] The instruction receiving module is used to send the Bluetooth status information to the RSU when receiving the Bluetooth status information acquisition instruction sent by the RSU, so that the RSU determines whether to generate a Bluetooth start command according to the Bluetooth status information.

[0048] In one embodiment, the Bluetooth state information includes Bluetooth state variables;

[0049] The device further comprises:

[0050] A status acquisition module, used to acquire the connection status of the Bluetooth device;

[0051] A first variable updating module, configured to update the Bluetooth state variable to zero when detecting that the connection state is that the Bluetooth connection is available;

[0052] The second variable updating module is used to increase the Bluetooth state variable by one when it is detected that the connection state is that the Bluetooth connection is unavailable.

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

[0054] A second Bluetooth activation module, configured to activate the Bluetooth device upon receiving a Bluetooth activation command;

[0055] A second establishing module, used to establish a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0056] A device information sending module, configured to send the device information to the user terminal upon receiving a device information acquisition instruction sent by the user terminal, so that the user terminal sends the device information to the ETC server to complete a two-way authentication process with the ETC server;

[0057] The first status information updating module is used to update the Bluetooth status information according to the Bluetooth status data when receiving the Bluetooth status data sent by the user terminal; wherein the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription operation of the user terminal.

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

[0059] The second state information updating module is used to update the Bluetooth state information according to the Bluetooth state reset command when receiving the Bluetooth state reset command sent by the user terminal.

[0060] In one embodiment, the Bluetooth status information further includes Bluetooth service subscription information;

[0061] The device further comprises:

[0062] A first judgment module, configured to determine that the Bluetooth subscription function has been turned on when detecting that the Bluetooth service subscription information is subscribed;

[0063] The second judgment module is used to determine that the Bluetooth subscription function is not enabled when it is detected that the Bluetooth service subscription information is not subscribed.

[0064] In a fourth aspect, an embodiment of the present application provides an OBU Bluetooth communication device, which is applied to an RSU, and the RSU is communicatively connected with the OBU;

[0065] The OBU Bluetooth communication device comprises:

[0066] The vehicle detection module is used to send a Bluetooth status information acquisition instruction to the OBU of the vehicle when detecting that the vehicle has arrived at a preset position, and receive the Bluetooth status information returned by the OBU;

[0067] A generating module, configured to generate a Bluetooth start command when it is detected that the Bluetooth status information and the type of the RSU meet a preset condition;

[0068] The command sending module is used to send the Bluetooth start command and vehicle-road information to the OBU.

[0069] In one embodiment, the generating module comprises:

[0070] A first detection unit, configured to detect whether the Bluetooth status information satisfies a first preset condition when detecting that the type of the RSU is a first preset type; wherein the Bluetooth status information includes Bluetooth service subscription information;

[0071] The first generating unit is used to determine that the Bluetooth status information meets the first preset condition and generate the Bluetooth start command when detecting that the Bluetooth service subscription information is subscribed.

[0072] In one embodiment, the generating module comprises:

[0073] A second detection unit, configured to detect whether the Bluetooth state information satisfies a second preset condition when detecting that the type of the RSU is a second preset type; wherein the Bluetooth state information includes Bluetooth service subscription information and Bluetooth state variables;

[0074] The second generating unit is used to determine that the Bluetooth state information meets the second preset condition and generate the Bluetooth start command when it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to the preset threshold.

[0075] In a fifth aspect, an embodiment of the present application provides an OBU, comprising a Bluetooth module, a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the OBU Bluetooth communication method as described in any one of the first aspects above is implemented.

[0076] In the sixth aspect, an embodiment of the present application provides an RSU, including a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the OBU Bluetooth communication method as described in any one of the second aspects above is implemented.

[0077] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the OBU Bluetooth communication method as described in any one of the first or second aspects above is implemented.

[0078] In an eighth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an OBU / RSU, the OBU / RSU executes the OBU Bluetooth communication method described in any one of the first or second aspects above.

[0079] Compared with the prior art, the beneficial effect of the first embodiment of the present application is as follows: when it is detected that the Bluetooth subscription function has been turned on and a Bluetooth start command sent by the RSU is received, the Bluetooth device is started, a Bluetooth connection relationship between the Bluetooth device and the user terminal is established, and when the vehicle-road information sent by the RSU is received, the vehicle-road information is sent to the user terminal, and when it is detected that the vehicle-road information has been sent, the Bluetooth device is turned off, and the Bluetooth device of the OBU is started based on the Bluetooth start command generated by the RSU, the received vehicle-road information is forwarded to the user terminal in real time, and the Bluetooth device is controlled to be turned off in time, so that the Bluetooth device is started only when needed, the power consumption of the Bluetooth device is reduced, and the communication efficiency between the OBU and other terminal devices is improved.

[0080] It can be understood that the beneficial effects of the second to eighth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0082] Figure 1 It is a structural diagram of the OBU Bluetooth communication system provided in the embodiment of the present application;

[0083] Figure 2 It is a flow chart of the OBU Bluetooth communication method provided in Example 1 of the present application;

[0084] Figure 3 It is another flow chart of the OBU Bluetooth communication method provided in Example 2 of the present application;

[0085] Figure 4 It is another flow chart of the OBU Bluetooth communication method provided in Example 3 of the present application;

[0086] Figure 5 It is a flow chart of step S202 of the OBU Bluetooth communication method provided in Embodiment 4 of the present application;

[0087] Figure 6 It is a structural diagram of an OBU Bluetooth communication device provided in Example 5 of the present application;

[0088] Figure 7 It is another structural schematic diagram of the OBU Bluetooth communication device provided in Example 6 of the present application;

[0089] Figure 8This is a schematic diagram of the structure of an OBU provided in Embodiment 7 of the present application;

[0090] Fig. 9 This is a structural diagram of the RSU provided in Example 7 of the present application. DETAILED DESCRIPTION

[0091] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0092] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0093] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0094] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0095] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0096] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0097] The OBU Bluetooth communication method provided in the embodiment of the present application can be applied to terminal devices such as RSU, OBU or vehicle-mounted equipment. The embodiment of the present application does not impose any restrictions on the specific type of terminal equipment.

[0098] In recent years, the electronic toll collection system ETC has been used to perform vehicle-road collaborative services in addition to ETC toll collection services. However, the related methods based on OBU Bluetooth to implement vehicle-road collaborative services usually consume a lot of power from the OBU device, which may result in the inability to send vehicle-road information to other terminals in real time and effectively, resulting in low communication efficiency. To solve this problem, the present application proposes an OBU Bluetooth communication method, an OBU Bluetooth communication device, an OBU and an RSU, which can enable the OBU to turn on the Bluetooth device only when it receives the Bluetooth start command from the RSU, and forward the vehicle-road information to the user terminal in real time, and control the Bluetooth device to shut down in time, so that the Bluetooth device can be started only when needed, reducing the power consumption of the Bluetooth device and improving the communication efficiency between the OBU and other terminal devices.

[0099] To implement the technical solution proposed in this application, an OBU Bluetooth communication system can be constructed first. Figure 1 The OBU Bluetooth communication system 1 consists of an ETC system (including a roadside unit RSU and an ETC server), more than one vehicle (each vehicle is equipped with an on-board unit OBU, and a user terminal, Figure 1 Only one vehicle is shown in the figure), and the RSU and OBU are communicated (via 5.8 GHz wireless communication or other wireless vehicle-to-road communication technologies), and the OBU and user terminal (user terminal includes but is not limited to the user's mobile device, vehicle-mounted device or other terminal device that can communicate with the OBU via Bluetooth) are communicated through the OBU Bluetooth device.

[0100] Among them, OBU is an on-board unit containing a Bluetooth device in a vehicle that arrives at a preset location (i.e., the entrance of an ETC toll station or a road gantry, etc.). RSU is a device in the ETC system that is pre-set at the entrance of an ETC toll station, a road gantry, or the roadside of an ETC toll station, and uses DSRC (Dedicated Short Range Communication) technology to communicate with the on-board unit (OBU, On Board Unit), which can realize vehicle identity recognition, electronic deduction of points, and toll services.

[0101] During the driving process of the vehicle, when the RSU detects that the vehicle has arrived at the preset position, it sends a Bluetooth status information acquisition instruction to the OBU. When receiving the Bluetooth status information returned by the OBU, it determines whether to generate a Bluetooth start command according to the Bluetooth status information. When the OBU receives the Bluetooth start command sent by the RSU, it starts the Bluetooth device and establishes a Bluetooth communication connection with the user terminal in the vehicle to forward the vehicle-road information sent by the RDU to the user terminal, and controls the Bluetooth device to shut down, so that the Bluetooth device is started only when needed, reducing the power consumption of the Bluetooth device and improving the communication efficiency between the OBU and other terminal devices.

[0102] In order to illustrate the technical solution proposed in this application, a specific embodiment is provided below for illustration.

[0103] Figure 2 A schematic flow chart of the OBU Bluetooth communication method provided in the present application is shown. As an example but not a limitation, the method can be applied to the OBU, and the OBU is connected to the RSU for communication.

[0104] The above OBU Bluetooth communication method comprises:

[0105] S101: When it is detected that the Bluetooth subscription function has been turned on and a Bluetooth start command sent by the RSU is received, the Bluetooth device is started.

[0106] Specifically, due to the limited capacity of the built-in battery of the on-board unit OBU, the Bluetooth device in the OBU is usually turned off. Therefore, the OBU can only forward the vehicle-road information to the user terminal when the Bluetooth device is turned on and the Bluetooth subscription function is turned on.

[0107] Specifically, when the vehicle arrives at a preset location (including but not limited to the entrance of an ETC toll station, a road gantry or the roadside of an ETC toll station), the on-board unit OBU inside the vehicle can start the Bluetooth device when it detects that the Bluetooth subscription function has been turned on and receives the Bluetooth start command sent by the RSU, so as to facilitate subsequent Bluetooth communication operations.

[0108] S102: Establish a Bluetooth connection relationship between the Bluetooth device and the user terminal.

[0109] Specifically, when it is detected that the built-in Bluetooth device of the on-board unit OBU is started, a Bluetooth connection relationship between the Bluetooth device and the user terminal in the vehicle is established, and at the same time, it is determined that the connection state of the Bluetooth device at the current moment is available.

[0110] S103: When receiving the vehicle-road information sent by the RSU, send the vehicle-road information to the user terminal.

[0111] Specifically, after establishing a Bluetooth connection relationship between the Bluetooth device built into the on-board unit OBU and the user terminal in the vehicle, the vehicle-road information received from the RSU can be sent to the user terminal so that the user terminal can display the vehicle-road information on a display device (such as a display screen of the user terminal).

[0112] The vehicle-road information includes, but is not limited to, vehicle toll information, traffic information at the current toll station, the positional relationship between the current vehicle and other vehicles, etc. The vehicle-road information may be displayed in text, voice or video form.

[0113] S104: When it is detected that the vehicle-road information is sent completely, turn off the Bluetooth device.

[0114] Specifically, when it is detected that the vehicle-road information has been sent to the user terminal, the Bluetooth device is turned off in time to reduce the power consumption of the Bluetooth device.

[0115] In one embodiment, when it is detected that the Bluetooth subscription function has been turned on and a Bluetooth start command sent by the RSU is received, before starting the Bluetooth device, the steps include:

[0116] When receiving the Bluetooth status information acquisition instruction sent by the RSU, the Bluetooth status information is sent to the RSU, so that the RSU determines whether to generate a Bluetooth start command according to the Bluetooth status information.

[0117] Specifically, when the vehicle arrives at the preset location, the RSU device needs to confirm the vehicle information, so the OBU will receive the information acquisition instruction sent by the RSU; wherein the information acquisition instruction includes but is not limited to the vehicle information acquisition instruction and the Bluetooth status information acquisition instruction. The vehicle information acquisition instruction is specifically used to obtain the vehicle information of the vehicle, and the vehicle information includes but is not limited to the vehicle license plate number, vehicle model, owner identity information and owner contact information. The Bluetooth status information acquisition instruction is specifically used to obtain the Bluetooth status information of the Bluetooth device built into the on-board unit OBU in the vehicle. The Bluetooth status information includes but is not limited to: Bluetooth service subscription information used to indicate whether the Bluetooth subscription function is turned on and subscribed, and a Bluetooth status variable used to indicate the cumulative number of times the Bluetooth device is unavailable.

[0118] Specifically, the OBU sends the vehicle information to the RSU according to the vehicle information acquisition instruction, so that the RSU saves the above vehicle information; the OBU sends the Bluetooth status information to the RSU according to the Bluetooth status information acquisition instruction, so that the RSU determines whether it is necessary to control the start-up of the Bluetooth device of the OBU according to the Bluetooth status information, and then determines whether it is necessary to generate a Bluetooth start command.

[0119] In one embodiment, the Bluetooth state information includes Bluetooth state variables;

[0120] After the bluetooth device is turned off when the vehicle-road information is detected to be sent, the method further includes:

[0121] Get the connection status of the Bluetooth device;

[0122] When detecting that the connection state is that the Bluetooth connection is available, updating the Bluetooth state variable to zero;

[0123] When it is detected that the connection state is that the Bluetooth connection is unavailable, the Bluetooth state variable is increased by one.

[0124] Specifically, the Bluetooth status variable BSV (Bluetooth-Status-Variable) can be used to indicate the cumulative number of times the Bluetooth device connection status is unavailable, and its initial value is usually 0.

[0125] Particularly, OBU, after receiving the Bluetooth start command, need determine the connection state of Bluetooth device according to whether successfully setting up the Bluetooth communication connection relation between Bluetooth device and the user terminal.For example, when the OBU Bluetooth device successfully sets up the Bluetooth communication connection relation with the user terminal, it is judged that the connection state of Bluetooth device is that Bluetooth connection is available, and at this moment, the Bluetooth state variable needs to be updated to zero.When the OBU Bluetooth device can't set up the Bluetooth communication connection relation with the user terminal, it is judged that the connection state of Bluetooth device is that Bluetooth connection is unavailable, and at this moment, it is necessary to add one to the Bluetooth state variable, with the cumulative number of failed real-time record Bluetooth connection.

[0126] In one embodiment, the Bluetooth status information further includes Bluetooth service subscription information;

[0127] The method further comprises:

[0128] When detecting that the Bluetooth service subscription information is subscribed, determining that the Bluetooth subscription function is turned on;

[0129] When it is detected that the Bluetooth service subscription information is not subscribed, it is determined that the Bluetooth subscription function is not enabled.

[0130] Specifically, the Bluetooth status information also includes but is not limited to Bluetooth service subscription information, and the Bluetooth service subscription information includes subscribed and unsubscribed. When the Bluetooth service subscription information sent by the user terminal is received by the OBU as subscribed, it is determined that the Bluetooth subscription function is turned on, and when the Bluetooth service subscription information sent by the user terminal is received by the OBU as unsubscribed, it is determined that the Bluetooth subscription function is not turned on.

[0131] Specifically, the user can generate a start, modification or cancellation instruction of the Bluetooth subscription function by clicking, dragging, sliding and other operations on the screen of the user terminal, and send the generated instruction to the ETC server to start, modify or cancel the Bluetooth subscription function. The ETC server performs corresponding operations according to the above instructions and generates corresponding Bluetooth status data (Bluetooth status data refers to data used to control the start, modification or cancellation of subscription functions of Bluetooth devices, including but not limited to Bluetooth service subscription information and Bluetooth status variables).

[0132] For example, the user selects the Bluetooth subscription function item on the ETC-APP interface of the user terminal and confirms the subscription, which generates a corresponding start command for the Bluetooth subscription function and sends it to the ETC server to subscribe to the Bluetooth service; the ETC server generates Bluetooth status data according to the start command of the Bluetooth subscription function, and the above Bluetooth status data includes the subscription information of the subscribed Bluetooth service and the Bluetooth status variable BSV with an initial value of zero. The OBU updates the Bluetooth service subscription information and the Bluetooth status variable BSV at the current moment by receiving the Bluetooth status data generated by the ETC server and sent by the user terminal.

[0133] As an example but not limitation, the Bluetooth service subscription information and Bluetooth state variables in the Bluetooth state data can be sent and received between devices such as OBU and user terminals in the form of two independent files or combined into one overall file.

[0134] This embodiment starts the Bluetooth device when it detects that the Bluetooth subscription function has been turned on and receives the Bluetooth start command sent by the RSU, establishes a Bluetooth connection relationship between the Bluetooth device and the user terminal, sends the vehicle-road information to the user terminal when the vehicle-road information sent by the RSU is received, and turns off the Bluetooth device when it detects that the vehicle-road information has been sent. The Bluetooth device of the OBU is started based on the Bluetooth start command generated by the RSU, and the received vehicle-road information is forwarded to the user terminal in real time. The Bluetooth device is controlled to be turned off in time, so that the Bluetooth device is started only when needed, the power consumption of the Bluetooth device is reduced, and the communication efficiency between the OBU and other terminal devices is improved.

[0135] Embodiment 2

[0136] This embodiment is a further explanation of the first embodiment. For details of the same or similar parts as the first embodiment, please refer to the relevant description of the first embodiment, which will not be repeated here. Figure 3 As shown, the communication of the OBU Bluetooth in this embodiment also includes:

[0137] S105: When a Bluetooth start command is received, start the Bluetooth device.

[0138] Specifically, when the Bluetooth device is not started, the OBU Bluetooth device does not have the function of forwarding the vehicle-road information. When receiving the Bluetooth start command sent by the user, the OBU Bluetooth device can be started according to the Bluetooth start command, so that the state of the Bluetooth subscription function is updated according to the instruction sent by the user terminal when the OBU Bluetooth device is started.

[0139] As an example but not limitation, the user can generate a Bluetooth start command by performing various operations on the OBU, such as touching a button switch, continuously inserting and removing an IC card, or touching NFC, and the OBU can then start the Bluetooth device according to the Bluetooth start command.

[0140] S106: Establish a Bluetooth connection relationship between the Bluetooth device and the user terminal.

[0141] Specifically, when it is detected that the Bluetooth device is turned on, a Bluetooth connection relationship is established between the Bluetooth device and the user terminal.

[0142] S107. When receiving the device information acquisition instruction sent by the user terminal, the device information is sent to the user terminal, so that the user terminal sends the device information to the ETC server, completing the two-way authentication process with the ETC server.

[0143] Specifically, when a device information acquisition instruction is received from a user terminal, the device information is sent to the user terminal, so that the user terminal sends the device information to the ETC server, completing the two-way authentication process (or OBU issuance activation process) between the ETC server and the OBU.

[0144] Among them, the device information refers to the contract number of the OBU. By sending the device information to the ETC server to implement a two-way authentication process, the OBU and the vehicle can be securely bound one-to-one, so that the ETC system can perform electronic toll collection, electronic point deduction or other business functions on the vehicle through the OBU.

[0145] S108. When receiving the Bluetooth status data sent by the user terminal, update the Bluetooth status information according to the Bluetooth status data; wherein the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription operation of the user terminal.

[0146] Specifically, when the Bluetooth status data generated based on the ETC server and sent by the user terminal is received, the Bluetooth status information is updated according to the Bluetooth status data.

[0147] For example, the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription activation operation after the user performs the Bluetooth subscription function activation operation on the user terminal. The Bluetooth status data includes the subscribed Bluetooth service subscription information and the Bluetooth state variable BSV with an initial value of zero. The OBU updates the Bluetooth state variable at the current moment to zero according to the above Bluetooth status data, and updates the Bluetooth service subscription information at the current moment to subscribed.

[0148] In one embodiment, after establishing the Bluetooth connection relationship between the Bluetooth device and the user terminal, the method further includes:

[0149] When a Bluetooth status reset command sent by the user terminal is received, the Bluetooth status information is updated according to the Bluetooth status reset command.

[0150] Specifically, after establishing the Bluetooth connection relationship between the Bluetooth device and the user terminal, if a Bluetooth state reset command sent by the user terminal is received (including a Bluetooth state reset command generated by a user clicking on the user terminal interface, touching a button switch, continuously plugging and unplugging an IC card, NFC touching, etc.; or a Bluetooth state reset command automatically generated when a user starts an APP for realizing the OBU Bluetooth device control function), the Bluetooth state information is updated according to the Bluetooth state reset command. Among them, the Bluetooth state reset command refers to a command generated by the user through the user terminal after detecting that the Bluetooth is continuously unavailable too many times (i.e., BSV> preset threshold BSV_MAX) causes the RSU to stop triggering the Bluetooth device, which is used to reset the Bluetooth state, so that the RSU can subsequently start the OBU Bluetooth device.

[0151] Specifically, the Bluetooth state reset command includes a Bluetooth state variable, and the value is zero. Correspondingly, the Bluetooth state information according to the Bluetooth state reset command includes updating the Bluetooth state variable at the current moment to zero according to the Bluetooth state reset command.

[0152] This embodiment starts the Bluetooth subscription function of the Bluetooth device through the commands and data sent by the user terminal, and when the Bluetooth subscription function is started, the vehicle-road information sent by the RSU is forwarded to the user terminal, so as to realize the effective forwarding of the vehicle-road information based on the OBU Bluetooth communication and improve the communication efficiency based on the OBU Bluetooth.

[0153] Embodiment 3

[0154] Figure 4 A schematic flow chart of the OBU Bluetooth communication method provided in the present application is shown. As an example but not a limitation, the method can be applied to the RSU, and the RSU is connected to the OBU for communication.

[0155] The above OBU Bluetooth communication method comprises:

[0156] S201. When it is detected that a vehicle has arrived at a preset position, a Bluetooth status information acquisition instruction is sent to the OBU of the vehicle, and the Bluetooth status information returned by the OBU is received.

[0157] Specifically, when the vehicle is detected to arrive at the preset location, the RSU needs to send an information acquisition instruction to the OBU. The information acquisition instruction includes but is not limited to a vehicle information acquisition instruction and a Bluetooth status information acquisition instruction, which is used to obtain vehicle information and Bluetooth status information of the OBU Bluetooth device. When the vehicle information and Bluetooth status information returned by the OBU are received, the vehicle information is stored in the ETC server, and it is determined whether the Bluetooth device needs to be started at the current moment based on the Bluetooth status information.

[0158] S202: When it is detected that the Bluetooth status information and the type of the RSU meet a preset condition, generate a Bluetooth start command.

[0159] Specifically, the type of RSU is obtained, and when it is detected that the Bluetooth status information satisfies the preset condition corresponding to the type of RSU, a Bluetooth start command is generated. The type of RSU includes but is not limited to the first preset type or the second preset type, and the corresponding preset condition includes the first preset condition or the second preset condition. That is, when the type of RSU is the first preset type, if it is detected that the Bluetooth status information satisfies the first preset condition, a Bluetooth start command is generated accordingly; when the type of RSU is the second preset type, if it is detected that the Bluetooth status information satisfies the second preset condition, a Bluetooth start command is generated accordingly.

[0160] S203, sending the Bluetooth start command and the vehicle-road information to the OBU.

[0161] Specifically, the vehicle-road information and the Bluetooth start command at the current moment are sent to the OBU of the vehicle, so that the OBU starts the Bluetooth device according to the Bluetooth start command and forwards the vehicle-road information to the user terminal.

[0162] In one embodiment, after receiving the Bluetooth status information returned by the OBU, the method further comprises:

[0163] When it is detected that the Bluetooth status information and the type of the RSU do not meet the preset conditions, the vehicle-road information is sent to the OBU.

[0164] Specifically, when the RSU type is the first preset type, if it is detected that the Bluetooth status information does not meet the first preset condition, it is determined that the OBU Bluetooth device cannot be started, and the Bluetooth start command is not generated accordingly, and only the vehicle-road information is sent to the OBU; or, when the RSU type is the second preset type, if it is detected that the Bluetooth status information does not meet the second preset condition, it is determined that the OBU Bluetooth device cannot be started, and the Bluetooth start command is not generated accordingly, and only the vehicle-road information is sent to the OBU.

[0165] This embodiment determines whether to generate a Bluetooth start command through Bluetooth status information and the type of RSU, and controls the OBU to start the Bluetooth device accordingly, which can ensure that the OBU Bluetooth device is started only when needed, realize the forwarding of vehicle-road information, reduce the power consumption of the Bluetooth device, and improve the use time of the Bluetooth device and the efficiency of communication.

[0166] Embodiment 4

[0167] This embodiment is a further explanation of the third embodiment. For details of the same or similar parts as the third embodiment, please refer to the relevant description of the third embodiment, which will not be repeated here. Figure 5As shown, in this embodiment, when it is detected that the Bluetooth status information and the type of the RSU meet the preset conditions, a Bluetooth start command is generated, including:

[0168] S2021. When it is detected that the type of the RSU is a first preset type, detect whether the Bluetooth status information meets a first preset condition; wherein the Bluetooth status information includes Bluetooth service subscription information.

[0169] Specifically, the Bluetooth status information includes but is not limited to Bluetooth service subscription information and Bluetooth status variables. The first preset type means that the RSU only needs to determine whether it needs to control the OBU Bluetooth device to start according to the Bluetooth service subscription information.

[0170] Specifically, when it is detected that the type of the RSU is the first preset type, it is correspondingly necessary to detect whether the Bluetooth service subscription information in the Bluetooth status information meets the first preset condition, wherein the first preset condition is that the Bluetooth service subscription information is subscribed.

[0171] S2022: When it is detected that the Bluetooth service subscription information is subscribed, determine that the Bluetooth status information meets the first preset condition, and generate the Bluetooth start command.

[0172] Specifically, when it is detected that the Bluetooth service subscription information is subscribed, it is determined that the Bluetooth state information meets the first preset condition, and it is necessary to control the startup of the OBU Bluetooth device, and correspondingly it is necessary to generate a Bluetooth startup command.

[0173] like Figure 5 As shown, in one embodiment, when it is detected that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command includes:

[0174] S2023. When it is detected that the type of the RSU is a second preset type, detect whether the Bluetooth status information meets a second preset condition; wherein the Bluetooth status information includes Bluetooth service subscription information and Bluetooth status variables.

[0175] Specifically, the second preset type means that the RSU needs to determine whether it needs to control the OBU Bluetooth device to start according to the two data of Bluetooth service subscription information and Bluetooth state variable. When the type of the RSU is detected to be the second preset type, it is necessary to detect whether the Bluetooth service subscription information and the Bluetooth state variable meet the second preset condition.

[0176] S2024: When it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to a preset threshold, determine that the Bluetooth state information meets the second preset condition, and generate the Bluetooth start command.

[0177] Specifically, the second preset condition includes that the Bluetooth service subscription information is subscribed, and the Bluetooth state variable is less than or equal to a preset threshold, wherein the preset threshold can be specifically set according to actual conditions.

[0178] Specifically, when it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to the preset threshold, it is determined that the Bluetooth state information meets the second preset condition, and the startup of the OBU Bluetooth device needs to be controlled, and a Bluetooth startup command needs to be generated accordingly.

[0179] It can be understood that when the type of RSU is the first preset type, if the Bluetooth service subscription information in the Bluetooth status information is detected to be unsubscribed, it can be determined that there is no need to control the startup of the OBU Bluetooth device, that is, there is no need to generate a Bluetooth startup command; or, when the type of RSU is the second preset type, when it is detected that the Bluetooth service subscription information in the Bluetooth status information is unsubscribed and the Bluetooth state variable is detected to be greater than any one or more of the preset thresholds, it can be determined that there is no need to control the startup of the OBU Bluetooth device, that is, there is no need to generate a Bluetooth startup command.

[0180] For example, the preset threshold is set to 3. Correspondingly, when the type of the RSU is the second preset type, when the Bluetooth state variable is detected to be 4, it is determined that the number of times the Bluetooth state is unavailable is too many, and the Bluetooth connection relationship between the OBU Bluetooth device and the user terminal cannot be established at this time, so there is no need to control the Bluetooth device to start, that is, there is no need to generate a Bluetooth start command.

[0181] This embodiment determines the conditions that the corresponding Bluetooth status information needs to meet through the type of RSU to determine whether it is necessary to generate a Bluetooth start command to control the start of the OBU Bluetooth device. When the Bluetooth communication conditions are met, the OBU Bluetooth device can be forcibly started by the RSU, so that the information can be forwarded to the user terminal in time.

[0182] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0183] Embodiment 5

[0184] Corresponding to the OBU Bluetooth communication method described in the above embodiments 1 and 2, Figure 6 The structure block diagram of the OBU Bluetooth communication device 100 provided in the embodiment of the present application is shown, and the device is applied to the OBU, and the OBU is connected to the RSU for communication. For the convenience of description, only the parts related to the embodiment of the present application are shown.

[0185] Reference Figure 6 , the OBU Bluetooth communication device 100 comprises:

[0186] The first Bluetooth activation module 101 is used to activate the Bluetooth device when it is detected that the Bluetooth subscription function has been activated and a Bluetooth activation command sent by the RSU is received;

[0187] A first establishing module 102, configured to establish a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0188] A vehicle-road information sending module 103 is configured to send the vehicle-road information to the user terminal when receiving the vehicle-road information sent by the RSU;

[0189] The Bluetooth control module 104 is used to turn off the Bluetooth device when it is detected that the vehicle-road information is sent.

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

[0191] The instruction receiving module is used to send the Bluetooth status information to the RSU when receiving the Bluetooth status information acquisition instruction sent by the RSU, so that the RSU determines whether to generate a Bluetooth start command according to the Bluetooth status information.

[0192] In one embodiment, the Bluetooth state information includes Bluetooth state variables;

[0193] The device further comprises:

[0194] A status acquisition module, used to acquire the connection status of the Bluetooth device;

[0195] A first variable updating module, configured to update the Bluetooth state variable to zero when detecting that the connection state is that the Bluetooth connection is available;

[0196] The second variable updating module is used to increase the Bluetooth state variable by one when it is detected that the connection state is that the Bluetooth connection is unavailable.

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

[0198] A second Bluetooth activation module, configured to activate the Bluetooth device upon receiving a Bluetooth activation command;

[0199] A second establishing module, used to establish a Bluetooth connection relationship between the Bluetooth device and the user terminal;

[0200] A device information sending module, configured to send the device information to the user terminal upon receiving a device information acquisition instruction sent by the user terminal, so that the user terminal sends the device information to the ETC server to complete a two-way authentication process with the ETC server;

[0201] The first status information updating module is used to update the Bluetooth status information according to the Bluetooth status data when receiving the Bluetooth status data sent by the user terminal; wherein the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription operation of the user terminal.

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

[0203] The second state information updating module is used to update the Bluetooth state information according to the Bluetooth state reset command when receiving the Bluetooth state reset command sent by the user terminal.

[0204] In one embodiment, the Bluetooth status information further includes Bluetooth service subscription information;

[0205] The device further comprises:

[0206] A first judgment module, configured to determine that the Bluetooth subscription function has been turned on when detecting that the Bluetooth service subscription information is subscribed;

[0207] The second judgment module is used to determine that the Bluetooth subscription function is not enabled when it is detected that the Bluetooth service subscription information is not subscribed.

[0208] This embodiment starts the Bluetooth device when it detects that the Bluetooth subscription function has been turned on and receives the Bluetooth start command sent by the RSU, establishes a Bluetooth connection relationship between the Bluetooth device and the user terminal, sends the vehicle-road information to the user terminal when the vehicle-road information sent by the RSU is received, and turns off the Bluetooth device when it detects that the vehicle-road information has been sent. The Bluetooth device of the OBU is started based on the Bluetooth start command generated by the RSU, and the received vehicle-road information is forwarded to the user terminal in real time. The Bluetooth device is controlled to be turned off in time, so that the Bluetooth device is started only when needed, the power consumption of the Bluetooth device is reduced, and the communication efficiency between the OBU and other terminal devices is improved.

[0209] Embodiment 6

[0210] Corresponding to the communication method of OBU Bluetooth described in the third and fourth embodiments above, Figure 7 The structure block diagram of the OBU Bluetooth communication device 200 provided in the embodiment of the present application is shown, and the device is applied to the RSU, and the RSU is connected to the OBU for communication. For the convenience of description, only the parts related to the embodiment of the present application are shown.

[0211] Reference Figure 7 , the OBU Bluetooth communication device 200 comprises:

[0212] The vehicle detection module 201 is used to send a Bluetooth status information acquisition instruction to the OBU of the vehicle when detecting that the vehicle arrives at a preset position, and receive the Bluetooth status information returned by the OBU;

[0213] A generating module 202, configured to generate a Bluetooth start command when it is detected that the Bluetooth status information and the type of the RSU meet a preset condition;

[0214] The command sending module 203 is used to send the Bluetooth start command and the vehicle-road information to the OBU.

[0215] In one embodiment, the generating module comprises:

[0216] A first detection unit, configured to detect whether the Bluetooth status information satisfies a first preset condition when detecting that the type of the RSU is a first preset type; wherein the Bluetooth status information includes Bluetooth service subscription information;

[0217] The first generating unit is used to determine that the Bluetooth status information meets the first preset condition and generate the Bluetooth start command when detecting that the Bluetooth service subscription information is subscribed.

[0218] In one embodiment, the generating module comprises:

[0219] A second detection unit, configured to detect whether the Bluetooth state information satisfies a second preset condition when detecting that the type of the RSU is a second preset type; wherein the Bluetooth state information includes Bluetooth service subscription information and Bluetooth state variables;

[0220] The second generating unit is used to determine that the Bluetooth state information meets the second preset condition and generate the Bluetooth start command when it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to the preset threshold.

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

[0222] The data detection module is used to send the vehicle-road information to the OBU when it is detected that the Bluetooth status information and the type of the RSU do not meet the preset conditions.

[0223] This embodiment determines whether to generate a Bluetooth start command through Bluetooth status information and the type of RSU, and controls the OBU to start the Bluetooth device accordingly, which can ensure that the OBU Bluetooth device is started only when needed, realize the forwarding of vehicle-road information, reduce the power consumption of the Bluetooth device, and improve the use time of the device and the efficiency of communication.

[0224] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0225] Embodiment 7

[0226] Figure 8 The schematic diagram of the structure of the OBU provided in this embodiment. Figure 8 As shown, the OBU 8 of this embodiment includes: at least one processor 80 ( Figure 8 Only one is shown), a memory 81, a computer program 82 stored in the memory 81 and executable on the at least one processor 80, a radio frequency module 83, and a Bluetooth module 84. When the processor 80 executes the computer program 82, the steps in Embodiments 1 and 2 of the above-mentioned OBU Bluetooth communication method are implemented.

[0227] Fig. 9 This is a schematic diagram of the structure of the RSU provided in this embodiment. Fig. 9 As shown, the RSU 9 of this embodiment includes: at least one processor 90 ( Fig. 9 Only one is shown), a memory 91, a computer program 92 stored in the memory 91 and executable on the at least one processor 90, and a radio frequency module 93. When the processor 90 executes the computer program 92, the steps in Embodiments 3 and 4 of the above-mentioned OBU Bluetooth communication method are implemented.

[0228] The processor 80 / 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0229] In some embodiments, the memory 81 / 91 may be an internal storage unit of the OBU8 / RSU9, such as a hard disk or memory of the OBU8 / RSU9. In other embodiments, the memory 81 / 91 may also be an external storage device of the OBU8 / RSU9, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital, SD), a flash card (Flash Card), etc. equipped on the OBU8 / RSU9. Further, the memory 81 / 91 may also include both an internal storage unit of the OBU8 / RSU9 and an external storage device. The memory 81 / 91 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 81 / 91 may also be used to temporarily store data that has been output or is to be output.

[0230] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0231] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0232] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0233] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0234] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0235] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0236] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0237] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0238] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A communication method of OBU Bluetooth, characterized in that, Applied to OBU, the OBU is communicatively connected with RSU; The OBU Bluetooth communication method comprises: When it is detected that the Bluetooth subscription function is turned on and a Bluetooth start command sent by the RSU is received, the Bluetooth device is started; Establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal; When receiving the vehicle-road information sent by the RSU, sending the vehicle-road information to the user terminal; When it is detected that the vehicle-road information is sent completely, the Bluetooth device is turned off.

2. The communication method of OBU Bluetooth as claimed in claim 1, characterized in that, When it is detected that the Bluetooth subscription function is turned on and a Bluetooth start command sent by the RSU is received, before starting the Bluetooth device, the method includes: When receiving the Bluetooth status information acquisition instruction sent by the RSU, the Bluetooth status information is sent to the RSU, so that the RSU determines whether to generate a Bluetooth start command according to the Bluetooth status information.

3. The communication method of OBU Bluetooth as claimed in claim 2, characterized in that, The Bluetooth state information includes Bluetooth state variables; After detecting that the Bluetooth subscription function has been turned on and receiving the Bluetooth start command sent by the RSU, starting the Bluetooth device, the method further includes: Get the connection status of the Bluetooth device; When detecting that the connection state is that the Bluetooth connection is available, updating the Bluetooth state variable to zero; When it is detected that the connection state is that the Bluetooth connection is unavailable, the Bluetooth state variable is increased by one.

4. The communication method of OBU Bluetooth as claimed in claim 2, characterized in that, The method further comprises: When receiving a Bluetooth start command, start the Bluetooth device; Establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal; Upon receiving the device information acquisition instruction sent by the user terminal, sending the device information to the user terminal, so that the user terminal sends the device information to the ETC server, completing the two-way authentication process with the ETC server; When receiving the Bluetooth status data sent by the user terminal, the Bluetooth status information is updated according to the Bluetooth status data; wherein the Bluetooth status data is data generated by the ETC server based on the Bluetooth function subscription operation of the user terminal.

5. The communication method of OBU Bluetooth as claimed in claim 4, characterized in that, After the Bluetooth connection relationship between the Bluetooth device and the user terminal is established, the method further includes: When a Bluetooth status reset command sent by the user terminal is received, the Bluetooth status information is updated according to the Bluetooth status reset command.

6. The OBU Bluetooth communication method as claimed in any one of claims 2 to 5, characterized in that: The Bluetooth status information also includes Bluetooth service subscription information; The method further comprises: When detecting that the Bluetooth service subscription information is subscribed, determining that the Bluetooth subscription function is turned on; When it is detected that the Bluetooth service subscription information is not subscribed, it is determined that the Bluetooth subscription function is not enabled.

7. An OBU Bluetooth communication method, characterized in that: Applied to RSU, the RSU is communicatively connected with OBU; The OBU Bluetooth communication method comprises: When it is detected that the vehicle has arrived at a preset position, a Bluetooth status information acquisition instruction is sent to the OBU of the vehicle, and the Bluetooth status information returned by the OBU is received; When it is detected that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command; Sending the Bluetooth start command to the OBU, controlling the OBU to start the Bluetooth device, and establishing a Bluetooth connection relationship between the Bluetooth device and the user terminal; The vehicle-road information is sent to the OBU, the OBU is controlled to send the vehicle-road information to the user terminal, and when it is detected that the sending of the vehicle-road information is completed, the Bluetooth device is turned off.

8. The OBU Bluetooth communication method as claimed in claim 7, characterized in that: When it is detected that the Bluetooth status information and the type of the RSU meet a preset condition, generating a Bluetooth start command includes: When it is detected that the type of the RSU is a first preset type, detecting whether the Bluetooth state information meets a first preset condition; wherein the Bluetooth state information includes Bluetooth service subscription information; When it is detected that the Bluetooth service subscription information is subscribed, it is determined that the Bluetooth status information meets the first preset condition, and the Bluetooth start command is generated.

9. The OBU Bluetooth communication method as claimed in claim 7, characterized in that: The generating of a Bluetooth start command when detecting that the Bluetooth status information and the type of the RSU meet a preset condition further includes: When it is detected that the type of the RSU is a second preset type, detecting whether the Bluetooth state information meets a second preset condition; wherein the Bluetooth state information includes Bluetooth service subscription information and a Bluetooth state variable; the Bluetooth state variable can be used to indicate the cumulative number of times the Bluetooth device connection state is unavailable; When it is detected that the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to the preset threshold, it is determined that the Bluetooth state information meets the second preset condition, and the Bluetooth start command is generated.

10. An OBU Bluetooth communication device, characterized in that: Applied to OBU, the OBU is connected to RSU for communication, The OBU Bluetooth communication device comprises: A first Bluetooth activation module, configured to activate the Bluetooth device when detecting that the Bluetooth subscription function has been activated and receiving a Bluetooth activation command sent by the RSU; A first establishing module, used to establish a Bluetooth connection relationship between the Bluetooth device and the user terminal; A vehicle-road information sending module, configured to send the vehicle-road information to the user terminal when receiving the vehicle-road information sent by the RSU; The Bluetooth control module is used to turn off the Bluetooth device when it is detected that the vehicle-road information has been sent.

11. An OBU Bluetooth communication device, characterized in that: Applied to RSU, the RSU is communicatively connected with OBU; The OBU Bluetooth communication device comprises: The vehicle detection module is used to send a Bluetooth status information acquisition instruction to the OBU of the vehicle when detecting that the vehicle has arrived at a preset position, and receive the Bluetooth status information returned by the OBU; A generating module, configured to generate a Bluetooth start command when it is detected that the Bluetooth status information and the type of the RSU meet a preset condition; A command sending module is used to send the Bluetooth start command to the OBU, control the OBU to start the Bluetooth device, and establish a Bluetooth connection relationship between the Bluetooth device and the user terminal; and is used to send vehicle-road information to the OBU, control the OBU to send the vehicle-road information to the user terminal, and turn off the Bluetooth device when it is detected that the vehicle-road information is sent.

12. An OBU comprising a Bluetooth module, a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

13. An RSU, comprising a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 7 to 9 is implemented.

Citation Information

Patent Citations

  • Intelligent traffic service system

    CN102768768A

  • Onboard unit and management system, Bluetooth starting method and charging method thereof

    CN104574538A

  • Traffic cloud service method, system, subsystem, vehicle-mounted unit and network terminal

    CN105160717A

  • A method and system for displaying OBU consumption information in real time through a mobile phone terminal

    CN109714715A

  • OBU Bluetooth system, control method, storage medium and OBU

    CN110071745A