A heterogeneous robot end-cloud collaborative control system, a storage medium and a program product

By introducing a trajectory deviation comparison mechanism and a frequency reduction mechanism at the edge, and adaptively adjusting the motion field of view, the problems of robot task failure in dynamic environments and high cloud resource consumption are solved, achieving efficient and safe edge-cloud collaborative control.

CN123169031APending Publication Date: 2026-11-27SHANGHAI DEERXIANG COM ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611211001.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-11
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing robot edge-cloud collaborative control systems are prone to task failure when the environment changes dynamically, posing safety risks. Furthermore, cloud computing resources are consumed in large quantities, resulting in low system operating efficiency.

Method used

A trajectory deviation comparison mechanism between actual observation and predicted observation sequences is introduced on the edge side to adaptively adjust the action horizon, monitor round-trip delay and trigger a frequency reduction mechanism, extend or shorten the number of sub-actions in the action sequence, and optimize cloud inference by combining human intervention and model training.

Benefits of technology

It improves the safety of task execution and the efficiency of system operation, reduces the cost of cloud computing power access, and enhances the continuity of robot operation and physical safety in network fluctuation environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169031A_ABST
    Figure CN123169031A_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a heterogeneous robot end-cloud collaborative control system, a storage medium and a program product, which comprise an end-side device and a cloud-side reasoning node. The end-side device collects multi-modal observation data of the heterogeneous robot and sends the multi-modal observation data to the cloud side, receives an action sequence and a predicted observation sequence returned by the cloud side, calculates a trajectory deviation between actual observation and predicted observation in the process of executing the action sequence, discards remaining actions and re-reasoning when the deviation meets a first condition, and prolongs the number of sub-actions of a subsequent action sequence when the deviation continuously meets a second condition. The system also comprises modules such as execution frequency adaptive adjustment, artificial takeover mechanism, data value evaluation and model post-training, and realizes adaptive response to a dynamic environment. The application reduces the cloud computing power calling cost while ensuring the safety of task execution through the end-cloud collaborative mode, and is suitable for the fields of robot control and intelligent interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of artificial intelligence and robot control technology, and in particular to a heterogeneous robot edge-cloud collaborative control system, storage medium and program product. Background Technology

[0002] With the development of embodied intelligence and large-scale model technology, the use of an edge-cloud collaborative architecture to control robots has become an industry trend. Typically, edge devices are responsible for high-frequency sensor data acquisition and low-level motor drive, while cloud-based large-scale models are responsible for processing complex multimodal observation data and performing high-level action reasoning.

[0003] Due to the high computational latency of large-scale model inference in the cloud, many related technologies commonly employ a fixed-step action chunking strategy. Specifically, the cloud inference node predicts a fixed number of consecutive action sequences based on current observation data and sends them to the edge. After receiving the sequence, the edge executes all actions in an open-loop manner at a fixed frequency before sending the next inference request to the cloud, thereby masking the network and computational latency of cloud inference.

[0004] However, in actual robot operations, the environment is often dynamically changing. When the system uses a long fixed step size, if the environment changes abruptly or is subject to external physical interference, the action sequence previously generated in the cloud will become outdated. Since the edge device lacks a monitoring and intervention mechanism for changes in the environmental state during execution, it can only execute the remaining outdated actions, which can easily lead to task failure or even collisions between the robot and the environment, creating safety risks.

[0005] To mitigate this risk, the conventional approach is to significantly shorten the fixed motion step length. However, this can lead to frequent cloud inference calls, increasing the consumption of cloud computing resources and operating costs. Moreover, when network fluctuations occur, delayed cloud responses can cause interruptions in edge control commands, resulting in robot motion stuttering or severe shaking. Therefore, related technologies face a contradiction between low task execution success rates and high cloud computing costs, leading to low overall system efficiency and a lack of security. Summary of the Invention

[0006] This application provides a heterogeneous robot edge-cloud collaborative control system, storage medium, and program product to improve the overall operating efficiency and security of the system.

[0007] In a first aspect, this application provides a system comprising an edge device and a cloud inference node. The edge device collects multimodal observation data of a heterogeneous robot, encapsulates the multimodal observation data into an observation representation with temporal identifiers, and sends it to the cloud inference node. The cloud inference node processes the observation representation, generates an action sequence containing multiple consecutive sub-actions and a predicted observation sequence that corresponds one-to-one with the multiple consecutive sub-actions in time, and sends it to the edge device. The edge device maps the consecutive sub-actions in the action sequence to the body control targets of the heterogeneous robot and executes them sequentially. During execution, it collects the current actual observation data and calculates the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding temporal position in the predicted observation sequence. When the trajectory deviation meets a first deviation condition, the edge device discards the remaining sub-actions in the action sequence that have not yet been executed and initiates a re-inference request to the cloud inference node with the current actual observation data. When the trajectory deviation meets the second deviation condition for a preset number of consecutive times, the edge device adds a horizon extension instruction in the next inference request to instruct the cloud inference node to increase the number of sub-actions included in the next action sequence.

[0008] This embodiment introduces a trajectory deviation comparison mechanism between the actual observation and the predicted observation sequence on the edge, enabling the edge to adaptively adjust the action horizon according to dynamic environmental changes. When the deviation meets the first deviation condition, the remaining sub-actions are discarded and inference is restarted to avoid erroneous actions caused by environmental changes. When the deviation continues to meet the second deviation condition, the number of sub-actions in the subsequent action sequence is increased, reducing the request frequency of cloud inference and balancing the security of task execution with the cost of cloud computing power.

[0009] In conjunction with some embodiments of the first aspect, in some embodiments, during the process of the edge device mapping continuous sub-actions in the action sequence to the body control target of the heterogeneous robot and executing them sequentially, the edge device is also used to: monitor the round-trip delay of initiating an inference request to the cloud inference node; when the round-trip delay exceeds a preset delay threshold, and the number of sub-actions in the action sequence has reached a preset maximum value, and a new action sequence does not return before the remaining sub-actions of the action sequence are completed, the edge device gradually reduces the execution frequency according to preset levels; after reducing the execution frequency, time-stretched interpolation is performed on the remaining sub-actions, that is, the playback speed is slowed down while keeping the geometry of the interpolation trajectory unchanged, so as to extend the coverage duration of the remaining sub-actions.

[0010] This embodiment monitors round-trip delays and triggers a frequency reduction mechanism when a new action sequence fails to return in time, performing time-stretched interpolation on the remaining sub-actions. This mechanism slows down the motion playback speed while maintaining the original motion trajectory geometry, using the extended execution cycle of a single step to cover the waiting time for cloud inference and network transmission, preventing the robot from experiencing motion stuttering during waiting periods, and improving the system's operational consistency in environments with network fluctuations.

[0011] In conjunction with some embodiments of the first aspect, in some embodiments, during the time-stretch interpolation execution of the remaining sub-actions by the end-side device, the end-side device is further configured to: when the trajectory deviation meets the third deviation condition, or when the remaining sub-actions are exhausted and the new action sequence has not yet returned, control the heterogeneous robot to decelerate to zero speed and maintain the current pose by a preset deceleration, and at the same time trigger an emergency re-inference request, wherein the deviation threshold corresponding to the third deviation condition is greater than the deviation threshold corresponding to the first deviation condition; after receiving a new action sequence and the trajectory deviation is less than or equal to the deviation threshold corresponding to the first deviation condition, gradually restore the execution frequency in stages according to the opposite level to the reduction of the execution frequency.

[0012] In this embodiment, when the environment changes drastically or there is no response from the cloud for an extended period, the edge-controlled robot smoothly transitions to zero speed at a preset deceleration and maintains its current posture, preventing collision risks caused by blindly performing actions in unknown conditions. Simultaneously, upon receiving a new sequence and after the deviation returns to an acceptable range, the execution frequency is gradually restored in the opposite gear, avoiding the impact on the mechanical body caused by sudden acceleration and enhancing the robot's physical safety and recovery stability in extreme situations.

[0013] In conjunction with some embodiments of the first aspect, in some embodiments, during the process of the end-side device sequentially executing the body control target, the system further includes: the end-side device monitoring the input signal of the teleoperated device and performing dead-zone detection on the input signal; when the input signal exceeds the dead-zone threshold, it is determined that manual intervention has begun, the execution timing of the action sequence is paused, and the control is switched from the action sequence generated by the cloud inference node to the manual action generated according to the input signal mapping; when the input signal falls back to within the dead-zone threshold and continues for a preset duration, it is determined that manual intervention has ended, the remaining sub-actions of the action sequence are invalidated, and a re-inference request is triggered based on the current actual observation data to restore model control.

[0014] This embodiment identifies the operator's intervention intention by monitoring the input signal of the remotely operated device and comparing it with the dead zone threshold. Upon manual intervention, the execution of the original action sequence is immediately paused, and the underlying control is switched to manual action. After manual intervention, the system's main actions discard the remaining sub-actions that are outdated due to state changes, and re-inference is triggered based on the latest observation, giving the system a backup capability and ensuring clear control and state synchronization during human-machine collaboration.

[0015] In conjunction with some embodiments of the first aspect, in some embodiments, the end-side device is also used to: synchronously record the current actual observation data, the actions predicted by the cloud inference node based on the current actual observation data, and the human actions during each control cycle during human intervention, forming takeover process data and reporting it to the cloud inference node; based on the takeover process data, the cloud inference node automatically constructs a preference sample pair for direct preference optimization of DPO, with human actions as positive examples and predicted actions as negative examples, for post-training of the embodied large model in the cloud inference node.

[0016] This embodiment synchronously records the current actual observation data, model predicted actions, and manual actions in each control cycle, transforming manual correction demonstrations into structured takeover process data. Based on this correction scenario data, the cloud automatically constructs direct preference optimization sample pairs and uses them for post-training of the embodied large model, transforming the demonstration cost of manual remote operation into data assets for model iteration and improving the model's adaptability to complex edge scenarios.

[0017] In conjunction with some embodiments of the first aspect, in some embodiments, the continuous sub-actions in the action sequence are defined in a canonical action space independent of the heterogeneous robot's morphology. This canonical action space characterizes actions using the end effector's incremental pose and the gripper's opening and closing degree. The end-side device maps the continuous sub-actions in the action sequence to the heterogeneous robot's body control targets. Specifically, this includes: the end-side device calculating the continuous sub-actions in the canonical action space into joint angle or velocity control targets in the local joint space based on the current heterogeneous robot's kinematic mapping parameters; after execution, comparing the body control targets with the heterogeneous robot's actual execution pose, and performing online calibration of the kinematic mapping parameters.

[0018] This embodiment uses a form-independent canonical motion space to represent continuous sub-motions issued from the cloud, and solves them into underlying joint control targets using the end-side device based on the machine's kinematic mapping parameters. This decoupling allows a single cloud model to drive heterogeneous robots with different physical forms. Simultaneously, online calibration is performed by comparing the body control targets with the actual execution poses to compensate for mechanical assembly errors and operational wear, reducing the development costs for multi-model adaptation and maintaining control accuracy over long-term operation.

[0019] In conjunction with some embodiments of the first aspect, in some embodiments, after the action sequence is executed by the edge device, the system further includes a cloud data value assessment and post-training engine, used to: collect execution trajectory data reported by the edge device; calculate information content scores based on the action divergence of multiple heterogeneous embodied large models on multimodal observation data, calculate diversity scores based on the embedding distance between the execution trajectory data and existing datasets, and calculate rarity scores based on the distribution of failure attribution types in existing datasets; calculate the trajectory pooling priority by weighting the information content score, diversity score, and rarity score; and select high-value trajectories according to the priority to enter the post-training data pool for iterative updates of the model in the cloud inference node.

[0020] This embodiment's engine comprehensively considers the divergence of actions from multiple models for the same observation, the embedding distance of trajectories in existing datasets, and the distribution of failure attribution types, quantifying and calculating information content scores, diversity scores, and rarity scores respectively. By weighting these scores, the priority of trajectories entering the pool is determined, automatically selecting boundary samples with high training value and rare failure scenarios to enter the post-training data pool. This optimizes the data structure for model iteration and improves the update efficiency of large-scale embodied models in the cloud post-training stage.

[0021] In conjunction with some embodiments of the first aspect, in some embodiments, the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding temporal position in the predicted observation sequence is calculated. Specifically, this includes: extracting visual features from the current actual observation data and the predicted observation data respectively and calculating the visual feature distance between them; calculating the weighted distance between the ontology state vectors in the current actual observation data and the predicted observation data; performing weighted fusion on the weighted distances to obtain the single-step deviation; and accumulating or calculating the moving average of multiple consecutive single-step deviations within a sliding time window to obtain the trajectory deviation.

[0022] This embodiment uses a weighted fusion of visual feature distance and ontological state vector distance to construct a multimodal single-step bias, and uses a sliding time window to accumulate or average continuous biases to smooth transient fluctuations, suppressing the interference of sensor instantaneous noise on the decision results and improving the robustness of end-side dynamic field adjustment and truncation decision.

[0023] Secondly, embodiments of this application provide a computer program product containing instructions, which runs on a system as described in the first aspect and any possible implementation thereof.

[0024] Thirdly, embodiments of this application provide a computer-readable storage medium including instructions that operate on a system as described in the first aspect and any possible implementation thereof.

[0025] It is understood that the computer program product provided in the second aspect and the computer storage medium provided in the third aspect are both used to execute the methods provided in the embodiments of this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.

[0026] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0027] 1. This application introduces a trajectory deviation comparison mechanism between the actual and predicted observation sequences on the endpoint to adaptively adjust the action horizon. When the deviation is large, the remaining actions are discarded and inference is restarted; when the deviation meets the conditions, the number of sub-actions is extended, thus balancing task execution security and cloud computing power access costs.

[0028] 2. This application monitors round-trip delay and triggers a frequency reduction mechanism when a new action sequence fails to return in a timely manner, performing time-stretched interpolation on the remaining sub-actions. By slowing down the playback speed to cover the waiting time while maintaining the trajectory shape, it prevents action stuttering due to network fluctuations and improves operational continuity.

[0029] 3. This application controls the robot to smoothly decelerate to zero and maintain its pose when there are drastic environmental changes or prolonged periods without response, preventing collisions caused by blind execution. Furthermore, it gradually restores the frequency after receiving a new sequence and recovering from the deviation, avoiding sudden acceleration impacts and enhancing physical safety and stability under extreme conditions. Attached Figure Description

[0030] Figure 1 This is a schematic diagram of the overall architecture and data flow of the heterogeneous robot edge-cloud collaborative control system in the embodiments of this application;

[0031] Figure 2 This is another flowchart illustrating the heterogeneous robot edge-cloud collaborative control system in this application embodiment;

[0032] Figure 3 This is a timing diagram of the end-to-cloud collaborative decoupling based on Action Chunking and dynamic horizon control in the embodiments of this application;

[0033] Figure 4 This is a flowchart of the end-side dynamic view and execution frequency hierarchical degradation control in an embodiment of this application;

[0034] Figure 5 This is a schematic diagram of the flywheel flow of training data after cloud data closure in an embodiment of this application;

[0035] Figure 6 This is a schematic diagram of the physical device structure of a heterogeneous robot edge-cloud collaborative control device in the embodiments of this application. Detailed Implementation

[0036] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0037] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0038] To facilitate understanding, the overall system architecture provided in the embodiments of this application will first be described. Please refer to... Figure 1 This is a schematic diagram of the overall architecture and data flow of the heterogeneous robot edge-cloud collaborative control system in this application embodiment.

[0039] like Figure 1 As shown, the system consists of two main parts: edge devices and cloud inference nodes. Protocol parsing, timing alignment, and request routing are achieved through an aggregation routing gateway. Edge devices encompass heterogeneous hardware terminals such as humanoid robots, six-DOF robotic arms, wheeled mobile chassis, and teleoperated devices (homogeneous arms / VR). Each terminal completes unified collection of multimodal observation data and observation token encapsulation / kinematic mapping through the edge abstraction access layer. The edge dynamic vision control module is responsible for truncation / execution command distribution and manual control switching. The edge reports the encapsulated observation tokens to the aggregation routing gateway. After routing, the VLA model / world model and action prediction and chunk packaging modules perform inference, generating action chunks and predicted observation trajectories, which are then sent to the edge for execution. At the data closed-loop level, the edge asynchronously reports the execution trajectory and reward signal to the offline data accumulation engine. The cloud data value assessment and post-training engine (DPO / RLPD) performs high-value trajectory selection and model iteration, pushing the new version model weights to the inference nodes, forming a continuously operating data flywheel. The following section combines... Figure 1 The methods provided in the embodiments of this application will be described in detail step by step.

[0040] For ease of understanding, the method provided in this implementation is described in process below. Please refer to [link / reference]. Figure 2 This is a flowchart illustrating a heterogeneous robot edge-cloud collaborative control system in an embodiment of this application.

[0041] S201. The end-side device collects multimodal observation data from the heterogeneous robot, encapsulates the multimodal observation data into an observation representation with time sequence identifiers, and sends it to the cloud inference node.

[0042] Multimodal observation data refers to the raw state data set of heterogeneous robots concurrently collected by multiple types of sensors and perception interfaces within a single control cycle. It typically encompasses visual modalities (such as RGB or RGB-D image frames from head and hand-eye cameras), proprioceptive modalities (such as arrays of joint angles and angular velocities, end effector pose, and gripper opening / closing states), and task semantic modalities (such as operation instructions expressed in natural language). Observation representations with temporal identifiers refer to standardized data units formed by structurally encapsulating the aforementioned multimodal data. Their temporal identifier fields enable cloud-based inference nodes to perform unambiguous global sequence reorganization and trajectory alignment of data packets from different control cycles and robot models, forming the fundamental structure for ensuring consistency between edge and cloud data.

[0043] This step serves as the data entry point for the edge-cloud collaborative control pipeline, triggered after the robot completes sensor sampling in each control cycle. Specifically, the observation representation can be encapsulated in JSON, Protobuf, or a custom binary frame format, and must include at least the following fields: global session identifier (session_id), trajectory identifier (episode_id), step number (step_index), acquisition timestamp, robot model identifier, natural language task instructions, camera image or image features, body state vector, end effector pose, and gripper state. The image field can be an RGB or RGB-D raw frame, an image compressed with JPEG or WebP, a Base64 encoded string, or an image feature embedding pre-extracted by the edge-side lightweight encoder. The feature embedding dimension can range from 128 to 2048 dimensions. The body state vector includes arrays of joint angles and angular velocities (the dimension is determined by the number of robot degrees of freedom), end effector pose (3D position vector plus rotation quaternions or Euler angles), and linear and angular velocities in wheeled chassis scenarios. The amount of data represented by a single frame observation can be estimated as “control cycle sampling frequency × execution time × single frame field size”: taking a 50Hz control frequency as an example, if a 640×480 original RGB image is carried, a single frame is about 900KB; if 512-dimensional image feature embedding is used instead, a single frame is only about 2KB, and the bandwidth consumption is reduced by about 450 times, which has a significant advantage in latency-sensitive edge-cloud communication scenarios.

[0044] The encapsulation format of the observation representation is not limited to the above schemes; it can also be a shared memory frame index or a message queue record. In addition to step_index, the timing identifier can also be a monotonic timestamp or a combination of a global trajectory number and a local sequence number to adapt to the differentiated timing alignment accuracy requirements of different deployment environments such as private clouds and edge clouds. Furthermore, the edge can append runtime metadata such as the current network round-trip delay estimate, edge computing load, remaining action buffer length, current security level, and critical joint motor temperature to the observation representation. This allows the cloud inference node to obtain the real-time runtime status of the edge while receiving the observation data, thus directly utilizing this prior information in routing decisions and action horizon adjustment without the need to establish an additional independent state synchronization channel.

[0045] S202, the cloud inference node processes the observation representation, generates an action sequence containing multiple consecutive sub-actions and a prediction observation sequence that corresponds one-to-one with the multiple consecutive sub-actions in time, and sends it to the end device.

[0046] The action sequence, also known as an action chunk, is a prediction set generated by the cloud-based inference node in a single inference iteration. It consists of H consecutive sub-actions arranged sequentially in time, where H is called the action horizon length. The initial value of H can be 8, with an adjustable range of 4 to 16 steps. In engineering deployments, it can be extended to 2 to 64 steps depending on the task type. The predictive observation sequence is a predictive description of the future robot state and environment state, corresponding one-to-one in time to the aforementioned H sub-actions. It is denoted as... The i-th predicted observation This represents the expected state of the robot and the environment after executing the i-th sub-action.

[0047] Upon receiving the encapsulated observation representation from the edge, the cloud-based inference node initiates the inference process for this step. Specifically, the inference node uses a Visual-Language-Action (VLA) large model to jointly encode the image, ontology state, and task instructions, generating a complete action sequence and corresponding predictive observation sequences in one go. Each predictive observation in the predictive observation sequence may include: a predicted ontology state vector (such as predicted values ​​of joint angles and end-effector poses), image feature embeddings, depth or semantic features, and a latent space state vector of the world model. The generation of predictive observations does not require the reconstruction of a complete RGB image; instead, it is generated by a lightweight prediction head shared by the model backbone, an auxiliary decoding head, or an independent world model, thereby synchronously outputting state predictions with almost no increase in inference overhead. The core of synchronously outputting predictive observation sequences lies in the fact that the edge can immediately pair the actual observation with the predictive observation of the same sequence number after executing each sub-action to calculate the deviation, thus continuously perceiving environmental deviations during the execution of the action sequence without waiting for the entire Action Chunk to be executed before discovering problems.

[0048] Here, "predictive observation" is not limited to explicit state vectors or image features. Any predictive representation that can characterize the future environment or robot state—including latent space state vectors, semantic object location distributions, collision risk maps, or task progress estimates—constitutes an effective form of predictive observation to cover the differences in auxiliary output dimensions across different VLA model architectures. While generating the action sequence, the cloud can also attach confidence labels, risk labels, time-to-live (TTL), and interruptibility flags for each sub-action, providing further reference for the edge device in subsequent truncated re-inference and graded degradation decisions.

[0049] In some preferred embodiments, the consecutive sub-actions in the action sequence are defined in a canonical action space that is independent of the heterogeneous robot morphology. This canonical action space is characterized by the end effector incremental pose and gripper opening degree.

[0050] The end-side device maps the continuous sub-actions in the action sequence to the body control target of the heterogeneous robot. Specifically, the end-side device calculates the continuous sub-actions in the standard action space into joint angle or velocity control targets in the local joint space based on the kinematic mapping parameters of the current heterogeneous robot. After execution, the end-side device compares the body control target with the actual execution pose of the heterogeneous robot and performs online calibration of the kinematic mapping parameters.

[0051] The canonical motion space refers to a unified motion representation space that is independent of the number of degrees of freedom, joint configuration, and link parameters of a specific robot, and is represented by a seven-dimensional vector. Representing a sub-action, the first six dimensions are the incremental pose of the end effector in Cartesian space, and the seventh dimension, ggg, is the gripper opening degree. All dimensions are normalized to the interval [−1,1]. Kinematic mapping parameters are a set of parameters independently maintained by the end-effector for each robot model, including the robot arm's DH parameter table, joint limit constraints, and end-effector coordinate system offsets, used to solve the standardized motion vector into the robot's joint space control target. Online calibration refers to the process of incrementally updating the kinematic mapping parameters after each execution, based on the residual between the body's control target pose and the actual measured pose, to compensate for systematic drift caused by mechanical assembly errors and operational wear.

[0052] This section describes the core decoupling mechanism of this invention for "driving heterogeneous robots with a single model protocol." The end-device completes the calculation based on its own kinematic mapping parameters after receiving each action sequence. Specifically, the kinematic mapping is implemented as follows for different robot models: For a six-DOF robotic arm, the end-device superimposes the incremental end-effector pose from the normed motion vector onto the current end-effector pose, then obtains the joint angle target through inverse kinematics based on DH parameters, and performs trimming within joint constraints; For a seven-DOF collaborative arm, redundant solutions exist in the inverse kinematics, which are eliminated using a regularization term with the minimum joint motion as the cost function; For a dual-arm humanoid robot, each arm maintains a set of normed motion tokens and kinematic mapping parameters, and torso posture and relative arm pose constraints are introduced to prevent collision interference; For a wheeled mobile chassis, the kinematic mapping is implemented as follows: , and The components are mapped to linear velocity and angular velocity commands, while the remaining components are set to zero or ignored.

[0053] The standardized motion space is not limited to the seven dimensions defined above. It can be expanded to include additional dimensions such as chassis speed, relative pose of the two arms, force / torque targets, contact states, or tool switching quantities, depending on task requirements. Correspondingly, the body control target can select joint position, joint speed, joint torque, chassis speed, or end-effector impedance control parameters, with the end-effector selecting the appropriate underlying control interface based on the current robot model. During online calibration, the end-effector uses the difference between the body control target pose and the measured pose as the residual to update the zero-point offset, end-effector coordinate system offset, or scaling factor. Advanced implementations can use recursive least squares or extended Kalman filtering for continuous online parameter updates, or introduce a small residual neural network with the residual as input to compensate for systematic nonlinear errors, allowing calibration accuracy to continuously improve over time and laying the foundation for long-term stable deployment across different robot models.

[0054] Please see Figure 3 This is a timing diagram for the edge-cloud collaborative decoupling based on Action Chunking and dynamic horizon control in an embodiment of this application. Figure 3As shown, the edge device (robot body) first reports the encapsulated observation token to the cloud inference node. After a hundred-millisecond inference delay, the cloud sends the action chunk (H=8) and the corresponding predicted observation trajectory to the edge device. After receiving the action chunk, the edge device executes each sub-action sequentially using a 50Hz smooth interpolation method. In each control cycle, it compares the actual observation with the predicted observation of the same sequence number and calculates the trajectory deviation D in real time. In the deviation-driven truncation branch, when D>θ1, the edge device immediately truncates the remaining sub-actions and sends a re-inference request to the cloud with the current actual observation data. The cloud responds and sends a new action chunk. In the horizon extension branch, when D is continuously less than θ2 and the number of consecutive satisfactions reaches a preset value, the edge device carries the action_horizon_hint field (target horizon H+2) in the next inference request, instructing the cloud to extend the number of steps of the next action chunk to H=10 and simultaneously extend the predicted observation trajectory and return it. This longer action sequence covers subsequent execution cycles, reducing the cloud inference call frequency while maintaining action continuity. The aforementioned timing mechanism enables collaborative decoupling between the edge and the cloud: the edge continuously senses environmental deviations locally based on the prediction and observation sequence, and can initiate intervention without waiting for the complete chunk to finish execution, minimizing the impact of cloud inference latency on execution continuity.

[0055] S203. The end-side device maps the continuous sub-actions in the action sequence to the body control target of the heterogeneous robot and executes them sequentially. During execution, it collects the current actual observation data and calculates the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding time position in the predicted observation sequence.

[0056] The current actual observation data refers to the multimodal observation data collected in real time by sensors and aligned with the current control cycle timing during the execution of a certain sub-action. It must strictly match the predicted observation with the same sequence number in the predicted observation sequence in terms of step number. The difference between the two reflects the degree of deviation between the actual environmental state and the model's expected state after the execution of that step. Trajectory deviation is a smoothing trend index obtained by averaging or accumulating the single-step deviations over multiple consecutive control cycles within a sliding time window. Compared to single-step deviation, it can effectively suppress the interference of sensor noise and transient anomalies on the decision results, making truncation and degradation decisions more robust.

[0057] This step operates in parallel with each control cycle and sub-action execution on the edge side, forming a continuous closed-loop monitoring channel during the execution of the open-loop action sequence. Specifically, the edge side executes the current sub-action with a control cycle of 10Hz to 50Hz while simultaneously acquiring actual observations. After extracting visual features and ontology state vectors, these are compared with the predicted data of the corresponding step in the predicted observation sequence to calculate the single-step deviation. The single-step deviations are averaged or accumulated within the sliding window of the most recent k steps to obtain the trajectory deviation driving subsequent truncation, degradation, and horizon adjustment decisions. The computation of closed-loop perception is completely offloaded to the edge computing unit on the edge side, involving only lightweight feature extraction and vector operations. It does not consume cloud inference resources, and the response latency is on the same order of magnitude as the control cycle, far lower than the round-trip latency of a complete cloud inference.

[0058] Compared to a fixed-step open-loop scheme, the edge device can continuously sense environmental changes and intervene promptly during Action Chunk execution, rather than passively waiting for the entire sequence to complete before initiating a new round of inference. When data for a certain observation mode is missing in the current control cycle (e.g., due to camera occlusion or the body sensor exceeding its range), the edge device normalizes the weights of the available modes to ensure that the deviation calculation still provides an effective estimate without misjudgment under degraded observation conditions. The trajectory deviation sequence generated in this step, in addition to serving as a direct decision basis for truncated re-inference (S204) and horizon adjustment (S205), can also serve as an auxiliary value feature of the trajectory data. In the subsequent cloud data value assessment, trajectories containing high-deviation segments are assigned higher information scores, achieving a natural linkage between the edge device's sensing mechanism and the cloud data flywheel.

[0059] Please see Figure 4 This is a flowchart illustrating the hierarchical degradation control process for the end-side dynamic view and execution frequency in an embodiment of this application. Figure 4 As shown, after receiving the action chunk and the predicted observation trajectory, the endpoint executes the following control logic in a loop: First, it performs interpolation execution on the t-th step sub-action according to the current execution frequency; then, it collects the actual observation data and calculates the trajectory deviation. Simultaneously, inference round-trip delays are continuously monitored. Bias decisions follow a three-tiered threshold mechanism: when... When the safety threshold θ3 is exceeded, the execution frequency is gradually reduced at preset levels, and the remaining sub-actions are executed using time-stretched interpolation. If the remaining sub-actions are exhausted before the new action sequence arrives, the execution is slowed down and safely stopped, triggering a re-inference / takeover request. When the truncation threshold θ1 is exceeded but θ3 is not reached, the remaining sub-actions are truncated at the end and inference is recalculated using the current observation data; when When the value is below the horizon extension threshold θ2 for m consecutive times, the horizon length increases by one step (not exceeding...). );when If the above low deviation condition is not consistently met, the horizon length is reduced by one step (not less than...). When the deviation is within the range of θ2 to θ1, the horizon length remains unchanged. After the current chunk is completed, the edge sends the horizon adjustment value of this round to the cloud to request the next chunk, entering the next cycle. The above three-level deviation thresholds subdivide the edge control actions into four functional areas: horizon extension, horizon maintenance / retraction, truncation re-inference, and safe stop. These trigger differentiated responses under different environmental dynamic levels, forming a complete hierarchical protection mechanism covering normal operation to extreme anomalies.

[0060] In some preferred embodiments, the above calculation yields the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding time position in the predicted observation sequence, specifically including:

[0061] Visual features are extracted from the current actual observation data and the predicted observation data, and the visual feature distance between them is calculated. The weighted distance between the ontology state vectors in the current actual observation data and the predicted observation data is calculated. The weighted distances are weighted and fused to obtain the single-step deviation. The trajectory deviation is obtained by accumulating or calculating the moving average of multiple consecutive single-step deviations within the sliding time window.

[0062] Wherein, visual feature distance refers to the distance between the current actual observed image and the corresponding predicted observation obtained through feature extractors. After extracting feature vectors, the difference is measured by the difference between 1 and cosine similarity, with a value ranging from [0,2]. A larger value indicates a more significant semantic and structural difference between the two frames. The weighted distance between ontology state vectors refers to the distance between the actual ontology state vectors. With the predicted ontology state vector After performing dimension-by-dimensional normalization, with The Euclidean distance calculated using the norm is normalized to eliminate the influence of inconsistencies in the dimensions of different physical quantities such as joint angles and displacements on the distance measurement. Single-step deviation. It is a comprehensive deviation score obtained by weighted fusion of visual feature distance and ontological state distance, representing the degree of deviation between the actual execution effect of the current control cycle and the predicted trajectory.

[0063] The deviation is calculated immediately after the current sub-action is executed in each control cycle at the end side. Specifically, the single-step deviation... The calculation formula is:

[0064]

[0065] in To ensure the feature extractor maintains version consistency with the cloud-based inference node, For cosine similarity operator, and Let be the predicted and actual ontology state vectors at step t, respectively. For the dimension-by-dimensional normalization operator, and For the weighting coefficients, satisfying , A value of 0.3 to 0.8 is acceptable. The value can be between 0.2 and 0.7; in this embodiment, it is taken as... , The trajectory deviation is obtained by taking the moving average of the single-step deviations of the most recent k steps (k can be 2 to 10, and k=3 in this embodiment). :

[0066]

[0067] The above weighting reflects the different emphases of visual information and proprioceptive motion information in different tasks: in visually guided tasks such as precision grasping and insertion, visual deviations in object pose have a greater impact on success or failure, making higher weighting suitable. In transport and navigation missions where the primary function is body position control, the accuracy can be appropriately increased. When a certain observation mode is missing data in the current control cycle (such as image frame loss or the body sensor reading exceeding the range), the end side resets the weight of that mode to zero and proportionally amplifies the weights of the remaining valid modes to maintain normalization, ensuring that the deviation calculation can still give valid and dimensionally consistent results under degraded observation conditions.

[0068] The calculation dimensions of trajectory deviation are not limited to vision and ontology. Auxiliary indicators such as spatial distance of object detection boxes, semantic segmentation difference, depth point cloud registration error, end force / torque deviation, or task progress difference can also be introduced and incorporated with corresponding weights. In the weighted summation, or by taking the most significant deviation in each dimension in the form of the weighted maximum value, the applicability of different tasks to the differentiated requirements of anomaly perception dimensions is adopted. The edge feature extractor adopts a lightweight distilled version with the same architecture as the cloud encoder, and carries the encoder version number in the observation representation. When the edge encoder version is inconsistent with the cloud encoder version, the edge records the version difference in the request metadata and initiates a synchronization request to the cloud to ensure that the calculation of visual feature distance is under the same dimensional benchmark, and avoids the distortion of deviation indicators caused by version drift, which may lead to erroneous truncation decisions.

[0069] In some preferred embodiments, during the process of the edge device mapping successive sub-actions in the action sequence to the body control targets of the heterogeneous robot and executing them sequentially, the edge device is also used to:

[0070] The system monitors the round-trip latency of inference requests sent to cloud inference nodes. When the round-trip latency exceeds a preset latency threshold, the number of sub-actions in the action sequence has reached a preset maximum value, and a new action sequence does not return before the remaining sub-actions of the action sequence are completed, the device on the edge gradually reduces the execution frequency according to preset levels. After reducing the execution frequency, the remaining sub-actions are time-stretched and interpolated, that is, the playback speed is slowed down while keeping the geometry of the interpolation trajectory unchanged, so as to extend the coverage time of the remaining sub-actions.

[0071] Round-Trip Time (RTT) refers to the time interval between the endpoint issuing an inference request and receiving the first byte of the action sequence or the complete data packet returned from the cloud. To smooth out the impact of network jitter, the P90 or P95 statistical value of the RTT of the most recent n requests (n can be 5 to 100) can also be used, with stable statistical delay replacing single measurement values ​​as the basis for judgment. Execution frequency is the rate at which the endpoint sends control commands to the underlying joint controller or driver layer, which can be 10Hz to 50Hz during normal operation. Time stretching interpolation refers to an execution mechanism that, while keeping the geometric path of the remaining sub-actions unchanged in the task space or joint space, uniformly amplifies the time interval between adjacent sub-actions by a factor s (s can be 1.2 to 5), extending the coverage time of the remaining actions at the cost of reduced movement speed.

[0072] This section is triggered during continuous monitoring of RTT by the system: when the RTT exceeds the latency threshold, the action horizon reaches its upper limit, and a new action sequence does not arrive in time, the end-side initiates a frequency reduction procedure. Specifically, the preset latency threshold can be a fixed value (ranging from 100ms to 500ms, 200ms in this embodiment), or it can be dynamically set to the P95 value of the most recent RTT requests to adapt to scenarios with dynamic changes in network quality. The execution frequency is reduced step by step according to preset levels, for example, from 50Hz to 25Hz and then to 10Hz, or a four-level scheme of 100Hz→50Hz→20Hz→10Hz can be used to achieve finer-grained adjustment. Each frequency reduction level means that the time interval between adjacent sub-actions is reduced from the original value. Extended to At each time point after stretching, the adjacent sub-actions are re-interpolated: linear interpolation, cubic spline interpolation, fifth-order polynomial interpolation, or S-curve velocity planning can be used. Among them, S-curve velocity planning can introduce smooth acceleration and deceleration in the start and end segments of the path, further suppressing joint impact.

[0073] Regardless of the interpolation algorithm used, the fundamental constraint is to "keep the geometry of the motion trajectory unchanged in the task space or joint space." That is, the spatial path of the robot's end effector is exactly the same as the path executed at normal frequency, with only the time axis being stretched proportionally. This means that time-stretched execution is equivalent to running a slow version of the normal trajectory, rather than executing an approximate trajectory that has been truncated or deformed. This preserves the original action sequence's task intent to the greatest extent possible, making the strategy of sacrificing motion speed for task continuity valid within the safety boundary.

[0074] The endpoint can also estimate the safe coverage time of the remaining sub-actions based on the current number of remaining sub-actions, execution frequency level, and stretching ratio s, and report this time as the deadline field of the inference request to the cloud along with the request. This enables the cloud inference scheduler to be aware of the effective waiting window on the endpoint and prioritize the processing of requests with shorter time margins, forming a load-aware bidirectional coordination mechanism between the endpoint and the cloud.

[0075] In other embodiments, during the time-stretch interpolation execution of the remaining sub-actions by the end-side device, the end-side device is also used to:

[0076] When the trajectory deviation meets the third deviation condition, or when the remaining sub-actions are exhausted and the new action sequence has not yet returned, the heterogeneous robot is controlled to decelerate to zero speed according to the preset deceleration and maintain the current pose. At the same time, an emergency re-inference request is triggered. The deviation threshold corresponding to the third deviation condition is greater than the deviation threshold corresponding to the first deviation condition. After a new action sequence is received and the trajectory deviation is less than or equal to the deviation threshold corresponding to the first deviation condition, the execution frequency is restored step by step in the opposite gear to the reduction of the execution frequency.

[0077] The third deviation condition refers to the trajectory deviation calculated in real time at the end side. Exceeding the third deviation threshold The judgment condition, namely ; The acceptable range is 0.45 to 0.90, and it must satisfy the following conditions: In this embodiment, Thus, with respect to the first deviation threshold A clear grade difference is formed between them: the deviation is at During the interval, the system performs truncated re-inference and waits for a response, causing the deviation to exceed the limit further. The safety stop is triggered. (Except for those based on...) In addition to numerical judgment, the third deviation condition can also be directly triggered by independent safety events such as collision risk flag activation, joint torque exceeding the rated range, target object being lost in several consecutive frames of images, or robot crossing the preset safety area, so as to cover scenarios where the numerical deviation is not yet significant but the physical risk has actually existed.

[0078] The preset deceleration is the braking acceleration amplitude used to smoothly brake the robot from its current speed to zero speed. It can range from 0.1 to 2.0 m / s², or not exceed 20% to 80% of the robot's rated maximum deceleration. In the joint space, the speed of each joint is coordinated to decrease to zero according to its corresponding upper speed limit to prevent a sudden change in end-effector posture caused by a joint stopping too quickly. The method for maintaining the current pose can be selected based on the robot's form and the task scenario: position loop locking of the robotic arm (keeping the end-effector pose stationary), impedance-controlled holding (responding compliantly to external force disturbances but not actively moving), force-controlled compliant holding (suitable for scenarios with contact pressure with the environment), or braking parking of the wheeled chassis. The common core constraint of all these methods is to terminate the scheduling and execution of any remaining sub-actions still within the buffer zone.

[0079] This step continuously monitors trajectory deviation and motion buffer margin during the time-stretch execution phase. Once the third deviation condition is met or the motion sequence is completely exhausted and a new sequence from the cloud has not yet arrived, a safety stop procedure is triggered. Specifically, the end-side control robot smoothly brakes to zero speed along the current interpolated trajectory direction with a preset deceleration and enters the aforementioned hold mode, while simultaneously using current actual observation data and... The flag triggers an emergency re-inference request, enabling the cloud to prioritize inference needs related to the current real-world state. The endpoint continuously polls for responses within a preset waiting time (0.5 to 5 seconds). If no valid new action sequence is received within the timeout period, a takeover request is automatically sent to the manual remote control terminal. At the same time as sending the request, the complete sensor frames, executed action sequences, progressive deviation records, round-trip delay history, and current model version information within the most recent time window before the safety stop are frozen, forming a black box data snapshot that can be used for accident review and failure sample reconstruction.

[0080] Set the safety stop threshold Set the truncation re-inference threshold The above classification is based on the fact that the deviation is at the level of arrive During this period, truncation and re-inference requests have been triggered, and the robot is still in a time-stretched slow execution state; if the deviation continues to worsen while waiting for a cloud response... This indicates that the environmental conditions have exceeded the system's automatic recovery capability limits. In this situation, a forced stop is the least costly preservation measure, while the frequency reduction strategy, which sacrifices movement speed to extend coverage time, is no longer applicable. Waiting for the new action sequence to arrive and Then, the execution frequency is gradually restored at the end side in reverse increments of 10Hz→25Hz→50Hz, maintaining each increment for at least 1 to 5 control cycles to observe whether the deviation remains stable, avoiding impact on the joint mechanism when suddenly restoring to high-frequency execution; if during the restoration process... Persistently below Reaching m times can accelerate the shift to the target frequency, ensuring both stability and timeliness in the recovery process.

[0081] In other preferred embodiments, during the process of the end-side device sequentially executing the body control objective, the system further includes:

[0082] The edge device monitors the input signals of the remotely operated device and performs dead zone detection on the input signals: when the input signal exceeds the dead zone threshold, it is determined that manual intervention has begun, the execution time of the action sequence is paused, and the control is switched from the action sequence generated by the cloud inference node to the manual action generated based on the input signal mapping; when the input signal falls back to within the dead zone threshold and continues for a preset duration, it is determined that manual intervention has ended, the remaining sub-actions of the action sequence are invalidated, and a re-inference request is triggered based on the current actual observation data to restore model control.

[0083] Teleoperation devices refer to external control devices that allow operators to input manual control commands to the end-user device in real time. Specific implementations include, but are not limited to: a teaching robot arm isomorphic to the target robot (where the operator manipulates its joints, and the end-user device obtains the incremental pose of the end effector through positive kinematics calculations and maps it to the incremental pose and gripping opening / closing degree in the standard motion space); and a VR headset and controller (where the six-DOF pose increment of the controller is directly mapped to...). Triggers or grip buttons are mapped to clamping opening / closing degree (g), six-dimensional force-sensing handles, keyboards / mice / joysticks, or mobile terminals, etc.; different types of teleoperated devices, after being uniformly converted by their respective adapters, all output incremental pose vectors in the standardized motion space, ensuring that manual actions and model actions can be recorded, compared, and reused for training in the same coordinate system. The dead zone threshold is the lower limit of sensitivity for noise filtering of teleoperated input signals. It can be set according to the normalized input amplitude (e.g., greater than 0.03 to 0.20 is considered valid input), the equivalent end-effector velocity (e.g., greater than 0.5 to 5 cm / s), or the absolute displacement, to filter noise signals generated by unintentional operator touch or hand tremors. Preset duration. It is the shortest stable time for the input signal required to continuously fall back to within the dead zone to determine the end of the intervention. It can be taken from 200ms to 1000ms. In this embodiment, it is taken as 500ms to prevent the operator from triggering the re-inference process immediately after briefly letting go, which would cause the system to oscillate frequently between manual control and model control.

[0084] This step continuously samples the teleoperated device status in parallel using an independent thread during the execution of the model action sequence on the edge. Once a valid input exceeding the dead zone threshold is detected, the control handover is atomically completed within the current control cycle. Specifically, the handover operation completes three actions simultaneously within a single control cycle: stopping the extraction of subsequent sub-actions from the model action buffer, freezing the execution time index of the current action chunk (preserving the reached timing position and preventing further advancement), and writing the manual action vector into the standardized action distribution channel shared with the model action. All three are completed within the same scheduling cycle, eliminating the time competition window where two sets of control instructions arrive at the underlying driver simultaneously, thus eliminating the risk of state competition at the moment of control handover. The triggering condition for intervention detection is not limited to the analog signal judgment of "input amplitude exceeding the dead zone threshold," but can also cover discrete event triggering methods such as operator pressing a dedicated authorization button, foot switch activation, continuous teaching input after emergency stop release, or remote operator authorization instructions, to adapt to the differentiated needs of intervention timing in different operating scenarios.

[0085] From a system perspective, the control state machine maintains five states: model control, manual pre-occupancy, manual control, safe stop, and recovery verification. Each state transition records the trigger reason code (such as manual intervention, deviation truncation, RTT timeout, etc.). This not only makes the ownership of control clear and auditable under multiple intervention paths, but the recorded state transition sequence can also be used as a structured annotation of trajectory segments in subsequent data value assessment. It automatically distinguishes between two types of events: model active truncation and manual passive takeover, and assigns them differentiated rarity weights, thereby improving the quality of fine annotation of training samples.

[0086] In other embodiments, the edge device is also used to: synchronously record the current actual observation data, the actions predicted by the cloud inference node based on the current actual observation data, and the human actions during each control cycle during human intervention, forming takeover process data and reporting it to the cloud inference node; based on the takeover process data, the cloud inference node automatically constructs a pair of preference samples for direct preference optimization of DPO, with human actions as positive examples and predicted actions as negative examples, for post-training of the embodied large model in the cloud inference node.

[0087] The takeover process data refers to the structured triplet dataset synchronously collected frame by frame at the control cycle frequency during the entire manual intervention period, with one record corresponding to each control cycle. The data is based on current observations and includes complete fields such as image features or original image frames, ontological state vectors, and task instructions. For cloud-based inference nodes to the same state The predicted actions can be taken from the sub-actions of the corresponding step in the most recent inference result cached locally, the synchronous output of the lightweight model copy on the edge, or the instant synchronous inference response initiated to the cloud when takeover occurs. This refers to the manual action vectors actually issued by the operator via the remote control device during the control cycle, which have been mapped to the standardized action space. The DPO preference sample pairs are structured training items directly derived from the above triples, in the following format: It also includes the task instruction text, timestamp, takeover trigger reason code, and current step deviation value. Meta-fields such as task success status and robot model are included to support subsequent multi-dimensional sample selection and training target stratification.

[0088] The endpoint performs triplet data collection during each intervention control cycle and sends the takeover process data to the cloud via real-time reporting or asynchronous batch reporting. In case of network interruption, the data is cached locally and retransmitted after connection restoration to ensure zero data loss. Specifically, upon receiving the takeover process data, the cloud automatically constructs preference sample pairs, using human actions as positive examples and model-predicted actions as negative examples. These pairs can be directly added to the post-training data pool without additional manual annotation. Statistically, human takeover events are highly concentrated in boundary scenarios where the model is about to malfunction or has already malfunctioned. These preference pairs have higher information density than random trajectory sampling, enabling the model to converge quickly in challenging scenarios with a smaller sample size.

[0089] The training objective of preference samples is not limited to the specific algorithm of Direct Preference Optimization (DPO): the same triplet structure is also applicable to reinforcement learning with prior data (RLPD), reward-based reinforcement learning (RLHF), behavior clone weighted training, and negative sample training of safety filters. This allows the same batch of takeover data to be reused under different post-training paradigms, thereby maximizing the value of data assets transformed from the cost of manual teleoperation, and preventing historical data from becoming invalid due to the evolution of subsequent training algorithms.

[0090] From a temporal structure perspective, a complete takeover event can be further divided into three semantic windows: the "premonition window" several steps before the takeover occurs (the model's action deviation begins to rise but human intervention has not yet occurred, characterizing the precursors of failure, which can be used to train the failure prediction model); the "correction window" during intervention (which constitutes the main body of the preference sample pairs, reflecting the direct difference between the model and human judgment); and the "recovery window" after the model's first re-inference after intervention (used to evaluate the quality of re-inference and the model's generalization ability in the current scenario). These three attributions enable the same takeover event to contribute semantically labeled training samples to the three training objectives of failure prediction, safety strategy, and recovery strategy, significantly improving the sample reuse efficiency of the data flywheel.

[0091] S204. When the trajectory deviation meets the first deviation condition, the end device discards the remaining sub-actions that have not yet been executed in the action sequence and sends a re-inference request to the cloud inference node with the current actual observation data.

[0092] The first deviation condition refers to the trajectory deviation calculated in real time at the end side. Exceeding the first deviation threshold The judgment criteria, namely ; The acceptable range is 0.20 to 0.50, and this embodiment uses... To further suppress false triggering caused by sensor noise or abnormal readings in a single step, the first deviation condition can also be set to be satisfied for r consecutive steps. (r can be 1 to 3), or the deviation value exceeds the recent mean by several times the standard deviation, and external safety events such as collision risk indicators are directly triggered. Remaining sub-actions refer to the sub-actions in the current action sequence that have not been submitted to the underlying controller or have not been completed when the terminal side executes to step t. Discarding remaining sub-actions means that the above sub-actions are no longer scheduled for execution. Its implementation forms include deleting the corresponding record from the action buffer, setting the corresponding entry as invalid, stopping the scheduler from extracting subsequent sub-actions from the buffer, directly overwriting with a new sequence, or no longer sending subsequent commands to the underlying drive pipeline, etc. The core requirement is to ensure that the remaining sub-actions in the buffer do not generate any actual instruction output to the drive layer before the end of the current control cycle.

[0093] This step executes a decision immediately after the trajectory deviation calculation module outputs its results in each control cycle, forming the first-level response gate for end-side dynamic horizon control. Specifically, when... Upon activation, the edge determines that the current environmental state has significantly deviated from the expected trajectory when the model generated the action sequence. Continuing to execute the remaining sub-actions will drive the robot to move towards a target that is misaligned with the actual environment. The edge immediately performs a discard operation and uses the current actual observation data. Re-encapsulate the observation token and initiate a re-inference request to the cloud inference node; this request carries the current horizon length and bias value. The system collects metadata such as the number of steps executed (t) and the number of steps discarded (Ht), and assigns it a higher scheduling priority than ordinary timed requests, enabling the cloud to respond as quickly as possible to urgent inference needs caused by sudden environmental changes.

[0094] Cut-off threshold Designed to be independent of the safety stop threshold The key difference lies in using an intermediate value, rather than a binary switch with an either-or choice, to preemptively truncate and trigger inference before the deviation reaches a dangerous level. This allows sufficient time margin for cloud response. Within this time window between truncation and the arrival of the cloud response, the system can still choose to continue execution at a reduced frequency or wait, preventing the deviation from worsening further. The additional risk exposure caused by inference delays when forced to stop. The actual observation fragments that lead to truncation. The prediction data of the corresponding step and subsequent steps in the original prediction observation sequence, as well as the sub-actions that have been discarded in the original action sequence, completely depict the failure scenario of the model prediction in this specific environmental state. When the edge initiates a re-inference request, it can asynchronously package the above data into failure precursor samples and report them to the cloud. In the subsequent data value evaluation, based on the deviation magnitude and failure attribution type, it obtains a high information content score and rarity score, and is given priority to enter the post-training data candidate pool. This ensures that each truncation event contributes high-density boundary scenario training information to the data flywheel while ensuring execution safety.

[0095] S205. When the number of times the trajectory deviation continuously meets the second deviation condition reaches a preset number, the end device adds a horizon extension instruction in the next inference request to instruct the cloud inference node to increase the number of sub-actions included in the next action sequence.

[0096] The second deviation condition refers to the trajectory deviation. satisfy Judgment criteria; second deviation threshold The acceptable range is 0.02 to 0.20, and this embodiment uses... And must satisfy Three thresholds The trajectory deviation space is divided into four functional zones, corresponding to four control actions: horizon extension, hold / retract, truncation and re-inference, and safe stop. Different response strategies are triggered under different evolutionary states of the deviation. The preset number of times m is the number of control cycles that the second deviation condition must be met continuously, which can be 2 to 5 times. In this embodiment, m=3 is used to confirm that the scene has entered a sustained and stable low deviation state in the time dimension, rather than just an occasional low value. The horizon extension instruction is a metadata field attached by the edge to the next inference request. The field name can be defined as action_horizon_hint, carrying the target horizon length. The step size Steps 1 to 4 can be taken; this embodiment takes... upper limit This embodiment involves 16 steps; the instruction can infer any form of the data carried in the request message, such as explicit numeric fields, request metadata headers, gateway routing configuration items, model context parameters, or end-to-cloud shared state variables, and is not limited to a specific message protocol, in order to cover the implementation differences under different deployment architectures.

[0097] This step detects [the virus] for m consecutive control cycles at the end side. The subsequent triggering indicates that the predictability of the current scenario sufficiently supports extending the inference interval. Specifically, the client-side writes the `action_horizon_hint` field when constructing the next inference request, and the cloud-based inference node parses this field and extends the number of steps in the generated action sequence to [a later value]. The corresponding prediction and observation sequence length is extended and distributed simultaneously. The direct benefit of the extended horizon is reducing the number of times the edge initiates cloud inference within the equivalent task duration, thereby reducing token billing costs and the concurrent load of cloud inference nodes, and concentrating limited inference computing power on scenarios with high environmental dynamism and frequent deviations exceeding thresholds. Setting a "continuous m confirmations" gating instead of triggering it with a single step is intended to ensure that the single-step deviation is occasionally lower than the threshold. This is insufficient to prove that the scene has entered a steady state—if the field of view is suddenly raised at this point, and the subsequent deviation bounces back due to sensor noise or brief environmental disturbances... The above would immediately force the system to perform truncated re-inference, causing the horizon to oscillate frequently between extension and truncation; the introduction of an m-step confirmation window gives the horizon adjustment hysteresis stability, which improves inference efficiency while suppressing oscillation behavior.

[0098] Symmetrical with the extension of the horizon, when When the current view length is completed, the endpoint maintains the current view length and shrinks the view length carried in the next request by a step size of 1 (not less than). (Step), responding to mild environmental changes with a higher inference refresh rate, gradually tightening the action time window without triggering the full truncation process, forming a three-level progressive adjustment mechanism of horizon extension, horizon maintenance / retraction, and truncation re-inference. The optimal parameters of the horizon strategy vary depending on the task type: for operations highly sensitive to deviations, such as precision insertion, it is advisable to... Limit to a smaller range and set a smaller Tasks with highly predictable motion trajectories, such as transport and cruise, allow for greater... And more aggressive step sizes; the cloud can automatically learn and adapt to different task types based on historical trajectory deviation distribution and task success rate data of similar tasks. , and The parameter combination elevates the vision control from static engineering presets to task-aware, data-driven adaptive decision-making.

[0099] In some preferred embodiments, after the action sequence is executed by the edge device, the system further includes a cloud-based data value assessment and post-training engine for:

[0100] Collect execution trajectory data reported by edge devices; calculate information content score based on the action divergence degree of multimodal observation data from multiple heterogeneous embodied large models; calculate diversity score based on the embedding distance between execution trajectory data and existing datasets; calculate rarity score based on the distribution of failure attribution types in existing datasets; calculate the trajectory pooling priority by weighting the information content score, diversity score, and rarity score; select high-value trajectories according to priority to enter the training data pool and iteratively update the model in the cloud inference node.

[0101] Please see Figure 5 This is a schematic diagram of the flywheel flow of training data after cloud data closure in an embodiment of this application. Figure 5 As shown, the data flywheel consists of five sequentially driven nodes, forming a continuously operating closed loop: The first node is the robot's execution of the Chunk, generating actual execution behavior data; the second node is the asynchronous full-scale reporting of trajectory and reward data, where the edge device uploads structured data such as frame-by-frame observation data, standardized action sequences, progressive trajectory deviations, and reward scalars to the offline data accumulation engine (Parquet / RLDS format) for persistent storage in real time; the third node is cloud-based value assessment, which scores the full trajectories from three dimensions: information content, diversity, and rarity; the fourth node is preference pair construction and DPO / RLPD post-training, which selects high-value trajectories based on the scores to construct training samples and iteratively optimizes the cloud-based embodied large model; the fifth node is model weight push, which pushes the updated model weights to each inference node in batches, driving the robot to generate higher-quality action sequences and execution trajectory data in subsequent tasks, triggering the next round of flywheel rotation. The sequential drive of the five nodes enables the system to continuously improve inference quality as the actual deployment time accumulates, with the total amount of data assets and model capabilities growing together, achieving a virtuous data closed loop of "getting smarter with use."

[0102] The execution trajectory data refers to the structured time-series dataset fully reported by the edge after completing a task. Fields include frame-by-frame observation data (image features or original image frames, ontology state vectors), canonical action sequences, progressive trajectory deviations, round-trip delay records, manual intervention flags, reward scalars, task success / failure flags, robot model, current model version number, and task type. Successful, failed, and manually intervened trajectories are all fully retained and not discarded based on success or failure flags. The information content score is a quantitative indicator of the incremental training information that the observation data in a trajectory can provide for the current model family. The specific calculation method is as follows: action vectors are obtained by inferring the same observation from two or more embodied large models, and the variance or average pairwise distance between the action vectors is used to measure the degree of divergence. The multiple models involved in the calculation can be heterogeneous embodied large models with different model architectures and parameter scales, different training checkpoints of the same model, multiple independent outputs of the same model at different sampling temperatures, or uncertainty estimation based on MC Dropout, to cover the degraded implementation where the other party only uses single-model uncertainty to replace multi-model divergence. The diversity score is a quantitative indicator that measures the contribution of a trajectory to the coverage of the existing dataset in the feature space. It can be calculated as the minimum cosine distance or Euclidean distance between the observed embedding vector of the trajectory and the nearest neighbor sample in the already pooled dataset. The larger the distance, the more the trajectory covers the state space region that has not yet been fully represented by the existing dataset, and the higher its contribution to improving the model's generalization ability. The rarity score is a differentiated weight introduced for failed trajectories and takeover trajectories. The rarity score is the reciprocal or negative logarithm of the frequency of the failure attribution type (such as grasp slippage, collision, target loss, torque exceeding limit, etc., which can be generated by rule engine, manual annotation or automatic classification model) in the existing dataset. The lower the frequency of failure type, the higher the weight, guiding the data pool to grow in the direction of covering highly scarce failure scenarios.

[0103] The cloud-based data value assessment engine performs the above three-dimensional assessment on all received trajectory data and calculates a comprehensive score based on a weighted formula:

[0104]

[0105] Where I, D, and R represent information content score, diversity score, and rarity score, respectively. The weights α, β, and γ all range from 0 to 1 and satisfy α + β + γ = 1. In this embodiment, α = 0.4, β = 0.3, and γ = 0.3. These three weights can be dynamically adjusted based on the current model's weaknesses. For example, β can be increased when the existing dataset lacks scene diversity, and γ can be increased when a certain type of failure behavior persists. Specifically, after trajectories are sorted in descending order of comprehensive score, high-scoring trajectories are selected for inclusion in the post-training data pool based on Top-K selection, score thresholds, or training dataset budget constraints. Trajectories with scores below the threshold are not deleted but are transferred to cold storage in a highly compressed format for re-inclusion after adjustments to the threshold strategy or value assessment model, ensuring the integrity of the data assets. When the data pool reaches the scale threshold, cumulative time threshold, or when a declining trend in the online performance indicators of the online deployed model is detected, distributed computing resources are automatically scheduled to initiate DPO or RLPD post-training, generating new version model weights.

[0106] The new weights first undergo a gray-scale verification phase, where A / B testing is performed on a small number of edge devices against the current online model. After confirming that the success rate of key tasks has not regressed, the weights are pushed to all inference nodes in batches for a full update. If a performance regression is detected during the gray-scale phase, a version rollback is automatically triggered while retaining the current weights, and the corresponding batch of post-training data is labeled and investigated. Each trajectory entering the pool is also bound to the model version, robot model, task type, and environment configuration information of the edge device when the trajectory was generated, forming a complete traceable link between data and model version. This binding enables the system to distinguish the differences in training contribution of the same batch of trajectory data under different model versions in subsequent analysis, providing accurate data traceability for diagnosing the root cause of model degradation in a certain version, and supporting the "the more you use it, the smarter it gets" closed-loop data flywheel to remain controllable, auditable, and traceable in long-term iteration.

[0107] The heterogeneous robot edge-cloud collaborative control device in the embodiments of this invention is described below from the perspective of hardware processing. Please refer to [link to relevant documentation]. Figure 6 This is a schematic diagram of the physical device structure of a heterogeneous robot edge-cloud collaborative control device in the embodiments of this application.

[0108] It should be noted that, Figure 6 The structure of the heterogeneous robot edge-cloud collaborative control device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0109] like Figure 6As shown, the heterogeneous robot edge-cloud collaborative control device includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage portion 608 into random access memory (RAM) 603, such as executing the methods described in the above embodiments. The RAM 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0110] The following components are connected to I / O interface 605: input section 606 including audio input devices, push-button switches, etc.; output section 607 including a liquid crystal display (LCD) and audio output devices, indicator lights, etc.; storage section 608 including a hard disk, etc.; and communication section 609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. Communication section 609 performs communication processing via a network such as the Internet. Drive 610 is also connected to I / O interface 605 as needed. Removable media 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 610 as needed so that computer programs read from them can be installed into storage section 608 as needed.

[0111] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the various functions defined in the present invention.

[0112] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those shown in the drawings.

[0114] Specifically, the heterogeneous robot edge-cloud collaborative control device of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, it implements the heterogeneous robot edge-cloud collaborative control system provided in the above embodiment.

[0115] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the heterogeneous robot edge-cloud collaborative control device described in the above embodiments; or it may exist independently and not assembled into the heterogeneous robot edge-cloud collaborative control device. The storage medium carries one or more computer programs, which, when executed by a processor of the heterogeneous robot edge-cloud collaborative control device, enable the heterogeneous robot edge-cloud collaborative control device to implement the heterogeneous robot edge-cloud collaborative control system provided in the above embodiments.

[0116] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0117] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A heterogeneous robot edge-cloud collaborative control system, characterized in that, The system includes edge devices and cloud inference nodes; The edge device collects multimodal observation data from the heterogeneous robot, encapsulates the multimodal observation data into an observation representation with a time sequence identifier, and sends it to the cloud inference node; The edge device receives an action sequence containing multiple consecutive sub-actions generated by the cloud inference node processing the observation representation, and a predicted observation sequence that corresponds one-to-one with the multiple consecutive sub-actions in time. The end-side device maps the continuous sub-actions in the action sequence to the body control target of the heterogeneous robot and executes them sequentially. During execution, it collects the current actual observation data and calculates the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding time position in the predicted observation sequence. When the trajectory deviation meets the first deviation condition, the end device discards the remaining sub-actions that have not yet been executed in the action sequence and sends a re-inference request to the cloud inference node with the current actual observation data; When the trajectory deviation continuously satisfies the second deviation condition a preset number of times, the end device adds a horizon extension instruction in the next inference request to instruct the cloud inference node to increase the number of sub-actions included in the next action sequence.

2. The system according to claim 1, characterized in that, During the process of the end-side device mapping the continuous sub-actions in the action sequence to the body control target of the heterogeneous robot and executing them sequentially, the end-side device is also used to: Monitor the round-trip latency of initiating the inference request to the cloud inference node; When the round-trip delay exceeds a preset delay threshold, and the number of sub-actions in the action sequence has reached a preset maximum value, and the new action sequence does not return before the remaining sub-actions of the action sequence are completed, the end device gradually reduces the execution frequency according to preset levels. After reducing the execution frequency, time-stretched interpolation is performed on the remaining sub-actions, that is, the playback speed is slowed down while keeping the geometry of the interpolation trajectory unchanged, so as to extend the coverage time of the remaining sub-actions.

3. The system according to claim 2, characterized in that, During the time-stretch interpolation execution of the remaining sub-actions by the end-side device, the end-side device is further configured to: When the trajectory deviation meets the third deviation condition, or when the remaining sub-actions are exhausted and the new action sequence has not yet returned, the heterogeneous robot is controlled to decelerate to zero speed according to a preset deceleration and maintain the current pose, while triggering an emergency re-inference request. The deviation threshold corresponding to the third deviation condition is greater than the deviation threshold corresponding to the first deviation condition. Once the new action sequence is received and the trajectory deviation is less than or equal to the deviation threshold corresponding to the first deviation condition, the execution frequency is restored step by step in the opposite direction to the reduction of the execution frequency.

4. The system according to claim 1, characterized in that, During the process of the end-side device sequentially executing the body control target, the system further includes: The end-side device monitors the input signal of the remotely operated device and performs dead-zone detection on the input signal: When the input signal exceeds the dead zone threshold, it is determined that manual intervention has begun, the execution time of the action sequence is paused, and control is switched from the action sequence generated by the cloud inference node to the manual action generated based on the input signal mapping. When the input signal falls back to within the dead zone threshold and continues for a preset duration, the manual intervention is determined to be over, the remaining sub-actions of the action sequence are invalidated, and the re-inference request is triggered with the current actual observation data to restore model control.

5. The system according to claim 4, characterized in that, The end-side device is also used for: During each control cycle of the manual intervention, the current actual observation data, the actions predicted by the cloud inference node based on the current actual observation data, and the manual actions are recorded synchronously to form takeover process data and report it to the cloud inference node. Based on the takeover process data, the cloud inference node automatically constructs a pair of preference samples for direct preference optimization (DPO), using the human action as a positive example and the predicted action as a negative example, for post-training of the embodied large model in the cloud inference node.

6. The system according to claim 1, characterized in that, The continuous sub-actions in the action sequence are defined in a canonical action space that is independent of the heterogeneous robot morphology. The canonical action space is characterized by the incremental pose of the end effector and the opening degree of the gripper. The end-side device maps the continuous sub-actions in the action sequence to the body control target of the heterogeneous robot, specifically including: The end-side device calculates the continuous sub-actions in the standard motion space into joint angle or velocity control targets in the local joint space based on the kinematic mapping parameters of the heterogeneous robot. After execution, the kinematic mapping parameters are calibrated online by comparing the actual execution pose of the body control target with that of the heterogeneous robot.

7. The system according to claim 1, characterized in that, After the action sequence is executed by the edge device, the system further includes a cloud-based data value assessment and post-training engine, used for: Collect the execution trajectory data reported by the endpoint device; Information content scores are calculated based on the action divergence of the multimodal observation data using multiple heterogeneous embodied large models; diversity scores are calculated based on the embedding distance between the execution trajectory data and existing datasets; and rarity scores are calculated based on the distribution of failure attribution types in existing datasets. The priority for trajectory inclusion in the pool is calculated by weighting the information content score, the diversity score, and the rarity score. Based on the priority selection, high-value trajectories are entered into the training data pool, and the model in the cloud inference node is iteratively updated.

8. The system according to claim 1, characterized in that, The calculation of the trajectory deviation between the current actual observation data and the predicted observation data at the corresponding time position in the predicted observation sequence specifically includes: Visual features are extracted from the current actual observation data and the predicted observation data respectively, and the visual feature distance between them is calculated; Calculate the weighted distance between the ontology state vectors in the current actual observation data and the predicted observation data; The weighted distances are then weighted and fused to obtain the single-step bias. The trajectory deviation is obtained by accumulating or calculating the moving average of multiple consecutive single-step deviations within a sliding time window.

9. A computer-readable storage medium comprising instructions, characterized in that, The instructions run on the heterogeneous robot edge-cloud collaborative control system as described in claims 1-8.

10. A computer program product, characterized in that, The computer program product runs on the heterogeneous robot edge-cloud collaborative control system as described in claims 1-8.