Vehicle-mounted terminal localization segmented speed limit judgment method and vehicle-mounted terminal
By making segmented speed limit judgments locally at the on-board terminal, using the preset GPS characteristic point coordinates and speed limit values, the problem of difficult to meet the speed limit requirements for special vehicles such as buses in the prior art is solved, and efficient and real-time speed limit control is achieved, reducing resource consumption and operation costs.
Patent Information
- Application Number
- CN202411920559.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-04
AI Technical Summary
The existing speed limit control scheme is difficult to meet the speed limit requirements of special vehicles such as buses, and relies on high computing capabilities on-board terminals and expensive intelligent map data, or rely on cloud computing platforms, and there are problems of network dependence and data transmission delay.
It provides a localized segmented speed limit judgment method for on-board terminals without intelligent maps and cloud computing platforms. Through the preset GPS feature point coordinates and speed limit values, speed limit judgment is performed locally at the on-board terminal, calculate the distance between the current position of the vehicle and the speed limit section, and determine whether the speed is exceeded.
It reduces the computing and storage resource requirements of on-board terminals, reduces network data transmission pressure, improves the real-time and accuracy of speed limit judgment, reduces system deployment and operation and maintenance costs, and reduces server burden.
Smart Images

Figure BDA0005207866460000031
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent traffic safety, and in particular to a speed limit control technology used in a vehicle-mounted terminal. Specifically, it relates to a lightweight method for performing segmented speed limit judgment locally on a vehicle-mounted terminal and a vehicle-mounted terminal applying the method. Background Art
[0002] In recent years, with the increasing development of urban transportation, the safe operation of buses has attracted more and more attention from all walks of life. The safety of buses is not only related to the safety of passengers' lives and property, but also crucial to the harmony and stability of the city. Therefore, improving the driving safety of buses is one of the top priorities of bus companies' operation and management.
[0003] At present, in order to ensure road traffic safety, most roads are equipped with traffic monitoring equipment and speed limit requirements. However, for special vehicles such as buses, the unified speed limit standards of roads may not be fully applicable. For example, on certain specific sections of roads, for safety or operational management considerations, bus companies may need to set a speed limit lower than the road speed limit.
[0004] Some existing speed limit control solutions rely on loading intelligent map data on the vehicle terminal, analyzing the vehicle location and map information to determine whether it has entered the speed limit area, and providing speed limit prompts or controls. This solution requires the vehicle terminal to have strong computing power and storage space, and the cost of updating and maintaining map data is high. Another part of the solution may rely on the cloud computing platform to upload the vehicle location information to the server for analysis and judgment, and then send the speed limit instruction to the vehicle terminal. Although this solution can reduce the pressure on the vehicle terminal, it is highly dependent on the network environment and there is a risk of data transmission delay. Summary of the invention
[0005] In order to solve the above problems, the present invention provides a lightweight method that can perform segmented speed limit judgment locally on a vehicle terminal without loading an intelligent map or relying on a cloud computing platform, and only requires a small number of preset GPS feature point coordinates and speed limit values. Another object of the present invention is to provide a vehicle terminal using this method.
[0006] In order to achieve the above object, the present invention provides a method for determining a localized segmented speed limit of a vehicle terminal, the method comprising the following steps:
[0007] Get the real-time GPS location information of the vehicle terminal;
[0008] Loading a configuration file pre-stored in the vehicle-mounted terminal, the configuration file including information of at least one speed-limited road section, the information of each speed-limited road section including coordinates of at least two GPS feature points of the road section and a corresponding speed limit value;
[0009] Calculate the distance from the current position of the vehicle-mounted terminal to the speed-limited section according to the real-time GPS position information of the vehicle-mounted terminal and the GPS feature point coordinates of the speed-limited section;
[0010] Determining whether the distance is less than a preset distance threshold;
[0011] When the distance is less than a preset distance threshold, determining that the vehicle-mounted terminal is located within the speed-limited section;
[0012] Obtaining the speed limit value corresponding to the speed limit section;
[0013] Calculating the travel speed of the vehicle-mounted terminal according to the real-time GPS position information of the vehicle-mounted terminal;
[0014] Determine whether the driving speed exceeds the speed limit value, and if so, perform corresponding speeding processing.
[0015] Furthermore, in the above method, the step of calculating the distance from the current position of the vehicle terminal to the speed limit section includes calculating the vertical distance from the current position of the vehicle terminal to a line segment formed by connecting the coordinates of the at least two GPS feature points.
[0016] Furthermore, in the above method, for a curved speed-limited road section, the configuration file contains multiple GPS feature point coordinates, the curved road section is approximated as multiple line segments formed by sequentially connecting the multiple GPS feature point coordinates, and the distance from the current position of the vehicle terminal to each line segment is calculated respectively.
[0017] Furthermore, in the above method, executing corresponding speeding processing includes issuing a voice alarm and / or storing the speeding record locally.
[0018] In order to achieve the above-mentioned object of the invention, the present invention also provides a vehicle-mounted terminal for segmented speed limit judgment, the vehicle-mounted terminal comprising:
[0019] A GPS module, used to obtain real-time GPS location information of the vehicle-mounted terminal;
[0020] A memory, used to store a configuration file, wherein the configuration file includes information of at least one speed limit section, and the information of each speed limit section includes coordinates of at least two GPS feature points of the section and a corresponding speed limit value;
[0021] A processor is coupled to the GPS module and the memory and is configured to perform the following operations:
[0022] Loading the configuration file;
[0023] Calculate the distance from the current position of the vehicle-mounted terminal to the speed-limited section according to the real-time GPS position information acquired by the GPS module and the GPS feature point coordinates of the speed-limited section;
[0024] Determining whether the distance is less than a preset distance threshold;
[0025] When the distance is less than a preset distance threshold, determining that the vehicle-mounted terminal is located within the speed-limited section;
[0026] Obtaining the speed limit value corresponding to the speed limit section;
[0027] Calculating the travel speed of the vehicle-mounted terminal according to the real-time GPS location information acquired by the GPS module;
[0028] Determining whether the driving speed exceeds the speed limit;
[0029] The output module is used to output an alarm message when the processor determines that the driving speed exceeds the speed limit.
[0030] Furthermore, in the above-mentioned vehicle-mounted terminal, the processor is configured to calculate a vertical distance from the current position of the vehicle-mounted terminal to a line segment formed by connecting the coordinates of the at least two GPS feature points.
[0031] Furthermore, in the above-mentioned vehicle-mounted terminal, for a curved speed-limited road section, the configuration file contains multiple GPS feature point coordinates, and the processor is configured to approximate the curved road section as multiple line segments formed by sequentially connecting the multiple GPS feature point coordinates, and calculate the distance from the current position of the vehicle-mounted terminal to each line segment respectively.
[0032] Furthermore, the vehicle-mounted terminal further includes a communication module for remotely receiving the configuration file from a server and / or uploading the speeding information to the server.
[0033] By adopting the above technical solution, the present invention can achieve the beneficial effects of reducing resource consumption, improving real-time performance, reducing costs, flexible deployment, and reducing server pressure.
[0034] The vehicle-mounted terminal localized segmented speed limit judgment method and vehicle-mounted terminal provided by the present invention have significant technical effects. First, since the vehicle-mounted terminal does not need to load complex intelligent map data, the speed limit judgment process is carried out locally, which greatly reduces the demand for vehicle-mounted terminal computing resources and storage resources, and also reduces the pressure of network data transmission. Secondly, the localized judgment method reduces the delay of data transmission, making the speed limit judgment faster and more accurate, thereby improving the real-time performance of speed limit control. Furthermore, the present invention does not rely on expensive intelligent maps and complex server architectures, which significantly reduces the cost of system deployment and operation and maintenance. In addition, the configuration information of the speed limit section is managed through a lightweight configuration file, which can be updated remotely or locally in a variety of ways, making deployment and maintenance more flexible and convenient. Finally, the judgment logic of the segmented speed limit is distributed to each vehicle-mounted terminal, which effectively reduces the computing burden of the central server and improves the overall performance and scalability of the system. DETAILED DESCRIPTION
[0035] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0036] Example 1.
[0037] This embodiment describes a scenario in which the segmented speed limit determination method of the present invention is applied on a bus.
[0038] First, the bus company determines the road sections that need special speed limits based on actual operational needs. For example, the road section in front of a school has a speed limit of 40 kilometers per hour, but the bus company wants to set the speed limit of buses on this section to 30 kilometers per hour for the safety of students.
[0039] For this speed limit section, GPS feature point sampling is performed. Since the section in front of the school gate is a straight line, it is only necessary to collect the GPS coordinates of the starting point A and the end point B of the section. Assume that the longitude and latitude coordinates of point A are (121.456789, 31.123456) and the longitude and latitude coordinates of point B are (121.457890, 31.124567).
[0040] Then, a configuration file is generated based on the collected GPS coordinates and speed limit values. The content of the configuration file can be in JSON or other easily parsable formats, for example:
[0041]
[0042] The configuration file is imported into the bus's onboard terminal by sending it from a remote server or copying it from a USB flash drive.
[0043] After the vehicle terminal is started, the GPS positioning function is turned on, and the configuration file is parsed and loaded to extract the GPS feature point coordinates and speed limit value of the speed limit section.
[0044] When the bus is driving, the onboard terminal obtains the vehicle's GPS location information in real time. Assume that at a certain moment, the vehicle's GPS coordinates C obtained by the onboard terminal are (121.457333, 31.124011).
[0045] The vehicle terminal calculates the distance from the vehicle's current position C to line segment AB based on the latitude and longitude coordinates of points A, B, and C. The calculation process is as follows:
[0046] 1. Calculate the length of line segment AB:
[0047] AB=√[(121.457890-121.456789)2+(31.124567-31.123456)2](In actual calculation, the longitude and latitude need to be converted into projection coordinates or the spherical distance formula needs to be used)
[0048] 2. Calculate the length of AC and BC:
[0049] AC=√[(121.457333-121.456789)2+(31.124011-31.123456)2]
[0050] BC=√[(121.457890-121.457333)2+(31.124567-31.124011)2]
[0051] 3. Calculate the semi-perimeter p of triangle ABC:
[0052] p=(AB+AC+BC) / 2
[0053] 4. Calculate the area S of triangle ABC (using Heron's formula):
[0054] S=√[p(p-AB)(p-AC)(p-BC)]
[0055] 5. Calculate the distance d from point C to line segment AB:
[0056] d=2*S / AB
[0057] Assume that the calculated distance d is 25 meters.
[0058] The preset distance threshold of the vehicle terminal is 30 meters. Since the calculated distance d (25 meters) is less than the preset distance threshold (30 meters), the vehicle terminal determines that the bus is currently located in the speed limit section in front of the school gate.
[0059] The vehicle terminal obtains the speed limit value of this road section as 30 kilometers per hour.
[0060] The on-board terminal calculates the current speed of the bus based on the GPS information, assuming it is 35 kilometers per hour.
[0061] If the vehicle terminal determines that the current vehicle speed (35 km / h) exceeds the speed limit (30 km / h) of the speed-limited road section, the speeding alarm is triggered. The vehicle terminal issues a voice prompt: "You have exceeded the speed limit, please slow down", and records the speeding behavior locally. At the same time, the speeding information can be uploaded to the monitoring center for the convenience of managers to track.
[0062] For a curved road section, such as an S-curve road section, the bus company can collect multiple GPS feature points according to the degree of curvature, such as points A, B, C, and D. The configuration file will contain information on multiple line segments consisting of AB, BC, and CD. The on-board terminal will calculate the distance from the vehicle's current position to line segments AB, BC, and CD respectively. As long as one of the distances is less than the threshold, the vehicle is determined to be located in the speed limit section.
[0063] It should be noted that, since the bus route is a fixed route, in general, the vehicle's GPS information can be compared and calculated with the first speed limit section in the configuration file through a sequential comparison method, that is, from the start of the bus, the calculation amount of the on-board terminal is reduced. After passing the first speed limit section, it is compared with the second speed limit section, and so on.
[0064] In order to improve the reliability of the comparison, based on the vehicle's GPS information, you can choose to first make a preliminary comparison with the three closest speed limit sections to determine the approximate driving position of the bus, and then choose the closest speed limit section for comparison to determine whether the vehicle is speeding.
[0065] Example 2
[0066] Example 2
[0067] This embodiment describes the hardware and software components of the vehicle-mounted terminal of the present invention for performing segmented speed limit judgment.
[0068] The vehicle-mounted terminal mainly includes a GPS module, a memory, a processor and an output module. In some embodiments, it may also include a communication module.
[0069] The GPS module is used to receive satellite signals in real time and calculate the vehicle's latitude, longitude, speed and other location information. For example, the GPS module can use a high-sensitivity GNSS chip.
[0070] The memory is used to store a pre-configured speed limit section configuration file. The configuration file contains information about at least one speed limit section, and the information about each speed limit section includes coordinates of at least two GPS feature points of the section and a corresponding speed limit value. For example, the memory can be a Flash storage chip. The configuration file can be stored in JSON format.
[0071] The processor is the core control unit of the vehicle terminal, responsible for executing the program instructions stored in the memory to realize the various functions of segmented speed limit judgment. For example, the processor can adopt an ARM Cortex-A series processor. The processor is configured to perform the following operations:
[0072] 1. Load the speed limit section configuration file stored in the memory.
[0073] 2. Receive vehicle location and speed information provided by the GPS module.
[0074] 3. For each speed limit section in the configuration file, calculate the distance from the vehicle's current position to the speed limit section based on the vehicle's current GPS coordinates and the GPS feature point coordinates of the section.
[0075] 4. Determine whether the distance is less than a preset distance threshold. If so, determine that the vehicle has entered the speed-limited section and obtain the speed limit value of the speed-limited section.
[0076] 5. Compare the vehicle speed provided by the GPS module with the speed limit value obtained to determine whether it is speeding.
[0077] 6. If overspeed is detected, the control output module will send out an alarm message.
[0078] The output module is used to output warning information to remind the driver. For example, the output module can be a speaker.
[0079] In some embodiments, the vehicle-mounted terminal further includes a communication module, such as a 4G communication module, for updating the configuration file and uploading the speeding information.
[0080] Through the collaborative work of the above hardware and software, the on-board terminal can independently complete localized lightweight segmented speed limit control.
[0081] In the description of the present invention, it should be noted that the terms "vertical", "up", "down", "horizontal", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0082] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0083] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A segmented speed limit determination method for a vehicle-mounted terminal, characterized in that: The following steps are involved: Get the real-time GPS location information of the vehicle terminal; Loading a configuration file pre-stored in the vehicle-mounted terminal, the configuration file including information of at least one speed-limited road section, the information of each speed-limited road section including coordinates of at least two GPS feature points of the road section and a corresponding speed limit value; Calculate the distance from the current position of the vehicle-mounted terminal to the speed-limited section according to the real-time GPS position information of the vehicle-mounted terminal and the GPS feature point coordinates of the speed-limited section; Determining whether the distance is less than a preset distance threshold; When the distance is less than a preset distance threshold, determining that the vehicle-mounted terminal is located within the speed-limited section; Obtaining the speed limit value corresponding to the speed limit section; Calculating the travel speed of the vehicle-mounted terminal according to the real-time GPS position information of the vehicle-mounted terminal; Determine whether the driving speed exceeds the speed limit value, and if so, perform corresponding speeding processing.
2. The method according to claim 1, characterized in that The step of calculating the distance from the current position of the vehicle-mounted terminal to the speed-limited road section includes calculating the vertical distance from the current position of the vehicle-mounted terminal to a line segment formed by connecting the coordinates of the at least two GPS feature points.
3. The method according to claim 1, characterized in that For a curved speed-limited road section, the configuration file contains multiple GPS feature point coordinates, the curved road section is approximated as multiple line segments formed by sequentially connecting the multiple GPS feature point coordinates, and the distance from the current position of the vehicle-mounted terminal to each line segment is calculated respectively.
4. The method according to claim 1, characterized in that: The executing corresponding speeding processing includes issuing a voice alarm and / or storing the speeding record locally.
5. A vehicle-mounted terminal for determining segmented speed limits, characterized in that: include: A GPS module, used to obtain real-time GPS location information of the vehicle-mounted terminal; A memory, used to store a configuration file, wherein the configuration file includes information of at least one speed limit section, and the information of each speed limit section includes coordinates of at least two GPS feature points of the section and a corresponding speed limit value; A processor is coupled to the GPS module and the memory and is configured to perform the following operations: Loading the configuration file; Calculate the distance from the current position of the vehicle-mounted terminal to the speed-limited section according to the real-time GPS position information acquired by the GPS module and the GPS feature point coordinates of the speed-limited section; Determining whether the distance is less than a preset distance threshold; When the distance is less than a preset distance threshold, determining that the vehicle-mounted terminal is located within the speed-limited section; Obtaining the speed limit value corresponding to the speed limit section; Calculating the travel speed of the vehicle-mounted terminal according to the real-time GPS location information acquired by the GPS module; Determining whether the driving speed exceeds the speed limit; The output module is used to output an alarm message when the processor determines that the driving speed exceeds the speed limit.
6. The vehicle-mounted terminal according to claim 5, characterized in that: The processor is configured to calculate a vertical distance from a current position of the vehicle-mounted terminal to a line segment formed by connecting the coordinates of the at least two GPS feature points.
7. The vehicle-mounted terminal according to claim 5, characterized in that: For a curved speed-limited road section, the configuration file contains multiple GPS feature point coordinates, and the processor is configured to approximate the curved road section as multiple line segments formed by sequentially connecting the multiple GPS feature point coordinates, and calculate the distance from the current position of the vehicle-mounted terminal to each line segment respectively.
8. The vehicle-mounted terminal according to claim 5, characterized in that: It also includes a communication module, which is used to remotely receive the configuration file from the server and / or upload the speeding information to the server.