Map waypoint segmentation method and device for predictive cruise system
By dynamically adjusting the waypoint segmentation, the problem of loss of road feature information and low calculation accuracy caused by the vehicle longitudinal dynamics method is solved, and the high accuracy and real-time performance of the predictive cruise system is achieved, which is suitable for a variety of terrains and traffic scenarios.
Patent Information
- Application Number
- CN202210023258.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-01-10
AI Technical Summary
The existing road point segmentation method based on vehicle longitudinal dynamics leads to the loss of road feature information and low calculation accuracy, which affects the overall control effect of the predictive cruise system.
By obtaining map waypoint information, it is judged whether the slope change value is greater than the preset threshold, and road segments are merged or divided to dynamically adjust the waypoint segmentation to ensure the integrity of road feature information and calculation accuracy.
It achieves the maximum restoration of the real characteristic information of the road, reduces the computational load of the predictive cruise algorithm, improves the calculation accuracy and real-time performance, and is suitable for various terrains and traffic scenarios without the need to recalibrate the predictive cruise algorithm.
Smart Images

Figure CN114549831B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent connected vehicle technology, and in particular to a map waypoint segmentation method and device for a predictive cruise system. Background Art
[0002] Predictive cruise technology refers to the use of ADAS (Advanced Driving Assistance System) maps and other sensors to obtain road information such as the slope and curvature in front of the vehicle's current position, as well as traffic information such as traffic lights and the status of the vehicle in front. While ensuring safety and aiming at energy conservation, it plans the vehicle's future driving speed and trajectory.
[0003] Among them, map waypoint segmentation is very important for predictive cruise control. In related technologies, a road network reconstruction method based on vehicle longitudinal dynamics is usually used for waypoint segmentation. This method first determines the critical values of uphill and downhill slopes based on the vehicle dynamics equilibrium equation. The critical value for uphill slope is the slope angle when the vehicle is in the highest gear, with maximum torque, and traveling at a constant speed according to the reference speed. The critical value for downhill slope is the slope angle when the vehicle is in the highest gear, with zero throttle opening, and traveling at a constant speed according to the reference speed. The original ADAS waypoints are divided according to these two critical angles.
[0004] However, the road network reconstruction method based on vehicle longitudinal dynamics in related technologies performs waypoint segmentation. Although it reduces the number of segments, it excessively submerges the actual characteristics of the road, affects the calculation accuracy of the predictive cruise algorithm, and the overall control effect is poor. Summary of the Invention
[0005] The present application provides a map waypoint segmentation method, device, electronic device and storage medium for a predictive cruise control system to solve the problems existing in the related art of waypoint segmentation based on vehicle longitudinal dynamics, such as the loss of a large amount of road feature information, low algorithm calculation accuracy, and poor overall control effect.
[0006] A first aspect of the present application provides a map waypoint segmentation method for a predictive cruise system, comprising the following steps: obtaining map waypoint information, and determining whether a slope change value between two waypoints is greater than a first preset threshold value based on the map waypoint information; merging the road section between the two waypoints into a segmented road section when the slope change value is greater than the first preset threshold value, otherwise calculating the cumulative slope value and the cumulative distance; obtaining another segmented road section based on the first multiple road sections whose cumulative slope values exceed a second preset threshold value, or obtaining another segmented road section based on the road points whose cumulative distance exceeds a preset distance, and obtaining a segmented waypoint sequence based on each segmented road section to complete the map waypoint segmentation.
[0007] Furthermore, the obtaining of map waypoint information includes: obtaining a current position of the vehicle; and obtaining map waypoint information within a predicted range ahead of the vehicle based on the current position.
[0008] Optionally, the map waypoint information may include one or more of road slope, curvature, elevation, longitude and latitude, and road markings.
[0009] Furthermore, judging whether the slope change value between two waypoints is greater than a first preset threshold value based on the map waypoint information includes: judging whether they belong to the same road based on the road sign; after belonging to the same road, cyclically calculating the slope change value of two adjacent waypoints, and judging whether the slope change value is greater than the first preset threshold value.
[0010] Furthermore, the slope and length of each segmented road section are the average value and cumulative sum of the slopes of the sub-segments.
[0011] A second aspect of the present application provides a map waypoint segmentation device for a predictive cruise system, comprising: an acquisition module for acquiring map waypoint information; a judgment module for judging whether a slope change value between two waypoints is greater than a first preset threshold value based on the map waypoint information; a segmentation module for merging the road section between the two waypoints into a segmented road section when the slope change value is greater than the first preset threshold value, otherwise calculating the cumulative slope value and the cumulative distance, and obtaining another segmented road section based on the first multiple road sections whose cumulative slope values exceed the second preset threshold value, or obtaining another segmented road section based on the road points whose cumulative distance exceeds the preset distance, and obtaining a segmented waypoint sequence based on each segmented road section to complete the map waypoint segmentation.
[0012] Furthermore, the acquisition module is used to acquire the current position of the vehicle, and acquire map waypoint information within a predicted range ahead of the vehicle based on the current position.
[0013] Optionally, the map waypoint information may include one or more of road slope, curvature, elevation, longitude and latitude, and road markings.
[0014] Furthermore, the judgment module is used to judge whether they belong to the same road according to the road sign. After belonging to the same road, the slope change value of two adjacent road points is cyclically calculated, and whether the slope change value is greater than a first preset threshold.
[0015] Furthermore, the slope and length of each segmented road section are the average value and cumulative sum of the slopes of the sub-segments.
[0016] A third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the map waypoint segmentation method for a predictive cruise system as described in the above embodiment.
[0017] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the map waypoint segmentation method for a predictive cruise system as described in the above embodiment.
[0018] Therefore, this application has at least the following beneficial effects:
[0019] Dynamically adjusting the distance division of waypoints based on the slope changes within the predicted range can restore the true characteristic information of the road to the greatest extent possible. While ensuring that characteristic points are not lost, it reduces the computational complexity of the predictive cruise algorithm and meets the computational accuracy of the predictive cruise system. Embedding the waypoint segmentation method within the predictive cruise system allows for real-time calculation and segmentation during system operation, without relying on offline comparative analysis results. This method has strong real-time performance and can be widely applied to different types of vehicles, including heavy trucks, light trucks, and passenger cars equipped with predictive cruise systems. It is also applicable to various types of terrain and traffic scenarios, including plateaus, plains, and hilly areas, as well as traffic scenarios such as national highways and expressways, without the need to recalibrate the predictive cruise algorithm. This solves the problems of road characteristic information loss, low algorithm calculation accuracy, and poor overall control effect that exist in related technologies for waypoint segmentation based on vehicle longitudinal dynamics.
[0020] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0022] Figure 1 This is a schematic diagram of the structure of a cloud-controlled predictive cruise system provided according to an embodiment of the present application;
[0023] Figure 2 This is a flowchart of a map waypoint segmentation method for a predictive cruise system according to an embodiment of the present application;
[0024] Figure 3 This is a flowchart of a map waypoint segmentation method for a predictive cruise system according to one embodiment of the present application;
[0025] Figure 4 This is an example diagram of the segmentation effect provided according to an embodiment of the present application;
[0026] Figure 5 This is an example diagram of a map waypoint segmentation device for a predictive cruise control system according to an embodiment of the present application;
[0027] Figure 6 A schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0029] As mentioned in the background art, road network reconstruction methods based on vehicle longitudinal dynamics typically divide the original ADAS waypoints. While this method reduces the number of segments, it overwhelms the actual road features, affecting the computational accuracy of the predictive cruise control algorithm and resulting in poor overall control performance. However, the embodiments of the present application can reduce the number of road segments while preserving the actual road feature points. This reduces the algorithm's computational complexity while ensuring the integrity and originality of the road data required by the algorithm.
[0030] In addition to the aforementioned segmentation methods, related art also includes a fixed-interval waypoint segmentation method based on algorithmic predictions. This method determines the waypoint segmentation interval by comparing the calculated results obtained from different waypoint segmentation distances within the predicted distance to find the waypoint segmentation result that minimizes the optimization function value. However, while this fixed-interval waypoint segmentation method based on algorithmic predictions is simple and logically clear, it relies heavily on comparative experiments and requires prior testing and simulation of the intended roads. Furthermore, when vehicle mass and road topography change, recalculation is necessary, making it less practical and thus limiting discussion and analysis to academic issues. Furthermore, while the fixed-interval segmentation process is simple, it fails to account for the complexity of the algorithmic calculations. For relatively flat roads or when there are long slopes or other waypoints, a variable-interval method can be used to further optimize computing power and conserve computing resources.
[0031] To this end, the present application proposes a map waypoint segmentation method for a predictive cruise system, wherein the predictive cruise system mainly includes an on-board integrated predictive cruise system and a cloud-controlled predictive cruise system. Specifically: Figure 1As shown in the figure, the cloud-based predictive cruise control system consists of two main components: the cloud-based control platform and the on-board TBOX (Telematics Box) terminal. The cloud-based control platform's system architecture integrates predictive cruise control algorithms, map waypoint segmentation methods, and cloud-based control underlying programs. The on-board TBOX terminal, equipped with speed analysis and vehicle control software, receives and interprets control commands from the cloud, ultimately sending them to the vehicle's Electronic Control Unit (ECU) to control the vehicle's status.
[0032] The following will be Figure 1 Taking the predictive cruise system shown as an example, the map waypoint segmentation method for the predictive cruise system according to the embodiment of the present application is described. The map waypoint segmentation method for the predictive cruise system provided by the embodiment of the present application is a preprocessing method for the map server of the predictive cruise system. It can preprocess the map waypoint data to achieve rapid calculation of the energy-saving optimization algorithm and save the computing power of the cloud server. The energy-saving optimization algorithm on the cloud needs to calculate the recommended speed of the waypoint based on the acquired map data of the road ahead. However, the amount of original waypoint data is large and there is a lot of useless data, resulting in excessive waste of cloud computing power. The method of the embodiment of the present application can provide the predictive cruise system with a road waypoint sequence with clear feature points and a small amount of data without reducing the road feature points (including slope, slope change rate, etc.).
[0033] Specifically, Figure 2 A flowchart of a map waypoint segmentation method for a predictive cruise system provided in an embodiment of the present application.
[0034] like Figure 2 As shown, the map waypoint segmentation method for the predictive cruise system includes the following steps:
[0035] In step S101 , map waypoint information is obtained, and it is determined based on the map waypoint information whether a slope change value between two waypoints is greater than a first preset threshold.
[0036] The first preset threshold value can be set or calibrated according to actual conditions, for example, it can be set to 0.5°, etc., and is not specifically limited to this. It should be noted that when determining whether the slope change value is greater than the first preset threshold value, the embodiment of the present application can determine whether the absolute value of the slope change value is greater than the first preset threshold value, and the slope change value can be understood as the slope difference between two waypoints.
[0037] The map waypoint information may include one or more of road slope, curvature, elevation, longitude and latitude, and road signs.
[0038] It is understandable that if Figure 3 As shown, the embodiment of the present application can obtain the input map waypoint information and determine whether the slope change of two waypoints exceeds the first preset threshold α°
[0039] In this embodiment, obtaining map waypoint information includes: obtaining the current position of the vehicle; and obtaining map waypoint information within a predicted range ahead of the vehicle based on the current position.
[0040] The prediction range can be specifically set according to the actual prediction needs and is not specifically limited thereto.
[0041] It can be understood that the embodiments of the present application can request information such as the road slope, curvature, elevation, longitude and latitude, and road ID (Identity document, a unique code or exclusive number) within the predicted range set in front of the vehicle based on the vehicle's current GPS (Global Positioning System) position information.
[0042] In this embodiment, determining whether the slope change value between two waypoints is greater than a first preset threshold value based on the map waypoint information includes: determining whether they belong to the same road based on the road signs; after belonging to the same road, cyclically calculating the slope change values of two adjacent waypoints, and determining whether the slope change value is greater than the first preset threshold value.
[0043] It is understandable that the embodiment of the present application can determine whether the GPS information extracted in front is on the same road based on the road ID. If it is on the same road, it will cyclically calculate whether the slope change of two adjacent road points exceeds α°.
[0044] In step S102 , when the slope change value is greater than a first preset threshold, the road segment between the two waypoints is merged into a segmented road segment; otherwise, the accumulated slope value and the accumulated distance are calculated.
[0045] It is understandable that if Figure 3 As shown, when the slope change value is greater than the first preset threshold, the section is regarded as a segment; otherwise, the slope value and the distance are accumulated, and step S103 is executed.
[0046] In step S103, another segmented road segment is obtained based on the first multiple road segments whose cumulative slope values exceed the second preset threshold, or another segmented road segment is obtained based on the waypoints whose cumulative distance exceeds the preset distance, and a segmented waypoint sequence is obtained based on each segmented road segment to complete the map waypoint segmentation.
[0047] Among them, the second preset threshold and the preset distance can be set or calibrated according to actual conditions. For example, the second preset threshold can be set to 1°, the preset distance can be set to 200 meters, etc., and there is no specific limitation on this.
[0048] It is understandable that if Figure 3 As shown, when the slope change value exceeds a first preset threshold, the embodiment of the present application further determines whether the accumulated slope exceeds a second preset threshold β° or whether the accumulated distance exceeds a preset distance. Based on these conditions, the original waypoint is divided into different segmented sections, with the slope and length of each segmented section being the average and cumulative sum of the sub-segment slopes. Thus, the embodiment of the present application can use a map waypoint segmentation algorithm to extract feature points and segment the original waypoints within the prediction range, ultimately generating waypoint information that can be used by the energy-saving optimization algorithm. This meets the real-time calculation requirements of the predictive cruise system and takes into account the impact of waypoint segmentation on the optimal solution of the energy-saving optimization algorithm.
[0049] The following describes a map waypoint segmentation method for a predictive cruise control system through a specific embodiment. The first preset threshold is taken as ±0.5°, the second preset threshold is taken as 1°, and the preset distance is taken as 200 meters. The specific steps are as follows:
[0050] Step 1: T-BOX can upload data via the 4G / 5G network at a frequency of 10 Hz. The uploaded data includes: longitude, latitude, elevation, heading angle, cruise target speed, current engine torque, current vehicle speed, and vehicle instantaneous fuel consumption.
[0051] Step 2: The underlying program of the cloud server sends the vehicle location information uploaded by T-BOX to the map server. The map server uses the positioning compensation algorithm and the vehicle-map matching algorithm to request the road information 2 km ahead of the vehicle's current position.
[0052] Step 3: The format of the requested 2km raw waypoint information is road information with an interval of about 20m. Each waypoint contains information such as latitude and longitude, altitude, slope, curvature, etc. The specific format used is as follows:
[0053] P1(Lat1,Long1,Slope1),P1(Lat2,Long2,Slope2)LP 100 (Lat 100 ,Long 100 ,Slope 100 ),
[0054] Stored in stack S, where P1 is the top of the stack, Lat n Indicates dimension, Long n Indicates longitude, Slope nIndicates the slope. The ID of each waypoint is expressed as n=1, 2, 3...100.
[0055] Step 4: Based on the distance calculation formula based on latitude and longitude, convert the format of the 100 waypoints into a distance-based format as follows:
[0056] P1'(distance1,Slope1),P1'(distance2,Slope2)LP 100 '(distance 100 ,Slope 100 )
[0057] The distance calculation formula is: D2 = 6378.137*acos(|A*B| / (|A|*|B|)), where
[0058] A=[cos(lat1*π / 180)*cos(long1*π / 180),cos(lat1*π / 180)*sin(long1*π / 180),sin(lat1*π / 180)],
[0059] B=[cos(lat2*π / 180)*cos(long2*π / 180), cos(lat2*π / 180)*sin(long2*π / 180), sin(lat2*π / 180)].
[0060] Step 5: Determine whether the next 10 points and 200M are on the same road. If not, divide the road according to the fork point. The section before the fork point is the first section, and the slope value is the average of the slope points. The remaining section is treated the same.
[0061] Step 6: Determine whether the next 10 points and 200m are on the same road. If they are on the same road, enter the traversal and segmentation state.
[0062] Step 7: In the traversal segmentation state, loop to calculate the slope difference Δslope between two waypoints. If Δslope>0.5 or Δslope<-0.5, these two points are considered as a segment.
[0063] Step 8: In the traversal state, and Δslope is between [-0.5 0.5], if the accumulated slope value sumAngle calculated in the loop is greater than 1 or less than -1, then these accumulated waypoints are taken as a segment, and the slope of the segment is the average of these waypoints.
[0064] Step 9: In the traversal state, and Δslope is between [-0.5 0.5], if the cumulative distance value sumDistance calculated in the loop is greater than or equal to 200, then these waypoints are treated as a segment, and the slope is the average value of the corresponding waypoints.
[0065] Step 10: Repeat steps 4-9 until 100 points are traversed. The segmentation is completed, and the Segment sequence and the corresponding slope value are output and sent to the energy-saving optimization algorithm. The segmentation effect is shown in the following example: Figure 4 shown.
[0066] According to the map waypoint segmentation method for a predictive cruise system proposed in an embodiment of the present application, the distance division of waypoints is dynamically adjusted according to the slope changes within the predicted range, which can restore the real characteristic information of the road to the greatest extent. While ensuring that characteristic points are not lost, the computational complexity of the predictive cruise algorithm is reduced, and the computational accuracy of the predictive cruise system can be met. The waypoint segmentation method is embedded in the predictive cruise system, and real-time calculation and division can be performed during system operation without relying on comparative analysis results of offline calculations. It has strong real-time performance and can be widely used in different types of heavy trucks, light trucks, and passenger cars equipped with predictive cruise systems. It is also applicable to various types of terrain and traffic scenarios, involving terrain features such as plateaus, plains, and hilly areas, and traffic scenarios such as national highways and expressways, without the need to recalibrate the predictive cruise algorithm.
[0067] Next, a map waypoint segmentation device for a predictive cruise system according to an embodiment of the present application is described with reference to the accompanying drawings.
[0068] Figure 5 4 is a block diagram of a map waypoint segmentation device for a predictive cruise system according to an embodiment of the present application.
[0069] like Figure 5 As shown, the map waypoint segmentation device 10 for the predictive cruise system includes: an acquisition module 100, a judgment module 200 and a segmentation module 300.
[0070] Among them, the acquisition module 100 is used to obtain map waypoint information; the judgment module 200 is used to judge whether the slope change value between two waypoints is greater than a first preset threshold based on the map waypoint information; the segmentation module 300 is used to merge the road section between the two waypoints into a segmented road section when the slope change value is greater than the first preset threshold, otherwise calculate the cumulative slope value and the cumulative distance, and obtain another segmented road section based on the first multiple road sections whose cumulative slope values exceed the second preset threshold, or obtain another segmented road section based on the road points whose cumulative distance exceeds the preset distance, and obtain a segmented waypoint sequence based on each segmented road section to complete the map waypoint segmentation.
[0071] Furthermore, the acquisition module 100 is used to acquire the current position of the vehicle, and acquire map waypoint information within a predicted range ahead of the vehicle based on the current position.
[0072] Optionally, the map waypoint information may include one or more of road slope, curvature, elevation, longitude and latitude, and road markings.
[0073] Furthermore, the judgment module 200 is used to judge whether the two road points belong to the same road according to the road sign. If they belong to the same road, the slope change value of two adjacent road points is cyclically calculated, and whether the slope change value is greater than a first preset threshold.
[0074] Furthermore, the slope and length of each segmented road section are the average and cumulative sum of the slopes of the sub-segments.
[0075] It should be noted that the aforementioned explanation of the embodiment of the map waypoint segmentation method for a predictive cruise system is also applicable to the map waypoint segmentation device for a predictive cruise system in this embodiment, and will not be repeated here.
[0076] According to the map waypoint segmentation device for a predictive cruise system proposed in an embodiment of the present application, the distance division of waypoints is dynamically adjusted according to the slope changes within the predicted range, which can restore the real characteristic information of the road to the greatest extent. While ensuring that characteristic points are not lost, the computational complexity of the predictive cruise algorithm is reduced, and the computational accuracy of the predictive cruise system can be met. The waypoint segmentation method is embedded in the predictive cruise system, which can be calculated and divided in real time during system operation without relying on the comparative analysis results of offline calculations. It has strong real-time performance and can be widely used in different types of heavy trucks, light trucks, and passenger cars equipped with predictive cruise systems. It is also applicable to various types of terrain and traffic scenarios, involving terrain features such as plateaus, plains, and hilly areas, and traffic scenarios such as national highways and expressways, without the need to recalibrate the predictive cruise algorithm.
[0077] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0078] A memory 601 , a processor 602 , and a computer program stored in the memory 601 and executable on the processor 602 .
[0079] When the processor 602 executes the program, the map waypoint segmentation method for the predictive cruise system provided in the above embodiment is implemented.
[0080] Furthermore, the electronic device further includes:
[0081] The communication interface 603 is used for communication between the memory 601 and the processor 602 .
[0082] The memory 601 is used to store computer programs that can be run on the processor 602 .
[0083] The memory 601 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0084] If the memory 601, processor 602, and communication interface 603 are implemented independently, the communication interface 603, memory 601, and processor 602 can be connected to each other via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0085] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can communicate with each other through an internal interface.
[0086] The processor 602 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0087] This embodiment also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the map waypoint segmentation method for a predictive cruise system as described above is implemented.
[0088] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0089] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this application, "N" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0090] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.
[0091] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or N wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.
[0092] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiment, the N steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0093] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0094] In addition, the functional units in the various embodiments of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into a module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0095] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application. Persons skilled in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.
Claims
1. A map waypoint segmentation method for a predictive cruise system, characterized in that: The following steps are involved: Acquire the current position of the vehicle, acquire the original road point information of the map within the predicted range ahead of the vehicle according to the current position, and perform cyclic calculation and judgment according to the original road point information of the map, firstly judge whether the slope change value between two small road points is greater than a first preset threshold value; wherein, judging whether the slope change value between two small road points is greater than the first preset threshold value according to the original road point information of the map includes: judging whether the small road points belong to the same road according to the road signs; after belonging to the same road, calculating the slope change values of two adjacent small road points, and judging whether the slope change value is greater than the first preset threshold value, wherein the original road point information includes small road points evenly spaced; When the slope change value is greater than the first preset threshold, the road section between the two small road points is used as a segmented road section, and the endpoints of the segmented road section are large road points; otherwise, the accumulated slope value and the accumulated distance are calculated; The first multiple small road point sections whose calculated cumulative slope values of the small road points exceed the second preset threshold are merged to obtain a new segmented section, or the small road point sections whose cumulative distances exceed the preset distance are merged to obtain another segmented section, and a segmented road point sequence is obtained based on each segmented section and the large road point to complete the re-segmentation of the small road points on the map.
2. The method according to claim 1, characterized in that: The original road point information on the map includes one or more of road slope, curvature, elevation, longitude and latitude, and road signs.
3. The method according to claim 1, characterized in that The slope of each segmented road section is the average value of the slopes of the sub-segments, and the length of each segmented road section is the cumulative sum of the lengths of the sub-segments, wherein the sub-segment is the section between every two adjacent small road points in each segmented road section.
4. A map waypoint segmentation device for a predictive cruise system, characterized in that: include: An acquisition module, used to acquire the current position of the vehicle, and acquire original map waypoint information within the predicted range ahead of the vehicle according to the current position; A judgment module, for performing cyclic calculation and judgment according to the original waypoint information of the map, firstly judging whether the slope change value between two small road points is greater than a first preset threshold value; wherein judging whether the slope change value between two small road points is greater than the first preset threshold value according to the original waypoint information of the map comprises: judging whether the small road points belong to the same road according to the road signs; after belonging to the same road, calculating the slope change values of two adjacent small road points, and judging whether the slope change value is greater than the first preset threshold value, wherein the original waypoint information comprises small road points evenly spaced; A segmentation module is used to treat the section between the two small road points as a segmented section when the slope change value is greater than the first preset threshold, and the endpoint of the segmented section is the large road point; otherwise, the cumulative slope value and the cumulative distance are calculated; and the first multiple small road point sections whose calculated small road point cumulative slope values exceed the second preset threshold are merged to obtain a new segmented section, or the small road point sections whose cumulative distances exceed the preset distance are merged to obtain another segmented section, and a segmented waypoint sequence is obtained based on each segmented section and the large road point to complete the re-segmentation of the small road points on the map.
5. The device according to claim 4, characterized in that The original road point information on the map includes one or more of road slope, curvature, elevation, longitude and latitude, and road signs.
6. The device according to claim 4, characterized in that The slope of each segmented road section is the average value of the slopes of the sub-segments, and the length of each segmented road section is the cumulative sum of the lengths of the sub-segments, wherein the sub-segment is the section between every two adjacent small road points in each segmented road section.
7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the map waypoint segmentation method for a predictive cruise system as described in any one of claims 1 to 3.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the map waypoint segmentation method for a predictive cruise system as described in any one of claims 1 to 3.
