Embedded systems and methods for threads and buffer management thereof
    1.
    发明授权
    Embedded systems and methods for threads and buffer management thereof 有权
    用于线程的嵌入式系统和方法及其缓冲区管理

    公开(公告)号:US09239742B2

    公开(公告)日:2016-01-19

    申请号:US13550223

    申请日:2012-07-16

    CPC分类号: G06F9/52 G06F9/50 G06F9/544

    摘要: Embedded systems are provided, which includes a processing unit and a memory. The processing unit simultaneously executes first thread having a flag for performing a data acquisition operation and second thread for performing a data process and output operation for the acquired data in the data acquisition operation. The flag is used for indicating whether a state of the first thread is in an execution state or a sleep state. The memory which is coupled to the processing unit provides a shared buffer for the first and second threads. Before executing the second thread, the flag is checked to determine whether to execute the second thread, wherein the second thread is executed when the flag indicates the sleep state while execution of the second thread is suspended when the flag indicates the execution state.

    摘要翻译: 提供了包括处理单元和存储器的嵌入式系统。 处理单元同时执行具有用于执行数据获取操作的标志的第一线程和用于在数据获取操作中对所获取的数据执行数据处理和输出操作的第二线程。 标志用于指示第一线程的状态是处于执行状态还是休眠状态。 耦合到处理单元的存储器为第一和第二线程提供共享缓冲器。 在执行第二线程之前,检查该标志以确定是否执行第二线程,其中当该标志指示执行状态时,当该标志指示休眠状态,同时第二线程的执行被暂停时,第二线程被执行。

    Machine tool data acquisition device and method
    3.
    发明授权
    Machine tool data acquisition device and method 有权
    机床数据采集装置及方法

    公开(公告)号:US08965733B2

    公开(公告)日:2015-02-24

    申请号:US12970327

    申请日:2010-12-16

    IPC分类号: G06F15/00

    摘要: A machine tool data acquisition device for processing a plurality of far-end acquisition commands transmitted from a plurality of monitoring devices is provided. The far-end acquisition commands are used for requesting a plurality of parameters from a machine tool, and the plurality of parameters constitute a combination of parameters, including: a monitoring device connection module for receiving the plurality of far-end acquisition commands from the plurality of monitoring devices; a command establishing module for establishing a plurality of near-end acquisition commands according to the far-end acquisition commands, wherein there is an sequence among the plurality of near-end acquisition commands, and each near-end acquisition command corresponds to a plurality of parameter acquisition requests used for requesting and acquiring all of the parameters of one combination of parameters; and a machine tool connection module for sequentially transmitting the parameter acquisition requests corresponding to the near-end commands to the machine tool according to the sequence among the near-end acquisition commands, and acquiring the parameters corresponding to the parameter acquisition requests from the machine tool.

    摘要翻译: 提供一种用于处理从多个监视装置发送的多个远端采集命令的机床数据采集装置。 所述远端捕获命令用于从机床请求多个参数,并且所述多个参数构成参数的组合,包括:监视设备连接模块,用于从所述多个接收器接收所述多个远端采集命令 的监控设备; 命令建立模块,用于根据远端采集命令建立多个近端采集命令,其中存在多个近端采集命令之间的序列,并且每个近端采集命令对应于多个 用于请求和获取参数组合的所有参数的参数获取请求; 以及机床连接模块,用于根据近端采集命令中的顺序将与近端命令相对应的参数获取请求依次发送给机床,并从机床获取对应于参数获取请求的参数 。