Control system driven by real time and non-real time data
AssigneesHan's Laser Technology Industry Group Co., Ltd., Shenzhen Han's Smart Control Technology Co., Ltd.
InventorsYuxin Feng, Yan Chen, Yunfeng Gao
Life of this patent
Estimating the term…
Abstract
The present application relates to a data processing method for a numerical control system, a computer device and a storage medium. The method comprises: receiving a data request, the data request carrying a target data identifier; parsing the data request to obtain an interactive type corresponding to the target data identifier; when the interactive type corresponding to the target data identifier is a type corresponding to real-time data, searching for data corresponding to the target data identifier in a shared memory of the numerical control system; transferring the data corresponding to the target data identifier from the shared memory to a data cache of the numerical control system and outputting the data.
Claims17
A data processing method for a numerical control system, comprising:
- receiving a data request, the data request carrying a target data identifier;
- parsing the data request to obtain an interaction type corresponding to the target data identifier;
- searching for data corresponding to the target data identifier in a shared memory of the numerical control system, when the interaction type corresponding to the target data identifier is a type corresponding to real-time data;
- and
- transferring the data corresponding to the target data identifier from the shared memory to a data cache of the numerical control system and outputting the data,
- wherein before receiving the data request, the method further comprises:
- acquiring real-time data and non-real-time data of the numerical control system;
- establishing a shared memory in the numerical control system, and storing the real-time data of the numerical control system into the shared memory;
- and
- establishing a data cache in the numerical control system, and storing the non-real-time data of the numerical control system into the data cache.
A computer device, comprising a processor and a memory storing computer readable instructions, which, when executed by the processor, causes the processor to perform steps comprising:
- receiving a data request, the data request carrying a target data identifier;
- parsing the data request to obtain an interaction type corresponding to the target data identifier;
- searching for data corresponding to the target data identifier in a shared memory of the numerical control system, when the interaction type corresponding to the target data identifier is a type corresponding to real-time data;
- and
- transferring the data corresponding to the target data identifier from the shared memory to a data cache of the numerical control system and output the data,
- wherein the computer readable instructions further cause the processor to perform the following steps:
- acquiring real-time data and non-real-time data of the numerical control system;
- establishing the shared memory in the numerical control system, and storing the real-time data of the numerical control system into the shared memory;
- and
- establishing the data cache in the numerical control system, and storing the non-real-time data of the numerical control system into the data cache.
One or more non-transitory storage mediums storing computer-readable instructions, when the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform the following steps:
- receiving a data request, the data request carrying a target data identifier;
- parsing the data request to obtain an interaction type corresponding to the target data identifier;
- searching for data corresponding to the target data identifier in a shared memory of the numerical control system, when the interaction type corresponding to the target data identifier is a type corresponding to real-time data;
- and
- transferring the data corresponding to the target data identifier from the shared memory to a data cache of the numerical control system and output the data,
- wherein when the computer-readable instructions are executed by the one or more processors, the one or more processors are caused to perform the following steps:
- acquiring real-time data and non-real-time data of the numerical control system;
- establishing the shared memory in the numerical control system, and storing the real-time data of the numerical control system into the shared memory;
- and
- establishing the data cache in the numerical control system, and storing the non-real-time data of the numerical control system into the data cache.
Dependencies are inferred from the claim text.