Digital base updating method and system, electronic equipment and readable storage medium

By setting the same current control logic between the digital dock and the local controller, the problem of end-device control interruption caused by digital dock updates is solved, achieving control continuity and logic consistency.

CN121979550APending Publication Date: 2026-05-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2025-12-19
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

The digital docking station caused an interruption in control of the end device during updates.

Method used

By setting the same current control logic between the digital dock and the local controller, a permission switching instruction is generated to switch the control permission to the local controller, maintaining control over the end device. The control logic of the digital dock is updated by updating the data, ensuring the consistency between the control logic of the local controller and the digital dock.

Benefits of technology

During digital base station updates, the terminal controlled by the end device is avoided, ensuring the continuity of control and the consistency of logic, and achieving seamless switching between the digital base station and the local controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121979550A_ABST
    Figure CN121979550A_ABST
Patent Text Reader

Abstract

The invention provides a digital base updating method and system, an electronic device and a readable storage medium, and the method comprises the steps: setting the same current control logic in a digital base and a local controller, enabling the current operation state to be sent to the local controller when the digital base is updated, and enabling the local controller to update the current operation state; the local controller can continue to execute the current running state based on the current control logic which is set by the local controller and is the same as the digital base so as to keep control over the end equipment, and therefore the effect that the end equipment is prevented from controlling the terminal when the digital base is updated is achieved; meanwhile, after the current control logic of the digital base is updated, the local controller is updated as well, so that the consistency of the control logic between the digital base and the local controller is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of the Internet of Things (IoT), and more particularly to a digital docking station update method, system, electronic device, and readable storage medium. Background Technology

[0002] With the increasing application of IoT (Internet of Things) and cloud computing technologies in BAS (Building Automation System), traditional field-distributed control architectures are gradually evolving towards centralized management and control models. In this model, the digital dock acts as the central management platform, handling most of the complex control logic, data aggregation, analysis, and optimization tasks. Local controllers or gateways in the field are primarily responsible for data acquisition and command forwarding. This architecture enables remote, efficient operation and maintenance and global energy efficiency optimization, representing the future trend of smart buildings.

[0003] However, due to the centralized control characteristics of the digital dock, the operation of the control logic needs to be paused when the digital dock is updated or maintained. This causes the terminal devices controlled by the digital dock to lose command control, triggering a control terminal. Summary of the Invention

[0004] The main objective of this invention is to provide a digital docking station update method, system, electronic device, and readable storage medium, aiming to solve the problem of terminal device control interruption caused by digital docking station updates in the prior art.

[0005] To achieve the above objectives, the present invention provides a digital docking station update method. The digital docking station update method is applied to a digital docking station and includes: If a digital docking station update is triggered, the current operating state of the digital docking station based on the current control logic is determined, and the current operating state indicates the control strategy for the end device. Generate a permission switching instruction that includes the current running state; The permission switching instruction is sent to the local controller, so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; Obtain updated data and update the current control logic using the updated data to obtain updated control logic; A permission revocation instruction containing the updated data is sent to the local controller, so that the local controller updates the current control logic to the updated control logic based on the updated data.

[0006] Optionally, sending the permission revocation instruction containing the updated data to the local controller includes: Generate a permission revocation command that includes the updated data and an update completion identifier; The permission revocation instruction is sent to the local controller to stop the current control logic from running according to the update completion identifier, and to enable the local controller to update using the update data.

[0007] Optionally, after sending the permission revocation instruction containing the updated data to the local controller, the process includes: Receive the update-period runtime data returned by the local controller based on the permission revocation command; Based on the update control logic, the running data during the update is loaded to restore control over the end device.

[0008] Optionally, the method further includes: If the digital docking station update is not triggered, the terminal device operating parameters sent by the local controller are obtained; A first control strategy for determining the operating parameters of the terminal device based on the current control logic; According to the first control strategy, a first control command is sent to the local controller, so that the local controller sends the first control command to the end device.

[0009] To achieve the above objectives, the present invention also provides a digital docking station update method, which is applied to a local controller and includes: Receive a permission switching instruction sent by the digital docking station, wherein the permission switching instruction includes the current operating state of the digital docking station based on the current control logic, and the current operating state indicates the control strategy for the terminal device; The current operating state is restored based on the current control logic and the permission switching instruction in order to maintain control over the terminal device; The system receives a permission revocation command sent by the digital base station and updates the current control logic to an updated control logic using the update data in the permission revocation command. The digital base station updates the current control logic using the update data to obtain the updated control logic.

[0010] Optionally, the step of receiving the permission revocation instruction sent by the digital dock and updating the current control logic to updated control logic using the update data in the permission revocation instruction includes: Acquire the operational data generated during the update process by controlling the terminal device; The data generated during the update is sent to the digital dock.

[0011] Optionally, the method further includes: Obtain the terminal device's operating parameters and send them to the digital dock; A second control strategy is determined based on the current control logic to determine the operating parameters of the terminal device, and a second control instruction corresponding to the control strategy is determined. The device receives a first control command sent by the digital dock and sends the first control command to the terminal device.

[0012] To achieve the above objectives, the present invention also provides a digital docking station update system, the digital docking station update system comprising a digital docking station and a local controller; The digital base includes: The first determining module is used to determine the current operating state of the digital base based on the current control logic if a digital base update is triggered, wherein the current operating state indicates the control strategy for the end device. The first generation module is used to generate a permission switching instruction containing the current running state; The first sending module is used to send the permission switching instruction to the local controller, so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; The first acquisition module is used to acquire updated data and update the current control logic using the updated data to obtain updated control logic; The second sending module is used to send a permission revocation instruction containing the updated data to the local controller, so that the local controller updates the current control logic to the updated control logic according to the updated data. The body controller includes: The first receiving module is used to receive the permission switching instruction sent by the digital base station, wherein the permission switching instruction includes the current operating state of the digital base station based on the current control logic, and the current operating state indicates the control strategy for the terminal device. The first restoration module is used to restore the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; The second receiving module is used to receive the permission revocation instruction sent by the digital base station, and update the current control logic to the updated control logic through the update data in the permission revocation instruction. The digital base station updates the current control logic through the update data to obtain the updated control logic.

[0013] Optionally, the second transmitting module includes: The first generation unit is used to generate a permission revocation instruction containing the updated data and an update completion identifier; The first sending unit is used to send the permission revocation instruction to the local controller, so as to stop the current control logic from running according to the update completion identifier, and to enable the local controller to update through the update data.

[0014] Optionally, the digital dock also includes: The third sending module is used to send a permission revocation instruction containing the updated data to the local controller, and then receive the update-period running data returned by the local controller based on the permission revocation instruction. The first loading module is used to load the running data during the update based on the update control logic in order to restore control over the terminal device.

[0015] Optionally, the digital dock also includes: The second acquisition module is used to acquire the terminal device operating parameters sent by the local controller if the digital dock update is not triggered. The second determining module is used to determine a first control strategy for the operating parameters of the terminal device based on the current control logic. The fourth sending module is used to send a first control command to the local controller according to the first control strategy, so that the local controller sends the first control command to the end device.

[0016] Optionally, the local controller further includes: The fifth sending module is used to receive the permission revocation instruction sent by the digital base station, and after updating the current control logic to the updated control logic through the update data in the permission revocation instruction, obtain the update operation data generated during the control of the terminal device. The sixth sending module is used to send the running data during the update to the digital base.

[0017] Optionally, the local controller further includes: The third acquisition module is used to acquire the terminal device operating parameters of the terminal device and send the terminal device operating parameters to the digital base station; The third determining module is used to determine a second control strategy for the operating parameters of the terminal device based on the current control logic, and to determine a second control instruction corresponding to the control strategy. The third receiving module is used to receive the first control command sent by the digital base station and send the first control command to the terminal device.

[0018] To achieve the above objectives, the present invention also provides an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the digital docking station update method as described above.

[0019] To achieve the above objectives, the present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the digital docking station update method as described above.

[0020] This invention proposes a digital docking station update method, system, electronic device, and readable storage medium. If a digital docking station update is triggered, the following steps are taken: First, the current operating state of the digital docking station based on the current control logic is determined, where the current operating state indicates the control strategy for the terminal device. Then, a permission switching instruction containing the current operating state is generated. This instruction is sent to a local controller, causing the local controller to restore the current operating state based on the current control logic and the permission switching instruction, thereby maintaining control over the terminal device. The digital docking station is connected to the terminal device through the local controller. Update data is acquired, and the current control logic is updated using the update data to obtain updated control logic. Finally, a permission revocation instruction containing the updated data is sent to the local controller, causing the local controller to update the current control logic to the updated control logic based on the updated data. By setting the same current control logic in the digital base station and the local controller, when the digital base station is updated, the current operating state is sent to the local controller. The local controller can continue to execute the current operating state based on its own current control logic, which is the same as that of the digital base station, to maintain control over the end device. This achieves the effect of preventing the end device from controlling the terminal when the digital base station is updated. At the same time, after the current control logic of the digital base station is updated, the local controller is also updated, thus ensuring the consistency of control logic between the digital base station and the local controller. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating the first embodiment of the digital docking station update method of the present invention applied to a digital docking station; Figure 2 This is a flowchart illustrating the first embodiment of the digital docking station update method of the present invention applied to a local controller; Figure 3 This is a schematic diagram of the architecture of the digital base of the present invention. Figure 4 This is a schematic diagram of the overall process of the digital base update method of the present invention; Figure 5 This is a schematic diagram of the module structure of the electronic device of the present invention. Detailed Implementation

[0024] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0025] This invention provides a method for updating a digital dock, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the digital docking station update method of the present invention applied to a digital docking station. The method includes the following steps: Step S110: If a digital docking station update is triggered, the current operating state of the digital docking station based on the current control logic is determined, and the current operating state indicates the control strategy for the terminal device. A digital platform is a central management platform deployed in the cloud or at the edge to collect, manage, and analyze all data and control logic within a building. The digital platform undertakes the main daily control tasks and serves as the scheduling center for control logic updates.

[0026] The current control logic is the control logic currently used by the digital infrastructure. Control logic refers to a set of programmed rules or algorithms deployed within the digital infrastructure, used for autonomous decision-making and generating control commands for end devices. Based on the operating parameters of the end devices, combined with preset strategies, thresholds, and operating stages, the control logic dynamically outputs control commands to achieve automatic control of the end devices within the building.

[0027] Digital base station update refers to updating the current control logic; the specific update triggering method can be set according to actual needs, such as maintenance personnel uploading the new version of the control logic through the management side page and clicking the update button to trigger the update.

[0028] The terminal device is the specific object controlled by the digital base station; the specific type of terminal device can be set according to actual needs, such as air conditioning units, lighting systems, door control systems, water supply and drainage devices, etc.

[0029] The current operating status refers to the specific execution state or working stage of the control logic being executed in the digital base station; for example, if the digital base station triggers the control of the air conditioning unit based on the current control logic, specifically to control the air conditioning unit to start, the start-up of the air conditioning unit needs to go through the start-up stage to reach the normal operation stage; if it is currently in the start-up stage, the corresponding current operating status is the start-up stage for the air conditioning unit.

[0030] Step S120: Generate a permission switching instruction containing the current running state; The permission switching command is used to indicate that control permissions are switched from the digital dock to the local controller.

[0031] It is understandable that when the digital dock is updated, the control logic changes, so the digital dock itself cannot control the terminal device at the same time. Therefore, in this embodiment, the control authority is transferred to the local controller so that the local controller can maintain control over the terminal device.

[0032] Step S130: The permission switching instruction is sent to the local controller so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; Upon receiving the permission switching command, the local controller recognizes that the digital dock needs to be updated, and therefore, the local controller will initiate the permission control.

[0033] It should be noted that the local controller also has its own current control logic, and the current control logic of the local controller is consistent with that of the digital base.

[0034] Since the current operating status indicates the control strategy that the digital dock was executing before the update, and the local controller has the same current control logic as the digital dock, after receiving the current operating status, the local controller can continue to execute the current operating status based on the current control logic. At the same time, the local controller is connected to the end device, so it can control the end device based on the current operating status.

[0035] Taking an air conditioning unit as an example, the digital dock triggers control of the air conditioning unit based on the current control logic. Specifically, it controls the air conditioning unit to start. Starting the air conditioning unit requires first entering the start-up phase, and after reaching the operating conditions during the start-up phase, it enters the normal operation phase. If the current operating state is the start-up phase, the local controller, upon receiving the current operating state, continues to control the air conditioning unit to enter the start-up phase based on the current control logic. Simultaneously, it determines the operating conditions based on the current control logic, synchronously acquires the operating data of the terminal devices, and controls the air conditioning unit to enter the normal operation phase when the terminal device operating data meets the operating conditions. That is, the local controller in this embodiment not only executes the incomplete control of the digital dock, but can also execute more controls that conform to the current control logic based on the actual operating conditions of the terminal devices.

[0036] Step S140: Obtain updated data and update the current control logic using the updated data to obtain updated control logic; The updated data refers to the data used to update the control logic of the digital base.

[0037] Updated data can be uploaded by operations and maintenance personnel.

[0038] After successfully switching control authority to the local controller, the digital dock updates the current control logic by updating data. The updated control logic is the updated control logic.

[0039] It should be noted that, in order to ensure the reliability of the control permission switching, after the permission switching instruction is sent to the local controller, if the local controller completes the control permission switching, it sends a receipt confirmation signal to the digital base station. After receiving the receipt confirmation signal, the digital base station confirms that the local controller is maintaining control over the end device and begins to perform updates by updating data.

[0040] If the digital base station does not receive the reception confirmation signal from the local controller, it will resend the permission switching command after a preset retransmission time. If the number of retransmissions reaches the preset transmission threshold, an alarm operation will be executed simultaneously to enable maintenance personnel to troubleshoot the local controller and the digital base station. The specific value of the preset retransmission time can be set according to actual needs, such as 3 seconds. The specific value of the preset transmission threshold can be set according to actual needs, such as 2 times.

[0041] Step S150: Send a permission revocation instruction containing the updated data to the local controller, so that the local controller updates the current control logic to the updated control logic according to the updated data.

[0042] After the control logic update is completed, the digital dock is able to regain control of the end device. Therefore, a permission revocation command is sent to the local controller to reclaim control from the digital dock.

[0043] Meanwhile, in order to ensure the consistency of control logic between the digital base station and the local controller, update data is sent to the local controller so that the local controller updates its current control logic to be consistent with the updated control logic of the digital base station.

[0044] Understandably, in the next update cycle, the update control logic obtained this time will become the current control logic.

[0045] This embodiment sets the same current control logic in the digital base station and the local controller. When the digital base station is updated, the current operating state is sent to the local controller. The local controller can continue to execute the current operating state based on its own current control logic, which is the same as that of the digital base station, to maintain control over the end device. This achieves the effect of preventing the end device from controlling the terminal when the digital base station is updated. At the same time, after the current control logic of the digital base station is updated, the local controller is also updated, thus ensuring the consistency of control logic between the digital base station and the local controller.

[0046] Furthermore, in a second embodiment of the digital docking station update method proposed in the first embodiment of the present invention, applied to a digital docking station, step S150 includes the following steps: Step S151: Generate a permission revocation instruction containing the updated data and an update completion identifier; Step S152: Send the permission revocation instruction to the local controller to stop the current control logic from running according to the update completion flag, and cause the local controller to update using the update data.

[0047] The update completion indicator shows that the control logic update for the digital base is complete.

[0048] Once the digital docking station has been updated, control authority needs to be switched from the local controller to the digital docking station. Therefore, to avoid control conflicts between the digital docking station and the local controller, the local controller needs to stop controlling the end device. Thus, in this embodiment, an update completion flag is sent to the local controller. Upon receiving the update completion flag, the local controller determines that the digital docking station has been updated, stops running the current control logic, and thus returns control authority to the digital docking station.

[0049] Furthermore, in a third embodiment of the digital docking station update method proposed in the first embodiment of the present invention, applied to a digital docking station, step S150 is followed by the following step: Step S160: Receive the update-period running data returned by the local controller based on the permission revocation instruction; Step S170: Load the running data during the update based on the update control logic to restore control over the end device.

[0050] The data generated during the update process refers to the relevant data generated by the local controller during the digital dock update.

[0051] The specific data types included in the running data during the update can be set based on actual needs, such as real-time running phase, dynamic parameters, etc.

[0052] After receiving the running data during the update period, the updated control logic is used to load the running data during the update period, so that the digital base can take over the control of the terminal device from the local controller with the updated control logic, thereby ensuring the continuity of the control of the terminal device.

[0053] In practical applications, data upload failures may occur during the update process, such as due to network interruption. Therefore, after sending the permission revocation command, the digital base station checks the data generated during the update process. If no data is received within a preset time, the permission revocation command is resent to the local controller. If the number of resentments reaches a preset threshold, a synchronization failure alarm is sent to the management side. The digital base station attempts to switch to a backup communication link. After the link is restored, the cached data from this period is uploaded first, and then the synchronization of the data generated during the update process is restored.

[0054] Furthermore, in a fourth embodiment of the digital docking station update method proposed in the first embodiment of the present invention, the method further includes the step of: Step S180: If the digital docking station update is not triggered, obtain the terminal device operating parameters sent by the local controller; Step S190: Determine a first control strategy for the operating parameters of the terminal device based on the current control logic; Step S1100: Send a first control command to the local controller according to the first control strategy, so that the local controller sends the first control command to the end device.

[0055] During normal operation, when no digital docking station update is triggered, the digital docking station executes the control logic, while the local controller executes the data transmission between the digital docking station and the end device.

[0056] Terminal device operating parameters are parameters generated during the operation of the terminal device that reflect its operating status.

[0057] The terminal device sends its operating parameters to the local controller, which then uploads these parameters to the digital base station.

[0058] The digital base station controls the end devices based on the current control logic and the operating parameters of the end devices.

[0059] The control strategy is a control scheme determined based on the operating status of the terminal device indicated by the terminal device's operating parameters. For example, if the terminal device is an air conditioning unit, and the terminal device's operating parameters indicate that the terminal device is in the startup phase, the digital base station can determine the first control strategy based on the terminal device being in the startup phase: when the completion conditions are met, control the terminal device to enter the normal operation phase. Therefore, based on the first control strategy, when the completion conditions are not met, send the first control command corresponding to the startup phase to the local controller; when the completion conditions are met, send the first control command corresponding to the normal operation phase to the local controller.

[0060] The first control logic is the control logic generated by the digital base station.

[0061] The first control command is the control command sent by the digital base station.

[0062] After receiving the first control command, the local controller forwards the first control command to the end device to realize the control of the end device.

[0063] This invention provides a method for updating a digital dock, referring to... Figure 1 , Figure 1 This is a flowchart illustrating a first embodiment of the digital docking station update method of the present invention applied to a local controller. The method includes the following steps: Step S210: Receive a permission switching instruction sent by the digital dock, wherein the permission switching instruction includes the current operating state of the digital dock based on the current control logic, and the current operating state indicates the control strategy for the terminal device; A digital platform is a central management platform deployed in the cloud or at the edge to collect, manage, and analyze all data and control logic within a building. The digital platform undertakes the main daily control tasks and serves as the scheduling center for control logic updates.

[0064] The current control logic is the control logic currently used by the digital infrastructure. Control logic refers to a set of programmed rules or algorithms deployed within the digital infrastructure, used for autonomous decision-making and generating control commands for end devices. Based on the operating parameters of the end devices, combined with preset strategies, thresholds, and operating stages, the control logic dynamically outputs control commands to achieve automatic control of the end devices within the building.

[0065] Digital base station update refers to updating the current control logic; the specific update triggering method can be set according to actual needs, such as maintenance personnel uploading the new version of the control logic through the management side page and clicking the update button to trigger the update.

[0066] The terminal device is the specific object controlled by the digital base station; the specific type of terminal device can be set according to actual needs, such as air conditioning units, lighting systems, door control systems, water supply and drainage devices, etc.

[0067] The current operating status refers to the specific execution state or working stage of the control logic being executed in the digital base station; for example, if the digital base station triggers the control of the air conditioning unit based on the current control logic, specifically to control the air conditioning unit to start, the start-up of the air conditioning unit needs to go through the start-up stage to reach the normal operation stage; if it is currently in the start-up stage, the corresponding current operating status is the start-up stage for the air conditioning unit.

[0068] The permission switching command is used to indicate that control permissions are switched from the digital dock to the local controller.

[0069] It is understandable that when the digital dock is updated, the control logic changes, so the digital dock itself cannot control the terminal device at the same time. Therefore, in this embodiment, the control authority is transferred to the local controller so that the local controller can maintain control over the terminal device.

[0070] Step S220: Restore the current operating state based on the current control logic and the permission switching instruction to maintain control over the terminal device; Upon receiving the permission switching command, the local controller recognizes that the digital dock needs to be updated, and therefore, the local controller will initiate the permission control.

[0071] It should be noted that the local controller also has its own current control logic, and the current control logic of the local controller is consistent with that of the digital base.

[0072] Since the current operating status indicates the control strategy that the digital dock was executing before the update, and the local controller has the same current control logic as the digital dock, after receiving the current operating status, the local controller can continue to execute the current operating status based on the current control logic. At the same time, the local controller is connected to the end device, so it can control the end device based on the current operating status.

[0073] Taking an air conditioning unit as an example, the digital dock triggers control of the air conditioning unit based on the current control logic. Specifically, it controls the air conditioning unit to start. Starting the air conditioning unit requires first entering the start-up phase, and after reaching the operating conditions during the start-up phase, it enters the normal operation phase. If the current operating state is the start-up phase, the local controller, upon receiving the current operating state, continues to control the air conditioning unit to enter the start-up phase based on the current control logic. Simultaneously, it determines the operating conditions based on the current control logic, synchronously acquires the operating data of the terminal devices, and controls the air conditioning unit to enter the normal operation phase when the terminal device operating data meets the operating conditions. That is, the local controller in this embodiment not only executes the incomplete control of the digital dock, but can also execute more controls that conform to the current control logic based on the actual operating conditions of the terminal devices.

[0074] Step S230: Receive the permission revocation instruction sent by the digital base station, and update the current control logic to updated control logic using the update data in the permission revocation instruction. The digital base station updates the current control logic using the update data to obtain the updated control logic.

[0075] The updated data refers to the data used to update the control logic of the digital base.

[0076] Updated data can be uploaded by operations and maintenance personnel.

[0077] After successfully switching control authority to the local controller, the digital dock updates the current control logic by updating data. The updated control logic is the updated control logic.

[0078] It should be noted that, in order to ensure the reliability of the control permission switching, after the permission switching instruction is sent to the local controller, if the local controller completes the control permission switching, it sends a receipt confirmation signal to the digital base station. After receiving the receipt confirmation signal, the digital base station confirms that the local controller is maintaining control over the end device and begins to perform updates by updating data.

[0079] If the digital base station does not receive the reception confirmation signal from the local controller, it will resend the permission switching command after a preset retransmission time. If the number of retransmissions reaches the preset transmission threshold, an alarm operation will be executed simultaneously to enable maintenance personnel to troubleshoot the local controller and the digital base station. The specific value of the preset retransmission time can be set according to actual needs, such as 3 seconds. The specific value of the preset transmission threshold can be set according to actual needs, such as 2 times.

[0080] After the control logic update is completed, the digital dock is able to regain control of the end device. Therefore, a permission revocation command is sent to the local controller to reclaim control from the digital dock.

[0081] Meanwhile, in order to ensure the consistency of control logic between the digital base station and the local controller, update data is sent to the local controller so that the local controller updates its current control logic to be consistent with the updated control logic of the digital base station.

[0082] Understandably, in the next update cycle, the update control logic obtained this time will become the current control logic.

[0083] This embodiment sets the same current control logic in the digital base station and the local controller. When the digital base station is updated, the current operating state is sent to the local controller. The local controller can continue to execute the current operating state based on its own current control logic, which is the same as that of the digital base station, to maintain control over the end device. This achieves the effect of preventing the end device from controlling the terminal when the digital base station is updated. At the same time, after the current control logic of the digital base station is updated, the local controller is also updated, thus ensuring the consistency of control logic between the digital base station and the local controller.

[0084] Furthermore, in the second embodiment of the digital docking station update method of the present invention, based on the first embodiment, applied to a local controller, step S230 includes the following steps: Step S231: Obtain the update operation data generated during the control of the terminal device; Step S232: Send the running data during the update to the digital base station.

[0085] The specific data types included in the running data during the update can be set based on actual needs, such as real-time running phase, dynamic parameters, etc.

[0086] After receiving the running data during the update period, the updated control logic is used to load the running data during the update period, so that the digital base can take over the control of the terminal device from the local controller with the updated control logic, thereby ensuring the continuity of the control of the terminal device.

[0087] In practical applications, data upload failures may occur during the update process, such as due to network interruption. Therefore, after sending the permission revocation command, the digital base station checks the data generated during the update process. If no data is received within a preset time, the permission revocation command is resent to the local controller. If the number of resentments reaches a preset threshold, a synchronization failure alarm is sent to the management side. The digital base station attempts to switch to a backup communication link. After the link is restored, the cached data from this period is uploaded first, and then the synchronization of the data generated during the update process is restored.

[0088] Furthermore, in a third embodiment of the digital docking station update method proposed in the first embodiment of the present invention, applied to a local controller, the method further includes the step of: Step S240: Obtain the terminal device operating parameters of the terminal device and send the terminal device operating parameters to the digital base station; Step S250: Determine a second control strategy for the operating parameters of the terminal device based on the current control logic, and determine a second control instruction corresponding to the control strategy; Step S260: Receive the first control command sent by the digital base station, and send the first control command to the terminal device.

[0089] During normal operation, when no digital docking station update is triggered, the digital docking station executes the control logic, while the local controller executes the data transmission between the digital docking station and the end device.

[0090] Terminal device operating parameters are parameters generated during the operation of the terminal device that reflect its operating status.

[0091] The terminal device sends its operating parameters to the local controller, which then uploads these parameters to the digital base station.

[0092] The digital base station controls the end devices based on the current control logic and the operating parameters of the end devices.

[0093] The control strategy is a control scheme determined based on the operating status of the terminal device indicated by the terminal device's operating parameters. For example, if the terminal device is an air conditioning unit, and the terminal device's operating parameters indicate that the terminal device is in the startup phase, the digital base station can determine the first control strategy based on the terminal device being in the startup phase: when the completion conditions are met, control the terminal device to enter the normal operation phase. Therefore, based on the first control strategy, when the completion conditions are not met, send the first control command corresponding to the startup phase to the local controller; when the completion conditions are met, send the first control command corresponding to the normal operation phase to the local controller.

[0094] The first control logic is the control logic generated by the digital base station.

[0095] The first control command is the control command sent by the digital base station.

[0096] After receiving the first control command, the local controller forwards the first control command to the end device to realize the control of the end device.

[0097] Meanwhile, to ensure consistency between the digital dock and the local controller, the local controller and the digital dock run the current control logic synchronously during daily operation. It can be understood that the local controller acts as a bridge between the digital dock and the end devices; all data exchanged between the digital dock and the end devices passes through the local controller. Therefore, the local controller can obtain the operating parameters of the end devices and determine the corresponding second control strategy and second control command based on the current control logic. It should be noted that although the local controller generates the second control strategy and second control command, it does not use these to control the end devices, but rather to achieve synchronization with the digital dock.

[0098] The local controller can also determine whether it is consistent with the current control logic of the digital base by comparing the first control command sent by the digital base with the second control command it generates itself. If the first control command is consistent with the second control command, it is considered to be consistent with the current control logic of the digital base. If the first control command is inconsistent with the second control command, it is considered to be inconsistent with the current control logic of the digital base, and an alarm needs to be triggered so that maintenance personnel can troubleshoot the problem.

[0099] The second control logic is the control logic generated by the local controller.

[0100] The second control command is the control command sent by the local controller.

[0101] The overall implementation process of this application is described below: System Architecture: See Figure 3 The digital update system includes a digital base, a local controller, terminal devices, and a management system; the digital base is connected to the management system, the digital base is connected to the local controller, and the local controller is connected to the terminal devices.

[0102] A local controller refers to a programmable logic control unit deployed at the building's field equipment level, directly connected to electromechanical and other end-point equipment, and possessing data acquisition, logic storage, and backup control capabilities. In this invention, the local controller serves as a physical hot backup unit for the digital base, and its core functions include: Normally in standby mode (does not actively perform field control), it receives and stores the latest control logic and operating status parameters synchronized with the digital base in real time to ensure consistency with the logic version of the digital base; It maintains a physical connection with the on-site electromechanical equipment, is responsible for collecting equipment operation data and synchronizing it to the digital base, and also serves as a backup channel to receive control commands. When the digital base triggers an update or an anomaly, it receives the control permissions and current operating status parameters handed over by it, and immediately starts the backup logic to take over the field control to ensure the continuous operation of the equipment. After the digital base station completes the update, it will send back the operating status parameters during the takeover period, such as dynamic adjustment values ​​and phase changes, to the digital base station. After the main control is handed over, it will return to standby mode.

[0103] A digital platform refers to a central management platform deployed in the cloud or at the edge, used to collect, manage, and analyze all data and control logic within a building. In this invention, the digital platform undertakes the main daily control tasks and serves as the scheduling center for control logic updates. Its key functions include: It routinely controls field equipment, generates instructions based on built-in control logic and sends them to end devices, while simultaneously collecting equipment operation data in real time for analysis and optimization. After the control logic is updated, the latest version of the logic is immediately synchronized to the local controller; the current operating status parameters, such as control stage and adjustment threshold, are pushed to the local controller at a preset cycle to ensure the consistency of the backup logic. When triggering its own logic update, it proactively transfers control permissions and real-time status parameters to the local controller, waits for takeover confirmation, and then enters update mode; after the update is completed, it receives the status data during the takeover period from the local controller and restores master control; It aggregates device data uploaded from local controllers, provides a visual display for management, and supports maintenance personnel in initiating update commands, monitoring the running status of control logic, and recording version iterations.

[0104] The local controller collects data reported by the terminal devices and then synchronizes the data to the digital base for storage and management of the data display. The digital base station autonomously controls the terminal devices according to the control logic. When not necessary, the local controller only performs data transfer functions to ensure stable and efficient operation of the devices. Users can issue control commands through the management system page as needed, which are then forwarded through layers until they are sent to the designated end devices. At the same time, users can set up data updates and trigger updates to the digital dock through the management system page.

[0105] I. Setting up the implementation environment; This application is based on a four-layer architecture: end device - local controller - digital dock - management side. The hardware selection, connection relationship and functional division of each component are as follows: Terminal devices include building electromechanical equipment such as air conditioning, lighting, and water supply and drainage systems; supporting sensors such as temperature sensors and pressure sensors; actuators such as electric valves and contactors; terminal devices receive control commands from the local controller and feed back terminal device operating data to the local controller.

[0106] Local controller: Adopts a common controller in this field and is deployed in the control cabinet of the terminal equipment. Its core functions include data acquisition and synchronization, which is used to collect the operating data of terminal equipment, such as air conditioners, such as return air temperature, fan speed and valve opening, and synchronize them to the digital base according to a preset cycle; passive control, which is used to take over the control of the terminal when the digital base updates the control program, and independently send control commands to the terminal equipment according to the built-in control logic to ensure stable operation of the equipment.

[0107] Digital base station: Deployed on the building's server room, with a built-in containerized platform such as Docker and a built-in virtual control logic execution module. Its core functions include data storage and management, which is used to receive data synchronized from the local controller, store it in a time-series database, and push it to the management side for data display; command forwarding, which is used to receive update commands issued by the management side and forward them to the designated local controller; and active control, which is used to independently send control commands to the end devices according to the built-in control logic.

[0108] Management side: A web-based operation and maintenance management system that supports PC / mobile access. Core functions include data display, which displays the real-time operating status of local controllers and terminal devices, such as temperature and operating stage; and command issuance, which allows operation and maintenance personnel to upload new versions of control logic, initiate update commands, and receive update completion feedback.

[0109] II. Connection relationships; The local controller and the terminal device are connected via industry-standard protocols, such as RS485 bus and LoRa wireless, supporting bidirectional interaction between control commands and terminal device operation data.

[0110] A fixed communication link is established between the local controller and the digital base via Ethernet, such as TCP / IP protocol, to ensure data synchronization and command transmission latency ≤100ms; The digital base communicates with the management side via HTTPS protocol, ensuring the security of operation and maintenance and data display.

[0111] III. Daily data synchronization; When no control logic update is triggered, the system is in normal operation, and the data flow is completely consistent with the control logic in the system architecture diagram. The detailed process is as follows: 1. Local controller data acquisition and synchronization: The local controller sets the data acquisition cycle and collects the operating data of terminal devices, such as air conditioner terminal devices, such as "operation stage = normal operation, return air temperature = 24℃, valve opening = 50%", and synchronizes it to the digital base via TCP / IP protocol; 2. Digital base station storage and forwarding: After receiving the operating data of the terminal device, the digital base station verifies the integrity of the data. Once the verification is successful, the data is stored in the time-series database and forwarded to the management side for real-time display on the management side interface. 3. Digital base station autonomous control: In this stage, the local controller only transmits data and does not send control commands. The digital base station independently controls the terminal device based on the terminal device's operating data according to the current control logic.

[0112] IV. The entire process of hot updating control logic; join Figure 4 When it is necessary to update the control logic of the local controller, such as fixing bugs or optimizing algorithms, perform the following steps: 1. Initiate update command: The maintenance personnel log in to the management system, enter the control logic update module, select the target local controller, and upload the new version of the control logic program package; click the "Start Update" button, and the management side generates an encrypted update command, which includes the device ID, program package identifier, and timestamp, and forwards it to the target local controller through the digital dock.

[0113] 2. Data Snapshot and Permission Transfer: After receiving and decrypting the update command, the digital dock immediately performs two core operations: ① Synchronous operation data: Collect the core parameters of the current control program's operation stage to ensure normal logic, encapsulate them as a "data snapshot", that is, the current operating state, and synchronize them to the local controller; Transfer of control authority: Send an authority switching command to the local controller to explicitly stop the digital dock's control output to the end device; If the digital dock does not receive a confirmation signal from the local controller, it will retransmit after a 3-second delay, up to a maximum of 2 retransmissions, to avoid data loss.

[0114] 3. Local Controller Takeover Control: After receiving the current operating status and permission switching command, the local controller immediately starts the control program, as follows: Parameter configuration: Start the control program according to the current running stage and core parameters to ensure that the logic starts normally and the execution stage is completely consistent with the execution stage before the digital base control program was updated; Takeover device: The local controller sends a "control authority switching instruction" to the end device, specifying that the local controller should send control instructions; Stable operation: The local controller controls the terminal devices according to the current control logic, ensuring that the devices do not stop during the update.

[0115] 4. Digital dock performs update: During the period when the local controller takes over control, the digital dock performs a program update: Receive package: Download the new version of the control logic package, i.e., update the data; Erase and Write: Erase the current control logic, write updated data, and verify program integrity at the same time; Feedback progress: After the update is completed, send an update completion flag to the local controller. This flag can indicate whether the update was successful or failed, as well as the version number of the updated control logic. Error handling: If the verification fails, the digital base automatically rolls back to the current control logic, sends an "update failed" message to the local controller, and triggers an alarm on the management side.

[0116] 5. Data transmission during the update period: After receiving the update completion flag, the local controller immediately organizes the operational data during the update period taken over by the local controller: Data processing: Extracting real-time operation phases and dynamic parameters during the control period of the local controller; Data synchronization: The processed runtime data is packaged into a return data packet for runtime data during the update period and sent to the digital base station.

[0117] 6. The digital dock starts the new control logic, i.e., updates the control logic: After receiving the returned data packet, the digital dock performs the following operations: Parameter validation: Verify the validity of the returned parameters; Startup logic: Load the returned parameters, start the new version of the control logic, and restore the ability to control the terminal devices; Feedback Ready: Send a "New Logic Ready" command to the local controller, indicating that it can switch back to digital dock control.

[0118] 7. Synchronize the new logic to the local controller: To ensure consistency between the local controller and the digital docking station logic during subsequent daily operation, after the digital docking station starts the new logic: Logic synchronization: Synchronize the core instructions of the new control logic to the local controller; Replacement Update: After receiving the update, the local controller updates its built-in logic to ensure complete consistency with the new logic of the digital dock.

[0119] 8. Feedback on update completion to the management side: After the local controller completes the logic update, it performs a cleanup operation and sends a completion command: Send an "update complete feedback" to the management side, including the digital base ID, the version number of the updated control logic, and the update time; Interface prompt: After receiving the update, the management side will display a "Update successful" pop-up window and record the update log to support subsequent queries.

[0120] V. Abnormal Handling Mechanism; To address potential failures during the update process, implement logically compatible exception handling strategies to ensure that the core architecture and processes are not disrupted. 1. Data synchronization failure: If the local controller fails to synchronize data three times in a row, such as due to network interruption, the digital base station will immediately activate the local cache and send a synchronization failure alarm to the management side. The digital base station will attempt to switch to the backup communication link. After the link is restored, the cached data will be uploaded first, and then normal synchronization will be restored.

[0121] 2. Local controller takeover anomaly: If the local controller does not receive feedback from the terminal device within 10 seconds after taking over, the local controller will immediately send an emergency switchback command to the digital base station. The digital base station will start the current version of the logic to control the terminal device and trigger the management side audible and visual alarm to notify the maintenance personnel to troubleshoot the fault.

[0122] 3. Update rollback anomaly: If the digital base fails to update and cannot be rolled back, the local controller remains in takeover mode and sends an alarm requiring manual intervention to the management side to prevent the end device from going out of control.

[0123] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0124] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0125] This application also provides a digital docking station update system for implementing the above-described digital docking station update method, the digital docking station update system comprising a digital docking station and a local controller; The digital base includes: The first determining module is used to determine the current operating state of the digital base based on the current control logic if a digital base update is triggered, wherein the current operating state indicates the control strategy for the end device. The first generation module is used to generate a permission switching instruction containing the current running state; The first sending module is used to send the permission switching instruction to the local controller, so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; The first acquisition module is used to acquire updated data and update the current control logic using the updated data to obtain updated control logic; The second sending module is used to send a permission revocation instruction containing the updated data to the local controller, so that the local controller updates the current control logic to the updated control logic according to the updated data. The body controller includes: The first receiving module is used to receive the permission switching instruction sent by the digital base station, wherein the permission switching instruction includes the current operating state of the digital base station based on the current control logic, and the current operating state indicates the control strategy for the terminal device. The first restoration module is used to restore the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; The second receiving module is used to receive the permission revocation instruction sent by the digital base station, and update the current control logic to the updated control logic through the update data in the permission revocation instruction. The digital base station updates the current control logic through the update data to obtain the updated control logic.

[0126] This digital docking station update system via It should be noted that the first determining module in this embodiment can be used to execute step S110 in this application embodiment, the first generating module in this embodiment can be used to execute step S120 in this application embodiment, the first sending module in this embodiment can be used to execute step S130 in this application embodiment, the first obtaining module in this embodiment can be used to execute step S140 in this application embodiment, and the second sending module in this embodiment can be used to execute step S150 in this application embodiment. The first receiving module in this embodiment can be used to execute step S210 in this application embodiment, the first restoration module in this embodiment can be used to execute step S220 in this application embodiment, and the second receiving module in this embodiment can be used to execute step S230 in this application embodiment.

[0127] Furthermore, the second transmitting module includes: The first generation unit is used to generate a permission revocation instruction containing the updated data and an update completion identifier; The first sending unit is used to send the permission revocation instruction to the local controller, so as to stop the current control logic from running according to the update completion identifier, and to enable the local controller to update through the update data.

[0128] Furthermore, the digital base also includes: The third sending module is used to send a permission revocation instruction containing the updated data to the local controller, and then receive the update-period running data returned by the local controller based on the permission revocation instruction. The first loading module is used to load the running data during the update based on the update control logic in order to restore control over the terminal device.

[0129] Furthermore, the digital base also includes: The second acquisition module is used to acquire the terminal device operating parameters sent by the local controller if the digital dock update is not triggered. The second determining module is used to determine a first control strategy for the operating parameters of the terminal device based on the current control logic. The fourth sending module is used to send a first control command to the local controller according to the first control strategy, so that the local controller sends the first control command to the end device.

[0130] Furthermore, the local controller also includes: The fifth sending module is used to receive the permission revocation instruction sent by the digital base station, and after updating the current control logic to the updated control logic through the update data in the permission revocation instruction, obtain the update operation data generated during the control of the terminal device. The sixth sending module is used to send the running data during the update to the digital base.

[0131] Furthermore, the local controller also includes: The third acquisition module is used to acquire the terminal device operating parameters of the terminal device and send the terminal device operating parameters to the digital base station; The third determining module is used to determine a second control strategy for the operating parameters of the terminal device based on the current control logic, and to determine a second control instruction corresponding to the control strategy. The third receiving module is used to receive the first control command sent by the digital base station and send the first control command to the terminal device.

[0132] Reference Figure 5In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to both the memory 20 and the communication module 10. The memory 20 stores a computer program, which is executed by the processor 30. When the computer program is executed, it implements the steps of the above-described method embodiments.

[0133] The communication module 10 can connect to external communication devices via a network. The communication module 10 can receive requests from the external communication devices and can also send requests, instructions, and information to the external communication devices. The external communication devices can be other electronic devices, servers, or IoT devices, such as televisions, etc.

[0134] The memory 20 can be used to store software programs and various data. The memory 20 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (e.g., determining the current operating state of the digital dock based on the current control logic if a digital dock update is triggered); the data storage area may include a database, and may store data or information created based on system usage. Furthermore, the memory 20 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0135] The processor 30 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 20, and by calling data stored in the memory 20, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 30.

[0136] although Figure 5 Not shown, but the above-described electronic device may further include a circuit control module for connecting to a power supply to ensure the normal operation of other components. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0137] The present invention also proposes a computer-readable storage medium having a computer program stored thereon. The computer-readable storage medium may be... Figure 5 The memory 20 in the electronic device may also be at least one of ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk, etc. The computer-readable storage medium includes a number of instructions to cause a terminal device with a processor (which may be a television, automobile, mobile phone, computer, server, terminal, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0138] In this invention, the terms "first," "second," "third," "fourth," and "fifth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0139] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0140] Although embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, and substitutions to the above embodiments within the scope of the present invention, and such changes, modifications, and substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for updating a digital dock, characterized in that, The digital dock update method is applied to a digital dock, and the digital dock update method includes: If a digital docking station update is triggered, the current operating state of the digital docking station based on the current control logic is determined, and the current operating state indicates the control strategy for the end device. Generate a permission switching instruction that includes the current running state; The permission switching instruction is sent to the local controller, so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; Obtain updated data and update the current control logic using the updated data to obtain updated control logic; A permission revocation instruction containing the updated data is sent to the local controller, so that the local controller updates the current control logic to the updated control logic based on the updated data.

2. The digital docking station update method as described in claim 1, characterized in that, Sending the permission revocation command containing the updated data to the local controller includes: Generate a permission revocation command that includes the updated data and an update completion identifier; The permission revocation instruction is sent to the local controller to stop the current control logic from running according to the update completion identifier, and to enable the local controller to update using the update data.

3. The digital docking station update method as described in claim 1, characterized in that, After sending the permission revocation command containing the updated data to the local controller, the following steps are included: Receive the update-period runtime data returned by the local controller based on the permission revocation command; Based on the update control logic, the running data during the update is loaded to restore control over the end device.

4. The digital docking station update method as described in claim 1, characterized in that, The method further includes: If the digital docking station update is not triggered, the terminal device operating parameters sent by the local controller are obtained; A first control strategy for determining the operating parameters of the terminal device based on the current control logic; According to the first control strategy, a first control command is sent to the local controller, so that the local controller sends the first control command to the end device.

5. A method for updating a digital dock, characterized in that, The digital docking station update method is applied to a local controller, and the digital docking station update method includes: Receive a permission switching instruction sent by the digital docking station, wherein the permission switching instruction includes the current operating state of the digital docking station based on the current control logic, and the current operating state indicates the control strategy for the terminal device; The current operating state is restored based on the current control logic and the permission switching instruction in order to maintain control over the terminal device; The system receives a permission revocation command sent by the digital base station and updates the current control logic to an updated control logic using the update data in the permission revocation command. The digital base station updates the current control logic using the update data to obtain the updated control logic.

6. The digital docking station update method as described in claim 5, characterized in that, The step of receiving the permission revocation command sent by the digital dock and updating the current control logic to updated control logic using the update data in the permission revocation command includes: Acquire the operational data generated during the update process by controlling the terminal device; The data generated during the update is sent to the digital dock.

7. The digital docking station update method as described in claim 5, characterized in that, The method further includes: Obtain the terminal device's operating parameters and send them to the digital dock; A second control strategy is determined based on the current control logic to determine the operating parameters of the terminal device, and a second control instruction corresponding to the control strategy is determined. The device receives a first control command sent by the digital dock and sends the first control command to the terminal device.

8. A digital docking station update system, characterized in that, The digital docking station update system includes a digital docking station and a local controller; The digital base includes: The first determining module is used to determine the current operating state of the digital base based on the current control logic if a digital base update is triggered, wherein the current operating state indicates the control strategy for the end device. The first generation module is used to generate a permission switching instruction containing the current running state; The first sending module is used to send the permission switching instruction to the local controller, so that the local controller restores the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; wherein, the digital dock is connected to the terminal device through the local controller; The first acquisition module is used to acquire updated data and update the current control logic using the updated data to obtain updated control logic; The second sending module is used to send a permission revocation instruction containing the updated data to the local controller, so that the local controller updates the current control logic to the updated control logic according to the updated data. The body controller includes: The first receiving module is used to receive the permission switching instruction sent by the digital base station, wherein the permission switching instruction includes the current operating state of the digital base station based on the current control logic, and the current operating state indicates the control strategy for the terminal device. The first restoration module is used to restore the current operating state based on the current control logic and the permission switching instruction, so as to maintain control over the terminal device; The second receiving module is used to receive the permission revocation instruction sent by the digital base station, and update the current control logic to the updated control logic through the update data in the permission revocation instruction. The digital base station updates the current control logic through the update data to obtain the updated control logic.

9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the digital docking station update method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the digital docking station update method as described in any one of claims 1 to 7.