CN113689716A - Traffic signal transmission method and system based on BLE - Google Patents

Traffic signal transmission method and system based on BLE Download PDF

Info

Publication number
CN113689716A
CN113689716A CN202110851845.1A CN202110851845A CN113689716A CN 113689716 A CN113689716 A CN 113689716A CN 202110851845 A CN202110851845 A CN 202110851845A CN 113689716 A CN113689716 A CN 113689716A
Authority
CN
China
Prior art keywords
traffic signal
equipment
traffic
countdown
intersection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110851845.1A
Other languages
Chinese (zh)
Other versions
CN113689716B (en
Inventor
李志凌
胡胜发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ankai Microelectronics Co ltd
Original Assignee
Guangzhou Ankai Microelectronics 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 Guangzhou Ankai Microelectronics Co ltd filed Critical Guangzhou Ankai Microelectronics Co ltd
Priority to CN202110851845.1A priority Critical patent/CN113689716B/en
Publication of CN113689716A publication Critical patent/CN113689716A/en
Application granted granted Critical
Publication of CN113689716B publication Critical patent/CN113689716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/095Traffic lights
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/081Plural intersections under common control
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • 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
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a traffic signal transmission method and system based on BLE, wherein the method comprises the following steps: setting first equipment at an intersection of a traffic signal lamp, wherein one first equipment corresponds to one lane direction of the current intersection; the first equipment determines the signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; the first equipment calculates and obtains the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits the traffic signal, and transmits the traffic signal of the current intersection according to the transmitting power; the second device receives and displays the traffic signal transmitted by the first device, and the second device is arranged in a vehicle. The technical scheme of the invention realizes the accurate coverage of the traffic signals between the intersections of the traffic signal lamps and improves the transmission efficiency of the traffic signals.

Description

Traffic signal transmission method and system based on BLE
Technical Field
The invention relates to the technical field of signal transmission, in particular to a traffic signal transmission method and system based on BLE.
Background
The traffic signal indicator lamp can effectively control traffic, and has obvious effects of dredging traffic flow, improving road traffic capacity and reducing traffic accidents. At present, traffic light systems used at various crossroads mainly indicate states of passing and no-passing through by turning on and off of the traffic lights, namely no-passing through in red light, passing through allowed in green light and passing through under the condition of looking at the yellow light. When a following car is behind a large car, the traffic light is shielded, so that the traffic light is easily turned into the red light when the following car passes through, traffic violation behaviors occur, or when the traffic light signals cannot be identified due to rain and fog days with low visibility, traffic violation and even traffic accidents can also be caused. Aiming at the defects of the current traffic signal indicating lamp, the vehicle-mounted traffic signal indicating system is a thorough solution, and can enable a driver to know the traffic lamp condition of a front intersection in a vehicle, make responses such as early deceleration, timely passing and the like, and avoid traffic violation or traffic accidents.
The main solution and the existing defects of the prior art are as follows:
1. the conversion from light intensity to frequency is completed by using a special color sensor chip, and whether the current signal is a red light or a green light is automatically identified by identifying the color frequency of the traffic light; in the scheme, once the barrier blocks the traffic light or the rainy and foggy weather causes insufficient light intensity of the traffic light, the state of the traffic light cannot be automatically identified.
2. Carrying out signal coverage through a plurality of iBeacon base stations, sending traffic light signal states to the iBeacon base stations in a wireless mode, and receiving traffic light signals sent by the iBeacon base stations by a mobile phone end through app software in a Bluetooth mode; in this scheme, the app at the mobile phone end may receive coverage signals of a plurality of base stations to cause misjudgment of traffic light signals.
3. The traffic signal lamp control system adopts a Bluetooth main controller to transmit signal lamp information and position information to a millisecond part for counting down and the state of a traffic signal lamp; wherein 6 bits of the another byte are used to represent the millisecond part of the countdown, and 2 bits of the another byte are used to represent the state of the traffic light.
8. The BLE-based traffic signal transmission method according to claim 7, wherein after one transition of a second part of a countdown of the traffic signal lamp until the next transition, the first device calculates a millisecond part of the countdown according to a preset interval duration and transmits the calculated traffic signal to the second device.
9. The BLE-based traffic signal transmission method according to any one of claims 1 to 8, wherein the first device and the second device both transmit the traffic signal using a Bluetooth LE Coded PHY, and the traffic signal is specifically an advertisement data packet encoded using FEC packets with an expansion factor of 8.
10. A traffic signal transmission system based on BLE is characterized by comprising a traffic signal transmitting module and a traffic signal receiving module;
the traffic signal transmitting module is used for determining the traffic signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; calculating to obtain the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits signals, and transmitting the traffic signals of the current traffic signal lamp intersection according to the transmitting power, wherein one traffic signal transmitting module corresponds to one lane direction of the current intersection;
the traffic signal receiving module is used for receiving and displaying the traffic signal transmitted by the first equipment, and the traffic signal receiving module is arranged in a vehicle.
The intelligent terminal receives the information broadcasted by the Bluetooth master-slave controller and filters interference information by combining with the GPS positioning position information of the intelligent terminal, so that traffic light information is accurately prompted to a user; in the scheme, signal sources need to be arranged along a path, and a receiving end needs to be provided with a GPS module; therefore, the scheme has the defects of complex layout, high cost and large power consumption; meanwhile, when the vehicle drives away from the intersection, the vehicle still receives the traffic light signal to influence the driving.
Disclosure of Invention
The traffic signal transmission method and system based on BLE provided by the invention realize accurate coverage of traffic signals between intersections of traffic signal lamps and improve the transmission efficiency of the traffic signals.
An embodiment of the present invention provides a traffic signal transmission method based on BLE, including the following steps:
setting first equipment at an intersection of a traffic signal lamp, wherein one first equipment corresponds to one lane direction of the current intersection;
the first equipment determines the traffic signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections;
the first equipment calculates and obtains the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits the traffic signal, and transmits the traffic signal of the current intersection according to the transmitting power;
the second device receives and displays the traffic signal transmitted by the first device, and the second device is arranged in a vehicle.
Further, the first device determines the signal coverage of the current intersection according to the distance between the current intersection and surrounding intersections; the first device calculates the transmission power of the current intersection according to the signal coverage and a path loss formula when the first device transmits the signal, and specifically includes:
the first equipment acquires the distance between the current intersection and the intersection closest to the current intersection;
when the obtained distance is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, dividing the distance by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
when the obtained distance is larger than a preset second threshold, dividing the second threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
when the obtained distance is smaller than a preset first threshold, dividing the first threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection.
And further numbering the first equipment according to the intersection where the first equipment is located and the lane direction corresponding to the first equipment.
Further, the receiving and displaying, by the second device, the traffic signal transmitted by the first device specifically includes:
the second equipment acquires the lane number of the vehicle and the crossing to be driven in, and determines the number of the first equipment to be connected to the vehicle according to the lane number and the crossing to be driven in;
the second equipment receives the traffic signal with the intensity greater than or equal to the preset intensity, and analyzes the first N bytes of the traffic signal to obtain the number of the first equipment for transmitting the traffic signal; the N is a preset byte number used for representing the serial number of the first device, and is a positive integer;
and when the number of the first device of the traffic signal obtained by analysis is consistent with the number of the first device which needs to be accessed by the vehicle, the second device binds the first device and analyzes the rest bytes of the traffic signal to obtain the state and the countdown of the traffic signal lamp of the current lane and other lanes in the same direction as the current lane, and the state and the countdown are displayed on the second device.
Furthermore, when the first device transmits the traffic signal, the first device transmits the state and countdown of the straight-going light at the preset first frequency point, transmits the state and countdown of the left-turn light at the preset second frequency point, transmits the state and countdown of the right-turn light at the preset third frequency point, and transmits the state and countdown of the turn-down light at the preset fourth frequency point.
Further, the first device transmits a traffic signal including more than N +2 bytes, and every 2 adjacent bytes after the first N bytes are used for indicating the state and countdown of a traffic signal lamp.
Further, one byte of the 2 adjacent bytes is used for representing the second part of the countdown, and the other byte is used for representing the millisecond part of the countdown and the state of the traffic light; wherein 6 bits of the another byte are used to represent the millisecond part of the countdown, and 2 bits of the another byte are used to represent the state of the traffic light.
Further, after the second part of the traffic signal lamp countdown jumps once and before the next jump, the first device calculates the millisecond part of the countdown according to the preset interval duration and sends the calculated traffic signal to the second device.
Further, the first device and the second device both use a bluetooth LE Coded PHY to transmit the traffic signal, where the traffic signal is specifically an advertisement data packet encoded by using an FEC packet with an expansion factor of 8.
On the basis of the above method item embodiments of the present invention, system item embodiments are correspondingly provided;
another embodiment of the present invention provides a traffic signal transmission system based on BLE, including a traffic signal transmitting module and a traffic signal receiving module;
the traffic signal transmitting module is used for determining the traffic signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; calculating to obtain the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits signals, and transmitting the traffic signals of the current traffic signal lamp intersection according to the transmitting power, wherein one traffic signal transmitting module corresponds to one lane direction of the current intersection;
the traffic signal receiving module is used for receiving and displaying the traffic signal transmitted by the first equipment, and the traffic signal receiving module is arranged in a vehicle.
The above embodiments of the system according to the present invention correspond to the embodiments of the method according to the present invention, and can implement the BLE-based traffic signal transmission method according to any one of the embodiments of the method according to the present invention.
The embodiment of the invention has the following beneficial effects:
the invention provides a traffic signal transmission method and a system based on BLE, the method sets first equipment for transmitting traffic signals at a current traffic signal lamp crossing, corresponds one first equipment to one lane direction of the traffic signal lamp crossing, determines the signal coverage range of the current crossing according to the distance between the current crossing and surrounding crossings on the basis of the arrangement mode of the first equipment, calculates the transmitting power of the current crossing according to the signal coverage range and a path loss formula when the first equipment transmits the traffic signals, the signal coverage range of the first equipment calculated by the mode can accurately determine the signal coverage range between the crossings, avoids signal overlapping and crossing, further reduces unnecessary power loss, and is simultaneously beneficial to quickly and accurately receiving the traffic signals of the next crossing before a second equipment enters the next crossing, interference of error signals is reduced;
furthermore, the first equipment is numbered, and the second equipment is combined with the positioning information of the second equipment, so that the second equipment can be rapidly and accurately bound with the first equipment, and the accuracy of traffic signal transmission is greatly improved.
Drawings
Figure 1 is a schematic flow chart of a BLE-based traffic signal transmission method according to an embodiment of the present invention;
figure 2 is a schematic structural diagram of a BLE-based traffic signal transmission system according to an embodiment of the present invention;
FIG. 3 is a layout diagram of a first device at an intersection according to one embodiment of the present invention;
FIG. 4 is a graph illustrating the relationship between path loss and transmission distance for traffic signals according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of two adjacent bytes of an advertisement packet transmitted by a first device according to an embodiment of the present invention;
figure 6 is a schematic flow chart of a BLE-based traffic signal transmission method according to an embodiment of the present invention;
figure 7 is a schematic flow chart of a BLE-based traffic signal transmission method according to an embodiment of the present invention;
fig. 8 is a block diagram of a first device and a second device provided in an embodiment of the present invention;
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a traffic signal transmission method based on BLE according to an embodiment of the present invention includes:
step S11: and arranging first equipment at the intersections of the traffic lights, wherein one first equipment corresponds to one lane direction of the current intersection.
Preferably, one of the embodiments of step S11 is:
arranging first equipment at an intersection with a traffic signal lamp, wherein one first equipment is correspondingly arranged in one lane direction; furthermore, a plurality of lanes in the same direction are correspondingly provided with a first device;
numbering the first equipment according to the intersection where the first equipment is located and the lane direction corresponding to the first equipment;
the first equipment is arranged on the right side of a stop line of the rightmost lane in a plurality of lanes in the same direction at the intersection of the traffic signal lamps; or the first equipment is arranged at the right side of a stop line of a single lane of the traffic signal lamp intersection;
as shown in fig. 3, the dashed arrows indicate that the traffic lights (i.e., traffic lights) and the corresponding first devices are connected via a bus, which may be a 485 bus; the first device and the traffic signal lamp can be connected in a Bluetooth LE one-to-one link mode; therefore, the first device may acquire information of a corresponding traffic signal lamp; meanwhile, the connection mode of the traffic signal lamp (i.e. the traffic light) and the first device can be adjusted according to the specific conditions of the intersections, as an example, in some intersections, the traffic signals displayed by the traffic light 1 and the traffic light 3 in fig. 3 are actually the same, so as another layout scheme, the traffic light 3 and the information source device 1 can be connected through a bus, the traffic light 1 and the information source device 3 are connected, the traffic light 2 and the information source device 4 are connected, and the traffic light 4 and the information source device 2 are connected; the source devices in fig. 3 correspond to the first devices of the present application, and the traffic lights in fig. 3 correspond to the traffic lights of the present application. When the straight-going light and the left-turn/right-turn light on the same lane are divided into 2 traffic light posts, the 2 traffic light posts are all connected into the same first device through the bus.
Preferably, the power module of the first device may be a solar panel, a battery, or the first device is powered by a bus of a traffic light control system.
Step S12: and the first equipment determines the signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections.
Step S13: and the first equipment calculates the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits the traffic signal, and transmits the traffic signal of the current intersection according to the transmitting power.
As shown in fig. 7, the first device determines the transmission power of the first device according to the actual situation of the current intersection and the path loss formula; the first equipment acquires traffic signals of a traffic light control system connected with the first equipment, encrypts the traffic signals to form an advertising data packet and transmits the advertising data packet in a Bluetooth LE Coded PHY mode.
Preferably, one of the embodiments of the steps S12-S13 is:
the first equipment determines the signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; the first device calculates the transmission power of the current intersection according to the signal coverage and a path loss formula when the first device transmits the signal, and specifically includes:
the first equipment acquires the distance between the current intersection and the intersection closest to the current intersection;
when the distance is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, dividing the distance by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
preferably, when the distance is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, the distance is divided by 2 and then a preset third threshold is subtracted to obtain a signal coverage range of the first device, the signal coverage range is input to a path loss formula when the first device transmits a signal, and the transmitting power of the current intersection is calculated; the present embodiment further ensures that the signal coverage between the two nearest intersections does not overlap by subtracting the third threshold.
When the distance is greater than a preset second threshold, dividing the second threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
when the distance is smaller than a preset first threshold, dividing the first threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection.
The embodiment limits the maximum range and the minimum range covered by the first device when the first device transmits the traffic signal.
The Path loss (Path loss) is the loss generated by the propagation of radio waves in space, and for the operating frequency band where bluetooth is located, the relationship between the Path loss and the distance is as follows: the path loss is 25lg (d) +40, d represents the distance from the transmitter (first device) to the receiver (second device), and the path loss is shown in fig. 4 as an example, and the relationship between the path loss and the distance is shown in the following table:
path loss (pathloss) Distance (d)
50dBm 2.5m
60dBm 6.3m
70dBm 16m
80dBm 40m
90dBm 100m
100dBm 250m
110dBm 630m
Bluetooth requires that devices must be able to achieve a minimum receiver sensitivity of-70 dBm to-82 dBm, depending on the PHY used. However, a practical bluetooth receiver can generally achieve higher sensitivity, for example, the sensitivity of the second device is-103 dBm when s is 8coding PHY, and the sensitivity is reduced by considering environmental factors and blocking of the vehicle body, assuming that the sensitivity of the second device is-90 dBm:
when the coverage range of the signal required by the intersection is 40m, the path loss of 80dBm needs to be allowed, and the transmitting power of the first equipment is just-10 dBm;
when the coverage range of the signal required by the intersection is 100m, the path loss of 90dBm needs to be allowed, and the transmitting power of the first equipment is only 0 dBm;
when the required signal coverage at the intersection is 250m, then a path loss of 100dBm needs to be tolerated, and then the transmit power of the first device needs to be increased to 10 dBm.
When the distance between two adjacent intersections is only 500m, in order to avoid signal superposition, each intersection covers 250m, that is, the transmitting power of the first equipment is adjusted to be 10dBm, the intersection with the short distance cannot appear under normal conditions, the transmitting power of the first equipment is generally set to be 0-10 dBm, and a driver can obtain a traffic signal sent by the first equipment at a distance of 100m from the intersection.
In this embodiment, the maximum transmission power of the first device is increased to +20dBm, and the transmission effective distance is 4 times of that of the bluetooth standard 4.2, and is as far as 300 meters.
Preferably, the first device transmits a traffic signal including more than N +2 bytes, the first N bytes in the traffic signal are preset to represent the number of the first device, and every 2 adjacent bytes after the first N bytes are used to represent the state and countdown of a traffic signal lamp;
as shown in fig. 5, every 2 adjacent bytes are used to indicate the status and countdown of a traffic light; the state of the traffic signal lamp refers to the color state of the traffic signal lamp; when the first device needs to transmit the state and countdown information of a plurality of traffic lights at the same time, 2 bytes are added in the advertisement data packet corresponding to each addition of one traffic light. As an example, each 2 adjacent bytes is a group of bytes, a first group of bytes after the first N bytes is used for indicating the state and the countdown of a straight running light, a second group of bytes is used for indicating the state and the countdown of a left-turn light, a third group of bytes is used for indicating the state and the countdown of a right-turn light, and a fourth group of bytes is used for indicating the state and the countdown of a head light.
One byte in the 2 adjacent bytes is used for representing the second part of the countdown, and the other byte is used for representing the millisecond part of the countdown and the state of the traffic light; wherein 6 bits of the another byte are used to represent the millisecond part of the countdown, and 2 bits of the another byte are used to represent the state of the traffic light. Illustratively, the first byte in the advertisement data packet is used for representing a countdown integer part, which corresponds to the countdown of seconds on the traffic light signal bar and can represent 255 seconds at most, and if the countdown on the signal bar is displayed as 01:13, the countdown integer part is 73; the second byte, 6 bits lower, in the advertisement data packet is used to indicate the countdown decimal part (i.e., the millisecond part of the countdown), the value range is 0 to 49, the corresponding timing precision is 20ms, and the second byte, 2 bits higher, is used to indicate the status of the traffic light, i.e., the traffic light is a red light, a green light or a yellow light, such as:
00 is free of
01 Red light
10 Green lamp
11 Yellow light
And after the second part of the traffic signal lamp countdown jumps once and before the next jump, the first equipment calculates the millisecond part of the countdown according to the preset interval duration and sends the calculated traffic signal to the second equipment. If the first device receives the countdown jump of the traffic signal lamp for the first time, for example, the time is jumped from 59 seconds to 58 seconds, that is, an advertisement data packet is sent once, the countdown millisecond part is 0, then the advertisement data packet is sent once every preset interval duration (between 20ms and 1000 ms), when the preset interval duration is 100ms, the advertisement packet is sent once after 100ms, the countdown millisecond part is 5, and the millisecond part for sending the advertisement data packet after 100ms is 10 until next jump, the countdown millisecond part is cleared; the millisecond part is added, so that the timing precision of the receiving terminal equipment is higher, the traffic signal received by the second equipment is basically synchronous with the display of the traffic light, and when the preset interval duration is 100ms, namely 10 times of advertisement data packets are sent per second, the timing precision can reach 0.1 second.
Preferably, when the first device transmits the advertisement data packet, the first device transmits the state and countdown of the direct light at a preset first frequency point, transmits the state and countdown of the left turn light at a preset second frequency point, transmits the state and countdown of the right turn light at a preset third frequency point, and transmits the state and countdown of the turn light at a preset fourth frequency point; and the advertisement data packet of each frequency point is 2 bytes.
In order to prevent malicious impersonation as a first device from interfering or attacking a second device, the advertisement data packet needs to be encrypted, the first device encrypts the advertisement data packet by adopting a preset Hash encryption algorithm and then broadcasts the encrypted advertisement data packet, and the second device decrypts the encrypted advertisement data packet by adopting the same algorithm. And the first equipment and the second equipment both adopt a Bluetooth LECoded PHY to transmit the traffic signal, the traffic signal is specifically an advertisement data packet adopting FEC block coding with an expansion factor of 8, and the transmission rate is 125 kb/s.
Step S14: the second device receives and displays the traffic signal transmitted by the first device, and the second device is arranged in a vehicle.
Preferably, the second device may simultaneously display the states and the countdown of a plurality of traffic lights emitted by the first device in the same lane direction, or may display the state and the countdown of one traffic light corresponding to the current lane by switching or dividing the screen.
Preferably, the power module of the second device may be a battery or a vehicle-mounted USB power supply; the second equipment comprises a prompting device, the prompting device is used for feeding back analyzed signal lamp state and countdown information to a driver, and the prompting device comprises a voice broadcasting prompt and a 7-segment nixie tube display prompt.
Preferably, one of the embodiments of step S14 is:
the second equipment acquires the lane number of the vehicle and the crossing to be driven in, and determines the number of the first equipment to be connected to the vehicle according to the lane number and the crossing to be driven in;
the second equipment receives the traffic signal with the intensity greater than or equal to the preset intensity, and analyzes the first N bytes of the traffic signal to obtain the number of the first equipment for transmitting the traffic signal; the N is a preset byte number used for representing the serial number of the first device, and is a positive integer;
when the number of the first device of the traffic signal obtained by analysis is consistent with the number of the first device which needs to be accessed by the vehicle, the second device accesses the first device and analyzes the rest bytes of the traffic signal to obtain the state and the countdown of the traffic signal lamp of the current lane and other lanes in the same direction as the current lane, and the state and the countdown are displayed on the second device;
when the second device detects that the vehicle passes through the current intersection, the second device enters a dormant state or the second device is unbound.
Preferably, one of the embodiments of step S14 is:
the second equipment selects first equipment corresponding to the traffic signal with the maximum average signal intensity in a plurality of traffic signals received within a preset first time period to bind, and is arranged in a vehicle;
the second equipment analyzes the traffic signal transmitted by the first equipment to obtain the state and the countdown of the traffic signal lamp of the current lane and other lanes in the same direction as the current lane, and displays the state and the countdown on the second equipment;
when the signal intensity of the traffic signal received by the second equipment is gradually reduced within a preset second time, the second equipment enters a dormant state;
and when the intensity of the traffic signal received by the second equipment is lower than a preset threshold value, the second equipment is unbound with the first equipment.
As shown in fig. 3 and 6, in the process that the vehicle a drives into the intersection, the vehicle-mounted second device may receive advertisement packets of 4 information source devices, since the vehicle-mounted second device is closest to the information source device 1, the RSSI value of the advertisement data packet received by the information source device 1 is the largest, in order to prevent misjudgment, the device address with the largest average RSSI value of the advertisement data packets received within a certain period of time is taken and bound as the target information source device (i.e., the first device) of the vehicle a, the period of time is called as the binding time, and the preset binding time is 1 second. After the binding stage, the prompting device of the second equipment starts to work, the state of the signal lamp is displayed, the countdown is carried out, and the advertisement data packets sent by other information source equipment are filtered. As the vehicle a approaches the source device 1 more and more, the RSSI of the advertisement data packet received by the second device becomes stronger and stronger, and thus the vehicle a is determined to enter the intersection and prompts the second device to continuously work; when the vehicle leaves the intersection, the RSSI of the advertisement data packet received by the second equipment on the address of the binding equipment is weaker and weaker, so that the vehicle is judged to leave the intersection, at the moment, a driver does not need to care about the traffic signal passing the intersection, and the second equipment enters a dormant state to save power consumption; and when the RSSI of the advertisement packet received by the second equipment on the binding equipment address is weaker or even the advertisement packet cannot be received, the second equipment can be unbound with the first equipment to prepare for binding of the next intersection. The source device in fig. 3 and fig. 6 corresponds to the first device of the present application.
As shown in fig. 8, the first device illustratively includes a power module, a master control module, a BLE transmitting module, and an encryption module, and the power module, the BLE transmitting module, and the encryption module are all connected to the master control module; the first equipment is connected with a traffic light control system through a bus, and acquires information of traffic signal lights at the current intersection from the traffic light control system.
The second device comprises a power module, a master control module, a BLE receiving module, a decryption module, a prompt module and a calculation module, wherein the power module, the BLE receiving module, the decryption module, the prompt module and the calculation module are all connected with the master control module; the source device and the receiving terminal device in fig. 8 correspond to the first device and the second device of the present application, respectively.
The embodiment of the invention sets the first equipment for transmitting the traffic signal at the current traffic signal light intersection, and makes one first equipment correspond to one lane direction of the traffic signal light intersection, determines the signal coverage range of the current intersection according to the distance between the current intersection and the surrounding intersections on the basis of the arrangement mode of the first equipment, calculates the transmitting power of the current intersection according to the signal coverage range and the path loss formula when the first equipment transmits the traffic signal, can accurately determine the signal coverage range between the intersections by the signal coverage range of the first equipment calculated by the mode, avoids signal overlapping and crossing, further reduces unnecessary power loss, and is simultaneously beneficial to quickly and accurately receiving the traffic signal of the next intersection before the second equipment enters the next intersection, interference of error signals is reduced;
furthermore, the embodiment of the invention can rapidly and accurately help the second equipment to bind the first equipment by numbering the first equipment and combining the positioning information of the second equipment, thereby greatly improving the accuracy of traffic signal transmission.
On the basis of the embodiment of the invention, the invention correspondingly provides an embodiment of a system item.
As shown in fig. 2, another embodiment of the present invention provides a BLE-based traffic signal transmission system, including a traffic signal transmitting module and a traffic signal receiving module;
the traffic signal transmitting module is used for determining the signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; calculating to obtain the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits signals, and transmitting the traffic signals of the current traffic signal lamp intersection according to the transmitting power, wherein one traffic signal transmitting module corresponds to one lane direction of the current intersection;
the traffic signal receiving module is used for receiving and displaying the traffic signal transmitted by the first equipment, and the traffic signal receiving module is arranged in a vehicle.
Further, the traffic signal transmitting module includes a transmitting power calculating unit and a countdown calculating unit, specifically:
the transmitting power calculating unit is used for acquiring the distance between the current intersection and the intersection closest to the current intersection, dividing the distance by 2 to obtain the signal coverage range of the current intersection, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of a traffic signal transmitting module of the current intersection;
the countdown calculating unit is used for calculating the millisecond part of the countdown according to the preset interval duration after the second part of the countdown of the traffic signal lamp generates one jump and before the next jump, and sending the calculated traffic signal to the traffic signal receiving module.
Illustratively, the traffic signal transmitting module comprises a first power supply unit, a first main control unit, a BLE transmitting unit and an encryption unit, wherein the power supply unit, the BLE transmitting unit and the encryption unit are all connected with the main control unit; the traffic signal transmitting module is connected with a traffic light control system through a bus and acquires information of traffic signal lights at the current intersection from the traffic light control system.
The traffic signal receiving module comprises a second power supply unit, a second main control unit, a BLE receiving unit, a decryption unit, a prompt unit and a calculation unit, wherein the power supply unit, the BLE receiving unit, the decryption unit, the prompt unit and the calculation unit are all connected with the main control unit;
in the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described system embodiments are merely illustrative, and for example, the division of the modules may be a logical division, and in actual implementation, there may be another division, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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, units or modules, and may be in an electrical or other form.
It should be noted that the above system embodiments of the present invention correspond to the method embodiments of the present invention, and can implement the BLE-based traffic signal transmission method according to any method embodiment of the present invention.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the above embodiments may be implemented by hardware related to instructions of a computer program, and the computer program may be stored in a computer readable storage medium, and when executed, may include the processes of the above embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (10)

1. A traffic signal transmission method based on BLE is characterized by comprising the following steps:
setting first equipment at an intersection of a traffic signal lamp, wherein one first equipment corresponds to one lane direction of the current intersection;
the first equipment determines the traffic signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections;
the first equipment calculates and obtains the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits the traffic signal, and transmits the traffic signal of the current intersection according to the transmitting power;
the second device receives and displays the traffic signal transmitted by the first device, and the second device is arranged in a vehicle.
2. The BLE-based traffic signal transmission method according to claim 1, wherein the first device determines the signal coverage of the current intersection according to the distance between the current intersection and surrounding intersections; the first device calculates the transmission power of the current intersection according to the signal coverage and a path loss formula when the first device transmits the signal, and specifically includes:
the first equipment acquires the distance between the current intersection and the intersection closest to the current intersection;
when the obtained distance is greater than or equal to a preset first threshold and less than or equal to a preset second threshold, dividing the distance by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
when the obtained distance is larger than a preset second threshold, dividing the second threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection;
when the obtained distance is smaller than a preset first threshold, dividing the first threshold by 2 to obtain a signal coverage range of the first equipment, inputting the signal coverage range to a path loss formula when the first equipment transmits signals, and calculating to obtain the transmitting power of the current intersection.
3. The BLE-based traffic signal transmission method according to claim 2, wherein the first device is numbered according to an intersection where the first device is located and a lane direction corresponding to the first device.
4. The BLE-based traffic signal transmission method according to claim 3, wherein the second device receives and displays the traffic signal transmitted by the first device, and specifically comprises:
the second equipment acquires the lane number of the vehicle and the crossing to be driven in, and determines the number of the first equipment to be connected to the vehicle according to the lane number and the crossing to be driven in;
the second equipment receives the traffic signal with the intensity greater than or equal to the preset intensity, and analyzes the first N bytes of the traffic signal to obtain the number of the first equipment for transmitting the traffic signal; the N is a preset byte number used for representing the serial number of the first device, and is a positive integer;
and when the number of the first device of the traffic signal obtained by analysis is consistent with the number of the first device which needs to be accessed by the vehicle, the second device binds the first device and analyzes the rest bytes of the traffic signal to obtain the state and the countdown of the traffic signal lamp of the current lane and other lanes in the same direction as the current lane, and the state and the countdown are displayed on the second device.
5. The BLE-based traffic signal transmission method according to claim 4, wherein the first device transmits the traffic signal in a state and a countdown at a preset first frequency point when transmitting the go-straight light, in a state and a countdown at a preset second frequency point when transmitting the left turn light, in a state and a countdown at a preset third frequency point when transmitting the right turn light, and in a state and a countdown at a preset fourth frequency point when transmitting the turn-down light.
6. The BLE-based traffic signal transmission method according to claim 4, wherein the first device transmits the traffic signal including more than N +2 bytes, and wherein every 2 adjacent bytes after the first N bytes are used for indicating the status and countdown of one traffic signal lamp.
7. The BLE-based traffic signal transmission method according to claim 6, wherein one byte of the 2 adjacent bytes is used to represent a second portion of a countdown and another byte is used to represent a millisecond portion of the countdown and a status of a traffic light; wherein 6 bits of the another byte are used to represent the millisecond part of the countdown, and 2 bits of the another byte are used to represent the state of the traffic light.
8. The BLE-based traffic signal transmission method according to claim 7, wherein after one transition of a second part of a countdown of the traffic signal lamp until the next transition, the first device calculates a millisecond part of the countdown according to a preset interval duration and transmits the calculated traffic signal to the second device.
9. The BLE-based traffic signal transmission method according to any one of claims 1 to 8, wherein the first device and the second device both transmit the traffic signal using a Bluetooth LE Coded PHY, and the traffic signal is specifically an advertisement data packet encoded using FEC packets with an expansion factor of 8.
10. A traffic signal transmission system based on BLE is characterized by comprising a traffic signal transmitting module and a traffic signal receiving module;
the traffic signal transmitting module is used for determining the traffic signal coverage range of the current intersection according to the distance between the current intersection and surrounding intersections; calculating to obtain the transmitting power of the current intersection according to the signal coverage range and a path loss formula when the first equipment transmits signals, and transmitting the traffic signals of the current traffic signal lamp intersection according to the transmitting power, wherein one traffic signal transmitting module corresponds to one lane direction of the current intersection;
the traffic signal receiving module is used for receiving and displaying the traffic signal transmitted by the first equipment, and the traffic signal receiving module is arranged in a vehicle.
CN202110851845.1A 2021-07-27 2021-07-27 BLE-based traffic signal transmission method and system Active CN113689716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110851845.1A CN113689716B (en) 2021-07-27 2021-07-27 BLE-based traffic signal transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110851845.1A CN113689716B (en) 2021-07-27 2021-07-27 BLE-based traffic signal transmission method and system

Publications (2)

Publication Number Publication Date
CN113689716A true CN113689716A (en) 2021-11-23
CN113689716B CN113689716B (en) 2023-05-12

Family

ID=78578014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110851845.1A Active CN113689716B (en) 2021-07-27 2021-07-27 BLE-based traffic signal transmission method and system

Country Status (1)

Country Link
CN (1) CN113689716B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353404A (en) * 2000-11-07 2002-06-12 肖明 Intelligent traffic lamp system
CN101261767A (en) * 2008-04-11 2008-09-10 浙江大学 Intelligent traffic control system for blind and its method
CN102542796A (en) * 2010-12-10 2012-07-04 陶韶华 Novel traffic light signal receiver for blind people
CN102855764A (en) * 2011-06-30 2013-01-02 国际商业机器公司 Traffic signal broadcasting system, reappearance system, broadcasting method and reappearance method
CN105208643A (en) * 2014-06-27 2015-12-30 ***通信集团公司 Wireless transmission power control method and control device
CN106149584A (en) * 2016-07-20 2016-11-23 山东交通学院 Dynamic spike nail light and control method thereof with intersection signal machine coordinated signals
CN206039859U (en) * 2016-09-18 2017-03-22 河海大学 Display device in traffic lights real time information car
US9775121B1 (en) * 2017-01-19 2017-09-26 Sprint Spectrum L.P. Dynamic control of reference-signal transmission power based on reference signal coverage quality at or near half-way point between base stations
CN107249214A (en) * 2017-07-07 2017-10-13 宇龙计算机通信科技(深圳)有限公司 Bluetooth power consumption adjusting method and system
CN107316469A (en) * 2017-06-14 2017-11-03 苏州远征魂车船技术有限公司 A kind of intelligent traffic system of traffic lights interval networking
CN107358802A (en) * 2017-06-14 2017-11-17 青岛破浪舟车船装备科技有限公司 A kind of traffic signals area networking intelligence traffic system
CN107705602A (en) * 2017-10-17 2018-02-16 上海斐讯数据通信技术有限公司 A kind of traffic lights information carrying means, method and intelligent terminal
CN108335510A (en) * 2018-03-21 2018-07-27 北京百度网讯科技有限公司 Traffic lights recognition methods, device and equipment
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN109147354A (en) * 2018-08-15 2019-01-04 重庆邮电大学 Intelligent traffic lamp system and its control method based on V2X and ZigBee communication
CN109451478A (en) * 2018-12-28 2019-03-08 京信通信***(中国)有限公司 Link load calculation method, device, gateway and readable storage medium storing program for executing
CN109830114A (en) * 2019-02-20 2019-05-31 华为技术有限公司 Traffic lights based reminding method and device
CN111341131A (en) * 2020-03-05 2020-06-26 星觅(上海)科技有限公司 Road information sending method, device, equipment and storage medium
CN111899539A (en) * 2020-06-09 2020-11-06 酷派软件技术(深圳)有限公司 Traffic information prompting method and device, storage medium and vehicle-mounted terminal
CN112887946A (en) * 2021-01-12 2021-06-01 广州安凯微电子股份有限公司 BLE equipment control method and device

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353404A (en) * 2000-11-07 2002-06-12 肖明 Intelligent traffic lamp system
CN101261767A (en) * 2008-04-11 2008-09-10 浙江大学 Intelligent traffic control system for blind and its method
CN102542796A (en) * 2010-12-10 2012-07-04 陶韶华 Novel traffic light signal receiver for blind people
CN102855764A (en) * 2011-06-30 2013-01-02 国际商业机器公司 Traffic signal broadcasting system, reappearance system, broadcasting method and reappearance method
CN105208643A (en) * 2014-06-27 2015-12-30 ***通信集团公司 Wireless transmission power control method and control device
CN106149584A (en) * 2016-07-20 2016-11-23 山东交通学院 Dynamic spike nail light and control method thereof with intersection signal machine coordinated signals
CN206039859U (en) * 2016-09-18 2017-03-22 河海大学 Display device in traffic lights real time information car
US9775121B1 (en) * 2017-01-19 2017-09-26 Sprint Spectrum L.P. Dynamic control of reference-signal transmission power based on reference signal coverage quality at or near half-way point between base stations
CN107358802A (en) * 2017-06-14 2017-11-17 青岛破浪舟车船装备科技有限公司 A kind of traffic signals area networking intelligence traffic system
CN107316469A (en) * 2017-06-14 2017-11-03 苏州远征魂车船技术有限公司 A kind of intelligent traffic system of traffic lights interval networking
CN107249214A (en) * 2017-07-07 2017-10-13 宇龙计算机通信科技(深圳)有限公司 Bluetooth power consumption adjusting method and system
CN107705602A (en) * 2017-10-17 2018-02-16 上海斐讯数据通信技术有限公司 A kind of traffic lights information carrying means, method and intelligent terminal
CN108335510A (en) * 2018-03-21 2018-07-27 北京百度网讯科技有限公司 Traffic lights recognition methods, device and equipment
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN109147354A (en) * 2018-08-15 2019-01-04 重庆邮电大学 Intelligent traffic lamp system and its control method based on V2X and ZigBee communication
CN109451478A (en) * 2018-12-28 2019-03-08 京信通信***(中国)有限公司 Link load calculation method, device, gateway and readable storage medium storing program for executing
CN109830114A (en) * 2019-02-20 2019-05-31 华为技术有限公司 Traffic lights based reminding method and device
CN111341131A (en) * 2020-03-05 2020-06-26 星觅(上海)科技有限公司 Road information sending method, device, equipment and storage medium
CN111899539A (en) * 2020-06-09 2020-11-06 酷派软件技术(深圳)有限公司 Traffic information prompting method and device, storage medium and vehicle-mounted terminal
CN112887946A (en) * 2021-01-12 2021-06-01 广州安凯微电子股份有限公司 BLE equipment control method and device

Also Published As

Publication number Publication date
CN113689716B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN104167101B (en) LED optical communication system arranged between traffic light with information issue function and mobile vehicle body
KR102002019B1 (en) Road light control system that adjusts lighting range of street light according to road situation
CN106781582A (en) Traffic lights auxiliary display method, device and car-mounted terminal
CN104732782A (en) Invented intelligent online type traffic light and intelligent traffic system and method thereof
CN106683394B (en) Information processing method, Internet of vehicles social platform and vehicle-mounted equipment
CN104464332A (en) Intelligent prompting system for traffic lights
CN106056945A (en) Signal processing method and apparatus
CN102622902B (en) Transit signal priority control system and method thereof
CN106920411A (en) It is a kind of automatic with the method and device during car by intersection
CN113053140A (en) Dynamic automatic control method, system and medium for cloud and tide lanes of vehicle
CN102737516B (en) Bus signal priority control system possessing prompt function and method thereof
CN111462510A (en) Cloud intelligent voice prompt system based on mobile phone map navigation
CN103218919A (en) Method and device for managing traffic lights with digital wireless radio
CN113689716A (en) Traffic signal transmission method and system based on BLE
CN106981208B (en) Urban intersection safety guarantee system based on multidimensional information warning
CN113689717B (en) BLE-based traffic signal access method and system
CN102509464B (en) Bus signal priority control system with information display board and bus signal priority control method
CN113345231A (en) Traffic control system based on control edge computing equipment and oriented to mixed flow
CN102402862B (en) System and method for prompting priority signal of bus with information display board
CN204155458U (en) Based on the traffic signals apparatus for deivation of wireless network
CN102622903B (en) Transit signal priority automation control system capable of carrying out information prompt and method thereof
KR20060125674A (en) A traffic signal control data transmit and receive system
CN105489038A (en) Traffic signal lamp system based on directional antenna
CN103886767A (en) Digitized traffic signal receiving device installed in motor vehicle and signal receiving method
CN111028520A (en) Traffic signal lamp state monitoring and navigation method based on NB-IOT

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: Unit 301, 302, 303, 3 / F, C1 area, 182 science Avenue, Science City, Guangzhou hi tech Industrial Development Zone, Guangzhou, Guangdong 510000

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.

CP02 Change in the address of a patent holder