A method, apparatus, and electronic device for updating the location of approach bridges on a map.
By receiving target update requests, determining and moving the approach bridge positions, the inefficiency caused by changes in approach bridge positions in traditional map updates is solved, enabling timely and accurate map updates and continuous operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2026-03-10
AI Technical Summary
Traditional map updates suffer from slow update speed and inaccurate results due to changes in the location of approach bridges. This reliance on manual labor leads to work interruptions and low efficiency.
By receiving a target update request, the system determines the target straight road in the dynamic approach bridge template based on the location information of the target approach bridge, static roads, and map elements, and then scales and moves it to generate an updated target area map.
This system enables timely and accurate map updates when the approach bridge position changes, improving update efficiency, reducing operation time and costs, and ensuring continuous operation.
Smart Images

Figure CN116337041B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic map technology, and in particular to a method, apparatus and electronic device for updating the location of approach bridges on a map. Background Technology
[0002] With social development and technological progress, ports, as major gateways for foreign trade, play a particularly important role in the loading and unloading of cargo at wharves. Traditional wharf operations require the generation of different high-precision maps based on the tasks of vehicles to initiate and continue operations. The positions of approach bridges in port bridges can change during operations, and once the position of the approach bridge changes, operators need to redraw and generate new map files. This method of moving approach bridges in the map heavily relies on cartographers, resulting in slow map update speeds and compromised accuracy and efficiency. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a method, apparatus and electronic device for updating the location of approach bridges on a map. This application enables timely and accurate updating of the map of the area to be updated with the target approach bridge when the location of the target approach bridge in the dock changes, thereby improving the efficiency of map updating.
[0004] This application provides a method for updating the location of approach bridges on a map, the method comprising:
[0005] When the location of the target approach bridge in the dock changes, a target update request for the target approach bridge in the map of the area to be updated is received. The target update request includes the target location information of the target approach bridge. The map of the area to be updated includes static roads, static map elements, and a dynamic approach bridge template of the target approach bridge.
[0006] After determining that the target update request is valid, based on the target location information of the target approach bridge, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated in the target update request, the target straight road connecting the target approach bridge in the dynamic approach bridge template is determined;
[0007] The target straight road in the dynamic approach bridge template is stretched and moved to the target position, and the map of the area to be updated is updated after the movement to generate the target area map.
[0008] Furthermore, based on the target location information of the target approach bridge in the target update request, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated, the target straight road connecting the target approach bridge in the dynamic approach bridge template is determined, including:
[0009] Based on the current location information of the target approach bridge on the map of the area to be updated, the static road, and the static map elements, determine the template location information of the dynamic approach bridge template in the target approach bridge;
[0010] Based on the template location information and the target location information of the target approach bridge in the target update request, the target straight road connecting the target approach bridge in the dynamic approach bridge template is determined.
[0011] Furthermore, before determining the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge in the target update request, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated, the method for updating the position of the approach bridge on the map also includes:
[0012] Based on the target update request, determine whether the target position information of the target approach bridge is valid.
[0013] Furthermore, the target approach bridge includes an upper target approach bridge and a lower target approach bridge. The step of determining whether the target location information of the target approach bridge is valid based on the target update request includes:
[0014] Based on the target update request, determine whether the target location information of the target upper approach bridge and / or the target lower approach bridge is located within the preset approach bridge movement area.
[0015] Furthermore, the target straight road in the dynamic approach bridge template is extended and retracted in the following manner:
[0016] Based on the target location information and current location information of the target approach bridge, determine the target distance for stretching and / or contracting the target straight road;
[0017] Based on the target distance, the target straight road is stretched and / or contracted accordingly.
[0018] Furthermore, after scaling the target straight road in the dynamic approach bridge template to move the target approach bridge from its current position to a target position, and updating the map of the area to be updated after the movement to generate a target area map, the method for updating the approach bridge position on the map further includes:
[0019] Based on the target location information of the approach bridge and the target area map, a road space index between the approach bridge and the map is established.
[0020] This application embodiment also provides an apparatus for updating the location of approach bridges on a map, the apparatus comprising:
[0021] The receiving module is used to receive a target update request for the target approach bridge in the map of the area to be updated when the position of the target approach bridge in the dock changes. The target update request includes the target position information of the target approach bridge. The map of the area to be updated includes static roads, static map elements, and a dynamic approach bridge template of the target approach bridge.
[0022] The determination module is used to determine the target straight road connecting the target approach bridge in the dynamic approach bridge template after determining that the target update request is legitimate, based on the target location information of the target approach bridge in the target update request, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated;
[0023] The generation module performs scaling and moving of the target straight road in the dynamic approach bridge template, moving the target approach bridge from its current position to the target position, and updating the map of the area to be updated after the movement to generate a target area map.
[0024] Furthermore, the determining module is specifically used for:
[0025] Based on the current location information of the target approach bridge on the map of the area to be updated, the static road, and the static map elements, determine the template location information of the dynamic approach bridge template in the target approach bridge;
[0026] Based on the template location information and the target location information of the target approach bridge in the target update request, the target straight road connecting the target approach bridge in the dynamic approach bridge template is determined.
[0027] This application also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the above-described method for updating the location of the approach bridge on the map are performed.
[0028] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the above-described method for updating the location of approach bridges on a map.
[0029] Compared with existing methods for determining the location of approach bridges, the method, apparatus, and electronic device for updating the location of approach bridges on a map provided in this application have the following advantages: After determining that the target update request of the target approach bridge in the map of the area to be updated is legitimate, the method determines the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge, static roads, static map elements, and the current location information of the target approach bridge on the map of the area to be updated in the target update request. The method then performs a scaling operation on the target straight road in the dynamic approach bridge template to move the target approach bridge from its current location to its target location. After the movement, the map of the area to be updated is updated to generate the target area map. This application enables timely and accurate updating of the map of the area to be updated with the target approach bridge when the location of the target approach bridge in the dock changes, improving map update efficiency and enabling continuous operation while reducing operation time.
[0030] To make the above-mentioned objects, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. 。 Attached Figure Description
[0031] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 A flowchart of one of the map-based methods for determining approach bridge movement provided in an embodiment of this application is shown;
[0033] Figure 2 This illustration shows one of the structural diagrams of the map to be updated in a map-based method for determining bridge movement provided in an embodiment of this application.
[0034] Figure 3 This illustration shows a second structural diagram of the map to be updated in a map-based method for determining bridge movement provided in an embodiment of this application.
[0035] Figure 4 The diagram illustrates the structure of the upper or lower approach bridge of a target in a map-based method for determining approach bridge movement provided in an embodiment of this application.
[0036] Figure 5 The second flowchart illustrates a map-based method for determining the movement of an approach bridge provided in an embodiment of this application.
[0037] Figure 6 A schematic diagram of a map-based bridge movement determination device provided in an embodiment of this application is shown.
[0038] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.
[0039] 600 - Device for updating the location of approach bridges on the map; 610 - Receiving module; 620 - Determining module; 630 - Generating module; 640 - Establishing module; 700 - Electronic device; 710 - Processor; 720 - Memory; 730 - Bus. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.
[0041] First, the applicable scenarios for this application will be introduced. This application can be applied to the field of electronic device technology.
[0042] Research has revealed that ports, as major gateways for foreign trade, play a crucial role in the loading and unloading process at wharves. Traditional wharf operations require generating different high-precision maps based on vehicle tasks to initiate continued operations. Furthermore, the positions of approach bridges in port bridges can change during operations, necessitating the creation of new map files by operators. This method of moving approach bridges within the map heavily relies on cartographers, resulting in slow map updates and compromised accuracy and efficiency.
[0043] Furthermore, in the existing technology, if the mapmakers do not adjust the target approach bridge position in real time according to the actual situation on site, the approach bridge cannot be changed, resulting in the interruption of operations and the need for manual takeover. At this time, it is necessary to stop the operation, re-download the map, and restart the subsequent operation system, which in turn leads to the need for manual intervention for all vehicles in the port.
[0044] Based on this, embodiments of this application provide a method, apparatus, and electronic device for updating the location of approach bridges on a map. This application enables timely and accurate updating of the map of the area to be updated, which includes the target approach bridge, when the location of the target approach bridge in the dock changes, thereby improving map updating efficiency.
[0045] Please see Figure 1 , Figure 1 This is one of the flowcharts for a map-based method for determining the movement of an approach bridge, provided as an embodiment of this application. Figure 1 As shown in the flowchart of one of the map-based bridge movement determination methods provided in this application embodiment, it includes the following steps:
[0046] S101. When the location of the target approach bridge in the dock changes, a target update request for the target approach bridge in the map of the area to be updated is received, wherein the target update request includes the target location information of the target approach bridge; the map of the area to be updated includes static roads, static map elements, and a dynamic approach bridge template of the target approach bridge.
[0047] In this step, when the port terminal is carrying out loading and unloading operations, the target approach bridge in the terminal needs to be moved according to different operational requirements to meet the operational needs. At this time, a target update request for the target approach bridge in the area map to be updated is received.
[0048] Here, the map to be updated is a high-precision map of the port used for real-time monitoring of unmanned port operations. This high-precision map is generated using a custom high-precision map engine, and the initial map of the area to be updated is generated from this map. Specifically, the map of the area to be updated in the embodiments provided in this application can be as follows: Figure 2 As shown, Figure 2 This illustration shows one of the structural diagrams of the map to be updated in a map-based method for determining bridge movement provided in an embodiment of this application. Figure 2 As shown, Figure 2 The shaded area in the image represents the dynamic approach bridge template for the target approach bridge, and Figure 2 The image shows the specific location of the target approach bridge's dynamic approach bridge template, static roads, and static map elements.
[0049] The target approach bridge is an important part of the port terminal bridge, which is mainly divided into two parts: the main bridge and the target approach bridge.
[0050] Thus, the main bridge is built on the water surface, so factors such as navigation under the bridge, historical high water level, historical high flow, the impact of the bridge piers on the runoff, and the landscape all affect the construction of the main bridge. Therefore, under normal circumstances, the bridge deck must be much higher than the river surface and the riverbank, and vehicles cannot directly go on the bridge. Therefore, it is necessary to build a section of bridge on the ground to "guide" vehicles onto the bridge, which is the target approach bridge mentioned in the embodiments of this application.
[0051] In the above, the target approach bridge generally adopts a spiral shape to reduce the slope, so that vehicles can easily get onto the bridge.
[0052] Optionally, before determining the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge in the target update request, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated, the method for updating the location of the approach bridge on the map further includes:
[0053] Based on the target update request, determine whether the target position information of the target approach bridge is valid.
[0054] Here, the target approach bridge includes an upper target approach bridge and a lower target approach bridge. The step of determining whether the target location information of the target approach bridge is valid based on the target update request includes:
[0055] Based on the target update request, determine whether the target location information of the target upper approach bridge and / or the target lower approach bridge is located within the preset approach bridge movement area.
[0056] Here, based on the target location information of the target approach bridge requested in the target update request, it is determined whether the target location information of the upper approach bridge and / or the target lower approach bridge is located within the preset approach bridge movement area. If so, the target location information of the target upper approach bridge and / or the target lower approach bridge is determined to be valid; if not, the target location information of the target upper approach bridge and / or the target lower approach bridge is determined to be invalid.
[0057] For details, please refer to Figure 3 and Figure 4 , Figure 3 This is a second structural diagram of the map to be updated in a map-based method for determining bridge movement provided in an embodiment of this application. For example... Figure 3 As shown, Figure 3 The map shows the area to be updated after the target approach bridge has been added to the dynamic approach bridge template of the target approach bridge.
[0058] so, Figure 4 This illustration shows a structural diagram of a target upper approach bridge or target lower approach bridge in a map-based method for determining approach bridge movement provided in an embodiment of this application. Figure 4 As shown, Figure 4The map shows the area to be updated after the target approach bridge has been added to the dynamic approach bridge template of the target approach bridge.
[0059] S102. After determining that the target update request is valid, based on the target location information of the target approach bridge, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated in the target update request, determine the target straight road connecting the target approach bridge in the dynamic approach bridge template.
[0060] In this step, since the map of the area to be updated includes multiple straight roads, and this application needs to move the target bridge from its current location to the target location after determining that the target update request is valid, it is necessary to determine the target straight road between the current location of the target bridge and the target location, as well as the target movement area where the target straight road is located, through multiple static map elements in the map of the area to be updated, such as the target location information of the target bridge, the static road, the static map elements, and the current location information of the target bridge on the map of the area to be updated.
[0061] Here, the aforementioned target movement area consists of two fixed approach bridges (the approach bridge group attached to the port terminal bridge), one target upper approach bridge, and one target lower approach bridge.
[0062] Optionally, step S102 includes the following sub-steps:
[0063] Sub-step 1021: Based on the current location information of the target approach bridge on the map of the area to be updated, the static road, and the static map elements, determine the template location information of the dynamic approach bridge template in the target approach bridge.
[0064] Sub-step 1022: Based on the template location information and the target location information of the target approach bridge in the target update request, determine the target straight road connecting the target approach bridge in the dynamic approach bridge template.
[0065] S103. The target straight road in the dynamic approach bridge template is stretched and moved to the target position, and the map of the area to be updated is updated after the movement to generate the target area map.
[0066] In this step, the position coordinate difference of the target approach bridge is calculated based on the current position information and the target position information of the target approach bridge in the dynamic approach bridge template. Then, based on the calculated position coordinate difference, the target straight road is stretched and moved so that the target approach bridge is moved from its current position to its target position. After the movement, the map of the area to be updated is updated to generate the target area map.
[0067] Optionally, the target straight road in the dynamic approach bridge template can be stretched or moved in the following manner:
[0068] Based on the target location information and current location information of the target approach bridge, determine the target distance for stretching and / or contracting the target straight road.
[0069] Here, the method for determining the target distance for stretching and / or shrinking the target straight road can be customized according to different application scenarios. For example, in the embodiments provided in this application, the target distance can be specifically the position coordinate difference between the current position information of the target approach bridge in the dynamic approach bridge template and the target position information of the target approach bridge.
[0070] Based on the target distance, the target straight road is stretched and / or contracted accordingly.
[0071] Here, the embodiment provided in this application stretches and / or contracts the target straight road according to the position coordinate difference between the current position information of the target approach bridge in the dynamic approach bridge template and the target position information of the target approach bridge.
[0072] Different application scenarios correspond to different stretching and / or shrinking methods, which can be specific but not limited to: stretching only the target upper bridge and shrinking the target lower bridge, stretching only the target lower bridge and shrinking the target upper bridge, stretching both the target upper bridge and the target lower bridge at the same time, and shrinking both the target upper bridge and the target lower bridge at the same time.
[0073] Compared with existing methods for determining the location of approach bridges, the method for updating the location of approach bridges on a map provided in this application, after determining that the target update request of the target approach bridge in the map of the area to be updated is legitimate, determines the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge in the target update request, static roads, static map elements, and the current location information of the target approach bridge on the map of the area to be updated. The target straight road in the dynamic approach bridge template is then stretched and moved to move the target approach bridge from its current location to its target location. After the movement, the map of the area to be updated is updated to generate the target area map. This application enables timely and accurate updating of the map of the area to be updated, including the target approach bridge, when the location of the target approach bridge in the dock changes. This improves map update efficiency, reduces costs, and allows for continuous operation, thus reducing operation time.
[0074] Please see Figure 5 , Figure 5 This is a second flowchart illustrating a method for updating the location of an approach bridge on a map, provided as an embodiment of this application. Figure 5As shown in the figure, the method for updating the location of approach bridges on a map provided in this application embodiment includes the following steps:
[0075] S501. When the location of the target approach bridge in the dock changes, a target update request for the target approach bridge in the map of the area to be updated is received, wherein the target update request includes the target location information of the target approach bridge; the map of the area to be updated includes static roads, static map elements, and a dynamic approach bridge template of the target approach bridge.
[0076] S502. After determining that the target update request is valid, based on the target location information of the target approach bridge, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated in the target update request, determine the target straight road connecting the target approach bridge in the dynamic approach bridge template.
[0077] S503. The target straight road in the dynamic approach bridge template is stretched and moved to the target approach bridge from the current position to the target position, and the map of the area to be updated is updated after the movement to generate the target area map.
[0078] S504. Based on the target location information of the approach bridge and the target area map, establish a road space index between the approach bridge and the map.
[0079] In this step, the purpose of establishing the road space index of the approach bridge-map is to facilitate subsequent operators or other relevant personnel to query the relevant target area map in the road space index of the approach bridge-map, re-establish the route based on the target area map, and create new area maps to be updated.
[0080] The descriptions of S501 to S503 can be referred to the descriptions of S101 to S103, and can achieve the same technical effect, so they will not be elaborated further.
[0081] Compared with existing methods for determining the location of approach bridges, the method for updating the location of approach bridges on a map provided in this application, after determining that the target update request of the target approach bridge in the map of the area to be updated is legitimate, determines the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge in the target update request, static roads, static map elements, and the current location information of the target approach bridge on the map of the area to be updated. The target straight road in the dynamic approach bridge template is then stretched and moved to move the target approach bridge from its current location to its target location. After the movement, the map of the area to be updated is updated to generate the target area map. This application enables timely and accurate updating of the map of the area to be updated, including the target approach bridge, when the location of the target approach bridge in the dock changes. This improves map update efficiency, reduces costs, and allows for continuous operation, thus reducing operation time.
[0082] Please see Figure 6 , Figure 6 This is a schematic diagram of a device for updating the location of an approach bridge on a map, provided as an embodiment of this application. Figure 6 As shown, the map approach bridge location updating device 600 includes:
[0083] The receiving module 610 is used to receive a target update request for the target approach bridge in the map of the area to be updated when the position of the target approach bridge in the dock changes. The target update request includes the target position information of the target approach bridge. The map of the area to be updated includes static roads, static map elements, and a dynamic approach bridge template of the target approach bridge.
[0084] The determining module 620 is used to determine the target straight road connecting the target approach bridge in the dynamic approach bridge template after determining that the target update request is valid, based on the target location information of the target approach bridge in the target update request, the static road, the static map element, and the current location information of the target approach bridge on the map of the area to be updated;
[0085] The generation module 630 performs a scaling motion on the target straight road in the dynamic approach bridge template, moves the target approach bridge from its current position to the target position, and updates the map of the area to be updated after the movement, thereby generating a target area map.
[0086] Module 640 is used to create a road space index between the approach bridge and the map based on the target location information of the approach bridge and the target area map.
[0087] Furthermore, the determining module 620 is specifically used for:
[0088] Based on the current location information of the target approach bridge on the map of the area to be updated, the static road, and the static map elements, determine the template location information of the dynamic approach bridge template in the target approach bridge;
[0089] Based on the template location information and the target location information of the target approach bridge in the target update request, the target straight road connecting the target approach bridge in the dynamic approach bridge template is determined.
[0090] Furthermore, the determining module 620 is also specifically used for:
[0091] Based on the target update request, determine whether the target position information of the target approach bridge is valid.
[0092] Furthermore, the target approach bridge includes an upper target approach bridge and a lower target approach bridge. The step of determining whether the target location information of the target approach bridge is valid based on the target update request includes:
[0093] Based on the target update request, determine whether the target location information of the target upper approach bridge and / or the target lower approach bridge is located within the preset approach bridge movement area.
[0094] Furthermore, the target straight road in the dynamic approach bridge template is extended and retracted in the following manner:
[0095] Based on the target location information and current location information of the target approach bridge, determine the target distance for stretching and / or contracting the target straight road;
[0096] Based on the target distance, the target straight road is stretched and / or contracted accordingly.
[0097] Compared with existing methods for determining the location of approach bridges, the approach bridge location update device 600 provided in this application, after determining that the target update request of the target approach bridge in the map of the area to be updated is legitimate, determines the target straight road connecting the target approach bridge in the dynamic approach bridge template based on the target location information of the target approach bridge in the target update request, static roads, static map elements, and the current location information of the target approach bridge on the map of the area to be updated. It then performs a scaling operation on the target straight road in the dynamic approach bridge template, moving the target approach bridge from its current location to the target location. After the movement, it updates the map of the area to be updated, generating a target area map. This application enables timely and accurate updating of the map of the area to be updated, including the target approach bridge, when the location of the target approach bridge in the dock changes. This improves map update efficiency, reduces costs, and allows for continuous operation, thus reducing operation time.
[0098] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7 As shown, the electronic device 700 includes a processor 710, a memory 720, and a bus 730.
[0099] The memory 720 stores machine-readable instructions executable by the processor 710. When the electronic device 700 is running, the processor 710 communicates with the memory 720 via the bus 730. When the machine-readable instructions are executed by the processor 710, they can perform the operations described above. Figure 1 as well as Figure 2 The steps of the method for updating the location of the approach bridge on the map in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.
[0100] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 as well as Figure 2 The steps of the method for updating the location of the approach bridge on the map in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.
[0101] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0102] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0103] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0104] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0105] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0106] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims. 。
Claims
1. A method of updating the position of a drawbridge on a map, characterized in that The map bridge position updating method comprises the following steps: When the target bridge position in the wharf changes, a target update request for the target bridge in the region map to be updated is received, wherein the target update request comprises target position information of the target bridge; the region map to be updated comprises static roads, static map elements, and a dynamic bridge template of the target bridge; After determining that the target update request is legal, a target straight road connected to the target bridge is determined based on the target position information of the target bridge in the target update request, the static roads, the static map elements, and current position information of the target bridge on the region map to be updated; The target straight road in the dynamic bridge template is stretched and contracted to move the target bridge from the current position to the target position, and the region map to be updated is updated after the movement to generate a target region map.
2. The method of updating the position of a bridge on a map according to claim 1, characterized by, The target straight road connected to the target bridge in the dynamic bridge template is determined based on the target position information of the target bridge in the target update request, the static roads, the static map elements, and the current position information of the target bridge on the region map to be updated, comprising: According to the current position information of the target bridge on the region map to be updated, the static roads, and the static map elements, template position information of the dynamic bridge template in the target bridge is determined; According to the template position information and the target position information of the target bridge in the target update request, the target straight road connected to the target bridge in the dynamic bridge template is determined.
3. The method of updating the position of a bridge on a map according to claim 1, characterized by, Before determining the target straight road connected to the target bridge in the dynamic bridge template based on the target position information of the target bridge in the target update request, the static roads, the static map elements, and the current position information of the target bridge on the region map to be updated, the map bridge position updating method further comprises: According to the target update request, it is judged whether the target position information of the target bridge is legal.
4. The method of updating the position of a bridge on a map according to claim 3, characterized by, The target bridge comprises a target upper bridge and a target lower bridge, and the judgment of whether the target position information of the target bridge is legal according to the target update request comprises: According to the target update request, it is judged whether the target position information of the target upper bridge and / or the target lower bridge is located in a preset bridge movement area.
5. The method of updating the position of a bridge on a map according to claim 1, wherein, The target straight road in the dynamic bridge template is stretched and contracted in the following way: According to the target position information of the target bridge and the current position information of the target bridge, a target distance of stretching and / or contraction of the target straight road is determined; According to the target distance, the target straight road is stretched and / or contracted correspondingly.
6. The method of updating the position of a bridge on a map according to claim 1, wherein, After the target straight road in the dynamic bridge template is stretched and contracted to move the target bridge from the current position to the target position, and the region map to be updated is updated after the movement to generate a target region map, the map bridge position updating method further comprises: According to the target position information of the target bridge and the target area map, a bridge-map road space index is established.
7. An apparatus for updating the position of a drawbridge on a map, characterized by The updating device of the bridge position on the map comprises: A receiving module is configured to receive a target update request for a target bridge in a to-be-updated area map when a position of the target bridge in a terminal changes, wherein the target update request comprises target position information of the target bridge; the to-be-updated area map comprises static roads, static map elements, and a dynamic bridge template of the target bridge; A determining module is configured to, after determining that the target update request is legal, determine a target straight road connected to the target bridge in the dynamic bridge template based on the target position information of the target bridge in the target update request, the static roads, the static map elements, and current position information of the target bridge on the to-be-updated area map; A generating module is configured to perform a telescopic movement on the target straight road in the dynamic bridge template, move the target bridge from a current position to a target position, and update the to-be-updated area map after the movement to generate a target area map.
8. The apparatus for updating the position of a bridge on a map according to claim 7, wherein The determining module is specifically configured to: determine template position information of the dynamic bridge template in the target bridge according to the current position information of the target bridge on the to-be-updated area map, the static roads, and the static map elements; and determine the target straight road connected to the target bridge in the dynamic bridge template according to the template position information and the target position information of the target bridge in the target update request.
9. An electronic device, comprising: The electronic device comprises: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to perform the steps of the updating method of the bridge position on the map according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the updating method of the bridge position on the map according to any one of claims 1 to 6.
Citation Information
Patent Citations
High-precision positioning method, device and system, electronic device and storage medium
CN112782733A
Map information guidance device, map information guidance method, and computer program
US20110282575A1