CN114071419A - OBU Bluetooth communication method and device, OBU and RSU - Google Patents

OBU Bluetooth communication method and device, OBU and RSU Download PDF

Info

Publication number
CN114071419A
CN114071419A CN202111234532.8A CN202111234532A CN114071419A CN 114071419 A CN114071419 A CN 114071419A CN 202111234532 A CN202111234532 A CN 202111234532A CN 114071419 A CN114071419 A CN 114071419A
Authority
CN
China
Prior art keywords
bluetooth
obu
information
rsu
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111234532.8A
Other languages
Chinese (zh)
Inventor
朱源泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chenggu Technology Co ltd
Original Assignee
Shenzhen Chenggu 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 Shenzhen Chenggu Technology Co ltd filed Critical Shenzhen Chenggu Technology Co ltd
Priority to CN202111234532.8A priority Critical patent/CN114071419A/en
Publication of CN114071419A publication Critical patent/CN114071419A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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)

Abstract

The application is suitable for the technical field of Bluetooth communication, and provides a communication method, a device, an OBU and an RSU of an OBU Bluetooth, wherein the method comprises the following steps: when the Bluetooth subscription function is detected to be started and a Bluetooth starting command sent by the RSU is received, the Bluetooth equipment is started, the Bluetooth connection relation between the Bluetooth equipment and the user terminal is established, the vehicle path information is sent to the user terminal when the vehicle path information sent by the RSU is received, and the Bluetooth equipment is closed when the vehicle path information is detected to be sent completely. This application can only start bluetooth equipment when needing, reduces bluetooth equipment's power consumption, improves the communication efficiency between OBU and other terminal equipment.

Description

OBU Bluetooth communication method and device, OBU and RSU
Technical Field
The application belongs to the technical field of Bluetooth communication, and particularly relates to a communication method and device of an OBU Bluetooth, an OBU and an RSU.
Background
The electronic toll collection system ETC is an intelligent traffic system, mainly including a Road Side Unit (RSU) and an On Board Unit (OBU), and in recent years, the electronic toll collection system ETC is often used to execute ETC toll collection service and lane cooperation service.
However, the related method for implementing the vehicle-road cooperative service based on the OBU bluetooth usually needs to consume a large amount of electric quantity of the OBU device, so that the vehicle-road information cannot be effectively transmitted to other terminals in real time, and the communication efficiency is low.
Disclosure of Invention
The embodiment of the application provides an OBU Bluetooth communication method and device, an OBU and an RSU, and the problem that relevant communication based on the OBU Bluetooth cannot effectively send vehicle path information to other terminals in real time and communication efficiency is low can be solved.
In a first aspect, an embodiment of the present application provides a communication method for an OBU bluetooth, which is applied to an OBU, where the OBU is in communication connection with an RSU;
the OBU Bluetooth communication method comprises the following steps:
when the Bluetooth subscription function is detected to be started and a Bluetooth starting command sent by the RSU is received, starting the Bluetooth equipment;
establishing a Bluetooth connection relationship between the Bluetooth equipment and a user terminal;
when receiving the vehicle path information sent by the RSU, sending the vehicle path information to the user terminal;
and when the completion of the transmission of the vehicle road information is detected, the Bluetooth equipment is closed.
In one embodiment, before the bluetooth device is started when the bluetooth subscription function is detected to be started and a bluetooth start command sent by the RSU is received, the method includes:
and when receiving a Bluetooth state information acquisition instruction sent by the RSU, sending the Bluetooth state information to the RSU so that the RSU determines whether to generate a Bluetooth starting command according to the Bluetooth state information.
In one embodiment, the bluetooth status information comprises bluetooth status variables;
when detecting that the vehicle route information is sent and is accomplished, after closing the bluetooth device, still include:
acquiring the connection state of the Bluetooth equipment;
when the connection state is detected to be available for Bluetooth connection, updating the Bluetooth state variable to zero;
and when the connection state is detected to be that the Bluetooth connection is unavailable, adding one to the Bluetooth state variable.
In one embodiment, the method further comprises:
starting the Bluetooth equipment when a Bluetooth starting command is received;
establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
when an equipment information acquisition instruction sent by the user terminal is received, equipment information is sent to the user terminal, so that the user terminal sends the equipment information to an ETC server to complete a bidirectional authentication process with the ETC server;
when receiving Bluetooth state data sent by the user terminal, updating the Bluetooth state information according to the Bluetooth state data; the Bluetooth state data is data generated by the ETC server based on Bluetooth function subscription operation of the user terminal.
In one embodiment, after the establishing the bluetooth connection relationship between the bluetooth device and the user terminal, the method further includes:
and when a Bluetooth state reset command sent by the user terminal is received, updating the Bluetooth state information according to the Bluetooth state reset command.
In one embodiment, the bluetooth status information further includes bluetooth service subscription information;
the method further comprises the following steps:
when the Bluetooth service subscription information is detected to be subscribed, judging that the Bluetooth subscription function is started;
and when detecting that the Bluetooth service subscription information is not subscribed, judging that the Bluetooth subscription function is not started.
In a second aspect, an embodiment of the present application provides a communication method for an OBU bluetooth, which is applied to an RSU, where the RSU is in communication connection with the OBU;
the OBU Bluetooth communication method comprises the following steps:
when a vehicle is detected to reach a preset position, sending a Bluetooth state information acquisition instruction to an OBU of the vehicle, and receiving Bluetooth state information returned by the OBU;
generating a Bluetooth starting command when detecting that the Bluetooth state information and the type of the RSU meet preset conditions;
and sending the Bluetooth starting command and the vehicle path information to the OBU.
In one embodiment, the generating a bluetooth activation command when it is detected that the bluetooth status information and the type of the RSU satisfy a preset condition includes:
when the RSU type is detected to be a first preset type, detecting whether the Bluetooth state information meets a first preset condition; the Bluetooth state information comprises Bluetooth service subscription information;
and when the Bluetooth service subscription information is subscribed, judging that the Bluetooth state information meets the first preset condition, and generating the Bluetooth starting command.
In one embodiment, the generating a bluetooth activation command when it is detected that the bluetooth status information and the type of the RSU satisfy a preset condition includes:
when the RSU type is detected to be a second preset type, detecting whether the Bluetooth state information meets a second preset condition; the Bluetooth state information comprises Bluetooth service subscription information and Bluetooth state variables;
and when the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to a preset threshold value, judging that the Bluetooth state information meets the second preset condition, and generating the Bluetooth starting command.
In a third aspect, the embodiment of the present application provides a communication device of an OBU bluetooth, which is applied to an OBU, the OBU is communicatively connected with an RSU,
the communication device of OBU bluetooth includes:
the first Bluetooth starting module is used for starting the Bluetooth equipment when detecting that the Bluetooth subscription function is started and receiving a Bluetooth starting command sent by the RSU;
the first establishing module is used for establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
the vehicle path information sending module is used for sending the vehicle path information to the user terminal when receiving the vehicle path information sent by the RSU;
and the Bluetooth control module is used for closing the Bluetooth equipment when detecting that the vehicle road information is sent completely.
In one embodiment, the apparatus further comprises:
and the instruction receiving module is used for sending the Bluetooth state information to the RSU when receiving a Bluetooth state information acquisition instruction sent by the RSU, so that the RSU determines whether to generate a Bluetooth starting command according to the Bluetooth state information.
In one embodiment, the bluetooth status information comprises bluetooth status variables;
the device, still include:
the state acquisition module is used for acquiring the connection state of the Bluetooth equipment;
the first variable updating module is used for updating the Bluetooth state variable to zero when the connection state is detected to be available for Bluetooth connection;
and the second variable updating module is used for adding one to the Bluetooth state variable when the connection state is detected to be that the Bluetooth connection is unavailable.
In one embodiment, the apparatus further comprises:
the second Bluetooth starting module is used for starting the Bluetooth equipment when receiving a Bluetooth starting command;
the second establishing module is used for establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
the device information sending module is used for sending the device information to the user terminal when 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 bidirectional authentication process with the ETC server;
the first state information updating module is used for updating the Bluetooth state information according to the Bluetooth state data when receiving the Bluetooth state data sent by the user terminal; the Bluetooth state data is data generated by the ETC server based on Bluetooth function subscription operation of the user terminal.
In one embodiment, the apparatus further comprises:
and the second state information updating module is used for updating the Bluetooth state information according to the Bluetooth state resetting command when receiving the Bluetooth state resetting command sent by the user terminal.
In one embodiment, the bluetooth status information further includes bluetooth service subscription information;
the device, still include:
the first judgment module is used for judging that the Bluetooth subscription function is started when the Bluetooth service subscription information is subscribed;
and the second judgment module is used for judging that the Bluetooth subscription function is not started when the Bluetooth service subscription information is detected to be unsubscribed.
In a fourth aspect, an embodiment of the present application provides a communication device of an OBU bluetooth, which is applied to an RSU, where the RSU is in communication connection with the OBU;
the communication device of OBU bluetooth includes:
the vehicle detection module is used for sending a Bluetooth state information acquisition instruction to an OBU of the vehicle and receiving Bluetooth state information returned by the OBU when the vehicle is detected to reach a preset position;
the generating module is used for generating a Bluetooth starting command when detecting that the Bluetooth state information and the type of the RSU meet preset conditions;
and the command sending module is used for sending the Bluetooth starting command and the vehicle path information to the OBU.
In one embodiment, the generating module includes:
the first detection unit is used for detecting whether the Bluetooth state information meets a first preset condition or not when the RSU type is detected to be a first preset type; the Bluetooth state information comprises Bluetooth service subscription information;
and the first generating unit is used for judging that the Bluetooth state information meets the first preset condition and generating the Bluetooth starting command when the Bluetooth service subscription information is detected to be subscribed.
In one embodiment, the generating module includes:
the second detection unit is used for detecting whether the Bluetooth state information meets a second preset condition or not when the RSU type is detected to be a second preset type; the Bluetooth state information comprises Bluetooth service subscription information and Bluetooth state variables;
and the second generation unit is used for judging that the Bluetooth state information meets the second preset condition and generating the Bluetooth starting command when the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to a preset threshold value.
In a fifth aspect, an embodiment of the present application provides an OBU, including a bluetooth module, a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the communication method of the bluetooth of the OBU as described in any one of the first aspect.
In a sixth aspect, an embodiment of the present application provides an RSU, which includes a radio frequency module, a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the communication method of the OBU bluetooth as described in any one of the second aspects.
In a seventh aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the OBU bluetooth communication method according to any one of the first or second aspects.
In an eighth aspect, an embodiment of the present application provides a computer program product, which, when running on an OBU/RSU, causes the OBU/RSU to execute the OBU bluetooth communication method according to any one of the first or second aspects.
Compared with the prior art, the embodiment of the application has the beneficial effects that: the Bluetooth device is started when the Bluetooth subscription function is detected to be started and a Bluetooth starting command sent by the RSU is received, the Bluetooth connection relation between the Bluetooth device and the user terminal is established, the vehicle path information is sent to the user terminal when the vehicle path information sent by the RSU is received, the Bluetooth device is closed when the vehicle path information is detected to be sent completely, the Bluetooth device for starting the OBU is controlled based on the Bluetooth starting command generated by the RSU, the received vehicle path information is forwarded to the user terminal in real time, the Bluetooth device is controlled to be closed in time, 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.
It is understood that the beneficial effects of the second aspect to the eighth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication system of an OBU bluetooth provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a communication method of OBU bluetooth according to an embodiment of the present disclosure;
fig. 3 is another schematic flow chart of a communication method of the OBU bluetooth according to the second embodiment of the present application;
fig. 4 is another schematic flow chart of a communication method of OBU bluetooth according to a third embodiment of the present application;
fig. 5 is a schematic flowchart of step S202 of a communication method of OBU bluetooth according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device of an OBU bluetooth according to a fifth embodiment of the present application;
fig. 7 is another schematic structural diagram of a communication device of an OBU bluetooth according to a sixth embodiment of the present application;
fig. 8 is a schematic structural diagram of an OBU according to a seventh embodiment of the present application;
fig. 9 is a schematic structural diagram of a seventh RSU according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The OBU Bluetooth communication method provided by the embodiment of the application can be applied to terminal equipment such as RSU, OBU or vehicle-mounted equipment, and the specific type of the terminal equipment is not limited at all.
In recent years, electronic toll collection systems ETC are used to perform lane coordination services in addition to ETC toll collection services. However, the method for realizing the vehicle-road cooperative service based on the OBU bluetooth usually needs to consume a large amount of electric quantity of the OBU device, which may cause a problem that the vehicle-road information cannot be effectively transmitted to other terminals in real time, and the communication efficiency is low. In order to solve the problem, the OBU Bluetooth communication method, the OBU Bluetooth communication device, the OBU and the RSU are provided, so that the OBU can start the Bluetooth equipment when receiving a Bluetooth starting command of the RSU, and forward the vehicle path information to the user terminal in real time, the Bluetooth equipment is controlled to be turned off in time, the Bluetooth equipment is started only when needed, the power consumption of the Bluetooth equipment is reduced, and the communication efficiency between the OBU and other terminal equipment is improved.
In order to realize the technical scheme provided by the application, an OBU Bluetooth communication system can be constructed firstly. Referring to fig. 1, the OBU bluetooth communication system 1 includes an ETC system (including a road side unit RSU and an ETC server), more than one vehicle (each vehicle is installed with an on-board unit OBU, and a user terminal, only 1 vehicle is shown in fig. 1), and the RSU is in communication connection with the OBU (through 5.8GHz wireless communication or other wireless vehicle-to-vehicle communication technologies), and the OBU is in communication connection with the user terminal (the user terminal includes but is not limited to a mobile device of a user, an on-board device, or other terminal devices capable of implementing bluetooth communication with the OBU) through an OBU bluetooth device.
The OBU is an on-board unit including a bluetooth device in a vehicle that reaches a predetermined position (i.e., reaches an entrance of an ETC toll station or a road gantry). The RSU is a device that is preset in the ETC system at the entrance of the ETC toll station, the road portal frame or the road side of the ETC toll station, and communicates with an On-Board Unit (OBU) by using dsrc (dedicated Short Range communication) technology, thereby realizing vehicle identification, electronic deduction and toll collection service.
In the running process of the vehicle, when the RSU detects that the vehicle reaches a preset position, a Bluetooth state information acquisition instruction is sent to the OBU, and when Bluetooth state information returned by the OBU is received, whether a Bluetooth starting command is generated or not is determined according to the Bluetooth state information. When the OBU receives a Bluetooth starting command sent by the RSU, the OBU starts the Bluetooth equipment and establishes Bluetooth communication connection with a user terminal in the vehicle, so that the vehicle road information sent by the RDU is forwarded to the user terminal, the Bluetooth equipment is controlled to be closed, the Bluetooth equipment is started only when needed, the power consumption of the Bluetooth equipment is reduced, and the communication efficiency between the OBU and other terminal equipment is improved.
In order to explain the technical solution proposed in the present application, the following description will be given by way of specific examples.
Fig. 2 shows a schematic flow chart of a communication method of the OBU bluetooth provided by the present application, which may be applied to an OBU, by way of example and not limitation, and the OBU is in communication connection with an RSU.
The OBU Bluetooth communication method comprises the following steps:
s101, when the Bluetooth subscription function is detected to be started and a Bluetooth starting command sent by the RSU is received, the Bluetooth equipment is started.
In particular, the OBU has a limited built-in battery capacity due to the on-board unit. Typically, the bluetooth device in the OBU is off. Therefore, the OBU can only have the function of forwarding the vehicle route information to the user terminal when the bluetooth device is turned on and the bluetooth subscription function is turned on.
Specifically, when the vehicle reaches a preset position (including but not limited to a position at an entrance of an ETC toll station, a road portal frame or a road side of the ETC toll station), an on-board unit OBU inside the vehicle can start the bluetooth device when detecting that the bluetooth subscription function is opened and receiving a bluetooth start command sent by the RSU, so as to realize subsequent bluetooth communication operation.
S102, establishing a Bluetooth connection relation between the Bluetooth equipment and the user terminal.
Specifically, when detecting that a bluetooth device built in an on-board unit (OBU) is started, establishing a bluetooth connection relationship between the bluetooth device and a user terminal in a vehicle, and meanwhile determining that the connection state of the bluetooth device is available at the current moment.
S103, when the vehicle path information sent by the RSU is received, the vehicle path information is sent to the user terminal.
Specifically, after the bluetooth connection relationship between the bluetooth device built in the on-board unit OBU and the user terminal in the vehicle is established, the received vehicle path information sent by the RSU may be sent to the user terminal, so that the user terminal may display the vehicle path information in a display device (e.g., a display screen of the user terminal).
The vehicle path information includes, but is not limited to, vehicle toll information, traffic information at a current toll station, and a positional relationship between a current vehicle and another vehicle. The display mode of the vehicle path information includes but is not limited to a text mode, a voice mode or a video mode.
And S104, when the completion of the transmission of the vehicle road information is detected, the Bluetooth equipment is closed.
Specifically, when detecting that the vehicle route information is sent to the user terminal, the Bluetooth device is turned off in time, and power consumption of the Bluetooth device is reduced.
In one embodiment, before the bluetooth device is started when the bluetooth subscription function is detected to be started and a bluetooth start command sent by the RSU is received, the method includes:
and when receiving a Bluetooth state information acquisition instruction sent by the RSU, sending the Bluetooth state information to the RSU so that the RSU determines whether to generate a Bluetooth starting command according to the Bluetooth state information.
Specifically, when the vehicle reaches the preset position, the RSU device needs to confirm the information of the vehicle, and therefore, the OBU receives an information acquisition instruction sent by the RSU; the information acquisition instruction includes, but is not limited to, a vehicle information acquisition instruction and a bluetooth status information acquisition instruction. The vehicle information acquisition instruction is specifically used for acquiring vehicle information of the vehicle, and the vehicle information includes, but is not limited to, a license plate number, a vehicle model number, owner identity information, owner contact information and the like of the vehicle. The Bluetooth state information acquisition instruction is specifically used for acquiring Bluetooth state information of Bluetooth equipment built in an on-board unit (OBU) in the vehicle. Bluetooth status information includes, but is not limited to: the Bluetooth subscription function comprises Bluetooth service subscription information used for indicating whether the Bluetooth subscription function starts subscription or not and a Bluetooth state variable used for indicating the unavailable accumulated times of the Bluetooth equipment.
Specifically, the OBU sends the vehicle information to the RSU according to the vehicle information acquisition instruction, so that the RSU stores the vehicle information; and the OBU sends the Bluetooth state information to the RSU according to the Bluetooth state information acquisition instruction, so that the RSU determines whether the Bluetooth equipment of the OBU needs to be controlled to start or not according to the Bluetooth state information, and further determines whether a Bluetooth starting command needs to be generated or not.
In one embodiment, the bluetooth status information comprises bluetooth status variables;
when detecting that the vehicle route information is sent and is accomplished, after closing the bluetooth device, still include:
acquiring the connection state of the Bluetooth equipment;
when the connection state is detected to be available for Bluetooth connection, updating the Bluetooth state variable to zero;
and when the connection state is detected to be that the Bluetooth connection is unavailable, adding one to the Bluetooth state variable.
Specifically, a Bluetooth Status Variable BSV (Bluetooth-Status-Variable) may be used to indicate the cumulative number of times the Bluetooth device connection Status is unavailable, which is typically 0 at its initial value.
Specifically, after receiving the bluetooth activation command, the OBU needs to determine the connection state of the bluetooth device according to whether the bluetooth communication connection relationship between the bluetooth device and the user terminal is successfully established. For example, when the OBU bluetooth device successfully establishes a bluetooth communication connection relationship with the user terminal, it is determined that the connection state of the bluetooth device is available for bluetooth connection, and at this time, the bluetooth state variable needs to be updated to zero. When the OBU Bluetooth device cannot establish Bluetooth communication connection relation with the user terminal, the connection state of the Bluetooth device is judged to be unavailable for Bluetooth connection, and at the moment, the Bluetooth state variable is increased by one so as to record the accumulated times of Bluetooth connection failure in real time.
In one embodiment, the bluetooth status information further includes bluetooth service subscription information;
the method further comprises the following steps:
when the Bluetooth service subscription information is detected to be subscribed, judging that the Bluetooth subscription function is started;
and when detecting that the Bluetooth service subscription information is not subscribed, judging that the Bluetooth subscription function is not started.
Specifically, the bluetooth status information further includes, but is not limited to, bluetooth service subscription information, which includes subscribed and unsubscribed. When the OBU receives that the Bluetooth service subscription information sent by the user terminal is subscribed, the OBU judges that the Bluetooth subscription function is started, and when the OBU receives that the Bluetooth service subscription information sent by the user terminal is unsubscribed, the OBU judges that the Bluetooth subscription function is not started.
Specifically, the user may generate an instruction to start, modify, or cancel 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 executes corresponding operation according to the instruction and generates corresponding Bluetooth state data (the Bluetooth state data refers to data for controlling the Bluetooth device to start, modify or cancel the subscription function and includes but is not limited to Bluetooth service subscription information and Bluetooth state variables).
For example, a user colludes and confirms a bluetooth subscription function item on an ETC-APP interface of a user terminal, correspondingly generates a starting command of a bluetooth subscription function, and sends the starting command to an ETC server for subscribing the bluetooth service; the ETC server generates Bluetooth state data according to a starting command of the Bluetooth subscription function, wherein the Bluetooth state data comprises the subscribed Bluetooth service subscription information and a Bluetooth state variable BSV with an initial value of zero. The OBU updates the Bluetooth service subscription information and the Bluetooth state variable BSV at the current moment by receiving the Bluetooth state data which is sent by the user terminal and generated based on the ETC server.
By way of example and not limitation, the bluetooth service subscription information and the bluetooth status variable in the bluetooth status data may be transmitted and received between the OBU, the user terminal, and the like as two independent files or combined as one total file.
In the embodiment, the bluetooth device is started when the bluetooth subscription function is detected to be started and a bluetooth starting command sent by the RSU is received, the bluetooth connection relationship between the bluetooth device and the user terminal is established, the vehicle route information is sent to the user terminal when the vehicle route information sent by the RSU is received, the bluetooth device is turned off when the vehicle route information is detected to be sent completely, the bluetooth device for starting the OBU is controlled based on the bluetooth starting command generated by the RSU, the received vehicle route information is forwarded to the user terminal in real time, the bluetooth device is controlled to be turned off in time, 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.
Example two
The present embodiment is further described in the first embodiment, and reference may be specifically made to the related description of the first embodiment where the same or similar to the first embodiment, and details are not described herein again. As shown in fig. 3, the OBU bluetooth communication in this embodiment further includes:
and S105, starting the Bluetooth equipment when receiving the Bluetooth starting command.
Specifically, the OBU bluetooth device does not have a function of forwarding the vehicle-road information when the bluetooth device is not started. When a Bluetooth starting command sent by a user is received, the OBU Bluetooth device can be started according to the Bluetooth starting command, and the state of the Bluetooth subscription function can be updated conveniently according to an instruction sent by the user terminal in the started state of the OBU Bluetooth device.
By way of example and not limitation, a user may generate a bluetooth activation command by performing various operations such as activating a button switch, continuously plugging and unplugging an IC card, or NFC touch on the OBU, and the OBU may activate the bluetooth device according to the bluetooth activation command.
S106, establishing a Bluetooth connection relation between the Bluetooth equipment and the user terminal.
Specifically, when the Bluetooth device is detected to be turned on, the Bluetooth connection relationship between the Bluetooth device and the user terminal is established.
S107, when receiving the equipment information acquisition instruction sent by the user terminal, sending the equipment information to the user terminal so that the user terminal sends the equipment information to an ETC server to complete a bidirectional authentication process between the user terminal and the ETC server.
Specifically, when receiving a device information acquisition instruction sent by 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, and a bidirectional authentication process (or OBU issue activation process) between the ETC server and the OBU is completed.
Wherein, equipment information is OBU's contract number, realizes the mutual authentication flow through sending equipment information to the ETC server, can carry out one-to-one safety with OBU and vehicle and bind to it carries out electron charge, electron deduction or other business functions to the vehicle through OBU to be convenient for the ETC system.
S108, when receiving the Bluetooth state data sent by the user terminal, updating the Bluetooth state information according to the Bluetooth state data; the Bluetooth state data is data generated by the ETC server based on Bluetooth function subscription operation of the user terminal.
Specifically, when receiving bluetooth state data generated based on an ETC server and sent by a user terminal, the bluetooth state information is updated according to the bluetooth state data.
For example, the bluetooth status data is generated by the ETC server based on the bluetooth function subscription opening operation after the user performs the bluetooth subscription function opening operation on the user terminal, and then the bluetooth status data includes the subscribed bluetooth service subscription information and the bluetooth status variable BSV with an initial value of zero, and the OBU updates the bluetooth status variable at the current time to zero according to the bluetooth status data and updates the bluetooth service subscription information at the current time to subscribed.
In one embodiment, after the establishing the bluetooth connection relationship between the bluetooth device and the user terminal, the method further includes:
and when a Bluetooth state reset command sent by the user terminal is received, updating the Bluetooth state information according to the Bluetooth state reset command.
Specifically, after the bluetooth connection relationship between the bluetooth device and the user terminal is established, if a bluetooth state reset command sent by the user terminal is received (including a bluetooth state reset command generated when a user clicks an interface of the user terminal to sum up and touch a button switch, continuously plug and unplug an IC card, perform NFC touch and other various operations, or a bluetooth state reset command automatically generated when the user starts an APP for realizing an OBU bluetooth device control function), the bluetooth state information is updated according to the bluetooth state reset command. The bluetooth state reset command refers to a command generated by the user terminal after the RSU stops triggering the bluetooth device due to the fact that the number of consecutive unavailability times of the bluetooth is detected to be excessive (that is, BSV > a preset threshold BSV _ MAX), and is used for resetting the bluetooth state, so that a subsequent RSU can conveniently start an OBU bluetooth device.
Specifically, the bluetooth state reset command includes a bluetooth state variable and has a value of zero. Correspondingly, the Bluetooth state information according to the Bluetooth state reset command comprises that the Bluetooth state variable at the current moment is updated to zero according to the Bluetooth state reset command.
The bluetooth subscription function of the bluetooth device is started through the command and the data sent by the user terminal, and the purpose that the vehicle-road information sent by the RSU is forwarded to the user terminal when the bluetooth subscription function is started is achieved, so that the vehicle-road information is effectively forwarded based on the OBU bluetooth communication, and the communication efficiency based on the OBU bluetooth is improved.
EXAMPLE III
Fig. 4 shows a schematic flow chart of the communication method of the OBU bluetooth provided by the present application, which can be applied to an RSU by way of example and not limitation, and the RSU is in communication connection with the OBU.
The OBU Bluetooth communication method comprises the following steps:
s201, when the vehicle is detected to reach the preset position, sending a Bluetooth state information acquisition instruction to an OBU of the vehicle, and receiving Bluetooth state information returned by the OBU.
Specifically, when it is detected that the vehicle reaches the preset position, the RSU needs to send an information acquisition instruction to the OBU. The information acquisition instruction comprises but is not limited to a vehicle information acquisition instruction and a Bluetooth state information acquisition instruction, and is used for acquiring vehicle information and Bluetooth state information of the OBU Bluetooth device. And when the vehicle information and the Bluetooth state information returned by the OBU are received, the vehicle information is stored in the ETC server, and whether the Bluetooth equipment needs to be started at the current moment is judged based on the Bluetooth state information.
S202, when the Bluetooth state information and the type of the RSU are detected to meet the preset conditions, generating a Bluetooth starting command.
Specifically, the type of the RSU is obtained, and when it is detected that the bluetooth status information satisfies a preset condition corresponding to the type of the RSU, a bluetooth start command is generated. The type of the RSU includes, but is not limited to, a first preset type or a second preset type, and the corresponding preset condition includes a first preset condition or a second preset condition. When the type of the RSU is a first preset type, if the Bluetooth state information is detected to meet a first preset condition, a Bluetooth starting command is correspondingly generated; and when the type of the RSU is a second preset type, if the Bluetooth state information is detected to meet a second preset condition, correspondingly generating a Bluetooth starting command.
S203, sending the Bluetooth starting command and the vehicle path information to the OBU.
Specifically, the vehicle path 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 path information to the user terminal.
In one embodiment, after receiving the bluetooth status information returned by the OBU, the method further includes:
and when the Bluetooth state information and the type of the RSU are detected not to meet the preset conditions, the vehicle road information is sent to the OBU.
Specifically, when the RSU type is a first preset type, and the Bluetooth state information is detected not to meet a first preset condition, it is judged that the OBU Bluetooth equipment cannot be started, a Bluetooth starting command is not correspondingly generated, and only the vehicle path information is sent to the OBU; or when the RSU type is a second preset type, and the Bluetooth state information is detected not to meet a second preset condition, the OBU Bluetooth device is judged to be incapable of being started, a Bluetooth starting command is not correspondingly generated, and only the vehicle path information is sent to the OBU.
Whether the Bluetooth starting command is generated or not is determined according to the Bluetooth state information and the type of the RSU, the OBU is correspondingly controlled to start the Bluetooth device, the OBU Bluetooth device can be guaranteed to be started only when needed, forwarding of the vehicle road information is achieved, power consumption of the Bluetooth device is reduced, and using time of the Bluetooth device and communication efficiency are improved.
Example four
The present embodiment is further described in the third embodiment, and reference may be specifically made to the related description of the third embodiment where the third embodiment is the same as or similar to the third embodiment, and details are not described herein again. As shown in fig. 5, in this embodiment, generating a bluetooth activation command when it is detected that the bluetooth status information and the type of the RSU satisfy the preset condition includes:
s2021, when the RSU type is detected to be a first preset type, detecting whether the Bluetooth state information meets a first preset condition; wherein the bluetooth status information includes bluetooth service subscription information.
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 judge whether the OBU Bluetooth equipment needs to be controlled to start or not according to the Bluetooth service subscription information.
Specifically, when it is detected that the type of the RSU is the first preset type, it is correspondingly required to detect whether the bluetooth service subscription information in the bluetooth status information meets the first preset condition. The first preset condition is that the bluetooth service subscription information is subscribed.
S2022, when it is detected that the bluetooth service subscription information is subscribed, determining that the bluetooth status information satisfies the first preset condition, and generating the bluetooth start command.
Specifically, when it is detected that the bluetooth service subscription information is subscribed, it is determined that the bluetooth state information meets a first preset condition, the OBU bluetooth device needs to be controlled to start, and a bluetooth start command needs to be generated correspondingly.
As shown in fig. 5, in an embodiment, the generating a bluetooth activation command when it is detected that the bluetooth status information and the type of the RSU satisfy a preset condition includes:
s2023, when the RSU type is detected to be a second preset type, detecting whether the Bluetooth state information meets a second preset condition; the Bluetooth state information comprises Bluetooth service subscription information and Bluetooth state variables.
Specifically, the second preset type means that the RSU needs to determine whether to control the OBU bluetooth device to start according to two data, namely bluetooth service subscription information and bluetooth state variables. And when the RSU type is detected to be a second preset type, correspondingly detecting whether the Bluetooth service subscription information and the Bluetooth state variable meet a second preset condition.
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, determining that the bluetooth state information satisfies the second preset condition, and generating the bluetooth start command.
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 an actual situation.
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, the OBU bluetooth device needs to be controlled to start, and a bluetooth start command needs to be generated correspondingly.
It can be understood that, when the type of the RSU is the first preset type, if it is detected that the bluetooth service subscription information in the bluetooth status information is not subscribed, it may be determined that the start of the OBU bluetooth device is not required to be controlled, that is, a bluetooth start command is not required to be generated; or, when the type of the RSU is the second preset type, and it is detected that the bluetooth service subscription information in the bluetooth state information is unsubscribed, and it is detected that the bluetooth state variable is greater than any one or more of the preset thresholds, it may be determined that the OBU bluetooth device does not need to be controlled to be started, that is, a bluetooth start command does not need to be generated.
For example, the preset threshold is set to 3. Correspondingly, when the type of the RSU is the second preset type and the bluetooth state variable is detected to be 4, it is determined that the number of times that 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 that the bluetooth device does not need to be controlled to start, that is, a bluetooth start command does not need to be generated.
In this embodiment, the type of the RSU determines the condition that the corresponding bluetooth status information needs to be satisfied, and determines whether a bluetooth start command needs to be generated to control the OBU bluetooth device to start.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE five
Corresponding to the communication method of the OBU bluetooth described in the first and second embodiments, fig. 6 shows a block diagram of a communication device 100 of the OBU bluetooth provided in the embodiment of the present application, which is applied to an OBU that is in communication connection with an RSU. For convenience of explanation, only portions related to the embodiments of the present application are shown.
Referring to fig. 6, the OBU bluetooth communication apparatus 100 includes:
the first bluetooth starting module 101 is configured to start a bluetooth device when detecting that a bluetooth subscription function is started and receiving a bluetooth starting command sent by an RSU;
a first establishing module 102, configured to establish a bluetooth connection relationship between the bluetooth device and a user terminal;
a vehicle information sending module 103, configured to send the vehicle information to the user terminal when receiving the vehicle information sent by the RSU;
and the Bluetooth control module 104 is configured to turn off the Bluetooth device when it is detected that the vehicle road information is completely sent.
In one embodiment, the apparatus further comprises:
and the instruction receiving module is used for sending the Bluetooth state information to the RSU when receiving a Bluetooth state information acquisition instruction sent by the RSU, so that the RSU determines whether to generate a Bluetooth starting command according to the Bluetooth state information.
In one embodiment, the bluetooth status information comprises bluetooth status variables;
the device, still include:
the state acquisition module is used for acquiring the connection state of the Bluetooth equipment;
the first variable updating module is used for updating the Bluetooth state variable to zero when the connection state is detected to be available for Bluetooth connection;
and the second variable updating module is used for adding one to the Bluetooth state variable when the connection state is detected to be that the Bluetooth connection is unavailable.
In one embodiment, the apparatus further comprises:
the second Bluetooth starting module is used for starting the Bluetooth equipment when receiving a Bluetooth starting command;
the second establishing module is used for establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
the device information sending module is used for sending the device information to the user terminal when 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 bidirectional authentication process with the ETC server;
the first state information updating module is used for updating the Bluetooth state information according to the Bluetooth state data when receiving the Bluetooth state data sent by the user terminal; the Bluetooth state data is data generated by the ETC server based on Bluetooth function subscription operation of the user terminal.
In one embodiment, the apparatus further comprises:
and the second state information updating module is used for updating the Bluetooth state information according to the Bluetooth state resetting command when receiving the Bluetooth state resetting command sent by the user terminal.
In one embodiment, the bluetooth status information further includes bluetooth service subscription information;
the device, still include:
the first judgment module is used for judging that the Bluetooth subscription function is started when the Bluetooth service subscription information is subscribed;
and the second judgment module is used for judging that the Bluetooth subscription function is not started when the Bluetooth service subscription information is detected to be unsubscribed.
In the embodiment, the bluetooth device is started when the bluetooth subscription function is detected to be started and a bluetooth starting command sent by the RSU is received, the bluetooth connection relationship between the bluetooth device and the user terminal is established, the vehicle route information is sent to the user terminal when the vehicle route information sent by the RSU is received, the bluetooth device is turned off when the vehicle route information is detected to be sent completely, the bluetooth device for starting the OBU is controlled based on the bluetooth starting command generated by the RSU, the received vehicle route information is forwarded to the user terminal in real time, the bluetooth device is controlled to be turned off in time, 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.
EXAMPLE six
Corresponding to the communication method of the OBU bluetooth described in the third and fourth embodiments, fig. 7 shows a block diagram of a communication device 200 of the OBU bluetooth provided in the embodiment of the present application, which is applied to an RSU, and the RSU is in communication connection with the OBU. For convenience of explanation, only portions related to the embodiments of the present application are shown.
Referring to fig. 7, the OBU bluetooth communication apparatus 200 includes:
the vehicle detection module 201 is configured to send a bluetooth state information acquisition instruction to an OBU of a vehicle when it is detected that the vehicle reaches a preset position, and receive bluetooth state information returned by the OBU;
a generating module 202, configured to generate a bluetooth start command when it is detected that the bluetooth state information and the type of the RSU meet a preset condition;
and the command sending module 203 is used for sending the Bluetooth starting command and the vehicle path information to the OBU.
In one embodiment, the generating module includes:
the first detection unit is used for detecting whether the Bluetooth state information meets a first preset condition or not when the RSU type is detected to be a first preset type; the Bluetooth state information comprises Bluetooth service subscription information;
and the first generating unit is used for judging that the Bluetooth state information meets the first preset condition and generating the Bluetooth starting command when the Bluetooth service subscription information is detected to be subscribed.
In one embodiment, the generating module includes:
the second detection unit is used for detecting whether the Bluetooth state information meets a second preset condition or not when the RSU type is detected to be a second preset type; the Bluetooth state information comprises Bluetooth service subscription information and Bluetooth state variables;
and the second generation unit is used for judging that the Bluetooth state information meets the second preset condition and generating the Bluetooth starting command when the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to a preset threshold value.
In one embodiment, the apparatus further comprises:
and the data detection module is used for sending the vehicle path information to the OBU when the Bluetooth state information and the type of the RSU are detected not to meet the preset conditions.
Whether the Bluetooth starting command is generated or not is determined according to the Bluetooth state information and the type of the RSU, the OBU is correspondingly controlled to start the Bluetooth device, the OBU Bluetooth device can be started only when needed, forwarding of the vehicle road information is achieved, power consumption of the Bluetooth device is reduced, and using time of the device is prolonged, and communication efficiency is improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
EXAMPLE seven
Fig. 8 is a schematic structural diagram of the OBU provided in this embodiment. As shown in fig. 8, the OBU8 of this embodiment includes: at least one processor 80 (only one is shown in fig. 8), a memory 81, a computer program 82 stored in the memory 81 and operable on the at least one processor 80, a radio frequency module 83, and a bluetooth module 84, wherein the processor 80 implements the steps of the first and second OBU bluetooth communication method embodiments when executing the computer program 82.
Fig. 9 is a schematic structural diagram of the RSU provided in this embodiment. As shown in fig. 9, the RSU9 of this embodiment includes: at least one processor 90 (only one is shown in fig. 9), a memory 91, a computer program 92 stored in the memory 91 and operable on the at least one processor 90, and a radio frequency module 93, wherein the processor 90 implements the steps in the third and fourth embodiments of the OBU bluetooth communication method when executing the computer program 92.
The Processor 80/90 may be a Central Processing Unit (CPU), the Processor 80/90 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81/91 may be, in some embodiments, an internal storage unit of the OBU8/RSU9, such as a hard disk or memory of the OBU8/RSU 9. 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 Media Card (SMC), a Secure Digital Card (SD), a Flash Card (Flash Card), etc. provided on the OBU8/RSU 9. Further, the memory 81/91 may also include both internal and external memory units of the OBU8/RSU 9. The memory 81/91 is used for storing an operating system, application programs, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory 81/91 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (13)

1. The OBU Bluetooth communication method is applied to an OBU, and the OBU is in communication connection with an RSU;
the OBU Bluetooth communication method comprises the following steps:
when the Bluetooth subscription function is detected to be started and a Bluetooth starting command sent by the RSU is received, starting the Bluetooth equipment;
establishing a Bluetooth connection relationship between the Bluetooth equipment and a user terminal;
when receiving the vehicle path information sent by the RSU, sending the vehicle path information to the user terminal;
and when the completion of the transmission of the vehicle road information is detected, the Bluetooth equipment is closed.
2. The OBU bluetooth communication method according to claim 1, wherein before the bluetooth device is activated when the bluetooth subscription function is detected to be turned on and a bluetooth activation command sent by the RSU is received, the method comprises:
and when receiving a Bluetooth state information acquisition instruction sent by the RSU, sending the Bluetooth state information to the RSU so that the RSU determines whether to generate a Bluetooth starting command according to the Bluetooth state information.
3. The OBU bluetooth communication method according to claim 1, wherein the bluetooth status information includes a bluetooth status variable;
when detecting that the vehicle route information is sent and is accomplished, after closing the bluetooth device, still include:
acquiring the connection state of the Bluetooth equipment;
when the connection state is detected to be available for Bluetooth connection, updating the Bluetooth state variable to zero;
and when the connection state is detected to be that the Bluetooth connection is unavailable, adding one to the Bluetooth state variable.
4. The method for communicating via bluetooth of an OBU according to claim 1, further comprising:
starting the Bluetooth equipment when a Bluetooth starting command is received;
establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
when an equipment information acquisition instruction sent by the user terminal is received, equipment information is sent to the user terminal, so that the user terminal sends the equipment information to an ETC server to complete a bidirectional authentication process with the ETC server;
when receiving Bluetooth state data sent by the user terminal, updating the Bluetooth state information according to the Bluetooth state data; the Bluetooth state data is data generated by the ETC server based on Bluetooth function subscription operation of the user terminal.
5. The OBU bluetooth communication method according to claim 4, wherein after the establishing the bluetooth connection relationship between the bluetooth device and the user terminal, the method further comprises:
and when a Bluetooth state reset command sent by the user terminal is received, updating the Bluetooth state information according to the Bluetooth state reset command.
6. The OBU Bluetooth communication method of any one of claims 1 to 5, wherein the Bluetooth status information further comprises Bluetooth service subscription information;
the method further comprises the following steps:
when the Bluetooth service subscription information is detected to be subscribed, judging that the Bluetooth subscription function is started;
and when detecting that the Bluetooth service subscription information is not subscribed, judging that the Bluetooth subscription function is not started.
7. The OBU Bluetooth communication method is applied to an RSU, and the RSU is in communication connection with the OBU;
the OBU Bluetooth communication method comprises the following steps:
when a vehicle is detected to reach a preset position, sending a Bluetooth state information acquisition instruction to an OBU of the vehicle, and receiving Bluetooth state information returned by the OBU;
generating a Bluetooth starting command when detecting that the Bluetooth state information and the type of the RSU meet preset conditions;
and sending the Bluetooth starting command and the vehicle path information to the OBU.
8. The OBU bluetooth communication method according to claim 7, wherein the generating the bluetooth activation command upon detecting that the bluetooth status information and the type of the RSU satisfy a preset condition comprises:
when the RSU type is detected to be a first preset type, detecting whether the Bluetooth state information meets a first preset condition; the Bluetooth state information comprises Bluetooth service subscription information;
and when the Bluetooth service subscription information is subscribed, judging that the Bluetooth state information meets the first preset condition, and generating the Bluetooth starting command.
9. The OBU bluetooth communication method according to claim 7, wherein the generating of the bluetooth activation command upon detecting that the bluetooth status information and the type of the RSU satisfy a preset condition further comprises:
when the RSU type is detected to be a second preset type, detecting whether the Bluetooth state information meets a second preset condition; the Bluetooth state information comprises Bluetooth service subscription information and Bluetooth state variables;
and when the Bluetooth service subscription information is subscribed and the Bluetooth state variable is less than or equal to a preset threshold value, judging that the Bluetooth state information meets the second preset condition, and generating the Bluetooth starting command.
10. The OBU Bluetooth communication device is applied to an OBU, the OBU is in communication connection with an RSU,
the communication device of OBU bluetooth includes:
the first Bluetooth starting module is used for starting the Bluetooth equipment when detecting that the Bluetooth subscription function is started and receiving a Bluetooth starting command sent by the RSU;
the first establishing module is used for establishing a Bluetooth connection relationship between the Bluetooth equipment and the user terminal;
the vehicle path information sending module is used for sending the vehicle path information to the user terminal when receiving the vehicle path information sent by the RSU;
and the Bluetooth control module is used for closing the Bluetooth equipment when detecting that the vehicle road information is sent completely.
11. The OBU Bluetooth communication device is applied to an RSU, and the RSU is in communication connection with the OBU;
the communication device of OBU bluetooth includes:
the vehicle detection module is used for sending a Bluetooth state information acquisition instruction to an OBU of the vehicle and receiving Bluetooth state information returned by the OBU when the vehicle is detected to reach a preset position;
the generating module is used for generating a Bluetooth starting command when detecting that the Bluetooth state information and the type of the RSU meet preset conditions;
and the command sending module is used for sending the Bluetooth starting command and the vehicle path information to the OBU.
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 the processor implements the method according to any of claims 1 to 6 when executing the computer program.
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, wherein the processor implements the method of any of claims 7 to 9 when executing the computer program.
CN202111234532.8A 2021-10-22 2021-10-22 OBU Bluetooth communication method and device, OBU and RSU Pending CN114071419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111234532.8A CN114071419A (en) 2021-10-22 2021-10-22 OBU Bluetooth communication method and device, OBU and RSU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111234532.8A CN114071419A (en) 2021-10-22 2021-10-22 OBU Bluetooth communication method and device, OBU and RSU

Publications (1)

Publication Number Publication Date
CN114071419A true CN114071419A (en) 2022-02-18

Family

ID=80235265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111234532.8A Pending CN114071419A (en) 2021-10-22 2021-10-22 OBU Bluetooth communication method and device, OBU and RSU

Country Status (1)

Country Link
CN (1) CN114071419A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768768A (en) * 2011-05-06 2012-11-07 深圳市金溢科技有限公司 Intelligent traffic service system
CN104574538A (en) * 2014-11-28 2015-04-29 深圳市金溢科技股份有限公司 Onboard unit and management system, Bluetooth starting method and charging method thereof
CN105160717A (en) * 2015-08-21 2015-12-16 深圳市金溢科技股份有限公司 Traffic cloud service method, system, subsystem, vehicle-mounted unit and network terminal
CN109714715A (en) * 2018-12-14 2019-05-03 北京握奇智能科技有限公司 A kind of method and system by mobile phone terminal real-time display OBU consumption information
CN110071745A (en) * 2019-04-28 2019-07-30 深圳成谷科技有限公司 Bluetooth system, control method, storage medium and the OBU of OBU
CN110517361A (en) * 2019-08-21 2019-11-29 江苏量动信息科技有限公司 A kind of ETC system and vehicle carried electronic label are used interchangeably method
WO2020124920A1 (en) * 2018-12-20 2020-06-25 深圳市冠旭电子股份有限公司 Voice interaction method and bluetooth device
CN112040063A (en) * 2020-09-08 2020-12-04 广州市埃特斯通讯设备有限公司 Bluetooth data information transmission method between mobile phone and OBU

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768768A (en) * 2011-05-06 2012-11-07 深圳市金溢科技有限公司 Intelligent traffic service system
CN104574538A (en) * 2014-11-28 2015-04-29 深圳市金溢科技股份有限公司 Onboard unit and management system, Bluetooth starting method and charging method thereof
CN105160717A (en) * 2015-08-21 2015-12-16 深圳市金溢科技股份有限公司 Traffic cloud service method, system, subsystem, vehicle-mounted unit and network terminal
CN109714715A (en) * 2018-12-14 2019-05-03 北京握奇智能科技有限公司 A kind of method and system by mobile phone terminal real-time display OBU consumption information
WO2020124920A1 (en) * 2018-12-20 2020-06-25 深圳市冠旭电子股份有限公司 Voice interaction method and bluetooth device
CN110071745A (en) * 2019-04-28 2019-07-30 深圳成谷科技有限公司 Bluetooth system, control method, storage medium and the OBU of OBU
CN110517361A (en) * 2019-08-21 2019-11-29 江苏量动信息科技有限公司 A kind of ETC system and vehicle carried electronic label are used interchangeably method
CN112040063A (en) * 2020-09-08 2020-12-04 广州市埃特斯通讯设备有限公司 Bluetooth data information transmission method between mobile phone and OBU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈刚等: "基于移动互联网的高速公路ETC客服发行系统浅析", 中国交通信息化, vol. 251, no. 12, 31 December 2020 (2020-12-31) *

Similar Documents

Publication Publication Date Title
CN204926181U (en) Unmanned on duty electric automobile leases system
CN110888662A (en) Vehicle remote silent upgrading method and device, vehicle and storage medium
CN110060043B (en) Parking payment method and system based on block chain and related equipment
CN111581994B (en) Near field communication NFC communication method and device and electronic equipment
CN106384437A (en) Management system for charging socket of electric vehicle
CN107798737A (en) Vehicle toll monitoring method, device and storage medium
CN112026576B (en) ETC-based automatic vehicle charging fee deduction method and charging equipment
US20220340038A1 (en) Charging management methods and systems for electric vehicle charging stations
CN110211247B (en) Vehicle management method, device, equipment and computer readable storage medium
US20190039462A1 (en) Vehicle charging system, parking lot system, and vehicle charging method
CN108366354A (en) A kind of intelligent sphere vehicle based terminal system
KR20140039847A (en) Toll processing system connected hi-pass terminal and smart phone and toll processing method
CN106487897B (en) Automobile remote communication control method and system
CN108428361A (en) Parking lot charging parking position querying method, system and storage medium
CN110015077A (en) The charging method and device of electric car, storage medium and electric car
CN114071419A (en) OBU Bluetooth communication method and device, OBU and RSU
CN104680593A (en) Electronic fee collection device, display device, fee collection method and display method
CN204258860U (en) For realizing the device of the long-range speed limit of heavy-duty car
CN110103761B (en) Charging fault tracing method and system for new energy vehicle, server and storage medium
CN206938474U (en) A kind of real time terminal charge control system paid based on networking
CN105160579A (en) Internet-of-things-based automobile insurance billing method and system
KR101074698B1 (en) On board equipment including black box linked with common carrier server and common carrier system including the same
KR20080081795A (en) Rechargeable hi-pass terminal
KR20190060323A (en) Hi-Pass System and Method for operating thereof
CN108564666A (en) Parking Fee paying method, payment of fees device, system and storage medium

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