Method for task continuation after task interruption of a physical intelligent robot

By generating causal snapshots of task scenarios and identifying state changes during job interruptions, embodied intelligent robots can accurately identify and verify task execution conditions, solving the problem of accuracy in task continuation after job interruption and improving the reliability of task continuation.

CN123169095APending Publication Date: 2026-11-27AYIVA BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611472472.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

When an embodied intelligent robot's work is interrupted, it is difficult to identify changes in the physical state of the target object during the interruption, resulting in inconsistencies between the task execution state and the actual physical state, which can have a significant impact, especially in precision assembly and positioning operations.

Method used

Generate a causal snapshot of the task scenario, record the state and physical relationship of the target object at the time of interruption, obtain the state change record during the job interruption, determine the failed task node by the degree of scenario similarity and anomaly, verify the preconditions for task execution, and ensure the accuracy of task continuation.

Benefits of technology

It improves the accuracy and reliability of task continuation after the operation of the embodied intelligent robot is interrupted, avoids continuing to execute under failure conditions, and reduces the situation where the task execution is inconsistent with the actual scene state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169095A_ABST
    Figure CN123169095A_ABST
Patent Text Reader

Abstract

The application discloses a kind of task connection execution methods after body intelligent robot operation interruption, specifically relates to robot task control technical field, when recording task node, target object state, physical relationship and task cause-effect dependency when robot operation interruption, form task scene cause-effect snapshot;During interruption, continue to record scene change, calculate scene loop abnormality degree after recovery and determine physical postcondition verification range, identify invalid task node, determine task connection node based on task cause-effect dependency, after verifying task execution precondition, connection execution, when not satisfied, terminate automatic connection;The application determines the abnormal change in apparent recovery scene by recording scene change during operation interruption and determining scene loop abnormality degree;Determine task connection node in combination with physical postcondition and task cause-effect dependency, and then connection execution after verifying task execution precondition, improve the accuracy and reliability of task connection after operation interruption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot task control technology, and more specifically, to a method for resuming task execution after an interruption of work by an embodied intelligent robot. Background Technology

[0002] Embossed intelligent robots need to continuously perform tasks such as perception, localization, grasping, placement, assembly, and manipulation in real physical environments. Unlike software tasks that only run in information space, the results of the tasks performed by embodied intelligent robots directly change the position and posture of the target object in the actual work scenario, as well as the physical relationship between the target object and its surrounding objects. The actual physical state formed by the previous task node usually forms the basis for the continued execution of subsequent task nodes.

[0003] During continuous operation, the robot may temporarily stop its current task due to changes in the working environment or external events. The interruption of the task does not mean that the actual working scene remains still. During the period when the robot stops performing its work, the target object may still be affected by human operation, external equipment movement, changes in support status, or other activities in the scene, which may change the original position, posture, or physical relationship between the target object and related objects.

[0004] For embodied intelligent robots, the more challenging situation is not one where obvious changes are directly observable upon resumption of the task, but rather when the target object has changed during the task interruption and returns to a state close to that at the time of interruption before the task resumes. For example, the target object might be removed and then returned to its original position during the interruption, or the original constraints between the target object and the positioning structure might be temporarily released and then re-established. In this case, from the perspective of the resumption time, the position and orientation of the target object may be similar to those at the time of interruption, and the target object and associated objects may again exhibit similar contact or constraint states. However, the actual physical result formed by a completed task node before the interruption may not necessarily retain its original validity.

[0005] This phenomenon can easily lead to inconsistencies between the task execution state and the actual physical state. The robot can still store information about the completion of a certain task node, but the positioning state, constraint state, or other physical results established after the completion of the corresponding task node may have been destroyed during the operation interruption, and upon recovery, it may only appear to be approaching the original state again. If, in this situation, the subsequent task continuation position is still determined according to the task execution state before the interruption, the robot may continue to rely on the invalid physical conditions to perform subsequent operations.

[0006] In precision assembly, positioning operations, and tasks with continuous physical dependencies, the aforementioned inconsistencies are more likely to have an impact. For example, even if the target object remains in its original positioning area after being repositioned, its actual position or orientation may have changed slightly. However, the robot may still consider the positioning result formed before the interruption to be valid and continue to perform subsequent insertion or joining operations. Therefore, simply observing whether the target object is currently close to its state at the time of the interruption when the task resumes cannot fully reflect whether the target object underwent a change process during the task interruption that would have disrupted the existing physical results of the task.

[0007] Therefore, a key issue in the task continuation process after the interruption of embodied intelligent robot operations is how to identify the scene changes that occurred during the operation interruption and may have damaged the physical results of the completed task nodes when the operation scenario at the time of recovery is superficially similar to that at the time of interruption, so as to avoid using the invalidated task execution state as the basis for the continuation of subsequent operations. Summary of the Invention

[0008] To achieve the above objectives, the present invention provides the following technical solution: A method for resuming task execution after an interruption of work by an embodied intelligent robot includes the following steps: Step 1: When a task interruption event occurs during the execution of a task by the embodied intelligent robot, the interrupted task node is determined. The state of the target object at the time of interruption, the physical relationship between the target object and related objects, each completed task node, the physical post-conditions corresponding to each completed task node, and the causal dependencies between task nodes are obtained. Among them, the causal dependencies have a definite direction and do not have closed loops. Each task node has a task execution sequence number that is determined according to a predetermined execution order and is different from each other. The task scene state at the time of interruption is generated based on the state of the target object and the physical relationship between the target object and related objects. The task scene causal snapshot is generated based on the task scene state at the time of interruption, each completed task node, the physical post-conditions corresponding to each completed task node, and the causal dependencies between task nodes. Step 2: During the duration of the job interruption event, obtain the target object status change record and the physical relationship change record between the target object and related objects. After the job interruption event is lifted, obtain the current job scenario status and form job scenario change information based on the target object status change record, the physical relationship change record between the target object and related objects, and the current job scenario status. Step 3: Determine the similarity between the current operation scenario state and the operation scenario state at the time of interruption; determine the deviation of the target object state during the interruption and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption based on the operation scenario change information; determine the degree of scenario loopback anomaly based on the similarity between the scenarios, the deviation of the target object state during the interruption, and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption; and determine the scope of physical post-condition verification based on the degree of scenario loopback anomaly. Step 4: Within the scope of physical postcondition verification, verify the current job scenario state with the physical postconditions corresponding to each completed task node to determine the failed task nodes; filter the failed task nodes that are the predecessor dependent nodes of the interrupted task nodes or their subsequent pending task nodes, and determine the failed task node with the smallest task execution sequence number as the task succession node; if there are no failed task nodes that are the predecessor dependent nodes, determine the interrupted task node as the task succession node. Step 5: Obtain and verify the preconditions for task execution corresponding to the task continuation node. When the preconditions for task execution are met, control the embodied intelligent robot to continue executing the task from the task continuation node. When the preconditions for task execution are not met, terminate the automatic continuation of the task.

[0009] In a preferred embodiment, generating a causal snapshot of the task scenario specifically includes: The target object's state includes its position and orientation. The physical relationships between the target object and associated objects include contact, support, and constraint relationships. Physical postconditions include the target object's state conditions and the physical relationship conditions between the target object and associated objects. Different task execution sequences are determined according to the predetermined execution order of each task node. Each completed task node is associated with its corresponding physical postcondition according to its execution sequence number. Task nodes are connected based on their predetermined execution order and the dependency direction between preconditions and physical postconditions, forming a causal dependency relationship. The task scenario state at the time of interruption, the associated physical postconditions, the task execution sequence number, and the causal dependency relationship are written into a task scenario causal snapshot.

[0010] In a preferred embodiment, generating job scenario change information specifically includes: The target object's state and the physical relationship between the target object and associated objects are acquired according to a preset sampling period. The target object's state change record and the physical relationship change record between the target object and associated objects are formed in chronological order. When the physical relationship between the target object and associated objects changes from existing to non-existent at the time of interruption, the physical relationship breakage time is recorded. When the physical relationship is restored to existing state at a subsequent sampling time, the physical relationship reconstruction time is recorded. The target object's state change record, the physical relationship change record between the target object and associated objects, the physical relationship breakage time, the physical relationship reconstruction time, and the current operation scenario state are associated to form operation scenario change information.

[0011] In a preferred embodiment, determining the degree of scene loopback anomaly specifically includes: The positional and attitude differences between the current and interrupted work scenarios are mapped to zero to one according to preset segmented thresholds. The two mapped values ​​are combined according to the first set of preset weights to obtain the scenario difference degree. The scenario similarity degree is obtained by subtracting the scenario difference degree from one. The maximum state deviation of the target object's state change record relative to the interruption time is mapped to the target object's state deviation degree during the interruption. The number of reconstructions after the physical relationship break is mapped to the degree of reconstruction of the physical relationship between the target object and related objects during the interruption. The target object's state deviation degree and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption are combined according to the second set of preset weights to obtain the scenario change degree during the interruption. The scenario change degree during the interruption is multiplied by the scenario similarity degree to obtain the loop change degree. The result with the larger value between the scenario difference degree and the loop change degree is selected as the scenario loop anomaly degree. Both sets of preset weights are non-negative and the sum of the preset weights is one.

[0012] In a preferred embodiment, determining the scope of physical post-condition verification specifically includes: A first-level threshold and a second-level threshold are preset. The first-level threshold is not less than zero, and the second-level threshold is greater than the first-level threshold but not greater than one. When the scene loopback anomaly is less than the first-level threshold, the completed task node with the largest task execution sequence number that is less than the interrupted task node is included in the physical post-condition verification range. When the threshold is not less than the first-level threshold and less than the second-level threshold, the completed task nodes that are the predecessor dependent nodes of the interrupted task node or its subsequent pending task nodes are included in the physical post-condition verification range. When the threshold is not less than the second-level threshold, all completed task nodes are included in the physical post-condition verification range. When there are no completed task nodes before the interrupted task node, the physical post-condition verification range is determined to be empty.

[0013] In a preferred embodiment, determining the failed task node and the task succession node specifically includes: Read the physical postconditions corresponding to each completed task node within the physical postcondition verification range, verify the current job scenario state and each physical postcondition item by item, and determine the completed task node that does not meet at least one physical postcondition as the failed task node; filter the failed task nodes that are the predecessor dependent nodes of the interrupted task node or its subsequent pending task node, and when there are multiple failed task nodes, determine the failed task node with the smallest task execution sequence number as the task successor node; when there are no failed task nodes that are the predecessor dependent nodes, determine the interrupted task node as the task successor node.

[0014] In a preferred embodiment, verifying the physical postconditions specifically includes: For physical post-conditions represented by the position or attitude state of the target object, multiple sampled values ​​are obtained during the stable period before the operation interruption event occurs. The median of the sampled values ​​is used as the stable reference value, and the median of the absolute difference between each sampled value and the stable reference value is used as the fluctuation reference value. When the fluctuation reference value is less than a preset minimum fluctuation amount greater than zero, the minimum fluctuation amount is used to replace the fluctuation reference value, and multiplied by a preset tolerance coefficient of not less than one to obtain the failure threshold. When the absolute difference between the corresponding value in the current operation scenario state and the stable reference value exceeds the failure threshold, it is determined that the corresponding physical post-condition is not met. For the physical relationship conditions between the target object and related objects, if the current operation scenario state does not have the corresponding physical relationship, it is determined that the corresponding physical post-condition is not met.

[0015] In a preferred embodiment, the preconditions for verifying the task execution specifically include: Read the pre-associated target object status requirements, the physical relationship requirements between the target object and associated objects, and the execution status requirements of the embodied intelligent robot in the task continuation node; obtain the current execution status of the embodied intelligent robot, and verify the current work scenario status and the current execution status of the embodied intelligent robot against the corresponding requirements one by one; if all requirements are met, determine that the preconditions for task execution are met; otherwise, determine that the preconditions for task execution are not met.

[0016] In a preferred embodiment, continuing the execution of the job task specifically includes: When the preconditions for task execution are met, the order of task nodes to be executed, starting from the task succession node, is determined according to the causal dependency of the task, and the embodied intelligent robot is controlled to continue executing the task according to the order of the task nodes to be executed; when the preconditions for task execution are not met, the automatic succession of the task is terminated, the unmet preconditions for task execution and the corresponding task succession node are recorded, and the embodied intelligent robot is controlled to maintain a safe stop state.

[0017] The technical effects and advantages of this invention are as follows: This invention acquires the state of the task scene at the moment of interruption and generates a causal snapshot of the task scene when an embodied intelligent robot experiences a task interruption event. Simultaneously, it acquires records of state changes of the target object and changes in the physical relationships between the target object and related objects during the interruption. After the interruption is resolved, it determines the degree of scene loop anomaly by combining the current task scene state. Even if the current task scene state is similar to the state at the moment of interruption, it can still identify scene changes that are difficult to be directly reflected at the recovery time by utilizing the state change information formed during the interruption. This avoids judging whether the task can continue execution solely based on the apparent scene state before and after the interruption, enabling the embodied intelligent robot to more accurately identify scene changes that affect the execution results of existing tasks during the interruption.

[0018] This invention determines the physical post-condition verification range based on the degree of scene loop anomaly, and verifies the physical post-conditions corresponding to each completed task node within the current work scene state to identify failed task nodes. Then, it filters failed task nodes that are prerequisites for interrupted task nodes or their subsequent pending task nodes based on task causal dependencies, and determines the task succession node based on the task execution sequence number. This allows for further mapping of scene changes during work interruption to affected completed task nodes, and identifies the actual position requiring re-succession from failed task nodes with causal dependencies on subsequent tasks. This reduces the likelihood of continuing execution from the original interruption position when the task execution record is inconsistent with the current actual work scene state, thus improving the accuracy of task succession node determination.

[0019] This invention, after determining the task continuation node, acquires and verifies the preconditions for task execution corresponding to that node. When the preconditions are met, the embodied intelligent robot is controlled to continue executing the task from the continuation node; when the preconditions are not met, the automatic continuation of the task is terminated. Task continuation not only determines the continuation position based on the physical postconditions and causal dependencies of completed task nodes, but also verifies whether the task continuation node currently possesses the necessary conditions for continued execution before actual execution. This ensures that the determined task continuation node is consistent with the actual execution conditions in the current work scenario, avoiding direct resumption of automatic work when the preconditions are no longer met, and improving the reliability of task continuation after the embodied intelligent robot's work is interrupted. Attached Figure Description

[0020] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to the accompanying drawings; Figure 1This is a schematic diagram of a method for resuming task execution after an interruption of work by an embodied intelligent robot, as described in this invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0022] Reference Figure 1 The following examples were obtained: Example 1: A method for resuming task execution after an interruption of work by an embodied intelligent robot, specifically including the following steps: Step 1: When a task interruption event occurs during the execution of a task by the embodied intelligent robot, identify the interrupted task node. The interrupted task node is the task node that the embodied intelligent robot is executing at the time of the task interruption event. Obtain the target object's state at the time of interruption, the physical relationship between the target object and related objects, each completed task node, the corresponding physical post-conditions for each completed task node, and the causal dependencies between task nodes. The target object is the object directly affected by the current task, related objects are objects that have a contact, support, or constraint relationship with the target object, and each completed task node is a task node that was executed and completed before the task interruption event occurred.

[0023] The target object's state includes position and attitude. Position refers to the target object's location relative to the work scene coordinate reference that remains consistent between the time of interruption and the subsequent recovery. Attitude refers to the target object's posture relative to the same work scene coordinate reference. Both position and attitude states are recorded using the same data representation reference, allowing direct comparison between the target object's state at the time of interruption and the subsequently acquired state. The physical relationships between the target object and associated objects include contact, support, and constraint relationships. Contact indicates whether there is direct contact between the target object and associated objects; support indicates whether the target object is carried or supported by associated objects; and constraint indicates whether the target object's movement is restricted by associated objects. Each type of physical relationship between a target object and associated objects is recorded as either present or absent, maintaining a correspondence between the target object, associated objects, and physical relationship types.

[0024] The physical post-conditions corresponding to each completed task node include the target object's state conditions and the physical relationship conditions between the target object and associated objects. The target object's state conditions are the position or attitude state that the target object should maintain after the completion of each completed task node. The physical relationship conditions between the target object and associated objects are the contact, support, or constraint relationships that should be maintained after the completion of each completed task node. Each physical post-condition is associated with a specific completed task node, allowing subsequent reading of the corresponding physical post-conditions. Each task node has a unique task execution sequence number determined according to the predetermined execution order. This sequence number identifies the execution position of each task node within the task. The task execution sequence number can be read from the corresponding task node for each completed task node, and it is not recalculated based on the scene state after a task interruption.

[0025] The preconditions for task execution are the state or relational requirements that a task node must meet before it can begin execution. The causal dependencies between task nodes are formed based on their predetermined execution order and the direction of dependency between preconditions and physical postconditions. When a physical postcondition for one task node constitutes a precondition for another task node, a causal dependency is established between the former and the latter, pointing from the former to the latter. If no such conditional relationship exists, a causal dependency is not established due to adjacent execution times.

[0026] Task causal dependencies are formed according to the aforementioned dependency directions and are acquired when a job interruption event occurs. The formation and acquisition of task causal dependencies correspond to the establishment of relationships and the reading during interruption, respectively, without duplication. Task causal dependencies have definite directions and do not have closed loops. The connection direction between task nodes is passed along the physical postconditions to the task execution preconditions, ensuring that no task node will revert to pointing to itself along the task causal dependency. The job scenario state at the time of interruption is generated based on the target object's state and the physical relationship between the target object and associated objects. The job scenario state at the time of interruption stores the target object's position and attitude state, as well as the physical relationship between the target object and associated objects at the time of the job interruption event. Each item stored in the job scenario state at the time of interruption establishes a correspondence between the target object and associated objects, enabling subsequent current job scenario states to be matched based on the same target object and associated objects.

[0027] Based on the task execution sequence number of each completed task node, associate each completed task node with its corresponding physical post-condition. If a completed task node requires a target object to maintain a predetermined position or posture state after completion, record the corresponding target object state condition as a physical post-condition for each completed task node. If a completed task node requires a contact, support, or constraint relationship between a target object and associated objects after completion, record the corresponding physical relationship condition between the target object and associated objects as a physical post-condition for each completed task node. Write the job scene state at the time of interruption, each completed task node, the corresponding physical post-condition, the task execution sequence number of each task node, and the task causal dependencies into a task scene causal snapshot. This task scene causal snapshot is a data set that saves the correspondence between the task execution state and the job scene state when the job interruption event occurs. In the causal snapshot of the task scenario, each task node is represented by its scheduled execution position through its task execution sequence number. Each completed task node is represented by its corresponding physical postconditions, indicating the state of the target object or the physical relationship between the target object and related objects after execution. Furthermore, the causal dependency relationship between the task nodes indicates the direction of condition acceptance.

[0028] Step 2: During the duration of the job interruption event, acquire records of target object state changes and records of changes in the physical relationship between the target object and associated objects. The target object state change records consist of multiple target object states saved in chronological order, along with their corresponding acquisition times. The physical relationship change records consist of multiple physical relationships between the target object and associated objects saved in chronological order, along with their corresponding acquisition times. Acquire the target object state and the physical relationship between the target object and associated objects according to a preset sampling period, and form target object state change records and physical relationship change records between the target object and associated objects in chronological order. The preset sampling period is a time interval greater than 0, set to be able to identify changes in the target object state and changes in the physical relationship between the target object and associated objects during the duration of the job interruption event. When the shortest duration for which the physical relationship between the target object and associated objects to be identified remains non-existent can be predetermined, the preset sampling period is less than the shortest duration, so that the physical relationship between the target object and associated objects remaining non-existent corresponds to at least one sampling result.

[0029] After acquiring the target object's state each time according to the preset sampling period, the acquisition time and target object state are written into the target object state change record in chronological order. The target object state change record maintains the same correspondence between the target object and the work scenario state at the time of interruption, ensuring that the target object states at different acquisition times can be continuously arranged according to the same target object. After acquiring the physical relationship between the target object and associated objects each time according to the preset sampling period, the acquisition time, target object, associated object, and the physical relationship between the target object and associated objects are written into the physical relationship change record between the target object and associated objects in chronological order. For the physical relationship between the same target object, the same associated object, and the same type of target object and associated object, the results of two adjacent samplings are compared. If the previous sampling result shows an existence state and the subsequent sampling result shows a non-existence state, it is confirmed that the physical relationship between the target object and associated object has been broken.

[0030] The physical relationship breakage time is recorded when the physical relationship between the target object and its associated object changes from an existing state to a non-existent state at the time of interruption. The physical relationship breakage time is the time when the physical relationship between the target object and its associated object is confirmed to be non-existent during the first sampling. The physical relationship breakage time indicates the time when the physical relationship between the target object and its associated object is confirmed to be broken under discrete sampling conditions.

[0031] After the physical relationship is broken, the physical relationship reconstruction time is recorded when the physical relationship between the target object and its associated objects is restored from a non-existent state to an existing state. The physical relationship reconstruction time is the first sampling confirmation after the physical relationship is broken that the physical relationship between the same target object, the same associated object, and the same type of target object and its associated objects has been restored to an existing state. If the physical relationship between the target object and its associated objects is broken and reconstructed multiple times, each physical relationship break time is paired with the first physical relationship reconstruction time after the corresponding physical relationship break time in chronological order, and each is saved separately. If no corresponding physical relationship reconstruction time appears after recording the physical relationship break time until the job interruption event is lifted, the physical relationship break time is retained and the physical relationship between the target object and its associated objects is kept in a non-existent state, and no corresponding physical relationship reconstruction time is generated. The record of changes in the physical relationship between the target object and its associated objects can simultaneously represent both the result of re-establishment after breakage and the result of non-re-establishment after breakage.

[0032] After the job interruption event is resolved and before the embodied intelligent robot resumes the job task, the current job scene state is acquired. The current job scene state is a combination of the acquired target object state and the physical relationships between the target object and associated objects. The current job scene state is recorded using the same correspondence between the target object, associated objects, and the physical relationships between the target object and associated objects as the job scene state at the time of interruption, allowing for comparison with the job scene state at the time of interruption based on the same objects. The records of target object state changes, records of physical relationship changes between the target object and associated objects, the time of physical relationship breakage, the time of physical relationship reconstruction, and the current job scene state are associated to form job scene change information. During association, the records of target object state changes and records of physical relationship changes between the target object and associated objects are arranged according to the acquisition time, while maintaining the temporal order of the physical relationship breakage time and the corresponding physical relationship reconstruction time, so that the job scene change information simultaneously includes the state change process during the duration of the job interruption event and the current job scene state after the job interruption event is resolved.

[0033] Step 3: Determine the similarity between the current and interrupted operation scenarios. Based on the change information in the operation scenario, determine the deviation of the target object's state during the interruption and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption. Determine the level of loopback anomaly based on the similarity, the deviation of the target object's state during the interruption, and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption. Then, determine the scope of physical post-condition verification based on the level of loopback anomaly. Compare the positional states of the same target object in the current and interrupted operation scenarios to obtain positional state differences. Compare the attitude states of the same target object to obtain attitude state differences. When a positional state contains multiple numerical components, the absolute differences of the corresponding numerical components can be combined according to the same positional state expression benchmark to obtain the positional state difference; when an attitude state contains multiple numerical components, the absolute differences of the corresponding numerical components can be combined according to the same attitude state expression benchmark to obtain the attitude state difference.

[0034] The differences in position and attitude are mapped to values ​​between 0 and 1 according to preset segmented thresholds. The larger the difference in position or attitude, the larger the corresponding mapping value. Multiple preset segmented thresholds are set in ascending order. The mapping result is 0 when the difference is below the lowest threshold and 1 when it is above the highest threshold. When the difference is between two adjacent thresholds, the mapping result is determined according to the interval between 0 and 1. Preset segmented thresholds matching the allowable range of change for each position and attitude difference are used to avoid direct combination of different units. The mapping values ​​corresponding to position and attitude differences are combined according to a first set of preset weights to obtain the scene difference degree. All preset weights in the first set are non-negative, and their sum is 1. The first set of preset weights is set based on the sensitivity of the task to position and attitude. When position significantly affects subsequent tasks, the first set of preset weights corresponding to position differences is increased; when attitude significantly affects subsequent tasks, the first set of preset weights corresponding to attitude differences is increased. The scene similarity is obtained by subtracting the scene difference from 1. The smaller the scene difference, the greater the scene similarity, and the greater the scene difference, the smaller the scene similarity. The sum of the first set of preset weights is 1, and the mapping values ​​corresponding to the position state difference and the pose state difference are both between 0 and 1, so that the scene difference and scene similarity are both between 0 and 1.

[0035] Based on the target object's state change records, the target object's state at each sampling moment is compared with its state at the time of interruption to obtain the state deviation at each sampling moment, and the state deviation with the largest value is selected as the maximum state deviation. The state deviation at each sampling moment is processed in the same way as the difference in position and attitude states, ensuring that the maximum state deviation can simultaneously reflect the position and attitude state changes during the operation interruption event. The maximum state deviation is mapped to 0 to 1 according to a preset segmented threshold to obtain the degree of target object state deviation during the interruption; the larger the maximum state deviation, the greater the degree of target object state deviation during the interruption. The preset segmented threshold used for the maximum state deviation is set according to the allowable state change range of the target object, and the mapping result remains unchanged as the maximum state deviation increases. Based on the records of changes in the physical relationship between the target object and associated objects, the time of physical relationship breakage, and the time of physical relationship reconstruction, the number of times the physical relationship between the target object and associated objects recovers to its original state after a break during the operation interruption event is counted, obtaining the number of times the physical relationship is reconstructed after a break. Each physical relationship break time and the corresponding physical relationship reconstruction time constitute one physical relationship break-and-reconstruction. If there is only a physical relationship break time but no corresponding physical relationship reconstruction time, it is not counted in the number of physical relationship break-and-reconstruction times.

[0036] The number of reconstruction attempts after a physical relationship break is mapped to a range of 0 to 1 using a preset segmented threshold. This yields the degree of reconstruction of the physical relationship between the target object and its associated objects during the interruption period. A higher number of reconstruction attempts indicates a greater degree of reconstruction. The preset segmented thresholds for the number of reconstruction attempts are set in an increasing range, and the mapping result remains constant as the number of reconstruction attempts increases. The degree of deviation of the target object's state during the interruption period and the degree of reconstruction of the physical relationship between the target object and its associated objects are combined using a second set of preset weights to determine the degree of scene change during the interruption period. All preset weights in the second set are non-negative, and their sum is 1. The second set of preset weights is set based on the sensitivity of the task to maintaining the target object's state and the physical relationship between the target object and its associated objects. The corresponding preset weight is increased when either aspect has a greater impact on subsequent tasks.

[0037] The loop cyclic change level is obtained by multiplying the scene similarity level by the scene change level during the interruption. The larger value between the scene difference level and the loop cyclic change level is selected as the scene loop cyclic anomaly level. When the current work scene state has significantly deviated from the work scene state at the time of interruption, the scene difference level can increase the scene loop cyclic anomaly level; when the current work scene state is approaching the work scene state at the time of interruption again, but significant changes occurred during the duration of the work interruption event, the loop cyclic change level can increase the scene loop cyclic anomaly level, covering both direct change and post-change regression cases. Both the scene difference level and the loop cyclic change level are between 0 and 1, and the scene loop cyclic anomaly level is also between 0 and 1. The larger value of the two results is used for the scene loop cyclic anomaly level.

[0038] A first and second tier thresholds are pre-set. The first tier threshold is not less than 0, and the second tier threshold is greater than the first tier threshold but not greater than 1. The first and second tier thresholds divide the scene loopback anomaly level into three consecutive and non-overlapping ranges. The first and second tier thresholds can be pre-set according to the allowable recovery risk of different tasks, and the first tier threshold is kept less than the second tier threshold. When the scene loopback anomaly level is less than the first tier threshold, the completed task node with the largest task execution sequence number that is less than the interrupted task node is included in the physical post-condition verification range. The completed task node with the largest task execution sequence number that is less than the interrupted task node is the closest completed task node before the interrupted task node. The task execution sequence number is set to increment according to the predetermined execution order. Therefore, among the completed task nodes with task execution sequence numbers less than the interrupted task node, the completed task node with the largest task execution sequence number is closest to the interrupted task node at the predetermined execution position.

[0039] When the level of scenario loop closure anomaly is not less than the first-level threshold and less than the second-level threshold, completed task nodes that are prerequisites for interrupted task nodes or their subsequent pending task nodes will be included in the physical post-condition verification scope. Preceding dependency nodes are completed task nodes that can point to interrupted task nodes or their subsequent pending task nodes along the task causal dependency relationship, and can simultaneously cover completed task nodes that directly affect interrupted task nodes and side-branch completed task nodes that only depend on subsequent pending task nodes.

[0040] When the scenario loopback anomaly level is not less than the second-level threshold, all completed task nodes are included in the physical post-condition verification scope. All completed task nodes are identified according to their task execution sequence number, so that the causal dependency path of the task is not restricted when the scenario loopback anomaly level is high. When there are no completed task nodes before the interrupted task node, the physical post-condition verification scope is determined to be empty. When the physical post-condition verification scope is empty, the physical post-condition verification corresponding to each completed task node is not performed, and the task succession node is determined according to the handling method for subsequent failure task nodes.

[0041] Step four: Within the scope of physical post-condition verification, read the physical post-conditions corresponding to each completed task node, and verify each physical post-condition corresponding to the current job scenario state. The scope of physical post-condition verification is limited to each completed task node participating in the verification, and the correspondence between each completed task node, its corresponding physical post-conditions, and the current job scenario state is maintained. The physical post-conditions corresponding to each completed task node include the target object state condition and the physical relationship condition between the target object and associated objects. If at least one physical post-condition is not met for a completed task node, the corresponding completed task node is determined as a failed task node; if all physical post-conditions for a completed task node are met, the corresponding completed task node is not determined as a failed task node.

[0042] Failed task nodes that are either interrupted task nodes or subsequent pending task nodes are selected as their predecessors. Preceding dependency nodes are completed task nodes that can point to the interrupted task node or its subsequent pending task nodes along the task causal dependency relationship. After selection, only failed task nodes that form a task causal dependency relationship with the interrupted task node or its subsequent pending task nodes are retained; failed task nodes that do not satisfy the predecessor dependency relationship are not included in the task successor node determination. When there are multiple failed task nodes that are either interrupted task nodes or their predecessors as pending task nodes, the failed task node with the smallest task execution sequence number is determined as the task successor node. The failed task node with the smallest task execution sequence number is the failed task node that is in the earliest position according to the predetermined execution order. After the task successor node is determined, the failed task node selection process is not repeated to maintain the unidirectional processing of the task successor node determination process.

[0043] If there is no failed task node that is a predecessor dependency of an interrupted task node or a subsequent pending task node of an interrupted task node, the interrupted task node is determined as the task successor node. If the physical postcondition verification range is empty, there is no failed task node, and the task successor node is determined according to the case where there is no failed task node that is a predecessor dependency. For physical postconditions represented by the position or attitude state values ​​of the target object, multiple sampled values ​​are obtained during the stable period before the job interruption event occurs. The stable period corresponds to the completed task node being verified. The start time of the stable period is not earlier than the completion time of the corresponding completed task node, and the end time of the stable period is not later than the time when the job interruption event occurs. Furthermore, the multiple sampled values ​​obtained within the stable period belong to the same target object and the same position or attitude state.

[0044] When the position or attitude state of a target object is represented by multiple numerical components, multiple sampled values ​​are acquired for each numerical component, and a stable baseline value, a fluctuation baseline value, and a failure threshold are determined separately. Different numerical components are not directly merged into the same sampling sequence. When multiple position or attitude state numerical components correspond to the same completed task node, each numerical component has its own corresponding verification result. The multiple sampled values ​​corresponding to the same position or attitude state numerical component are sorted according to their numerical size. When the number of samples is odd, the sampled value in the middle of the sort is used as the stable baseline value. When the number of samples is even, the two sampled values ​​in the middle of the sort are added together and divided by 2 to obtain the stable baseline value. The stable baseline value is determined separately for each completed task node, each target object, and each position or attitude state numerical component to avoid mixing sampled values ​​from different completed task nodes or different target objects.

[0045] The absolute difference between each sampled value and the stable reference value is calculated separately. All absolute differences are then sorted by value. When the number of samples is odd, the absolute difference in the middle of the sorted value is used as the fluctuation reference value. When the number of samples is even, the two absolute differences in the middle of the sorted value are added together and divided by 2 to obtain the fluctuation reference value. The fluctuation reference value represents the normal fluctuation degree of the corresponding position or attitude state numerical component relative to the stable reference value before the operation interruption event. A minimum fluctuation amount greater than 0 is preset. When the fluctuation reference value is less than the minimum fluctuation amount, the minimum fluctuation amount is used to replace the fluctuation reference value. The replaced fluctuation reference value is then multiplied by a preset tolerance coefficient of not less than 1 to obtain the failure threshold. The minimum fluctuation amount has the same dimension as the corresponding position or attitude state numerical component. The preset tolerance coefficient is a dimensionless value of not less than 1. The resulting failure threshold maintains the same dimension as the corresponding position or attitude state numerical component. The minimum fluctuation amount is used to avoid the failure threshold being 0 or too small when multiple sampled values ​​are exactly the same or when the fluctuation between multiple sampled values ​​is too small. When the preset tolerance coefficient increases, the failure threshold increases. When the preset tolerance coefficient decreases and remains not less than 1, the failure threshold decreases. The preset tolerance coefficient is used to adjust the range of variation that can be tolerated by normal historical fluctuations.

[0046] Calculate the absolute difference between the numerical component of the corresponding position or attitude state in the current operating scenario and the stable reference value, and compare the obtained absolute difference with the corresponding failure threshold. If the absolute difference between the numerical component of the corresponding position or attitude state in the current operating scenario and the stable reference value exceeds the failure threshold, the corresponding physical post-condition is determined to be unmet; if it does not exceed the failure threshold, the corresponding physical post-condition is determined to be met. When a physical post-condition is jointly characterized by multiple position or attitude state numerical components, all numerical components are verified separately. If any one numerical component does not meet the corresponding failure threshold requirement, the corresponding physical post-condition is determined to be unmet; if all numerical components meet the corresponding failure threshold requirement, the corresponding physical post-condition is determined to be met.

[0047] Regarding the physical relationship conditions between target objects and associated objects, the system reads the target objects, associated objects, and physical relationships between them that match the physical post-conditions corresponding to each completed task node from the current job scenario state. If the current job scenario state does not have the physical relationship between the target objects and associated objects required by the physical post-conditions for each completed task node, the corresponding physical post-condition is deemed unsatisfactory; if the current job scenario state has the corresponding physical relationship between the target objects and associated objects, the corresponding physical post-condition is deemed satisfied. For cases where a single completed task node simultaneously has both target object state conditions and physical relationship conditions between the target object and associated objects, the system verifies both the target object state conditions and the physical relationship conditions between the target object and associated objects separately. If all physical post-conditions are satisfied, the corresponding completed task node is confirmed to remain valid; if at least one physical post-condition is unsatisfactory, the corresponding completed task node is determined as a failed task node, and the task successor node is determined based on the task causal dependency and task execution sequence number.

[0048] Step 5: Obtain and verify the preconditions for task execution corresponding to the task continuation node. These preconditions include the target object's state requirements, the physical relationship requirements between the target object and associated objects, and the embodied intelligent robot's execution state requirements. The target object's state requirements are the positional or posture requirements that the target object must meet before the task continuation node begins execution. The physical relationship requirements between the target object and associated objects are the contact, support, or constraint requirements that the target object and associated objects must meet before the task continuation node begins execution. The embodied intelligent robot's execution state requirements are the execution state requirements that the embodied intelligent robot must meet before the task continuation node begins execution. These execution state requirements are pre-associated with the task continuation node. The current execution state of the embodied intelligent robot is obtained using the same data items and expression format as the execution state requirements, ensuring a one-to-one correspondence between the current execution state and each requirement.

[0049] The system reads the pre-associated target object status requirements, the physical relationship requirements between the target object and associated objects, and the embodied intelligent robot execution status requirements from the task continuation node, and obtains the current execution status of the embodied intelligent robot. The target object status corresponding to the task continuation node in the current work scenario is used to verify the target object status requirements; the physical relationship between the target object and associated objects corresponding to the task continuation node in the current work scenario is used to verify the physical relationship requirements between the target object and associated objects; and the current execution status of the embodied intelligent robot is used to verify the embodied intelligent robot execution status requirements.

[0050] The target object state in the current work scenario is verified item by item against the target object state requirements. If the target object state in the current work scenario meets the requirements, the corresponding target object state requirement is verified. When the target object state requirement is represented by a numerical range, the corresponding target object state value in the current work scenario is compared with the specified numerical range. If the corresponding target object state value in the current work scenario is within the specified range, the verification is successful; otherwise, it fails. When the target object state requirement is represented by a specified state, the corresponding target object state in the current work scenario is directly compared with the specified state. If they match, the verification is successful; otherwise, it fails. If the target object state requirement includes multiple positional or orientation state requirements, each target object state requirement is verified separately.

[0051] The physical relationships between target objects and associated objects in the current work scenario are verified item by item. If the physical relationship between the target objects and associated objects specified in the current work scenario exists, the verification of the physical relationship between the target objects and associated objects passes; if the physical relationship between the target objects and associated objects specified in the current work scenario does not exist, the verification of the physical relationship between the target objects and associated objects fails.

[0052] The current execution state of the embodied intelligent robot is verified item by item against its execution state requirements. If the current execution state meets the requirements, the corresponding execution state requirement is verified successfully. If multiple execution state requirements exist, each requirement is verified separately, and the verification result of one requirement is not used to replace the verification result of another. If all requirements—the target object's state requirement, the physical relationship requirement between the target object and associated objects, and the embodied intelligent robot's execution state requirement—pass verification, the preconditions for task execution are deemed satisfied. If at least one requirement—either the target object's state requirement, the physical relationship requirement between the target object and associated objects, or the embodied intelligent robot's execution state requirement—fails verification, the preconditions for task execution are deemed unsatisfactory.

[0053] When the preconditions for task execution are met, the order of task nodes to be executed, starting from the task succession node, is determined according to the causal dependencies of the tasks. This order follows the defined direction in the causal dependencies. Task nodes that are prerequisites for other task nodes are placed before subsequent task nodes that depend on their corresponding physical postconditions, ensuring that subsequent task nodes begin execution after the completion of the prerequisite task nodes they depend on. When there are no mutual causal dependencies between multiple task nodes, no new dependencies are established; the original task execution arrangement is maintained. The task succession process only corrects the execution starting point and causal dependencies affected by failed task nodes, without altering the original execution relationships between task nodes without causal dependencies. The embodied intelligent robot is controlled to continue executing tasks according to the order of the task nodes. The embodied intelligent robot first executes the task succession node, and then continues executing task nodes with causal dependencies on the task succession node according to the order of the task nodes. When the task successor node is a failed task node, the task successor node is executed and the physical postconditions corresponding to the task successor node are re-formed. Then, the subsequent task nodes that depend on the corresponding physical postconditions are executed in the order of the task nodes to be executed.

[0054] When the task continuation node is an interrupted task node, the job task continues execution from the interrupted task node. If the physical post-conditions formed after the interrupted task node's execution satisfy the pre-conditions for the subsequent pending task nodes, the job will proceed according to the order of the pending task nodes. If the pre-conditions for task execution are not met, the automatic continuation of the job task is terminated, and the unmet pre-conditions and corresponding task continuation nodes are recorded. The recorded information maintains the correspondence between the unmet target object state requirements, the physical relationship requirements between the target object and associated objects, or the embodied intelligent robot's execution state requirements and the task continuation node. When the pre-conditions for task execution are not met, the embodied intelligent robot is kept in a safe stop state. The safe stop state is the state where the embodied intelligent robot does not execute task continuation nodes or subsequent pending task nodes. After entering the safe stop state, the task continuation node is not automatically re-determined based on the current task execution pre-condition verification results, nor is the task execution pre-condition verification automatically re-executed, causing the current automatic continuation execution process to terminate at the safe stop state.

[0055] The values ​​in the following embodiments are only used to illustrate the data processing relationships, parameter setting methods, and calculation processes. Each value is an exemplary setting and is not intended to limit the actual value of the parameters. The specific values ​​can be determined according to the actual situation. Implementation Method 1: A scenario where the target object is removed and re-clamped, and the current work scene appears to be restored but the physical post-conditions fail. Specifically, this involves an embodied intelligent robot performing a precision assembly task. The task sequentially includes identifying the target object, placing the target object into the positioning fixture, locating the target object and establishing constraints, gripping the object to be assembled, performing insertion, and locking. During the execution of task node 4 (gripping the object to be assembled), an interruption event occurs. Prior to the interruption, there were three completed task nodes with execution numbers 1, 2, and 3.

[0056] Step 1: Obtain the target object's state at the moment of interruption. The target object's horizontal position is 100.02 mm, its vertical position is 50.01 mm, and its overall vertical position is 20.00 mm. The deviation of its posture from the predetermined assembly posture is 0.10 degrees. There are contact, support, and constraint relationships between the target object and the positioning fixture. The physical post-conditions corresponding to the completed task node with execution sequence number 2 include the target object being in the positioning position and the support relationship between the target object and the positioning fixture. The physical post-conditions corresponding to the completed task node with execution sequence number 3 include the target object's state meeting the positioning requirements and the constraint relationship between the target object and the positioning fixture. Write the work scene state at the moment of interruption, the physical post-conditions corresponding to each completed task node, the task execution sequence number, and the causal dependencies of tasks without closed loops into the task scene causal snapshot.

[0057] Step two: The operation interruption event lasts for 40 seconds, with a preset sampling period of 0.5 seconds. At the 8th second, the first sampling confirms that the constraint relationship between the target object and the positioning fixture has changed from existing to non-existent; this 8th second is recorded as the moment the physical relationship is broken. At the 23rd second, the first sampling confirms that the constraint relationship between the same target object and the positioning fixture has been restored; this 23rd second is recorded as the moment the physical relationship is rebuilt. In the target object state change record, the maximum positional deviation of the target object relative to the interruption time is 12 mm, and the maximum attitude deviation is 8 degrees. Before the operation interruption event is resolved and the embodied intelligent robot resumes the operation task, the target object's horizontal position in the current operation scenario is 100.31 mm, its vertical position is 50.08 mm, and its overall vertical position is 20.04 mm. The difference in attitude state between the current state and the state at the interruption time is 0.35 degrees, and a new contact, support, and constraint relationship exists between the target object and the positioning fixture.

[0058] Step 3: The positional state difference is divided into 5 segments. A difference no greater than 0.2 mm is mapped to 0.05; a difference greater than 0.2 mm but no greater than 0.5 mm is mapped to 0.15; a difference greater than 0.5 mm but no greater than 1 mm is mapped to 0.35; a difference greater than 1 mm but no greater than 2 mm is mapped to 0.65; and a difference greater than 2 mm is mapped to 1. The attitude state difference is mapped to 0.05 when no greater than 0.2 degrees; 0.15 when greater than 0.2 degrees but no greater than 0.5 degrees; 0.35 when greater than 0.5 degrees but no greater than 1 degree; 0.65 when greater than 1 degree but no greater than 2 degrees; and a difference greater than 2 degrees is mapped to 1. When the target object's positional state contains multiple positional numerical components, the maximum absolute difference among these components relative to the corresponding positional numerical component at the time of interruption is used as the positional state difference. The differences in the horizontal, vertical, and longitudinal positional components corresponding to the current working scenario state are 0.29 mm, 0.07 mm, and 0.04 mm, respectively. The positional state difference is 0.29 mm, corresponding to a mapping value of 0.15; the attitude state difference is 0.35 degrees, corresponding to a mapping value of 0.15.

[0059] In the first set of preset weights, the weight corresponding to positional state difference is 0.6, and the weight corresponding to attitude state difference is 0.4. Adding 0.15 multiplied by 0.6 and 0.15 multiplied by 0.4, the scene difference degree is 0.15, and the scene similarity degree is 0.85. For each sampling moment during the duration of the operation interruption event, the corresponding state deviation is obtained according to the same combination of positional state difference mapping, attitude state difference mapping, and the first set of preset weights. Then, the maximum value is selected as the maximum state deviation from all state deviations. The maximum positional deviation of 12 mm corresponds to a mapping value of 1, and the maximum attitude deviation of 8 degrees corresponds to a mapping value of 1. After combining 0.6 and 0.4, the maximum state deviation is 1. Since the maximum state deviation is already between 0 and 1, in this embodiment, a mapping method where the input and output values ​​are consistent is adopted. During the interruption, the target object's state deviation degree is 1, and no second grade amplification is performed. After a complete physical relationship break occurs between the target object and the positioning fixture, the mapping is 0 when the number of reconstructions after the physical relationship break is 0, 0.5 when it occurs 1 time, 0.8 when it occurs 2 times, and 1 when it occurs at least 3 times. During the interruption, the degree of reconstruction of the physical relationship between the target object and the associated object is 0.5.

[0060] The second set of preset weights are 0.7 and 0.3 respectively. The degree of scene change during the interruption is calculated as 1 multiplied by 0.7 plus 0.5 multiplied by 0.3, resulting in 0.85. The scene similarity (0.85) multiplied by the scene change during the interruption (0.85) yields a loopback change degree of 0.7225. The larger value between the scene difference degree (0.15) and the loopback change degree (0.7225) is selected, resulting in a scene loopback anomaly degree of 0.7225. The first grading threshold is 0.25, and the second grading threshold is 0.60. If the scene loopback anomaly degree of 0.7225 is not less than the second grading threshold of 0.60, all completed task nodes are included in the physical post-condition verification scope.

[0061] Step 4: For the completed task node with task execution sequence number 3, the stable period is selected as the continuous time period from the completion of the completed task node with task execution sequence number 3 until the occurrence of the work interruption event. During the stable period, lateral position sampling values ​​of 100.01 mm, 100.02 mm, 100.00 mm, 100.03 mm, and 100.02 mm are obtained. The stable baseline value is 100.02 mm. The median absolute difference between each sampling value and the stable baseline value is 0.01 mm, and the fluctuation baseline value is 0.01 mm. The minimum fluctuation is 0.03 mm. If the fluctuation baseline value is less than the minimum fluctuation, it is replaced by 0.03 mm. The preset tolerance coefficient is 3, and the failure threshold is 0.09 mm. The absolute difference between the lateral position of 100.31 mm in the current work scenario and the stable baseline value of 100.02 mm is 0.29 mm, which is greater than the failure threshold of 0.09 mm. Therefore, the corresponding physical post-condition is not met. The remaining target object status conditions and the physical relationship conditions between the target object and the positioning fixture are recorded item by item according to the corresponding numerical verification or existence status verification methods. Since at least one physical postcondition is not met, the completed task node with task execution sequence number 3 is identified as a failed task node. The failed task node with task execution sequence number 3 is the predecessor dependency node of the subsequent task nodes to be executed, and among the failed task nodes participating in the screening, the task execution sequence number is the smallest. Therefore, the failed task node with task execution sequence number 3 is identified as the task successor node.

[0062] Step 5: Read the pre-associated target object status requirements, the physical relationship requirements between the target object and associated objects, and the embodied intelligent robot execution status requirements of the task continuation node. The target object in the current work scenario is within the allowed repositioning range, and there is a contact and support relationship between the target object and the positioning fixture. The current execution status of the embodied intelligent robot is compared item by item with the embodied intelligent robot execution status requirements, and all are satisfied, confirming that the preconditions for task execution are met. Control the embodied intelligent robot to re-execute the target object positioning and constraint relationship establishment operation from the task continuation node with task execution sequence number 3, re-form the physical postconditions corresponding to the task continuation node with task execution sequence number 3, and then continue to execute the task nodes with task execution sequence number 4 and subsequent nodes according to the task causal dependency relationship.

[0063] Implementation Method 2: A scenario in which the target object deviates during the interruption but the physical postconditions remain valid. Specifically, the embodied intelligent robot performs the same precision assembly task as in Implementation Method 1, and an interruption event occurs during the execution of task node number 4. The target object deviates from its state during the duration of the interruption event, but the constraint relationship between the target object and the positioning fixture remains in place.

[0064] Step 1: At the moment of interruption, the target object's horizontal position is 100.00 mm, its vertical position is 50.00 mm, and its vertical position is 20.00 mm. The deviation of its attitude from the predetermined assembly attitude is 0.10 degrees. There are contact, support, and constraint relationships between the target object and the positioning fixture. Based on the information, a causal snapshot of the task scene is generated.

[0065] Step two: The operation interruption event lasts for 25 seconds, with a preset sampling period of 0.5 seconds. The target object state change record shows that at the 10th second, the maximum positional deviation of the target object relative to the interruption time was 1.4 mm, and the maximum attitude deviation was 0.8 degrees. Subsequently, the target object gradually recovered to the vicinity of the interruption time. The constraint relationship between the target object and the positioning fixture exists at all sampling times, without any physical relationship breakage or reconstruction moments. After the operation interruption event is resolved, the lateral position of the target object in the current operation scenario is 100.06 mm, and the attitude state differs from the attitude state at the interruption time by 0.18 degrees. Furthermore, there are contact, support, and constraint relationships between the target object and the positioning fixture.

[0066] Step 3: The same position and attitude difference mapping rules as in Implementation Method 1 are adopted. The current position difference is 0.06 mm, corresponding to a mapping value of 0.05; the attitude difference is 0.18 degrees, corresponding to a mapping value of 0.05. Using the first set of preset weights 0.6 and 0.4, the scene difference level is 0.05, and the scene similarity level is 0.95. During the interruption, the maximum position deviation of 1.4 mm corresponds to a mapping value of 0.65, and the maximum attitude deviation of 0.8 degrees corresponds to a mapping value of 0.35. After combining the first set of preset weights 0.6 and 0.4, the maximum state deviation is 0.65 multiplied by 0.6 plus 0.35 multiplied by 0.4, resulting in 0.53. This implementation method also uses a mapping method where the input and output values ​​are consistent; the target object's state deviation level during the interruption is 0.53, instead of performing a secondary hierarchical mapping on 0.53.

[0067] The number of reconstruction attempts after the physical relationship break is 0. The degree of reconstruction of the physical relationship between the target object and related objects during the interruption is 0. The second set of preset weights is 0.7 and 0.3. The scene change degree during the interruption is 0.53 multiplied by 0.7 plus 0 multiplied by 0.3, resulting in 0.371. The scene similarity degree (0.95) multiplied by the scene change degree during the interruption (0.371) yields a loop change degree of 0.35245. The larger value is selected between the scene difference degree (0.05) and the loop change degree (0.35245), resulting in a scene loop anomaly degree of 0.35245. If the scene loop anomaly degree is not less than the first-level threshold of 0.25 and less than the second-level threshold of 0.60, the completed task nodes that are either interrupted task nodes or the preceding dependent nodes of subsequent pending task nodes of interrupted task nodes will be included in the physical post-condition verification scope.

[0068] Step four: For the completed task node with task execution sequence number 3, the stable period is also limited to the time from the completion of the completed task node with task execution sequence number 3 until the occurrence of the job interruption event. The lateral position sampling values ​​are 100.00 mm, 100.01 mm, 99.99 mm, 100.02 mm, and 100.00 mm, with a stable baseline value of 100.00 mm and a fluctuation baseline value of 0.01 mm. The minimum fluctuation is 0.03 mm, the preset tolerance coefficient is 3, and the failure threshold is 0.09 mm. The absolute difference between the current lateral position of 100.06 mm and the stable baseline value of 100.00 mm is 0.06 mm, which does not exceed the failure threshold of 0.09 mm, thus satisfying the corresponding position state conditions. The attitude state conditions and the physical relationship between the target object and the positioning fixture are verified item by item. The verification results all meet their respective physical postconditions. There are no failed task nodes that are either interrupt task nodes or the predecessor dependent nodes of the subsequent pending task nodes of interrupt task nodes. Therefore, the interrupt task node is determined as the task continuation node.

[0069] Step 5: The target object status in the current work scenario meets the target object status requirements corresponding to the task continuation node. The contact, support, and constraint relationships between the target object and the positioning fixture meet the physical relationship requirements between the target object and related objects. The current execution state of the embodied intelligent robot meets the execution state requirements of the embodied intelligent robot. It is determined that the preconditions for task execution are met, and the embodied intelligent robot is controlled to automatically interrupt the task node and continue executing the work task.

[0070] Implementation 3: The current work scenario has changed significantly and the physical relationship has not been reconstructed, so the automatic continuation of execution is terminated. Specifically, the embodied intelligent robot is performing the same precision assembly task as in Implementation 1. During the execution of task node with task execution number 4, a work interruption event occurs. During the duration of the work interruption event, the target object is moved away from the positioning fixture, and the support and constraint relationship between the target object and the positioning fixture is not re-established before the work interruption event is lifted.

[0071] Step 1: At the moment of interruption, the target object's horizontal position is 100.00 mm, its vertical position is 50.00 mm, and its overall vertical position is 20.00 mm. The deviation of its attitude from the predetermined assembly attitude is 0.10 degrees. There are contact, support, and constraint relationships between the target object and the positioning fixture. A causal snapshot of the task scene is generated based on the operational scenario state at the moment of interruption, the physical post-conditions corresponding to each completed task node, the task execution sequence number, and the causal dependencies between tasks.

[0072] Step two: The operation interruption event lasts for 30 seconds, with a preset sampling period of 0.5 seconds. At the 6th second, the first sampling confirms that the constraint relationship between the target object and the positioning fixture has changed from existing to non-existent. At the 7th second, the first sampling confirms that the support relationship between the target object and the positioning fixture has changed from existing to non-existent. The corresponding physical relationship breakage times are recorded. Until the operation interruption event is lifted, neither the support nor the constraint relationship between the target object and the positioning fixture has been restored to its existing state, and no corresponding physical relationship reconstruction time is formed. The current operation scenario status shows that the maximum positional difference of the target object relative to the interruption time is 4.5 mm, the attitude difference is 2.8 degrees, and there is no support or constraint relationship between the target object and the positioning fixture.

[0073] Step 3: A positional state difference of 4.5 mm corresponds to a mapping value of 1, and an attitude state difference of 2.8 degrees corresponds to a mapping value of 1. Using the first set of preset weights (0.6 and 0.4), the scene difference level is 1, and the scene similarity level is 0. During the interruption, the target object's state deviation level is 1. Although a physical relationship break has occurred between the target object and the positioning fixture, there is no corresponding physical relationship reconstruction time until the work interruption event is lifted. The number of reconstructions after the physical relationship break is 0. During the interruption, the degree of reconstruction of the physical relationship break between the target object and related objects is 0. Unreconstructed physical relationships are not processed by artificially increasing the number of physical relationship reconstructions; instead, the scene difference level formed by the current work scene state and subsequent physical post-condition verification continue to identify them. The second set of preset weights is 0.7 and 0.3. During the interruption, the scene change level is 0.7, and the loop change level is 0. The larger value is selected between the scene difference level 1 and the loop change level 0. The scene loop anomaly level is 1, and all completed task nodes are included in the physical post-condition verification scope.

[0074] Step four: When verifying the physical post-conditions corresponding to the completed task node with execution sequence number 2, the current work scenario state does not possess the required support relationship between the target object and the positioning fixture, and the corresponding physical post-condition is not met. When verifying the physical post-conditions corresponding to the completed task node with execution sequence number 3, the current work scenario state does not possess the required constraint relationship between the target object and the positioning fixture, and the corresponding physical post-condition is also not met. The numerical target object state conditions continue to be verified item by item according to the stable benchmark value, fluctuation benchmark value, and failure threshold. However, the support relationship condition and constraint relationship condition between the target object and the positioning fixture have been verified as not being met. The completed task nodes with execution sequence numbers 2 and 3 both meet the failure task node determination conditions. The failure task nodes with execution sequence numbers 2 and 3 are both interrupted task nodes or the preceding dependent nodes of the subsequent pending task nodes of interrupted task nodes. Since the task execution sequence number 2 is smaller, the failure task node with execution sequence number 2 is determined as the task continuation node.

[0075] Step 5: Read the preconditions for task execution corresponding to task succession node 2, and verify the current work scenario state against each precondition. In the exemplary task configuration of this implementation, the target object state requirements corresponding to the task succession node include the target object being within a predetermined state range where positioning and placement operations can be performed. However, the current target object position has deviated by 4.5 mm from the interruption time and does not meet the pre-associated target object state requirements; at least one target object state requirement verification fails. If the preconditions for task execution are not met, terminate the automatic succession of the task, record the unmet preconditions and corresponding task succession nodes, and control the embodied intelligent robot to maintain a safe stop state. After entering the safe stop state, the task succession node is not automatically re-determined based on the current precondition verification results, nor is the precondition verification automatically re-executed.

[0076] The above algorithms or formulas are all dimensionless and numerical calculations, and the results are obtained by software simulation based on a large amount of collected data to obtain the most recent real-world results. The preset parameters are set by those skilled in the art according to the actual situation.

[0077] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0078] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0079] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0080] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for resuming task execution after an interruption of work by an embodied intelligent robot, characterized in that, Includes the following steps: Step 1: When a task interruption event occurs during the execution of a task by the embodied intelligent robot, the interrupted task node is determined. The state of the target object at the time of interruption, the physical relationship between the target object and related objects, each completed task node, the physical post-conditions corresponding to each completed task node, and the causal dependencies between task nodes are obtained. Among them, the causal dependencies have a definite direction and do not have closed loops. Each task node has a task execution sequence number that is determined according to a predetermined execution order and is different from each other. The task scene state at the time of interruption is generated based on the state of the target object and the physical relationship between the target object and related objects. The task scene causal snapshot is generated based on the task scene state at the time of interruption, each completed task node, the physical post-conditions corresponding to each completed task node, and the causal dependencies between task nodes. Step 2: During the duration of the job interruption event, obtain the target object status change record and the physical relationship change record between the target object and related objects. After the job interruption event is lifted, obtain the current job scenario status and form job scenario change information based on the target object status change record, the physical relationship change record between the target object and related objects, and the current job scenario status. Step 3: Determine the similarity between the current operation scenario state and the operation scenario state at the time of interruption; determine the deviation of the target object state during the interruption and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption based on the operation scenario change information; determine the degree of scenario loopback anomaly based on the similarity between the scenarios, the deviation of the target object state during the interruption, and the degree of reconstruction of the physical relationship between the target object and related objects during the interruption; and determine the scope of physical post-condition verification based on the degree of scenario loopback anomaly. Step 4: Within the scope of physical postcondition verification, verify the current job scenario state with the physical postconditions corresponding to each completed task node to determine the failed task nodes; filter the failed task nodes that are the predecessor dependent nodes of the interrupted task nodes or their subsequent pending task nodes, and determine the failed task node with the smallest task execution sequence number as the task succession node; if there are no failed task nodes that are the predecessor dependent nodes, determine the interrupted task node as the task succession node. Step 5: Obtain and verify the preconditions for task execution corresponding to the task continuation node. When the preconditions for task execution are met, control the embodied intelligent robot to continue executing the task from the task continuation node. When the preconditions for task execution are not met, terminate the automatic continuation of the task.

2. The method for resuming task execution after an interruption of work by an embodied intelligent robot according to claim 1, characterized in that, Generating a causal snapshot of the task scenario specifically includes: The target object's state includes its position and orientation. The physical relationships between the target object and associated objects include contact, support, and constraint relationships. Physical postconditions include the target object's state conditions and the physical relationship conditions between the target object and associated objects. Different task execution sequences are determined according to the predetermined execution order of each task node. Each completed task node is associated with its corresponding physical postcondition according to its execution sequence number. Task nodes are connected based on their predetermined execution order and the dependency direction between preconditions and physical postconditions, forming a causal dependency relationship. The task scenario state at the time of interruption, the associated physical postconditions, the task execution sequence number, and the causal dependency relationship are written into a task scenario causal snapshot.

3. The method for resuming task execution after an interruption of work by an embodied intelligent robot according to claim 2, characterized in that, The information generated regarding changes in the work scenario specifically includes: The target object's state and the physical relationship between the target object and associated objects are acquired according to a preset sampling period. The target object's state change record and the physical relationship change record between the target object and associated objects are formed in chronological order. When the physical relationship between the target object and associated objects changes from existing to non-existent at the time of interruption, the physical relationship breakage time is recorded. When the physical relationship is restored to existing state at a subsequent sampling time, the physical relationship reconstruction time is recorded. The target object's state change record, the physical relationship change record between the target object and associated objects, the physical relationship breakage time, the physical relationship reconstruction time, and the current operation scenario state are associated to form operation scenario change information.

4. The method for resuming task execution after an interruption of work by an embodied intelligent robot according to claim 3, characterized in that, Determining the degree of scene loopback anomaly specifically includes: The positional and attitude differences between the current and interrupted work scenarios are mapped to zero to one according to preset segmented thresholds. The two mapped values ​​are combined according to the first set of preset weights to obtain the scenario difference degree. The scenario similarity degree is obtained by subtracting the scenario difference degree from one. The maximum state deviation of the target object's state change record relative to the interruption time is mapped to the target object's state deviation degree during the interruption. The number of reconstructions after the physical relationship break is mapped to the degree of reconstruction of the physical relationship between the target object and related objects during the interruption. The latter two are combined according to the second set of preset weights to obtain the scenario change degree during the interruption. The scenario change degree during the interruption is multiplied by the scenario similarity degree to obtain the loop change degree. The result with the larger value between the scenario difference degree and the loop change degree is selected as the scenario loop anomaly degree. Both sets of preset weights are non-negative and the sum of the preset weights is one.

5. The method for resuming task execution after an interruption of work by an embodied intelligent robot according to claim 4, characterized in that, Determining the scope of physical post-condition verification specifically includes: A first-level threshold and a second-level threshold are preset. The first-level threshold is not less than zero, and the second-level threshold is greater than the first-level threshold but not greater than one. When the scene loopback anomaly is less than the first-level threshold, the completed task node with the largest task execution sequence number that is less than the interrupted task node is included in the physical post-condition verification range. When the threshold is not less than the first-level threshold and less than the second-level threshold, the completed task nodes that are the predecessor dependent nodes of the interrupted task node or its subsequent pending task nodes are included in the physical post-condition verification range. When the threshold is not less than the second-level threshold, all completed task nodes are included in the physical post-condition verification range. When there are no completed task nodes before the interrupted task node, the physical post-condition verification range is determined to be empty.

6. The method for resuming task execution after an interruption of work by an embodied intelligent robot according to claim 5, characterized in that, Determining the failed task node and the task successor node specifically includes: Read the physical postconditions corresponding to each completed task node within the physical postcondition verification range, verify the current job scenario state and each physical postcondition item by item, and determine the completed task node that does not meet at least one physical postcondition as the failed task node; filter the failed task nodes that are the predecessor dependent nodes of the interrupted task node or its subsequent pending task node, and when there are multiple failed task nodes, determine the failed task node with the smallest task execution sequence number as the task successor node; when there are no failed task nodes that are the predecessor dependent nodes, determine the interrupted task node as the task successor node.

7. A method for resuming task execution after an interruption of work by an embodied intelligent robot, as described in claim 6, is characterized in that... The specific physical postconditions for verification include: For physical post-conditions represented by the position or attitude state of the target object, multiple sampled values ​​are obtained during the stable period before the operation interruption event occurs. The median of the sampled values ​​is used as the stable reference value, and the median of the absolute difference between each sampled value and the stable reference value is used as the fluctuation reference value. When the fluctuation reference value is less than a preset minimum fluctuation amount greater than zero, the minimum fluctuation amount is used to replace the fluctuation reference value, and multiplied by a preset tolerance coefficient of not less than one to obtain the failure threshold. When the absolute difference between the corresponding value in the current operation scenario state and the stable reference value exceeds the failure threshold, it is determined that the corresponding physical post-condition is not met. For the physical relationship conditions between the target object and related objects, if the current operation scenario state does not have the corresponding physical relationship, it is determined that the corresponding physical post-condition is not met.

8. A method for resuming task execution after an interruption of work by an embodied intelligent robot, as described in claim 7, is characterized in that... The specific preconditions for executing the verification task include: Read the pre-associated target object status requirements, the physical relationship requirements between the target object and associated objects, and the execution status requirements of the embodied intelligent robot in the task continuation node; obtain the current execution status of the embodied intelligent robot, and verify the current work scenario status and the current execution status of the embodied intelligent robot against the corresponding requirements one by one; if all requirements are met, determine that the preconditions for task execution are met; otherwise, determine that the preconditions for task execution are not met.

9. A method for resuming task execution after an interruption of work by an embodied intelligent robot, as described in claim 8, is characterized in that... The specific tasks to be performed include: When the preconditions for task execution are met, the order of task nodes to be executed, starting from the task succession node, is determined according to the causal dependency of the task, and the embodied intelligent robot is controlled to continue executing the task according to the order of the task nodes to be executed; when the preconditions for task execution are not met, the automatic succession of the task is terminated, the unmet preconditions for task execution and the corresponding task succession node are recorded, and the embodied intelligent robot is controlled to maintain a safe stop state.