Upgrading method and device of navigation system, electronic equipment and storage medium

By building the initial navigation system and synchronous updates with the existing system, using version control and grayscale release tools, combining traffic control and rollback mechanisms, the problems of service interruption and data inconsistency during navigation system upgrade are solved, and safe and efficient system upgrades and business continuity are achieved.

CN120295652APending Publication Date: 2025-07-11ZHEJIANG YIGANGTONG ELECTRONIC COMMERCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510342039.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In the prior art, there are problems such as service interruption, data inconsistency, and rollback during the navigation system upgrade process, which affects business continuity and user experience, and there is difficulty in service flow control and response to new business demands when new and old systems are parallel.

Method used

By building an initial navigation system and synchronous updates with existing systems, using version control and distributed transaction tools to ensure data consistency, combining grayscale release and traffic control tools for traffic allocation, and preset rollback mechanisms to handle exceptions to ensure system stability and security.

Benefits of technology

It effectively avoids the risk of service interruption during navigation system upgrade, ensures data consistency and precise management of traffic control, improves the security and overall efficiency of upgrades, and supports multi-mode navigation, dynamic path planning and real-time monitoring and early warning capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295652A_ABST
    Figure CN120295652A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information, in particular to a navigation system upgrading method and device, electronic equipment and a storage medium, and the navigation system upgrading device comprises an uninterrupted updating module and a flow control module; the non-interruption updating module firstly copies an existing navigation system as an initial system, and sets the updated initial system as a target navigation system after synchronous updating. The flow control module dynamically adjusts the existing flow distribution of the target navigation system and rolls back the flow and configuration of the target system according to a preset mechanism once an abnormality is found; and if not, continuously adjusting until the upgrading is finished. Through an innovative system upgrading scheme, the service interruption risk possibly encountered when the navigation system is upgraded is effectively avoided, the consistency and accuracy of data are ensured, and accurate management of flow control is realized. And the security and the overall efficiency when the navigation system is upgraded are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the prior art, system architecture upgrades are often accompanied by problems such as service interruptions, data inconsistencies, and difficult rollbacks, which seriously affect business continuity and user experience. Especially during business migration, if content synchronization updates cannot be ensured, business expansion will be directly hindered. At the same time, business traffic control during the parallel operation of new and old systems and the rapid response to new business requirements are also major challenges faced by current technologies.

[0003] Therefore, there is an urgent need to provide a technical solution to solve the above problems. Summary of the Invention

[0004] To solve the above technical problems, the present invention provides an upgrade method, device, electronic device, and storage medium for a navigation system.

[0005] In a first aspect, the present invention provides an upgrade method for a navigation system, and the technical solution of this method is as follows: Construct an initial navigation system identical to the existing navigation system, and synchronously update the existing navigation system and the initial navigation system according to the target update plan, and determine the updated initial navigation system as the target navigation system; Dynamically adjust the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determine whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, perform traffic rollback and configuration rollback on the target navigation system according to the preset rollback mechanism. If no abnormality occurs, continue the dynamic adjustment until completion to achieve the upgrade of the existing navigation system.

[0006] The beneficial effects of an upgrade method for a navigation system of the present invention are as follows: Through the innovative system upgrade solution of the present invention, not only the risk of service interruption that the navigation system may encounter during upgrade is effectively avoided, but also data consistency and accuracy are ensured, and precise management of traffic control is achieved. The safety and overall efficiency during the upgrade of the navigation system are improved.

[0007] Based on the above solution, an upgrade method for a navigation system of the present invention can also be improved as follows.

[0008] In an optional manner, it further includes: Obtain business requirements, and determine the target update plan according to the business requirements; wherein, the target update plan includes: update time and update content.

[0009] In the above optional method, by obtaining and analyzing business requirements, a target update plan (including update time and update content) can be customized to ensure that each upgrade is based on actual business requirements, avoiding unnecessary or excessive update operations. By clarifying the update time and update content, the upgrade process can be better planned, avoiding business interruptions or potential risks caused by sudden updates, improving the system's response ability to new business requirements, and ensuring the accuracy and pertinence of updates.

[0010] In an optional method, the step of synchronously updating the existing navigation system and the initial navigation system according to the target update plan includes: According to the update time and the update content, using a version control mechanism, gradually deploy the update content to the existing navigation system, and use a distributed transaction or a data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all update content is deployed.

[0011] In the above optional method, through the version control mechanism, the historical record of each update can be traced and rolled back as needed, effectively avoiding problems such as data inconsistency or update errors. Using a distributed transaction or a data synchronization tool to synchronously update the existing navigation system and the initial navigation system ensures data consistency between the two systems and avoids system anomalies caused by data asynchronization. The above method can gradually deploy the update content to the existing system, reducing the risk brought by full-scale updates and ensuring the stability of the system and the continuity of business.

[0012] In an optional method, the step of dynamically adjusting the traffic allocation ratio between the updated existing navigation system and the target navigation system includes: Using a traffic control tool, determine the current switching volume of the business traffic in the updated existing navigation system; According to the current switching volume, use a gray release mechanism to gradually switch the business traffic to the target navigation system.

[0013] In the above optional method, through the gray release mechanism, the service traffic is gradually switched from the updated existing navigation system to the target navigation system, which can effectively reduce the risk brought by traffic mutation and ensure a smooth transition of the new system when processing real traffic. By using the traffic control tool, the switching volume of the current service traffic is determined, ensuring that the system can perform precise traffic allocation according to the actual load conditions and avoiding the collapse of the new system due to a large amount of instantaneous traffic. If an abnormality occurs during the traffic switching process, the traffic and configuration of the target navigation system can be rolled back through the preset rollback mechanism to ensure that the system can quickly return to the normal state and avoid long-term service interruption or data inconsistency problems. Through the combination of gray release and traffic control, the traffic allocation at each stage during the upgrade process can be dynamically adjusted and monitored to ensure the security and stability of the entire upgrade process.

[0014] In a second aspect, the present invention provides an upgrade device for a navigation system, and the technical solution of the device is as follows: The upgrade device of the navigation system includes: a non-interrupt update module and a traffic control module; The non-interrupt update module is used to: construct an initial navigation system identical to the existing navigation system, and synchronously update the existing navigation system and the initial navigation system according to the target update plan, and determine the updated initial navigation system as the target navigation system; The traffic control module is used to: dynamically adjust the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determine whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, according to the preset rollback mechanism, perform traffic rollback and configuration rollback on the target navigation system. If no abnormality occurs, continue the dynamic adjustment until completion to achieve the upgrade of the existing navigation system.

[0015] The beneficial effects of an upgrade device for a navigation system according to the present invention are as follows: The device of the present invention not only effectively avoids the risk of service interruption that may be encountered during the upgrade of the navigation system through an innovative system upgrade solution, but also ensures the consistency and accuracy of data, and realizes precise management of traffic control. It improves the security and overall efficiency during the upgrade of the navigation system.

[0016] Based on the above solution, an upgrade device for a navigation system according to the present invention can also be improved as follows.

[0017] In an optional method, it further includes: an update plan module; The update plan module is used to: obtain business requirements, and determine the target update plan according to the business requirements; wherein, the target update plan includes: update time and update content.

[0018] In the above optional manner, by obtaining and analyzing business requirements, it is possible to customize the determination of the target update plan (including the update time and update content), thereby ensuring that each upgrade is based on actual business requirements and avoiding unnecessary or excessive update operations. By clarifying the update time and update content, it is possible to better plan the upgrade process, avoid business interruptions or potential risks caused by sudden updates, improve the system's response ability to new business requirements, and ensure the accuracy and pertinence of the update.

[0019] In an optional manner, the uninterrupted update module is specifically configured to: According to the update time and the update content, using a version control mechanism, gradually deploy the update content to the existing navigation system, and use a distributed transaction or a data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all update content is deployed.

[0020] In the above optional manner, through the version control mechanism, it is possible to track the historical records of each update and perform rollback as needed, effectively avoiding problems such as data inconsistency or update errors. Using a distributed transaction or a data synchronization tool to perform synchronous updates on the existing navigation system and the initial navigation system ensures data consistency between the two systems and avoids system anomalies caused by data asynchronization. The above method can gradually deploy the update content to the existing system, reducing the risks brought by full-scale updates and ensuring the stability of the system and the continuity of the business.

[0021] In an optional manner, the traffic control module is specifically configured to: Use a traffic control tool to determine the current switching volume of the business traffic in the updated existing navigation system; According to the current switching volume, use a gray release mechanism to gradually switch the business traffic to the target navigation system.

[0022] In the above optional manner, by using a gray release mechanism to gradually switch the business traffic from the updated existing navigation system to the target navigation system, it is possible to effectively reduce the risks brought by sudden traffic changes and ensure a smooth transition of the new system when processing real traffic. Using a traffic control tool to determine the switching volume of the current business traffic ensures that the system can perform precise traffic allocation according to the actual load conditions and avoids the new system from crashing due to a large amount of instantaneous traffic. If an exception occurs during the traffic switching process, it is possible to roll back the traffic and configuration of the target navigation system through a preset rollback mechanism to ensure that the system can quickly return to a normal state and avoid long-term service interruptions or data inconsistency problems. By combining gray release and traffic control, it is possible to dynamically adjust and monitor the traffic allocation at each stage during the upgrade process to ensure the safety and stability of the entire upgrade process.

[0023] In a third aspect, a technical solution of an electronic device according to the present invention is as follows: It includes a memory, a processor, and a program stored on the memory and running on the processor. When the processor executes the program, it implements the steps of the method for upgrading the navigation system of the present invention.

[0024] In a fourth aspect, a technical solution of a computer-readable storage medium provided by the present invention is as follows: Instructions are stored in the computer-readable storage medium. When the computer-readable storage medium reads the instructions, the computer-readable storage medium is caused to execute the steps of the method for upgrading the navigation system of the present invention.

[0025] The above description is only an overview of the technical solution of the present invention. In order to be able to more clearly understand the technical means of the present invention, it can be implemented in accordance with the content of the description. And in order to make the above and other objects, features and advantages of the present invention more obvious and understandable, the following specifically illustrates the specific embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings are only used to illustrate the embodiments and are not considered to be a limitation of the present invention. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings: Figure 1 is a schematic flowchart of an embodiment of a method for upgrading a navigation system according to the present invention; Figure 2 is a schematic structural diagram of an embodiment of an apparatus for upgrading a navigation system according to the present invention; Figure 3 is a schematic structural diagram of an embodiment of an electronic device according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0027] Hereinafter, exemplary embodiments of the present invention will be described in more detail with reference to the drawings. Although the exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein.

[0028] Figure 1 shows a schematic flowchart of an embodiment of a method for upgrading a navigation system provided by the present invention, and the method is executed by a controller. As Figure 1 shown, it includes the following steps: S1. Construct an initial navigation system identical to the existing navigation system, and synchronously update the existing navigation system and the initial navigation system according to the target update plan, and determine the updated initial navigation system as the target navigation system. In S1: 1) The existing navigation system refers to the actual system that is currently running and providing navigation services to users before the start of the upgrade process. The existing navigation system has been deployed and is handling business traffic. It is the underlying system to be upgraded, and all upgrade operations are based on this system. During the upgrade process, the existing navigation system continues to process users' business requests to ensure business continuity during the upgrade. According to the target update plan, the existing navigation system will be updated synchronously with the initial navigation system to ensure consistency in the upgrade content between the old and new systems. If an abnormal situation occurs during the upgrade process, the business traffic will roll back to the existing navigation system to ensure service continuity and stability.

[0029] 2) The initial navigation system is a system identical to the existing navigation system built at the start of the upgrade. As a copy of the existing navigation system, the initial navigation system is used to update synchronously with the existing navigation system to ensure that the normal operation of the existing system is not affected during the upgrade process. The synchronous update of the initial navigation system and the existing navigation system ensures that the update operations of the new system do not impact the operation of the existing system. The initial navigation system can serve as a sandbox for testing and validating new features to ensure that all update operations can be fully verified before the official traffic switch. After the update is completed, the initial navigation system will be determined as the new target navigation system and become the system for handling business traffic in the future.

[0030] 3) The target update plan is a detailed upgrade plan formulated according to business requirements, including the specific time and content of the upgrade. The target update plan clarifies when to perform upgrade operations to ensure that the upgrade does not affect peak business periods, and specifies the specific functions or modules to be updated to ensure that the upgrade is targeted and the upgrade process is orderly and controllable. The target update plan defines the time and content of the upgrade, providing clear guidance for the entire upgrade process. The target update plan is formulated based on actual business requirements to ensure that each upgrade is carried out for specific business problems or needs, avoiding aimless or unnecessary updates. According to the specific content of the target update plan, the existing navigation system and the initial navigation system will be updated synchronously to ensure consistency in the update content of the two systems.

[0031] 4) The target navigation system is the new system evolved from the initial navigation system after the upgrade process is completed. After the initial navigation system completes the update and is verified, it will be determined as the target navigation system, responsible for taking over the existing business traffic and becoming the new business processing system. The target navigation system is the upgraded new system, equipped with all new functions and improvements. During the upgrade process, the business traffic will gradually switch from the existing navigation system to the target navigation system, and finally, all business requests will be fully processed by the target navigation system. If an abnormal situation occurs during the traffic switch, the target navigation system can perform rollback of traffic and configuration according to the preset rollback mechanism to ensure system stability.

[0032] Specifically, the controller constructs an initial navigation system identical to the existing navigation system, and synchronously updates the existing navigation system and the initial navigation system according to the target update plan, and determines the updated initial navigation system as the target navigation system.

[0033] S2. Dynamically adjust the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determine whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, roll back the traffic and configuration of the target navigation system according to the preset rollback mechanism. If no abnormality occurs, continue the dynamic adjustment until completion to achieve the upgrade of the existing navigation system. In S2: 1) The updated existing navigation system refers to the system after the function or configuration of the original existing navigation system has been updated according to the target update plan. The updated existing navigation system has been upgraded according to the new business requirements and update plan, but has not completely replaced the old system to handle all business traffic. The updated existing navigation system is part of the entire upgrade process. After the update operation, it will be synchronized with the initial navigation system (gradually evolving into the target navigation system) and jointly accept traffic switching and verification. During the gray release process, the updated existing navigation system will gradually switch the business traffic to the target navigation system to ensure a smooth transition of the traffic. If problems occur during the upgrade process, the updated existing navigation system can serve as the starting point for the rollback operation, and through the preset rollback mechanism, restore the traffic and configuration to the state before the upgrade. The updated existing navigation system includes newly deployed functions and configurations, and these updates are completed according to the business requirements and target update plan.

[0034] 2) The traffic allocation ratio refers to the ratio of business traffic distribution between the updated existing navigation system and the target navigation system during the upgrade process. By dynamically adjusting the traffic allocation ratio, the business traffic can be gradually switched from the existing system to the new system (target navigation system). The traffic allocation ratio can precisely control how much business traffic will be directed to the new system (target navigation system), thereby gradually completing the system switch. This step-by-step switching method reduces the risk brought by traffic mutations. The traffic allocation ratio is the core of the gray release mechanism. By gradually adjusting the traffic allocation ratio, the traffic can be safely migrated from the old system to the new system while maintaining business stability. During the process of dynamically adjusting the traffic allocation ratio, it is possible to detect whether abnormal situations occur. If problems occur at a certain ratio, the adjustment can be stopped in a timely manner and the rollback mechanism can be triggered.

[0035] 3) The preset rollback mechanism refers to a mechanism that can automatically or manually restore to the state before the upgrade if abnormal situations (such as system failures or abnormal business traffic) are detected during the upgrade process. This mechanism is preset before the upgrade starts to ensure that any problems during the upgrade process can be handled in a timely manner. The preset rollback mechanism can ensure that when problems occur during the upgrade, the navigation system can quickly return to the stable state before the upgrade, avoiding long-term service interruptions or data inconsistencies. Through the preset rollback mechanism, the risks during the upgrade process are greatly reduced, ensuring that irreversible impacts on the business will not occur in case of abnormalities. The preset rollback mechanism can be automatically triggered according to preset conditions or manually triggered by operation and maintenance personnel to ensure flexible response in various situations.

[0036] 4) Traffic rollback means that during the upgrade process, if an abnormality occurs, the system will switch the business traffic that has been switched to the new system (target navigation system) back to the old system (updated existing navigation system). Traffic rollback can ensure that the business traffic will not be interrupted due to abnormalities in the new system, guaranteeing the normal use of users. By switching the traffic back to the old system, it can quickly return to the stable state before the upgrade, avoiding long-term service unavailability.

[0037] 5) Configuration rollback means that during the upgrade process, if an abnormality occurs, the system will restore all applied configuration changes (including functions, parameters, environment settings, etc.) to the state before the upgrade. Configuration rollback can ensure that the system configuration will not have issues of inconsistency or incorrect configuration due to upgrade failures. By restoring the configuration to the state before the upgrade, the navigation system can quickly return to a known stable state, avoiding system abnormalities caused by incorrect configurations.

[0038] Specifically, the controller further dynamically adjusts the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determines whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, according to the preset rollback mechanism, traffic rollback and configuration rollback are performed on the target navigation system. If no abnormality occurs, the dynamic adjustment continues until completion to achieve the upgrade of the existing navigation system.

[0039] The technical solution of this embodiment not only effectively avoids the service interruption risk that the navigation system may encounter during the upgrade through an innovative system upgrade solution, but also ensures the consistency and accuracy of data, and realizes precise management of traffic control. It improves the security and overall efficiency during the upgrade of the navigation system.

[0040] In an optional manner, it further includes: Obtain business requirements, and determine a target update plan according to the business requirements; where the target update plan includes: update time and update content.

[0041] In this embodiment, business requirements regarding multi-mode navigation support, dynamic path planning, multi-priority scheduling, and real-time monitoring and warning are obtained, and the update time and update content are determined.

[0042] Among them, regarding multi-mode navigation support, since there are various types of transportation tools inside the terminal, including automated guided vehicles (AGVs), container trucks, stackers, etc., the navigation system is required to support the navigation and scheduling of multiple transportation tools. External transportation tools such as trucks and ships also need to be incorporated into the unified navigation system to achieve integrated internal and external scheduling. The corresponding modification contents include but are not limited to: modifying the navigation algorithm to enable it to provide different navigation paths and scheduling strategies according to different types of transportation tools (such as AGVs, container trucks, stackers, trucks, ships, etc.); adding a transportation tool type configuration interface to allow the system administrator to configure the navigation parameters of different transportation tools according to the actual situation.

[0043] Regarding dynamic path planning, due to the ever-changing internal and external traffic conditions in the terminal, the navigation system needs to be able to dynamically adjust the driving paths of transportation tools in real time according to factors such as road congestion and the busyness of the operation area to ensure efficient transportation. The corresponding modification contents include but are not limited to: integrating real-time traffic data, including the congestion conditions of internal and external roads in the terminal and the busyness of the operation area. Developing a dynamic path planning algorithm to calculate the optimal driving path based on real-time traffic data and adjusting the path in real time when the traffic conditions change.

[0044] Regarding multi-priority scheduling, different types of transportation tasks have different priorities. For example, the priority of an urgent container loading task for a ship is higher than that of a regular transportation task. The navigation system needs to be able to dynamically adjust the scheduling strategy according to the task priority. The corresponding modification contents include but are not limited to: adding a task priority configuration interface to allow the system administrator to configure different priorities according to the urgency of the task. Modifying the scheduling algorithm to enable it to dynamically adjust the scheduling strategy of transportation tools according to the task priority.

[0045] Regarding real-time monitoring and warning, the navigation system needs to have the ability to monitor the status of internal and external transportation tools in the terminal in real time and, in the event of traffic jams, equipment failures, etc., give early warnings in a timely manner and adjust the navigation plan. The corresponding modification contents include but are not limited to: integrating a real-time monitoring system to obtain information such as the real-time position and status of transportation tools. Developing an early warning mechanism to give early warnings in a timely manner when the navigation system detects traffic jams, equipment failures, etc., and automatically adjust the navigation plan.

[0046] Specifically, the controller further obtains the business requirements and determines the target update plan according to the business requirements.

[0047] In an alternative way, the steps of synchronously updating the existing navigation system and the initial navigation system according to the target update plan include: According to the update time and content, using the version control mechanism, gradually deploy the updated content to the existing navigation system, and use distributed transactions or data synchronization tools to synchronize the current updated content of the existing navigation system to the initial navigation system until all the updated content is deployed.

[0048] It should be noted that the version control mechanism refers to a mechanism used to record, manage, and track changes in various software components, configuration files, map data, scheduling algorithms, etc. in the navigation system. Through the version control mechanism, the navigation system can save the states of the navigation system at different stages. When an update exception occurs, by comparing the data and functions of different versions of the navigation system, it can be restored to a previous stable version to ensure that the navigation system can evolve orderly and safely during the gradual update and optimization process.

[0049] Specifically, the version control mechanism can be applied to multiple aspects of the navigation system, such as: Versioning of navigation algorithms: Record and track different versions of scheduling algorithms and path planning logics.

[0050] Versioning of map data: Save and update the map data inside and outside the wharf to ensure that different versions of map data can be correctly used at different time points.

[0051] Versioning of configuration files: Save different versions of system configuration files, such as scheduling policies, priority settings, real-time monitoring rules, etc.

[0052] For example, if a navigation error occurs after a new path planning algorithm is deployed, it can be traced back to the previous stable version through the version control mechanism to view the change history and quickly locate the problem.

[0053] Distributed transaction refers to a mechanism in a distributed system that ensures that multiple independent operations are either all successful or all rolled back. It ensures data consistency and integrity in operations involving multiple subsystems or databases. During the synchronous update process of the in-port navigation system, distributed transactions can ensure that all update operations take effect or are rolled back simultaneously in the existing navigation system and the initial navigation system. For example, when the navigation system updates the path planning algorithm, the distributed transaction will ensure that this update operation is successful in both navigation systems, or when one of the navigation systems fails, both navigation systems remain in the state before the update.

[0054] A data synchronization tool is a tool used to ensure data consistency among multiple systems or databases. It is responsible for replicating and synchronizing data between different systems to ensure that their content and status are consistent. During the synchronization and update process of the in-port navigation system, the data synchronization tool is responsible for copying the updated content of the existing navigation system to the initial navigation system, ensuring that the data and configurations of the two navigation systems are consistent at any point in time. For example, when the map data is updated from v1.0 to v2.0, the data synchronization tool ensures that the initial navigation system also immediately receives this update, keeping the map data of the two navigation systems consistent.

[0055] In this embodiment, according to the update time and update content specified in the target update plan, the version control mechanism is used to gradually deploy the update content to the existing navigation system. At the same time, a distributed transaction or a data synchronization tool is used to synchronize these updates to the initial navigation system. Assuming that the update content includes a new path planning algorithm v2.0 and new map data v2.0, the version control mechanism will gradually deploy the v2.0 algorithm and data to the existing navigation system. After each update is completed, the distributed transaction or data synchronization tool ensures that the initial navigation system also receives these updates synchronously, keeping the states of the two navigation systems consistent.

[0056] The deployment of the update is carried out step by step. After each update step is completed, the update is synchronized to the initial navigation system through a distributed transaction or a data synchronization tool. For example, first, the path planning algorithm is updated to version v2.0, and the data synchronization tool is used to synchronize this update to the initial navigation system. Then, the map data is updated to version v2.0 and synchronized to the initial navigation system again. Until all the update content is deployed, both the existing navigation system and the initial navigation system reach the state of the target navigation system.

[0057] Specifically, the controller further uses the version control mechanism to gradually deploy the update content to the existing navigation system according to the update time and update content, and uses a distributed transaction or a data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all the update content is deployed.

[0058] In an alternative manner, the steps of dynamically adjusting the traffic allocation ratio between the updated existing navigation system and the target navigation system include: Using a traffic control tool to determine the current switching volume of the business traffic in the updated existing navigation system; According to the current switching volume, using the gray release mechanism to gradually switch the business traffic to the target navigation system.

[0059] It should be noted that the traffic control tool is a tool used to manage, regulate, and distribute the service traffic in the system (such as user requests, data transmissions, etc.). It can monitor the load conditions of various services or modules in the system and dynamically adjust the traffic distribution according to the demand to ensure that the navigation system can still operate smoothly under high load conditions and avoid overloading or crashing of the navigation system. During the upgrade process of the navigation system, the traffic control tool is used to determine the service traffic situation in the updated existing navigation system. For example, during the process of gradually switching the service traffic from the updated existing navigation system to the target navigation system, the traffic control tool can monitor the traffic loads of the current two navigation systems in real time to ensure that the system performance will not decline or the system will not crash due to excessive traffic. Through the traffic control tool, the service traffic can be gradually and smoothly switched from the updated existing navigation system to the target navigation system, avoiding the pressure caused by a large amount of traffic surging into the new system instantaneously.

[0060] The current switching volume refers to the proportion of the service traffic that has been transferred from the updated existing navigation system to the target navigation system during the process of switching the service traffic in the navigation system. During the upgrade process of the navigation system, the current switching volume is a key indicator monitored by the traffic control tool. By monitoring the current switching volume, it can be judged whether the traffic transferred to the target navigation system is within the controllable range and whether the new system can process this traffic normally. For example, if the traffic is switched gradually as follows: 10% of the traffic is switched each time currently. The traffic control tool can report the proportion of the traffic that has been switched currently (for example, the current switching volume is 10%) in real time and decide whether to continue the next traffic switch based on this data and determine the next switching volume.

[0061] The gray release mechanism is a mechanism for gradually releasing the new version of the system. It first releases the new version of the system to a small number of users or service traffic for testing and verification. After ensuring the stable operation of the new system, it gradually expands the scope and finally releases the new version to all users completely. This method can effectively reduce the risks brought by system upgrades and avoid the problems in the new version affecting the entire system. During the upgrade process of the navigation system, the gray release mechanism is used to gradually switch the service traffic from the updated existing navigation system to the target navigation system. Through the gray release mechanism, a small part of the traffic (such as 10% of the traffic) can be switched to the target navigation system first, observe the operation situation of the target navigation system, and continue to increase the traffic proportion after confirming that there is no abnormality until all the traffic is switched to the target navigation system. This gradual switching method can effectively reduce the upgrade risks and ensure that even if there are problems with the target navigation system, it will only affect a small part of the traffic and will not affect the entire navigation system.

[0062] In this embodiment, it is assumed that there are 100 container trucks operating in the terminal, and currently they are all scheduled and path-planned by the existing navigation system.

[0063] Using the traffic control tool, first switch 10% of the truck traffic to the target navigation system. At this time, the target navigation system starts to handle the path planning and scheduling tasks of these 10% of the trucks. The traffic control tool will monitor the load situation and operating status of the new system in real time. During this process, the current switching volume (i.e., the proportion of truck traffic that has been switched to the new system) is 10%. If the target navigation system operates well without any abnormalities, continue to gradually increase the traffic switching ratio. For example, next, 20% of the traffic can be switched, then 50%, and finally 100% of the traffic is switched. Each time the switching ratio is increased, the traffic control tool will give real-time feedback on the current switching volume and judge the system load and operating status. If the load and operating status cannot support the current switching volume, the current switching volume can be reduced to continue the switching of business traffic.

[0064] Through the gray release mechanism, gradually switch the business traffic from the updated existing navigation system to the target navigation system to avoid the risks caused by a one-time switch. For example, during the process of switching traffic, it can be gradually completed according to preset settings, such as increasing 10% of the traffic each time. After each traffic switch, the performance of the new system will be monitored. After ensuring that everything is normal, continue to switch until all business traffic is switched.

[0065] Specifically, the controller further uses the traffic control tool to determine the current switching volume of the business traffic in the updated existing navigation system; according to the current switching volume, use the gray release mechanism to gradually switch the business traffic to the target navigation system.

[0066] It should be noted that if the target navigation system has problems when processing a certain part of the traffic (such as an error in the scheduling algorithm or unreasonable path planning), the preset rollback mechanism will be immediately triggered to roll back the traffic that has been switched to the new system to the existing navigation system to ensure the normal operation of the terminal operation. For example, if it is found that the performance of the target navigation system decreases when switching to 50% of the traffic, the gray release mechanism will immediately stop the traffic switching and return the switched traffic to the updated existing navigation system through the rollback mechanism to avoid affecting the entire terminal operation.

[0067] If the process proceeds smoothly, the target navigation system will gradually take over all business traffic. Eventually, when 100% of the business traffic is switched to the target navigation system, the upgrade of the navigation system is completed. At this time, the target navigation system becomes the new existing navigation system put into use after the upgrade, supporting the integrated navigation and scheduling tasks inside and outside the terminal.

[0068] Figure 2 The structural schematic diagram of an embodiment of an upgrade device 200 for a navigation system provided by the present invention is shown. As Figure 2 shown, the device 200 includes: a non-interrupt update module 210 and a traffic control module 220; The non-interrupt update module 210 is used for: constructing an initial navigation system identical to the existing navigation system, and synchronously updating the existing navigation system and the initial navigation system according to the target update plan, and determining the updated initial navigation system as the target navigation system; The traffic control module 220 is used for: dynamically adjusting the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determining whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, the traffic rollback and configuration rollback of the target navigation system are performed according to the preset rollback mechanism. If no abnormality occurs, the dynamic adjustment continues until completion, so as to realize the upgrade of the existing navigation system.

[0069] In an alternative manner, it further includes: an update plan module; The update plan module is used for: obtaining the service requirements, and determining the target update plan according to the service requirements; wherein, the target update plan includes: update time and update content.

[0070] In an alternative manner, the non-interrupt update module is specifically used for: According to the update time and update content, using the version control mechanism, gradually deploy the update content to the existing navigation system, and use the distributed transaction or data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all the update content is deployed.

[0071] In an alternative manner, the traffic control module is specifically used for: Using the traffic control tool, determine the current switching volume of the service traffic in the updated existing navigation system; According to the current switching volume, use the gray release mechanism to gradually switch the service traffic to the target navigation system.

[0072] The technical solution of this embodiment not only effectively avoids the service interruption risk that may be encountered during the upgrade of the navigation system through an innovative system upgrade solution, but also ensures the consistency and accuracy of data, and realizes precise management of traffic control. It improves the safety and overall efficiency during the upgrade of the navigation system.

[0073] For the parameters and the steps for each module in the above-mentioned upgrade device 200 of the navigation system in this embodiment to implement the corresponding functions, reference can be made to the parameters and steps in the embodiment of the upgrade method of the navigation system in the above text, and details are not described herein.

[0074] AsFigure 3 As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320. The processor 320 is coupled to a memory 310. At least one computer program 330 is stored in the memory 310. The at least one computer program 330 is loaded and executed by the processor 320 to enable the electronic device 300 to implement any one of the above navigation system upgrade methods. Specifically: The electronic device 300 may vary greatly due to configuration or performance differences. It may include one or more processors 320 (Central Processing Units, CPUs) and one or more memories 310. Among them, at least one computer program 330 is stored in the one or more memories 310. The at least one computer program 330 is loaded and executed by the one or more processors 320 to enable the electronic device 300 to implement any one of the navigation system upgrade methods provided in the above embodiments. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output. The electronic device 300 may also include other components for implementing device functions, which will not be elaborated here.

[0075] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program. The at least one computer program is loaded and executed by a processor to enable a computer to implement any one of the above navigation system upgrade methods.

[0076] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0077] In an exemplary embodiment, a computer program product or a computer program is also provided. The computer program product or the computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to enable the electronic device to execute any one of the above navigation system upgrade methods.

[0078] It should be noted that the terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to limit a specific order or sequence. In appropriate cases, the order of use of similar objects may be interchanged so that the embodiments of this application described here can be implemented in an order other than the illustrated or described order.

[0079] Those skilled in the art of the present technology know that the present invention can be implemented as a system, a method or a computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, that is: it can be entirely hardware, or entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" in this article. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable media contains computer-readable program code.

[0080] Any combination of one or more computer-readable media can be adopted. The computer-readable media can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (a non-exhaustive list) of the computer-readable storage medium include: an electrical connection with one or more wires, 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 above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device or component.

[0081] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. An upgrade method for a navigation system, characterized in that, Including: Construct an initial navigation system identical to the existing navigation system, and synchronously update the existing navigation system and the initial navigation system according to the target update plan, and determine the updated initial navigation system as the target navigation system; Dynamically adjust the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determine whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, perform traffic rollback and configuration rollback on the target navigation system according to a preset rollback mechanism. If no abnormality occurs, continue the dynamic adjustment until completion to achieve the upgrade of the existing navigation system.

2. The method for upgrading the navigation system according to claim 1, wherein Also including: Obtain business requirements and determine the target update plan according to the business requirements; wherein, the target update plan includes: update time and update content.

3. The method for upgrading a navigation system according to claim 2, characterized in that, The step of synchronously updating the existing navigation system and the initial navigation system according to the target update plan includes: According to the update time and the update content, use the version control mechanism to gradually deploy the update content to the existing navigation system, and use a distributed transaction or data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all update content is deployed.

4. The method for upgrading the navigation system according to claim 3, wherein The step of dynamically adjusting the traffic allocation ratio between the updated existing navigation system and the target navigation system includes: Use a traffic control tool to determine the current switching volume of the service traffic in the updated existing navigation system; According to the current switching volume, use the canary release mechanism to gradually switch the service traffic to the target navigation system.

5. An upgrade device for a navigation system, characterized in that, Including: An uninterrupted update module and a traffic control module; The uninterrupted update module is used to: construct an initial navigation system identical to the existing navigation system, and synchronously update the existing navigation system and the initial navigation system according to the target update plan, and determine the updated initial navigation system as the target navigation system; The traffic control module is used to: dynamically adjust the traffic allocation ratio between the updated existing navigation system and the target navigation system, and determine whether an abnormality occurs in the dynamic adjustment. If an abnormality occurs, perform traffic rollback and configuration rollback on the target navigation system according to a preset rollback mechanism. If no abnormality occurs, continue the dynamic adjustment until completion to achieve the upgrade of the existing navigation system.

6. The upgrade device of the navigation system according to claim 5, characterized in that, Also including: An update plan module; The update plan module is used to: obtain business requirements and determine the target update plan according to the business requirements; wherein, the target update plan includes: update time and update content.

7. The upgrading device of the navigation system according to claim 6, wherein, The specific use of the uninterrupted update module is: According to the update time and the update content, use the version control mechanism to gradually deploy the update content to the existing navigation system, and use a distributed transaction or data synchronization tool to synchronize the current update content of the existing navigation system to the initial navigation system until all update content is deployed.

8. The upgrade device of the navigation system according to claim 7, wherein, The specific use of the traffic control module is: Using a traffic control tool, determine the current switching volume of the service traffic in the updated existing navigation system; According to the current switching volume, use the gray release mechanism to gradually switch the service traffic to the target navigation system.

9. An electronic device, characterized in that, The electronic device includes a processor, the processor is coupled to a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor to enable the electronic device to implement the navigation system upgrade method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that, At least one computer program is stored in the computer-readable storage medium. The at least one computer program is loaded and executed by a processor to enable the computer-readable storage medium to implement the navigation system upgrade method according to any one of claims 1 to 4.