Map surface data processing method, device, electronic device and storage medium
By analyzing the map change data and updating the initial data of the restricted plane, the problem of untimely update of restricted plane data in the existing technology is solved, and the accurate and real-time update of restricted plane data is achieved.
Patent Information
- Application Number
- CN202111561791.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2041-12-16
AI Technical Summary
The prior art is difficult to update and correct the restricted surface data in the map in a timely manner, which makes it difficult to ensure the accuracy and real-timeness of the restricted surface data.
By receiving the change data of the map, obtaining the initial face data of the restricted face, analyzing the change data, obtaining the target face data of the restricted face, and updating the initial face data to the target face data.
It realizes timely correction and linkage update of the bounded surface data in the map, ensuring the accuracy and real-timeness of the bounded surface data.
Smart Images

Figure CN114416759B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to the field of autonomous driving and computer vision technology, and in particular to a map surface data processing method, device, electronic device and storage medium. Background Art
[0002] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning, deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0003] In the related art, a restricted area of an enclosed area in a navigation map is usually drawn in advance, and the surface data of the restricted area is applied to the navigation map. Summary of the invention
[0004] The present invention provides a map surface data processing method, device, electronic device, storage medium and computer program product.
[0005] According to a first aspect of the present disclosure, a method for processing map surface data is provided, comprising: receiving map change data; obtaining initial surface data of a restricted surface in the map; parsing the change data to obtain target surface data of the restricted surface; and updating the initial surface data of the restricted surface to the target surface data.
[0006] According to a second aspect of the present disclosure, a map surface data processing device is provided, comprising: a receiving module for receiving map change data; an acquisition module for acquiring initial surface data of a restricted surface in the map; a parsing module for parsing the change data to obtain target surface data of the restricted surface; and an updating module for updating the initial surface data of the restricted surface to the target surface data.
[0007] According to the third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the map surface data processing method of the embodiment of the first aspect of the present disclosure.
[0008] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is proposed, and the computer instructions are used to enable a computer to execute the map surface data processing method of the embodiment of the first aspect of the present disclosure.
[0009] According to a fifth aspect of the present disclosure, a computer program product is proposed, including a computer program, which implements the map surface data processing method of the first aspect of the present disclosure when the computer program is executed by a processor.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0012] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0013] Figure 2 is a schematic diagram of road line distribution in an embodiment of the present disclosure;
[0014] Figure 3 is a schematic diagram of a restricted area boundary information table in an embodiment of the present disclosure;
[0015] Figure 4 is a schematic diagram according to a second embodiment of the present disclosure;
[0016] Figure 5 is a schematic diagram of the spatial position change of a road line in an embodiment of the present disclosure;
[0017] Figure 6 is a schematic diagram of buffer surface area division in an embodiment of the present disclosure;
[0018] Figure 7 is a schematic diagram of a road line endpoint change in an embodiment of the present disclosure;
[0019] Figure 8 is a schematic diagram according to a third embodiment of the present disclosure;
[0020] Fig. 9 is a schematic diagram of an endpoint change event in an embodiment of the present disclosure;
[0021] Fig.10 is a schematic diagram of a restricted area update process in an embodiment of the present disclosure;
[0022] Fig.11 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0023] Fig.12 is a schematic diagram according to a fifth embodiment of the present disclosure;
[0024] Fig.13 A schematic block diagram of an example electronic device that can be used to implement the map surface data processing method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0026] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure.
[0027] It should be noted that the executor of the map surface data processing method of this embodiment is a map surface data processing device, which can be implemented by software and / or hardware. The device can be configured in an electronic device, and the electronic device may include but is not limited to a terminal, a server, etc.
[0028] The embodiments of the present disclosure relate to the field of artificial intelligence technology, and more specifically, to the field of autonomous driving and computer vision technology.
[0029] Among them, Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
[0030] Autonomous driving refers to the use of radar, laser, ultrasound, Global Position System (GPS), odometer, computer vision and other technologies to perceive its surrounding environment, identify obstacles and various signs through advanced computing and control systems, and plan appropriate paths to control vehicle driving.
[0031] Computer vision is the use of cameras and computers to replace the human eye to identify, track and measure targets, and further perform graphic processing to make the computer processing into an image that is more suitable for human eye observation or transmission to instrument detection.
[0032] like Figure 1 As shown, the map surface data processing method includes:
[0033] S101: receiving map change data.
[0034] Among them, change data refers to data used to change existing map data information in the map. The existing map data information may be, for example, road line data information in the map, data information of road signs in the map, data information of points of interest in the map, etc. The road line data information in the map may be the starting and ending points and the end points of the road line, the main trunk of the road line and other location information, or it may also be the name number of the road line and the length data information of the road line, etc., and there is no limitation on this.
[0035] For example, Figure 2 As shown, Figure 2 is a schematic diagram of road line distribution in an embodiment of the present disclosure, Figure 2 The line segments with serial numbers in the figure represent road lines, and the black endpoints represent the starting and ending endpoints of the road lines.
[0036] For example, when the actual road is extended and modified in the actual scenario, the starting and ending points of the road line corresponding to the actual road in the map will be adjusted accordingly. The data describing the corresponding adjustment changes of the starting and ending points in the map can be change data. The change data can also be used to describe the modification of the spatial position of the road in the map, or it can also describe the modification caused by any other possible modification forms of the road line in the map, without limitation.
[0037] In the disclosed embodiments, when receiving map change data, a data acquisition device may be pre-configured on the map surface data processing device to collect road line data of actual roads in actual scenes, and the collected road line data may be analyzed and processed, and then compared with the original road line data corresponding to the actual roads to obtain the map change data, or a data transmission interface may be pre-configured for the map surface data processing device to receive change data transmitted by other electronic devices via the data transmission interface, and there is no restriction on this.
[0038] S102: Acquire initial surface data of the restricted area in the map.
[0039] The restricted area refers to the area surrounded by boundary road lines in the map. Within this area, the passage of vehicles can be controlled based on certain control conditions.
[0040] Among them, the initial surface data can refer to the surface data related to the restricted surface in the map. The initial surface data can be used to describe the location information related to the restricted surface, as well as the data information related to the road line affected by the restricted surface, etc. The initial surface data can be specific, for example, the road line data affected by the restricted surface, such as the starting and ending points of the road line affected by the restricted surface, the main trunk of the road line and other location information, or it can also be the name and number of the road line affected by the restricted surface and the length data information of the road line, etc., and there is no limitation on this.
[0041] For example, Figure 2 Road line 1, road line 2, road line 3 and road line 4 in the figure are the boundary road lines that constitute the restricted surface. The shaded area surrounded by the four road lines is the restricted surface in the map. The data information of the boundary road lines and other road lines that the restricted surface affects can be used as the initial surface data of the restricted surface.
[0042] In the disclosed embodiment, when obtaining the initial surface data of the restricted surface in the map, the restricted surface number of the restricted surface and the boundary road line number of the restricted surface can be obtained, and then a database table lookup can be performed based on the obtained restricted surface number of the restricted surface and the boundary road line number of the restricted surface, and the road line data of the restricted surface can be obtained from the corresponding database record table as the initial surface data of the restricted surface in the map.
[0043] For example, Figure 3 As shown, Figure 3 It is a schematic diagram of the restricted surface boundary information table in the embodiment of the present disclosure. The restricted surface boundary information table records data information such as the restricted surface number of the restricted surface and the numbers of the boundary road lines that constitute the restricted surface. Based on the restricted surface number of the restricted surface and the numbers of the boundary road lines that constitute the restricted surface, multi-table joint query and other processing can be performed to obtain the initial surface data of the restricted surface.
[0044] S103: Analyze and process the changed data to obtain target surface data of the restricted area.
[0045] Among them, the target surface data refers to the surface data related to the restricted surface obtained after the initial surface data of the restricted surface is changed. The target surface data can be used to describe the position information related to the restricted surface after the change, as well as the data information related to the road line affected by the changed restricted surface, etc. The target surface data can be specifically, for example, the road line related data information obtained after the position information such as the starting and ending points and the main trunk of the road line affected by the restricted surface is corrected, or the length data information of the road line obtained after the change processing, etc., and there is no limitation on this.
[0046] After receiving the map change data, the embodiment of the present disclosure may parse and process the change data to obtain the target surface data of the restricted area.
[0047] In the embodiment of the present disclosure, when the change data is parsed and processed, the road line change information in the received change data can be extracted, and the change information of the road line that affects the restricted surface can be obtained by parsing. The change information can be, for example, the extension and trimming of the road line in an actual scenario, or the adjustment of the position of the road line, and the extracted road line change information can be used as the target surface data of the restricted surface.
[0048] In other embodiments, a manual verification process can be introduced to review the validity of the change data, and then the road line change information in the change data can be extracted to obtain the target surface data of the restricted surface, or any other possible method can be used to parse the change data to obtain the target surface data of the restricted surface.
[0049] In the disclosed embodiment, after the change data is parsed to obtain the target surface data of the restricted surface, the initial surface data of the restricted surface can be updated to the target surface data, as will be described in detail in the subsequent embodiments.
[0050] S104: Update the initial surface data of the restricted area to the target surface data.
[0051] In the embodiment of the present disclosure, after parsing the change data to obtain the target surface data of the restricted area, the initial surface data of the restricted area may be updated to the target surface data.
[0052] In the embodiment of the present disclosure, when the initial surface data of the restricted surface is updated to the target surface data, the initial surface data of the restricted surface stored in the database can be updated. For example, the data records in the table item where the road line affected by the restricted surface is stored in the database can be added, modified or deleted to update the initial surface data of the restricted surface to the target surface data.
[0053] In other embodiments, the task management platform can be used to automatically create a restricted surface protection plan based on the target surface data, and modify the initial surface data based on the target surface data, and store the modified target surface data in the restricted surface data record table in the database, update the initial surface data in the restricted surface database to the target surface data, and perform the modified restricted surface drawing process to reflect the modified restricted surface data in the map.
[0054] In this embodiment, by receiving change data of the map, the initial surface data of the restricted surface in the map is obtained, the change data is parsed and processed to obtain the target surface data of the restricted surface, and the initial surface data of the restricted surface is updated to the target surface data. As a result, the surface data of the restricted surface in the map can be timely corrected and updated in linkage according to the change data of the map, thereby effectively ensuring the accuracy of the surface data of the restricted surface in the map.
[0055] Figure 4 is a schematic diagram according to a second embodiment of the present disclosure.
[0056] like Figure 4 As shown, the map surface data processing method includes:
[0057] S401: Receive map change data.
[0058] The description of S401 can be referred to the above embodiment, and will not be repeated here.
[0059] S402: Acquire initial surface data of the restricted area in the map.
[0060] The initial surface data includes: a restricted area, which refers to a surface area surrounded by road lines as boundaries.
[0061] In the embodiment of the present disclosure, when obtaining the initial surface data of the restricted surface in the map, the restricted surface area in the map can be obtained, and the boundary road line data constituting the restricted surface can be obtained, and the road line data affected by the restricted surface area can be obtained as the initial surface data.
[0062] S403: Analyze the change data to obtain a plurality of road change data corresponding to the plurality of road lines in the map.
[0063] The road lines in the map may include: boundary road lines of the restricted area, other road lines within the restricted area that are not boundary road lines, and road lines outside the restricted area.
[0064] Among them, road change data can be used to describe changes in the spatial position and length data of the road. The road change data can be that the spatial position of the road line has been adjusted, for example, the spatial position of the road line has changed from within the restricted surface to outside the restricted surface, or the spatial position of the road line has changed, that is, the road line that is not affected by the restricted surface enters the restricted surface.
[0065] In the disclosed embodiment, when the change data is parsed to obtain a plurality of road change data corresponding to a plurality of road lines in the map, data extraction can be performed on the received change data to extract the change data of the plurality of road lines, and then the change data is analyzed to obtain spatial position change data or length change data of the road lines as the road change data corresponding to the road lines, and there is no limitation on this.
[0066] S404: Determine a target road line from among a plurality of road lines, wherein the target road line is a road line that has been acted upon by the restricted area, or the target road line is a road line that is newly configured to be acted upon by the restricted area.
[0067] Among them, the multiple road lines are divided into road lines located within the restricted surface, and road lines located outside the restricted surface. The road lines included in the restricted surface can be called road lines that have been affected by the restricted surface area. When the road lines change, the spatial position of the road lines that have been affected by the restricted surface can be changed to outside the restricted surface, or the spatial position of the road lines that have not been affected by the restricted surface can be changed to inside the restricted surface. Among them, the target road line is the road line that has been affected by the restricted surface area, or the target road line is a road line newly configured to be affected by the restricted surface area.
[0068] After parsing the change data to obtain a plurality of road change data corresponding to a plurality of road lines in a map, the embodiment of the present disclosure can determine a target road line from the plurality of road lines.
[0069] In the disclosed embodiment, after determining a target road line from a plurality of road lines, the change data of the road lines involving the restricted area can be searched in the change data, and the road line to which the change data belongs can be used as the target road line.
[0070] In some other embodiments, it is also possible to search through the items in the restricted surface data record table in the database. If there are newly added record items in the restricted surface data record table, indicating that the road line to which the item belongs is a road line newly configured to be affected by the restricted surface area, then the road line can be used as the target road line. Alternatively, if it is retrieved that the data of an item in the restricted surface data record table has changed, it indicates that the road line to which the item belongs is a road line that has been affected by the changed restricted surface area, and the road line can be used as the target road line.
[0071] For example, Figure 5 As shown, Figure 5: is a schematic diagram of the change in the spatial position of the road line in the embodiment of the present disclosure. The shaded area is the restricted surface area. Road line 1 was originally outside the restricted surface area, that is, road line 1 was originally a road line affected by the non-restricted surface area. After the spatial position of road line 1 is changed, the spatial position of road line 1 changes to within the restricted surface. Then, road line 1 is the newly configured road line affected by the restricted surface area, and can be used as the target road line.
[0072] S405: The road change data of the target road line is used as the target surface data.
[0073] In the embodiment of the present disclosure, after the change data is parsed and processed as above to obtain a plurality of road change data corresponding to a plurality of road lines in the map, and a target road line is determined from the plurality of road lines, the road change data of the target road line can be used as target surface data, and the target surface data can be used to update the initial surface data of the restricted surface, so as to correct and update the data content of the effect of the restricted surface in the map.
[0074] The above-mentioned method parses and processes the change data to obtain multiple road change data corresponding to multiple road lines in the map, and determines the target road line from the multiple road lines, wherein the target road line is a road line that has been affected by the restricted surface area, or the target road line is a road line newly configured to be affected by the restricted surface area, and uses the road change data of the target road line as the target surface data, so that the required road change data of the target road line can be quickly parsed from the change data and used as the target surface data. Since the target road line is a road line related to the restricted surface, the road change data related to the restricted surface can be obtained in a timely and convenient manner, which can effectively improve the update efficiency of the restricted surface data, make the update of the restricted surface data more targeted, and improve the update effect of the restricted surface data.
[0075] S406: Determine whether the target road line satisfies the road line protection rule according to the target surface data.
[0076] Among them, the road line protection rule refers to the change identification rule set in advance for the target road line. The road line protection rule can, for example, be set to judge whether the target road line is a road line related to the boundary road line of the restricted surface, or it can also be set to judge whether it is necessary to trigger the linkage update of the road line affecting the restricted surface. There is no restriction on this.
[0077] In the above-mentioned embodiment of the present disclosure, after the road change data of the target road line is used as the target surface data, a judgment can be triggered based on the target surface data as to whether the target road line satisfies the road line protection rule. The target road line can be searched within a certain spatial range from the boundary road line of the restricted surface. If the target road line can be searched, it indicates that the target road line satisfies the road line protection rule. Alternatively, the target surface data can be compared with relevant items in the restricted surface data record table in the database. If items related to the target surface data are found in the restricted surface data record table in the database, it indicates that the target road line to which the target surface data belongs satisfies the road line protection rule.
[0078] In other embodiments, after obtaining the road change data of the target road line as the target surface data, it can be determined whether it is necessary to trigger a linkage update of the road line affected by the restricted surface. If it is necessary to trigger a linkage update of the road line affected by the restricted surface, it indicates that the target road line to which the target surface data belongs satisfies the road line protection rules.
[0079] Optionally, in some embodiments, when determining whether the target road line satisfies the road line protection rules based on the target surface data, a buffer surface area can be determined from the restricted surface area, and whether the target road line satisfies the road line protection rules can be determined based on the target surface data and the buffer surface area, thereby determining whether the target road line satisfies the road line protection rules within the buffer surface area. Since the buffer surface area is divided from the restricted surface area, it is avoided to judge all the road lines within the restricted surface, effectively reducing the computing resources consumed when processing the changed data, and helping to improve the data update processing efficiency of the restricted surface.
[0080] The buffer surface area refers to the area divided inward according to the boundary road line of the restricted surface, which is used to identify the changed road lines related to the restricted surface.
[0081] In the embodiment of the present disclosure, when determining the buffer surface area from the restricted surface area, a width value may be set, and a circular area is divided inwardly from the boundary of the restricted surface according to the width value as a buffer area. For example, Figure 6 As shown, Figure 6 is a schematic diagram of the buffer surface area division in the embodiment of the present disclosure, Figure 6 The shaded area in the figure is the buffer area. The width can be set to 30 meters, and then a ring area is divided inward from the boundary of the restricted area. This ring area can be used as the buffer area.
[0082] In other embodiments, the width of the buffer surface area may be adaptively configured according to actual needs, and then a ring area of corresponding width may be divided inward from the restricted surface area as the buffer surface area, and there is no limitation on this.
[0083] In the disclosed embodiment, after determining the buffer surface area from the restricted surface area, it is possible to determine whether the target road line satisfies the road line protection rules based on the target surface data and the buffer surface area, and the target road line can be searched within the buffer surface area. If the target road line can be found, it indicates that the target road line satisfies the road line protection rules. Alternatively, the target surface data can be compared with the table items related to the buffer surface area in the restricted surface data record table in the database. If the table items related to the target surface data are found in the table items related to the buffer surface area, it indicates that the target road line to which the target surface data belongs satisfies the road line protection rules.
[0084] Optionally, in some embodiments, if the target road line is a road line newly configured to be affected by the restricted surface area, then when the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is directly determined that the target road line satisfies the road line protection rules, thereby determining whether the target road line satisfies the road line protection rules based on the endpoints involved in the target road line. The change of the endpoints of the target road line can be identified in time, and then the effect of the restricted surface can be adjusted based on the endpoints involved in the target road line to ensure the accuracy of the restricted surface effect area.
[0085] The endpoints involved in the target road line are used to identify the starting and ending positions of the target road line.
[0086] In the disclosed embodiment, if the target road line is a road line newly configured to be affected by the restricted surface area, a determination is made as to whether the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area; if the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is directly determined that the target road line satisfies the road line protection rules.
[0087] For example, Figure 7 As shown, Figure 7 It is a schematic diagram of the change of the road line endpoints in the embodiment of the present disclosure. After the road line 5 is changed, the newly configured target road line affected by the restricted surface area is a road line with endpoints 7 and 8 as the starting and ending endpoints. Endpoints 7 and 8 are located within the boundary of the buffer surface area, and it is determined that the target road line meets the road line protection rules.
[0088] S407: If the target road line meets the road line protection rule, the initial surface data of the restricted surface is updated to the target surface data.
[0089] In the disclosed embodiment, it is possible to determine whether the target road line satisfies the road line protection rules based on the target surface data. If the target road line satisfies the road line protection rules, the corresponding table item data in the restricted surface data record table corresponding to the map can be modified. If it is necessary to remove the restricted surface area from the target road line, the corresponding table item can be deleted from the data record table. If it is necessary to add the road line that is not affected by the restricted surface to the restricted surface area, the corresponding table item can be added to the database record table to update the initial surface data of the restricted surface to the target surface data.
[0090] In this embodiment, by determining whether the target road line satisfies the road line protection rules based on the target surface data, and when the target road line satisfies the road line protection rules, the initial surface data of the restricted surface is updated to the target surface data, so that it is possible to determine whether the target road line satisfies the road line protection rules based on the target surface data, and when the target road line satisfies the road line protection rules, the restricted surface data is updated in a timely manner, which can ensure the accuracy of the updated and adjusted data, and assist in improving the accuracy of the target surface data after the restricted surface is updated.
[0091] In this embodiment, the change data is parsed to obtain a plurality of road change data corresponding to a plurality of road lines in the map, and a target road line is determined from the plurality of road lines, wherein the target road line is a road line that has been affected by the restricted surface area, or the target road line is a road line that is newly configured to be affected by the restricted surface area, and the road change data of the target road line is used as the target surface data, so that the road change data of the required target road line can be quickly parsed from the change data and used as the target surface data. Since the target road line is a road line related to the restricted surface, it is possible to obtain the road change data related to the restricted surface in a timely and convenient manner. Changing data can effectively improve the updating efficiency of restricted surface data, make the updating of restricted surface data more targeted, and improve the updating effect of restricted surface data. By determining whether the target road line meets the road line protection rules based on the target surface data, and when the target road line meets the road line protection rules, the initial surface data of the restricted surface is updated to the target surface data, so that it can be determined whether the target road line meets the road line protection rules based on the target surface data, and the restricted surface data is updated when the target road line meets the road line protection rules, which can ensure the accuracy of the updated and adjusted data and assist in improving the accuracy of the target surface data after the restricted surface is updated.
[0092] Figure 8 is a schematic diagram according to a third embodiment of the present disclosure.
[0093] like Figure 8 As shown, the map surface data processing method includes:
[0094] S801: Receive map change data.
[0095] S802: Acquire initial surface data of the restricted area in the map.
[0096] S803: Analyze the change data to obtain a plurality of road change data corresponding to a plurality of road lines in the map.
[0097] S804: Determine a target road line from among a plurality of road lines, wherein the target road line is a road line that has been acted upon by the restricted area, or the target road line is a road line that is newly configured to be acted upon by the restricted area.
[0098] S805: Use the road change data of the target road line as the target surface data.
[0099] S806: Determine a buffer surface area from the restricted area.
[0100] The description of S801 - S806 can be referred to the above embodiment for examples, and will not be repeated here.
[0101] S807: If the target road line is a road line affected by the restricted surface area, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, determine whether the target surface data matches the set change event.
[0102] Among them, the setting change event is a possible change event of the pre-set road line endpoints. The setting change event can, for example, be that one endpoint of the road line affected by the restricted area is changed to outside the restricted area, or both endpoints of the road line affected by the restricted area are changed to outside the restricted area, or other setting change events can be set according to actual scene requirements, and there is no restriction on this.
[0103] After determining the target road line from the multiple road lines and determining the buffer surface area from the restricted surface area, the disclosed embodiment can determine whether the target surface data matches the set change event. If the target road line is a road line affected by the restricted surface area, it can be determined whether the endpoints involved in the target road line indicated by the target surface data are located within the boundary of the buffer surface area. If the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it can be triggered to determine whether the target surface data matches the set change event.
[0104] Optionally, in some embodiments, the target surface data includes: endpoint change data corresponding to at least one endpoint of the corresponding road line, wherein it is determined whether the target surface data matches the set change event. If, based on the endpoint change data, it is determined that at least one endpoint is changed to outside the boundary of the buffer surface area, then it is determined that the target surface data matches the set change event, thereby enabling timely identification of endpoint changes of road lines within the restricted surface area, and timely implementation of corresponding linkage adjustments to the restricted surface area when the endpoint changes to outside the buffer surface area, thereby avoiding omissions of road lines affected by the restricted surface and ensuring the accuracy of road lines affected by the restricted surface.
[0105] Among them, the target surface data includes: endpoint change data corresponding to at least one endpoint of the corresponding road line. The changed endpoint of the road line can be the starting endpoint or the ending endpoint of the road line, or both the starting endpoint and the ending endpoint of the road line can change. The endpoint change data can be the endpoint change data generated when the starting endpoint or the ending endpoint of the road line is changed to outside the boundary of the buffer surface area, or the endpoint change data generated when both the starting endpoint and the ending endpoint of the road line are changed to outside the boundary of the buffer surface area.
[0106] In the embodiment of the present disclosure, when judging whether the target surface data matches the set change event, it can be judged based on the endpoint change data whether at least one endpoint of the corresponding road line is changed to be outside the boundary of the buffer surface area. If the starting endpoint or the ending endpoint of the corresponding road line is changed to be outside the boundary of the buffer surface area, or the starting endpoint or the ending endpoint of the road line are both changed to be outside the boundary of the buffer surface area, it is determined that the target surface data matches the set change event.
[0107] For example, Fig. 9 As shown, Fig. 9 It is a schematic diagram of the endpoint change event in the embodiment of the present disclosure. When endpoint 1 of road line 1 is changed to outside the boundary of the buffer surface area, it can be determined that the target surface data matches the set change event in change state 1. When endpoint 1 and endpoint 2 of road line 1 are changed to outside the boundary of the buffer surface area in change state 2, it can be determined that the target surface data matches the set change event in change state 2.
[0108] S808: If the target surface data matches the setting change event, it is determined that the target road line satisfies the road line protection rule.
[0109] When determining whether the target surface data matches the set change event, the embodiment of the present disclosure may determine that the target surface data matches the set change event if it is identified that at least one endpoint of the target road line is changed to be outside the boundary of the buffer surface area. It is then determined that the target road line satisfies the road line protection rule, and the initial surface data of the restricted surface may then be updated to the target surface data.
[0110] S809: If the target surface data does not match the set change event, it is determined that the target road line does not satisfy the road line protection rule.
[0111] When determining whether the target surface data matches the set change event, the embodiment of the present disclosure determines that if no endpoint of the target road line is changed to be outside the boundary of the buffer surface area, the target surface data is determined not to match the set change event, and the target road line is determined not to satisfy the road line protection rule.
[0112] In the present embodiment, when the target road line is a road line affected by the restricted surface area, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is judged whether the target surface data matches the set change event. When the target surface data matches the set change event, it is determined that the target road line satisfies the road line protection rules. When the target surface data does not match the set change event, it is determined that the target road line does not satisfy the road line protection rules. Therefore, it is possible to determine whether the target road line satisfies the road line protection rules based on the matching situation of the target surface data and the set change event, thereby achieving more effective determination and processing of whether the target surface data satisfies the road line protection rules, and assisting in improving the data update effect of the restricted surface.
[0113] S810: If the target road line satisfies the road line protection rule, the initial surface data of the restricted surface is updated to the target surface data.
[0114] For example, Fig.10 As shown, Fig.10 It is a schematic diagram of the restricted surface update process in the embodiment of the present disclosure. After the external road line changes, the change data can be received, and the change data can be parsed to obtain the road line change data of the target road line. Then, the road line change data of the target road line can be reviewed and processed to determine whether the target road line meets the road line protection rules. The road line change data of the target road line that meets the road line protection rules is submitted to the task management platform, and the restricted surface area is automatically added or modified, and the relevant data in the restricted surface data record table in the database is updated to perform the restricted surface drawing process, so as to realize the correction and linkage update of the data content of the restricted surface effect in the map.
[0115] Optionally, in some embodiments, the initial surface data also includes: initial road line data of the restricted surface area, wherein the initial surface data of the restricted surface is updated to the target surface data, and the target area range corresponding to the restricted surface area can be determined based on the initial road line data and the road change data of the target road line, and the initial area range of the restricted surface area is adjusted to the target area range, so that the restricted surface can be corrected and drawn according to the initial road data and the road change data of the target road line, and the initial area of the restricted surface can be updated and adjusted to the target area range, thereby realizing the coordinated update of the road line and the restricted surface area.
[0116] The initial surface data also includes: initial road line data of the restricted area, and the initial road line data may be data such as endpoint information of the road line before the road line data is modified.
[0117] In the disclosed embodiment, when the initial surface data of the restricted surface is updated to the target surface data, the initial area corresponding to the restricted surface area can be adjusted and modified according to the initial road line data and the road change data of the target road line to obtain the target area range corresponding to the restricted surface area, and the initial area range of the restricted surface area is adjusted to the target area range.
[0118] In this embodiment, the change data is parsed and processed to obtain multiple road change data corresponding to the multiple road lines in the map, and a target road line is determined from the multiple road lines, wherein the target road line is a road line that has been affected by the restricted surface area, or the target road line is a road line newly configured to be affected by the restricted surface area, and the road change data of the target road line is used as the target surface data, so that the required road change data of the target road line can be quickly parsed from the change data and used as the target surface data. Since the target road line is a road line related to the restricted surface, the road change data related to the restricted surface can be obtained in a timely and convenient manner, which can effectively improve the update efficiency of the restricted surface data, make the update of the restricted surface data more targeted, and improve the update effect of the restricted surface data. When the target road line is a road line affected by the restricted surface area, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is determined whether the target surface data matches the set change event. When the target surface data matches the set change event, it is determined that the target road line satisfies the road line protection rules. When the target surface data does not match the set change event, it is determined that the target road line does not satisfy the road line protection rules. Therefore, it is possible to determine whether the target road line satisfies the road line protection rules based on the matching situation of the target surface data and the set change event, thereby achieving more effective determination and processing of whether the target surface data satisfies the road line protection rules, and assisting in improving the data update effect of the restricted surface.
[0119] Fig.11is a schematic diagram according to a fourth embodiment of the present disclosure.
[0120] like Fig.11 As shown, the map surface data processing device 110 includes:
[0121] Receiving module 1101, used for receiving map change data;
[0122] The acquisition module 1102 is used to acquire the initial surface data of the restricted area in the map;
[0123] The parsing module 1103 is used to parse the change data to obtain the target surface data of the restricted area;
[0124] The updating module 1104 is used to update the initial surface data of the restricted area to the target surface data.
[0125] In some embodiments of the present disclosure, Fig.12 As shown, Fig.12 It is a schematic diagram according to the fifth embodiment of the present disclosure, the map surface data processing device 120 comprises: a receiving module 1201, an acquisition module 1202, a parsing module 1203, and an updating module 1204, wherein the initial surface data comprises: a restricted surface area;
[0126] The parsing module 1203 is specifically used for:
[0127] Analyzing and processing the change data to obtain a plurality of road change data corresponding to the plurality of road lines in the map;
[0128] Determine a target road line from among the plurality of road lines, wherein the target road line is a road line that has been acted upon by the restricted area, or the target road line is a road line that is newly configured to be acted upon by the restricted area;
[0129] The road change data of the target road line is used as the target surface data.
[0130] In some embodiments of the present disclosure, the update module 1204 includes:
[0131] A determination submodule 12041 is used to determine whether the target road line meets the road line protection rule according to the target surface data;
[0132] The updating submodule 12042 is used to update the initial surface data of the restricted surface to the target surface data when the target road line meets the road line protection rule.
[0133] In some embodiments of the present disclosure, the determination submodule 12041 is specifically used to:
[0134] Determine a buffer surface area from the restricted area;
[0135] According to the target surface data and the buffer surface area, determine whether the target road line meets the road line protection rules.
[0136] In some embodiments of the present disclosure, the determining submodule 12041 is further used to:
[0137] If the target road line is a road line that is affected by the restricted surface area, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, then determining whether the target surface data matches the set change event;
[0138] If the target surface data matches the set change event, it is determined that the target road line meets the road line protection rule;
[0139] If the target surface data does not match the set change event, it is determined that the target road line does not satisfy the road line protection rule.
[0140] In some embodiments of the present disclosure, the target surface data includes: endpoint change data corresponding to at least one endpoint of the corresponding road line;
[0141] Wherein, the determination submodule 12041 is further used for:
[0142] If it is determined according to the endpoint change data that at least one endpoint is changed to be outside the boundary of the buffer surface area, it is determined that the target surface data matches the setting change event.
[0143] In some embodiments of the present disclosure, the determining submodule 12041 is further used to:
[0144] If the target road line is a road line newly configured to be affected by the restricted surface area, then when the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is directly determined that the target road line satisfies the road line protection rule.
[0145] In some embodiments of the present disclosure, the initial surface data further includes: initial road line data of the restricted surface area;
[0146] The update module 1204 is further used for:
[0147] Determine the target area range corresponding to the restricted area according to the initial road line data and the road change data of the target road line;
[0148] Adjust the initial area range of the restricted area to the target area range.
[0149] It is understandable that the present embodiment Fig.12The map surface data processing device 120 in the embodiment may have the same function and structure as the map surface data processing device 110 in the above embodiment, the receiving module 1201 may have the same function and structure as the receiving module 1101 in the above embodiment, the acquiring module 1202 may have the same function and structure as the acquiring module 1102 in the above embodiment, the parsing module 1203 may have the same function and structure as the parsing module 1103 in the above embodiment, and the updating module 1204 may have the same function and structure as the updating module 1104 in the above embodiment.
[0150] It should be noted that the above explanation of the map surface data processing method is also applicable to the map surface data processing device of this embodiment, and will not be repeated here.
[0151] In this embodiment, by receiving change data of the map, the initial surface data of the restricted surface in the map is obtained, the change data is parsed and processed to obtain the target surface data of the restricted surface, and the initial surface data of the restricted surface is updated to the target surface data. As a result, the map surface data can be updated and adjusted in real time according to the change data, and the effect of the restricted surface can be corrected and updated in a linked manner, avoiding errors in the effect data of the restricted surface when the data changes, thereby ensuring the correctness of the effect data of the restricted surface.
[0152] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0153] Fig.13 A schematic block diagram of an example electronic device 1300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0154] like Fig.13 As shown, the device 1300 includes a computing unit 1301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1302 or a computer program loaded from a storage unit 1308 into a random access memory (RAM) 1303. In the RAM 1303, various programs and data required for the operation of the device 1300 can also be stored. The computing unit 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304.
[0155] A number of components in the device 1300 are connected to the I / O interface 1305, including: an input unit 1306, such as a keyboard, a mouse, etc.; an output unit 1307, such as various types of displays, speakers, etc.; a storage unit 1308, such as a disk, an optical disk, etc.; and a communication unit 1309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1309 allows the device 1300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0156] The computing unit 1301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1301 performs the various methods and processes described above, such as the map surface data processing method. For example, in some embodiments, the map surface data processing method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1300 via the ROM 1302 and / or the communication unit 1309. When the computer program is loaded into the RAM 1303 and executed by the computing unit 1301, one or more steps of the map surface data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1301 may be configured to execute the map surface data processing method in any other appropriate manner (eg, by means of firmware).
[0157] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0158] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0159] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0160] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0161] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0162] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0163] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0164] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for processing map surface data, include: Receive map change data; Obtaining initial surface data of the restricted area in the map; Analyzing and processing the change data to obtain target surface data of the restricted surface; as well as Updating the initial surface data of the restricted surface to the target surface data; Wherein, the initial surface data includes: restricted area; The step of parsing the change data to obtain the target surface data of the restricted surface includes: Analyzing the change data to obtain a plurality of road change data corresponding to the plurality of road lines in the map; Determine a target road line from the plurality of road lines, wherein the target road line is a road line that has been acted upon by the restricted area, or the target road line is a road line that is newly configured to be acted upon by the restricted area; Using the road change data of the target road line as the target surface data; Wherein, updating the initial surface data of the restricted surface to the target surface data includes: Determining, according to the target surface data, whether the target road line satisfies a road line protection rule, wherein the road line protection rule refers to a change identification rule pre-set for the target road line; If the target road line satisfies the road line protection rule, updating the initial surface data of the restricted surface to the target surface data; Wherein, determining whether the target road line satisfies a road line protection rule according to the target surface data includes: Determine a buffer surface area from the restricted surface area, wherein the buffer surface area refers to an area divided inward according to a boundary road line of the restricted surface area, and is used to identify a change road line related to the restricted surface area; Determine whether the target road line satisfies a road line protection rule according to the target surface data and the buffer surface area.
2. The method according to claim 1, in, The determining, based on the target surface data and the buffer surface area, whether the target road line satisfies a road line protection rule comprises: If the target road line is a road line on which the restricted surface area acts, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, determining whether the target surface data matches a setting change event; If the target surface data matches the setting change event, determining that the target road line satisfies the road line protection rule; If the target surface data does not match the setting change event, it is determined that the target road line does not satisfy the road line protection rule.
3. The method according to claim 2, wherein the target surface data include: endpoint change data corresponding to at least one endpoint of the road line; Wherein, the determining whether the target surface data matches the setting change event includes: If it is determined according to the endpoint change data that the at least one endpoint is changed to be located outside the boundary of the buffer surface area, it is determined that the target surface data matches the setting change event.
4. The method according to claim 1, in, The determining, based on the target surface data and the buffer surface area, whether the target road line satisfies a road line protection rule comprises: If the target road line is a road line newly configured to be affected by the restricted surface area, then when the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is directly determined that the target road line satisfies the road line protection rule.
5. The method according to any one of claims 1 to 4, wherein the initial face data is include: Initial road line data of the restricted area; Wherein, updating the initial surface data of the restricted surface to the target surface data includes: Determining a target area range corresponding to the restricted area according to the initial road line data and the road change data of the target road line; The initial area range of the restricted area is adjusted to the target area range.
6. A map surface data processing device, include: A receiving module, used for receiving map change data; An acquisition module, used to acquire initial surface data of the restricted surface in the map; A parsing module, used for parsing the change data to obtain target surface data of the restricted surface; as well as An updating module, used for updating the initial surface data of the restricted surface to the target surface data; Wherein, the initial surface data includes: restricted area; Wherein, the analysis module is specifically used for: Analyzing the change data to obtain a plurality of road change data corresponding to the plurality of road lines in the map; Determine a target road line from the plurality of road lines, wherein the target road line is a road line that has been acted upon by the restricted area, or the target road line is a road line that is newly configured to be acted upon by the restricted area; Using the road change data of the target road line as the target surface data; Wherein, the update module includes: a determination submodule, configured to determine whether the target road line satisfies a road line protection rule according to the target surface data, wherein the road line protection rule refers to a change identification rule pre-set for the target road line; An updating submodule, configured to update the initial surface data of the restricted surface to the target surface data when the target road line satisfies the road line protection rule; Wherein, the determination submodule is specifically used for: Determine a buffer surface area from the restricted surface area, wherein the buffer surface area refers to an area divided inward according to a boundary road line of the restricted surface area, and is used to identify a change road line related to the restricted surface area; Determine whether the target road line satisfies a road line protection rule according to the target surface data and the buffer surface area.
7. The device according to claim 6, in, The determining submodule is further used for: If the target road line is a road line on which the restricted surface area acts, and the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, determining whether the target surface data matches a setting change event; If the target surface data matches the setting change event, determining that the target road line satisfies the road line protection rule; If the target surface data does not match the setting change event, it is determined that the target road line does not satisfy the road line protection rule.
8. The device according to claim 7, wherein the target surface data include: endpoint change data corresponding to at least one endpoint of the road line; Wherein, the determination submodule is also used for: If it is determined according to the endpoint change data that the at least one endpoint is changed to be located outside the boundary of the buffer surface area, it is determined that the target surface data matches the setting change event.
9. The device according to claim 6, in, The determining submodule is further used for: If the target road line is a road line newly configured to be affected by the restricted surface area, then when the target surface data indicates that the endpoints involved in the target road line are located within the boundary of the buffer surface area, it is directly determined that the target road line satisfies the road line protection rule.
10. The device according to any one of claims 6 to 9, wherein the initial face data is include: Initial road line data of the restricted area; Wherein, the update module is also used for: Determining a target area range corresponding to the restricted area according to the initial road line data and the road change data of the target road line; The initial area range of the restricted area is adjusted to the target area range.
11. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.
13. A computer program product comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Navigation processing method and device, service side equipment, intelligent terminal and storage medium
CN112328151A
Road network data generation method and device, electronic equipment and storage medium
CN113656979A