A full-load preloading and motion isolation control method for an embroidery machine and related equipment

By constructing a three-level distributed hardware architecture with storage-computation separation and motion isolation, the communication bottleneck and stability issues of high-end embroidery machines when handling ultra-large patterns are solved, achieving absolutely smooth operation and fault immunity of the embroidery machines and improving the reliability of embroidery machines in industrial settings.

CN122327481APending Publication Date: 2026-07-03HUNAN SIJIU TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUNAN SIJIU TECH CO LTD
Filing Date
2026-03-17
Publication Date
2026-07-03

Smart Images

  • Figure CN122327481A_ABST
    Figure CN122327481A_ABST
Patent Text Reader

Abstract

This invention relates to the field of embroidery machine control technology, specifically to a method and related equipment for full preloading and motion isolation control of an embroidery machine. The method includes: the HMI (Hardware Management Interface) preloading the pattern file to the hardware data storage layer via a general-purpose slow bus; the motion execution layer connecting to the read port of a dual-port large-capacity memory via a dedicated high-speed parallel interface; the motion execution layer sending a data request by pulling up the data request signal line through the hardware interface; the DMA controller automatically triggering data block transfer upon detecting the rising edge; returning a response via the data response signal line after the transfer is completed; and locking the progress pointer to a non-volatile storage area when an HMI communication interruption is detected, allowing the motion execution layer to continue independently completing the embroidery operation. This invention, by constructing a three-level distributed hardware architecture with storage-computation separation and motion isolation, eliminates the impact of HMI non-real-time nature on motion control stability, achieving smooth operation and fault immunity for ultra-large patterns.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of embroidery machine control technology, and in particular to a method and related equipment for full preload and motion isolation control of an embroidery machine. Background Technology

[0002] Regarding the control methods involved in the embroidery process, current high-end embroidery machines generally adopt a two-level serial communication architecture combining a host computer (HMI) and a motion controller. During the embroidery process, the HMI needs to parse the pattern file in real time and send it to the motion controller via a bus stream.

[0003] However, the above-mentioned existing technologies have the following drawbacks: First, communication bottleneck problem: When facing ultra-large patterns or dense stitches with millions of stitches, insufficient real-time communication bandwidth will cause the machine to freeze instantly, forming "needle eye" defects; Second, stability coupling problem: Any freeze, crash or restart of HMI (which usually runs a non-real-time operating system) will directly cause data flow interruption, causing embroidery to stop or be misaligned and scrapped. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a method and related equipment for full preload and motion isolation control of an embroidery machine, so as to solve one or more technical problems existing in the prior art and provide at least one beneficial option or create conditions.

[0005] On one hand, embodiments of the present invention provide a method for full preload and motion isolation control of an embroidery machine, the method comprising the following steps: The S100 HMI connects to the write port of a dual-port high-capacity memory via a general-purpose slow bus, preloading the pattern file in full to the hardware data storage layer. S200, the motion execution layer is connected to the read port of the dual-port large-capacity memory through a dedicated high-speed parallel interface, and the write port is physically isolated from the read port at the chip level; S300, the motion execution layer sends a data request to the hardware data storage layer by pulling up the data request signal line through the hardware interface; S400, after the DMA controller of the hardware data storage layer detects the rising edge of the data request signal line, the hardware automatically triggers the data block transfer operation. S500, after the data block transport operation is completed, the hardware data storage layer returns a response signal to the motion execution layer through the data response signal line; S600, the hardware data storage layer detects the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, and the motion execution layer continues to complete the embroidery operation independently.

[0006] Optionally, in S100, the HMI is connected to the write port of a dual-port mass storage device via a general-purpose slow bus to preload the pattern file in its entirety to the hardware data storage layer, including: S110, the HMI parses the pattern file and extracts embroidery trajectory data, stitch parameter data and color switching instruction data; S120, the HMI packages the parsed embroidery trajectory data, needle technique parameter data, and color switching instruction data according to a preset data format to generate a standard data frame; S130, the HMI writes the standard data frame to the write port of the dual-port mass storage via a USB bus or an Ethernet bus; S140, the hardware data storage layer receives and stores the standard data frame and updates the storage status register.

[0007] Optionally, in S200, the motion execution layer is connected to the read port of the dual-port large-capacity memory via a dedicated high-speed parallel interface, including: S210, the motion execution layer establishes a physical connection with the dual-port mass storage read port through the LVDS interface; S220, the motion execution layer configures the communication parameters of the LVDS interface, the communication parameters including baud rate configuration parameters and bit error rate control parameters; S230, the motion execution layer sends a connection establishment confirmation message to the hardware data storage layer to complete the interface initialization.

[0008] Optionally, in S400, after the DMA controller of the hardware data repository layer detects the rising edge of the data request signal line, the hardware automatically triggers a data block transfer operation, including: S410, the DMA controller captures the rising edge event of the data request signal line and generates a hardware trigger pulse; S420, the DMA controller reads the corresponding data block from the dual-port mass storage according to the current progress pointer address; S430, the DMA controller transmits the data block to the data receiving buffer of the motion execution layer through the dedicated high-speed parallel interface; S440, the DMA controller updates the progress pointer to point to the starting address of the next data block.

[0009] Optionally, in S600, the hardware data repository layer detects the HMI communication status. When an HMI communication interruption is detected for more than a preset time threshold, the progress pointer is locked in a non-volatile storage area, including: S610, the hardware data storage layer periodically detects the HMI heartbeat signal; S620, when the duration of the missing HMI heartbeat signal exceeds a set time, it is determined that the HMI communication is interrupted; S630, the hardware data storage layer writes the current progress pointer value into the non-volatile storage area to complete the locking operation; S640, the motion execution layer reads the progress pointer value from the non-volatile storage area and continues to execute the embroidery operation.

[0010] Optionally, in S630, the hardware data storage layer writes the current progress pointer value into the non-volatile storage area to complete the locking operation, including: S631, the hardware data storage layer initiates an atomic write operation, prohibiting other operations from accessing the progress pointer; S632, write the current value of the progress pointer into a specified address area of ​​the non-volatile memory; S633, after writing is complete, a write completion flag is generated; S634 releases the atomic lock, restoring normal memory access operations.

[0011] Optionally, the method further includes: S710, after the HMI restarts, it determines whether there is an interrupted embroidery task by reading the lock status of the hardware data storage layer; S720, when an interrupted task exists, the HMI reads the progress pointer value from the non-volatile memory area; S730, the HMI calculates the number of completed embroidery stitches and the amount of remaining embroidery data based on the progress pointer value; S740, the HMI sends a synchronization confirmation message to the motion execution layer and takes over human-machine interaction control again.

[0012] On the other hand, embodiments of the present invention provide a full-load preload and motion isolation control device for an embroidery machine, comprising: The HMI module is used to connect to the write port of a dual-port mass storage device via a general-purpose slow bus to preload the pattern file to the hardware data storage layer. The motion execution layer module is used to connect to the read port of the dual-port high-capacity memory through a dedicated high-speed parallel interface, wherein the write port and the read port are physically isolated at the chip level; The data request module is used to send a data request to the hardware data storage layer by pulling the data request signal line high through the hardware interface; The DMA control module is used to automatically trigger a data block transfer operation after detecting the rising edge of the data request signal line. The response module is used to return a response signal to the motion execution layer via a data response signal line after the data block handling operation is completed; The fault handling module is used to detect the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, so that the motion execution layer can continue to complete the embroidery operation independently.

[0013] Optionally, the HMI module includes: The file parsing unit is used to parse the pattern file and extract embroidery trajectory data, stitch parameter data and color switching instruction data. The data packaging unit is used to package the parsed data according to a preset data format to generate a standard data frame; A data writing unit is used to write the standard data frame to the write port of a dual-port mass storage device via a USB bus or an Ethernet bus. The status monitoring unit is used to read the storage status register and lock status register of the hardware data storage layer.

[0014] Optionally, the motion execution layer module includes: An interface connection unit is used to establish a physical connection with the read port of a dual-port mass storage device via an LVDS interface. A signal triggering unit is used to send a data request to the hardware data storage layer by pulling up the data request signal line through a hardware interface. The data receiving unit is used to receive data blocks transmitted by the hardware data storage layer through a dedicated high-speed parallel interface; An independent execution unit is used to read the progress pointer value from the non-volatile storage area and continue to complete the embroidery operation independently when HMI communication is interrupted.

[0015] On the other hand, embodiments of the present invention provide a full-load preload and motion isolation control system for an embroidery machine, comprising: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor performs the method described in any of the preceding statements.

[0016] On the other hand, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the above-mentioned embodiments.

[0017] The embodiments of the present invention have the following beneficial effects: This invention constructs a three-tiered distributed hardware architecture with storage-computation separation and motion isolation by introducing an independent hardware data storage layer. Through a physical chip-level isolation architecture using a dual-port, high-capacity memory, the HMI connects to the write port via a general-purpose slow bus for full file preloading, while the motion execution layer connects to the read port via a dedicated high-speed parallel interface. The two ports are completely isolated at the physical level, eliminating bus contention during read and write operations and ensuring deterministic, low-latency data acquisition by the motion end. A zero-CPU intervention data supply mechanism, directly triggered by a hardware handshake signal, allows the motion controller to pull up the data request signal line via a hardware interface. Upon detecting the rising edge, the DMA controller automatically triggers data block transfer, achieving microsecond-level response without CPU interruption or software scheduling. A mechanism for independent motion layer operation and HMI hot reconnection synchronization in case of communication failure allows the hardware data storage layer to automatically lock the progress pointer in a non-volatile storage area when an HMI communication interruption is detected. The motion execution layer can continue embroidery without HMI intervention, and seamless progress synchronization can be achieved by reading the storage layer pointer after the HMI restarts. This invention completely eliminates the impact of HMI non-real-time nature on motion control stability, achieving absolutely smooth operation and fault immunity for ultra-large patterns, and greatly improving the reliability in industrial settings. Attached Figure Description

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

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

[0020] Figure 1 This is a schematic flowchart of the steps of a full-load preload and motion isolation control method for an embroidery machine provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a three-level distributed hardware architecture provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the physical isolation architecture of a dual-port high-capacity memory provided in an embodiment of the present invention; Figure 4 This is a structural block diagram of a full-load preload and motion isolation control system for an embroidery machine provided in an embodiment of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0022] It should be noted that although the device diagram shows a modular division and the flowchart illustrates a logical order, in some cases, the steps shown or described may be performed in a different order than the modular division in the device or the order shown in the flowchart. The terms "first," "second," etc., used in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to limit the invention.

[0024] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a full understanding of embodiments of the invention. However, those skilled in the art will recognize that the technical solutions of the invention can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of the invention.

[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0026] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily need to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0027] To address the aforementioned technical issues, this invention proposes a method and related equipment for full preloading and motion isolation control of an embroidery machine. By constructing a three-level distributed hardware architecture with storage-compute separation and motion isolation, the impact of HMI non-real-time nature on motion control stability is completely eliminated.

[0028] like Figure 1As shown, Figure 1 A method for full preload and motion isolation control of an embroidery machine, provided in an embodiment of the present invention, includes the following steps: The S100 HMI connects to the write port of a dual-port high-capacity memory via a general-purpose slow bus, preloading the pattern file in full to the hardware data storage layer. S200, the motion execution layer is connected to the read port of the dual-port large-capacity memory through a dedicated high-speed parallel interface, and the write port is physically isolated from the read port at the chip level; S300, the motion execution layer sends a data request to the hardware data storage layer by pulling up the data request signal line through the hardware interface; S400, after the DMA controller of the hardware data storage layer detects the rising edge of the data request signal line, the hardware automatically triggers the data block transfer operation. S500, after the data block transport operation is completed, the hardware data storage layer returns a response signal to the motion execution layer through the data response signal line; S600, the hardware data storage layer detects the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, and the motion execution layer continues to complete the embroidery operation independently.

[0029] This invention proposes a full-load preload and motion isolation control method and related equipment for embroidery machines. By introducing an independent hardware data storage layer, a three-level distributed hardware architecture with storage-computation separation and motion isolation is constructed, which completely eliminates the impact of HMI non-real-time nature on motion control stability and achieves absolutely smooth operation and fault immunity for ultra-large patterns.

[0030] The following is a detailed description of the full preload and motion isolation control method for an embroidery machine proposed in this invention, following the steps involved in engineering practice: In this embodiment, a three-level distributed hardware architecture is first constructed, and the system architecture is as follows: Figure 2 As shown in the diagram, the architecture comprises three functional layers: HMI, hardware data repository, and motion execution layer. The HMI and hardware data repository are connected via a general-purpose slow bus (such as a USB bus or Ethernet bus), while the motion execution layer and hardware data repository are connected via a dedicated high-speed parallel interface (such as an LVDS interface).

[0031] In some embodiments, the HMI connects to the write port of a dual-port mass storage device via a general-purpose slow bus to preload the pattern file in its entirety to the hardware data storage layer. This includes: the HMI parsing the pattern file and extracting embroidery trajectory data, stitch parameter data, and color switching instruction data; the HMI packaging the parsed data according to a preset data format to generate a standard data frame, wherein the standard data frame includes a frame header, data payload, and checksum; the HMI writing the standard data frame to the write port of the dual-port mass storage device via a USB bus or Ethernet bus; and the hardware data storage layer receiving and storing the standard data frame and updating the storage status register.

[0032] like Figure 3 As shown, the dual-port high-capacity memory adopts a physical chip-level isolation architecture. The write port is connected to the HMI through a general-purpose slow bus, and the read port is connected to the motion execution layer through a dedicated high-speed parallel interface of LVDS. The two ports are completely isolated at the physical level, and there is no bus contention for read and write operations.

[0033] In some embodiments, the motion execution layer connects to the read port of the dual-port mass storage device via a dedicated high-speed parallel interface, including: the motion execution layer establishing a physical connection with the read port of the dual-port mass storage device via an LVDS interface; the motion execution layer configuring the communication parameters of the LVDS interface, the communication parameters including baud rate configuration parameters (typically 1.5Gbps) and bit error rate control parameters (BER<10^-12); and the motion execution layer sending a connection establishment confirmation message to the hardware data warehouse layer to complete the interface initialization.

[0034] The hardware handshake mechanism is implemented using data request / data acknowledge (Data_Req / Data_Ack) signal lines. When the motion execution layer needs data, it pulls the data request signal line high via the hardware interface. Upon detecting the rising edge, the DMA controller in the hardware data repository layer automatically triggers data block transfer, achieving microsecond-level zero-CPU intervention data supply without CPU interrupts or software scheduling. After the transmission is completed, the hardware handshake is completed via the data acknowledge signal line, realizing pure hardware flow control.

[0035] In some embodiments, after the DMA controller of the hardware data storage layer detects the rising edge of the data request signal line, the hardware automatically triggers a data block transfer operation, including: the DMA controller capturing the rising edge event of the data request signal line and generating a hardware trigger pulse; the DMA controller reading the corresponding data block from the dual-port mass memory according to the current progress pointer address; the DMA controller transmitting the data block to the data receiving buffer of the motion execution layer through a dedicated high-speed parallel interface; and the DMA controller updating the progress pointer to point to the starting address of the next data block.

[0036] In some embodiments, the hardware data repository layer detects the HMI communication status. When an HMI communication interruption is detected for more than a preset time threshold, the progress pointer is locked in a non-volatile storage area. This includes: the hardware data repository layer periodically detecting the HMI heartbeat signal, with a typical detection period of 100 milliseconds; when the HMI heartbeat signal is missing for more than 500 milliseconds, it is determined that the HMI communication is interrupted; the hardware data repository layer writes the current progress pointer value into the non-volatile storage area to complete the locking operation; the motion execution layer reads the progress pointer value from the non-volatile storage area and continues to execute the embroidery operation.

[0037] In some embodiments, the hardware data repository layer completes the locking operation by writing the current progress pointer value into the non-volatile storage area, including: the hardware data repository layer initiates an atomic write operation to prevent other operations from accessing the progress pointer; writes the current value of the progress pointer into a specified address area of ​​the non-volatile memory; generates a write completion flag after the write is completed; and releases the atomic lock to restore normal memory access operations.

[0038] The HMI hot reconnection synchronization process includes: after the HMI restarts, it checks the lock status of the hardware data storage layer to determine if there is an interrupted embroidery task; when there is an interrupted task, the HMI reads the progress pointer value from the non-volatile storage area; the HMI calculates the number of completed embroidery stitches and the amount of remaining embroidery data based on the progress pointer value; the HMI sends a synchronization confirmation message to the motion execution layer and takes over human-machine interaction control again.

[0039] See Figure 4 This invention provides a full-load preload and motion isolation control device for an embroidery machine, comprising: The HMI module is used to connect to the write port of a dual-port mass storage device via a general-purpose slow bus to preload the pattern file to the hardware data storage layer. The motion execution layer module is used to connect to the read port of the dual-port high-capacity memory through a dedicated high-speed parallel interface, wherein the write port and the read port are physically isolated at the chip level; The data request module is used to send a data request to the hardware data storage layer by pulling the data request signal line high through the hardware interface; The DMA control module is used to automatically trigger a data block transfer operation after detecting the rising edge of the data request signal line. The response module is used to return a response signal to the motion execution layer via a data response signal line after the data block handling operation is completed; The fault handling module is used to detect the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, so that the motion execution layer can continue to complete the embroidery operation independently.

[0040] It is evident that the content of the above method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0041] This invention provides a full-load preload and motion isolation control system for an embroidery machine, comprising: at least one processor; at least one memory for storing at least one program; and when the at least one program is executed by the at least one processor, the at least one processor implements the above-described method.

[0042] It is evident that the content of the above method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0043] Furthermore, embodiments of the present invention also disclose a computer program product or computer program stored in a computer-readable storage medium. A processor of a computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, causing the computer device to perform the methods described above.

[0044] Similarly, the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0045] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0046] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0047] The terms “comprising” and “having”, and any variations thereof, in the specification and accompanying drawings of this invention are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.

[0048] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0049] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0050] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0051] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0052] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0053] The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present invention should be within the scope of the claims of the present invention.

Claims

1. A method for full-load preloading and motion isolation control of an embroidery machine, characterized in that, The method includes the following steps: The S100 HMI connects to the write port of a dual-port high-capacity memory via a general-purpose slow bus, preloading the pattern file in full to the hardware data storage layer. S200, the motion execution layer is connected to the read port of the dual-port large-capacity memory through a dedicated high-speed parallel interface, and the write port is physically isolated from the read port at the chip level; S300, the motion execution layer sends a data request to the hardware data storage layer by pulling up the data request signal line through the hardware interface; S400, after the DMA controller of the hardware data storage layer detects the rising edge of the data request signal line, the hardware automatically triggers the data block transfer operation. S500, after the data block transport operation is completed, the hardware data storage layer returns a response signal to the motion execution layer through the data response signal line; S600, the hardware data storage layer detects the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, and the motion execution layer continues to complete the embroidery operation independently.

2. The method according to claim 1, characterized in that, In S100, the HMI is connected to the write port of a dual-port high-capacity memory via a general-purpose slow bus, preloading the pattern file in its entirety to the hardware data repository layer, including: S110, the HMI parses the pattern file and extracts embroidery trajectory data, stitch parameter data and color switching instruction data; S120, the HMI packages the parsed embroidery trajectory data, needle technique parameter data, and color switching instruction data according to a preset data format to generate a standard data frame; S130, the HMI writes the standard data frame to the write port of the dual-port mass storage via a USB bus or an Ethernet bus; S140, the hardware data storage layer receives and stores the standard data frame and updates the storage status register.

3. The method according to claim 1, characterized in that, In S200, the motion execution layer is connected to the read port of the dual-port large-capacity memory via a dedicated high-speed parallel interface, including: S210, the motion execution layer establishes a physical connection with the dual-port mass storage read port through the LVDS interface; S220, the motion execution layer configures the communication parameters of the LVDS interface, the communication parameters including baud rate configuration parameters and bit error rate control parameters; S230, the motion execution layer sends a connection establishment confirmation message to the hardware data storage layer to complete the interface initialization.

4. The method according to claim 1, characterized in that, In S400, after the DMA controller of the hardware data repository layer detects the rising edge of the data request signal line, the hardware automatically triggers a data block transfer operation, including: S410, the DMA controller captures the rising edge event of the data request signal line and generates a hardware trigger pulse; S420, the DMA controller reads the corresponding data block from the dual-port mass storage according to the current progress pointer address; S430, the DMA controller transmits the data block to the data receiving buffer of the motion execution layer through the dedicated high-speed parallel interface; S440, the DMA controller updates the progress pointer to point to the starting address of the next data block.

5. The method according to claim 1, characterized in that, In S600, the hardware data repository layer detects the HMI communication status. When an HMI communication interruption is detected for more than a preset time threshold, the progress pointer is locked in a non-volatile storage area, including: S610, the hardware data storage layer periodically detects the HMI heartbeat signal; S620, when the duration of the missing HMI heartbeat signal exceeds a set time, it is determined that the HMI communication is interrupted; S630, the hardware data storage layer writes the current progress pointer value into the non-volatile storage area to complete the locking operation; S640, the motion execution layer reads the progress pointer value from the non-volatile storage area and continues to execute the embroidery operation.

6. The method according to claim 5, characterized in that, In S630, the hardware data repository layer writes the current progress pointer value into the non-volatile storage area to complete the locking operation, including: S631, the hardware data storage layer initiates an atomic write operation, prohibiting other operations from accessing the progress pointer; S632, write the current value of the progress pointer into a specified address area of ​​the non-volatile memory; S633, after writing is complete, a write completion flag is generated; S634 releases the atomic lock, restoring normal memory access operations.

7. The method according to claim 1, characterized in that, The method further includes: S710, after the HMI restarts, it determines whether there is an interrupted embroidery task by reading the lock status of the hardware data storage layer; S720, when an interrupted task exists, the HMI reads the progress pointer value from the non-volatile memory area; S730, the HMI calculates the number of completed embroidery stitches and the amount of remaining embroidery data based on the progress pointer value; S740, the HMI sends a synchronization confirmation message to the motion execution layer and takes over human-machine interaction control again.

8. A full-load preload and motion isolation control device for an embroidery machine, characterized in that, include: The HMI module is used to connect to the write port of a dual-port mass storage device via a general-purpose slow bus to preload the pattern file to the hardware data storage layer. The motion execution layer module is used to connect to the read port of the dual-port high-capacity memory through a dedicated high-speed parallel interface, wherein the write port and the read port are physically isolated at the chip level; The data request module is used to send a data request to the hardware data storage layer by pulling the data request signal line high through the hardware interface; The DMA control module is used to automatically trigger a data block transfer operation after detecting the rising edge of the data request signal line. The response module is used to return a response signal to the motion execution layer via a data response signal line after the data block handling operation is completed; The fault handling module is used to detect the HMI communication status. When the HMI communication interruption is detected to exceed a preset time threshold, the progress pointer is locked in the non-volatile storage area, so that the motion execution layer can continue to complete the embroidery operation independently.

9. A full-load preload and motion isolation control system for an embroidery machine, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor performs the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.