Numerical control system data processing method, system and equipment based on order management

By implementing the CNC system data processing method based on order management on the CNC equipment platform, the data access difficulties and resource management problems in big data analysis and intelligent applications in the CNC field are solved, and efficient data management and production data management are achieved.

CN119693086APending Publication Date: 2025-03-25WUHAN HUAZHONG NUMERICAL CONTROL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411670744.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing big data analysis and intelligent applications in the CNC field have problems such as difficulty in data access, lack of control of data resources, low performance and efficiency, and poor reliability, and cannot support the data acquisition needs of multiple users, multiple devices, and multiple applications.

Method used

It provides a CNC system data processing method based on order management. By running on the CNC equipment platform, it receives user's data order requests, determines order content, deposits it into the order list, updates processing status, produces order data based on memory and disk data, and stores it in the data warehouse, and finally packages and delivers the produced order data to the user.

Benefits of technology

It has improved the problem of difficulty in accessing and inconvenient use of a large number of user terminals of CNC equipment platforms, reduced the difficulty of application development, supported the management method of data warehouses, solved the data resource management problems of CNC systems, and realized efficient management of data resources in the CNC field and the management of production data in the CNC field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119693086A_ABST
    Figure CN119693086A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of numerical control big data analysis, and discloses a numerical control system data processing method, system and equipment based on order management. The method runs on a numerical control equipment platform, and comprises the following steps: when a data order request is received, determining order content based on the data order request; storing the data order request into an order list according to the type and authority of the order content, and updating the processing state of each order; performing data production according to the order content in the order list based on the memory data and the disk data, obtaining order data and storing the order data in a data warehouse; and packaging the order data produced in the data warehouse to obtain a data packet, and sending the data packet to a user corresponding to the data order request. An online shopping mode is simulated, order acceptance and order delivery mechanisms are supported, the problems that a large number of user sides of a numerical control equipment platform are difficult to access and inconvenient to use are solved, and the difficulty of application development is reduced. Data warehouse management is supported, and efficient data resource management and production data management and control are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of CNC big data analysis, and in particular to a CNC system data processing method, system and equipment based on order management. Background Art

[0002] At present, big data analysis and intelligent applications in the field of CNC are developing rapidly. Data subscription, data production, and data delivery are the basis for big data analysis and intelligent application development. Based on data subscription, data production, and data delivery technologies, building intelligent applications such as CNC equipment health detection, fault diagnosis, remote monitoring, and process optimization is an important way for manufacturing companies to reduce labor costs, improve production efficiency, and achieve efficient operation of workshops, factories, and enterprises.

[0003] However, existing technical solutions and application cases related to data collection, data storage, and data transmission have problems such as difficulty in data access, lack of management and control of data resources, low performance and efficiency, and poor reliability. They are difficult to expand and cannot support the data collection needs of multiple users, multiple devices, and multiple applications. Summary of the invention

[0004] The main purpose of the present invention is to provide a CNC system data processing method, system and equipment based on order management, aiming to solve at least one of the above-mentioned technical problems.

[0005] To achieve the above object, the present invention provides a CNC system data processing method based on order management, the method running on a CNC equipment platform, the method comprising:

[0006] Upon receiving a data order request from a user, determining order content based on the data order request;

[0007] storing the data order request in an order list according to the type and authority of the order content, and updating the processing status of each order;

[0008] Produce data based on the memory data and the disk data according to the order content in the order list, obtain order data and store the order data in the data warehouse;

[0009] The order data produced in the data warehouse is packaged to obtain a data packet and the data packet is sent to the user corresponding to the data order request.

[0010] In some embodiments, upon receiving a data order request from a user, determining order content based on the data order request includes:

[0011] Upon receiving a data order request from a user, accepting the data order request;

[0012] Determining an order ID, a requested data type, and an order category based on the data order request;

[0013] The order ID, request data type and order category are used as order content; wherein the order category includes basic order, temporary order, periodic order and event order, or the order category includes regular data order and functional data order.

[0014] In some embodiments, the conventional data order includes a CNC system parameter data order, a register data order, a variable data order, and a tool compensation data order; the functional data order includes a circle test data order, a full stroke current data order, and a health protection data order.

[0015] In some embodiments, the method further comprises:

[0016] Initialize the order acceptance thread and start the order acceptance thread loop;

[0017] Execute a new request processing sub-process to cyclically receive data order requests from users and determine new orders based on the data order requests;

[0018] The newly added order queue is stored in the order list; wherein the order list is a plurality of order queue lists, and the order queue list includes a list resource management object, a valid order index, an idle order index and the number of idle orders.

[0019] In some embodiments, the data warehouse includes a warehouse resource management object, a production data item array, a write data item index, and an idle data item index; the order data includes machine adjustment report data and full-stroke current data.

[0020] In some embodiments, the method further comprises:

[0021] Initialize the CNC system HMI application thread and start the CNC system HMI application thread cycle;

[0022] Execute each application processing sub-process of the CNC system HMI, cyclically process the order list for data production, and obtain the newly added order data;

[0023] The newly added order data is stored in the data warehouse.

[0024] In some embodiments, packaging the completed order data in the data warehouse to obtain a data packet and sending the data packet to the user corresponding to the data order request includes:

[0025] Loop through the order list and monitor the status of each order in the order list;

[0026] When it is determined based on the status that the production of the order data is completed, the order data is obtained from the data warehouse and packaged to obtain a data packet;

[0027] The data packet is dispatched to the user corresponding to the data order request; wherein the content of the data packet includes the order number, data type, data production time and data packet size.

[0028] In some embodiments, the method further comprises:

[0029] Initialize the data dispatch thread and start the data dispatch thread loop;

[0030] Execute the data packaging sub-process to read order data from the data warehouse;

[0031] Packing the order data into a data packet and sending it to a sending list;

[0032] The data packets are queued and dispatched to the users corresponding to the data order requests based on the sending list.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also proposes a numerical control system data processing system based on order management, the system runs on a numerical control equipment platform, and the system includes:

[0034] A data order acceptance module, configured to determine order content based on a data order request received from a user;

[0035] The data order acceptance module is further used to store the data order request into an order list according to the type and authority of the order content, and update the processing status of each order;

[0036] A data warehouse management module, used to generate data according to the order content in the order list based on the memory data and the disk data, obtain the order data and store the order data in the data warehouse;

[0037] The data order dispatching module is used to pack the order data produced in the data warehouse, obtain a data packet and dispatch the data packet to the user corresponding to the data order request.

[0038] In addition, to achieve the above-mentioned purpose, the present invention also proposes an electronic device, which includes: a memory, a processor, and an order management-based CNC system data processing program stored in the memory and executable on the processor, wherein the order management-based CNC system data processing program is configured to implement the order management-based CNC system data processing method as described above.

[0039] The present invention provides a data processing method for a numerical control system based on order management, the method runs on a numerical control equipment platform, and the method includes: when receiving a data order request from a user, determining the order content based on the data order request; storing the data order request in an order list according to the type and authority of the order content, and updating the processing status of each order; producing data based on the order content in the order list based on memory data and disk data, obtaining order data and storing the order data in a data warehouse; packaging the order data produced in the data warehouse, obtaining a data packet and sending the data packet to the user corresponding to the data order request. In the present invention, the method runs on a numerical control equipment platform, simulates an online shopping method, supports order acceptance and order delivery mechanisms, can improve the problem of difficult access and inconvenience of a large number of user terminals on the numerical control equipment platform, and reduces the difficulty of application development. Supporting the management method of the data warehouse can solve the problem of data resource management and control of the numerical control system, thereby realizing efficient management of data resources in the numerical control field and management of production data in the numerical control field. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the present invention;

[0041] Figure 2 It is a flow chart of an embodiment of a method for processing data of a numerical control system based on order management according to the present invention;

[0042] Figure 3 It is a software principle structure diagram involved in the embodiment of the present invention;

[0043] Figure 4 This is a logical diagram of an order acceptance thread loop involved in an embodiment of the present invention;

[0044] Figure 5 A schematic diagram of a HMI application thread cycle logic of a numerical control system involved in an embodiment of the present invention;

[0045] Figure 6 A schematic diagram of a data dispatch thread loop logic involved in an embodiment of the present invention;

[0046] Figure 7 It is a structural block diagram of an embodiment of a numerical control system data processing system based on order management of the present invention.

[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0050] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0051] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present invention.

[0052] like Figure 1As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM memory) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0054] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a numerical control system data processing program based on order management.

[0055] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the electronic device, and the electronic device calls the CNC system data processing program based on order management stored in the memory 1005 through the processor 1001, and executes the CNC system data processing method based on order management provided by an embodiment of the present invention.

[0056] The present invention provides a numerical control system data processing method, system and equipment based on order management.

[0057] The embodiment of the present invention provides a numerical control system data processing method based on order management, referring to Figure 2 , Figure 2 It is a flow chart of an embodiment of a method for processing data of a numerical control system based on order management of the present invention.

[0058] like Figure 2 As shown, the numerical control system data processing method based on order management includes:

[0059] Step S100: upon receiving a data order request from a user, determining order content based on the data order request;

[0060] Step S200: storing the data order request in an order list according to the type and authority of the order content, and updating the processing status of each order;

[0061] Step S300: generating data according to the order content in the order list based on the memory data and the disk data, obtaining order data and storing the order data in a data warehouse;

[0062] Step S400: Packaging the completed order data in the data warehouse to obtain a data packet and delivering the data packet to the user corresponding to the data order request.

[0063] It should be noted that the execution subject in this embodiment may be an electronic device, which may be a computer device with data processing functions, or other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment, the order management-based CNC system data processing method runs on a CNC equipment platform, and the computer device includes a CNC equipment platform as an example for explanation.

[0064] Understandably, Figure 3 The software principle structure diagram suitable for implementing the present embodiment is shown. The software principle structure diagram describes the various structural components of the software for implementing the method described in the present embodiment, including components such as order list, sending list, memory data, disk data, data warehouse, and processing processes such as order receiving cycle, sampling cycle, and data packaging and sending cycle. Figure 3 As shown in the figure, the order list stores the data order requests of the user terminal by category and authority, and updates the processing status of each order. The delivery list stores the orders that have been produced and updates the order delivery status. The memory data and disk data are the raw materials for producing order data, which are generated by various system applications. The data warehouse stores the order data that has been produced and is waiting to be packaged and sent. Figure 3 The order receiving loop can receive the data order request from the user terminal and store it in the order list. The sampling loop uses the memory data and disk data to produce the order data according to the order content in the order list and stores it in the data warehouse. The data packaging and sending loop obtains the data produced from the data warehouse according to the order content in the sending list, and packages it to the user terminal.

[0065] For example, the following combination Figures 2 to 6The specific process of the method described in this embodiment is introduced in detail.

[0066] In one embodiment, when a data order request from a user is received, order content is determined based on the data order request, including: when a data order request from a user is received, accepting the data order request; determining an order ID, a requested data type, and an order category based on the data order request; using the order ID, the requested data type, and the order category as order content; wherein the order categories include basic orders, temporary orders, periodic orders, and event orders, or the order categories include regular data orders and functional data orders.

[0067] In one embodiment, the conventional data order includes a numerical control system parameter data order, a register data order, a variable data order, and a tool compensation data order; the functional data order includes a circle test data order, a full stroke current data order, and a health protection data order.

[0068] Specifically, Figure 3 As shown, data order acceptance: receiving the user's data order request and storing it in the order list. The method runs on the CNC equipment platform and uses orders to request and obtain data; the order content includes order ID, request data type, order category and other contents; the order category includes basic order, temporary order, periodic order, event order and other categories. The order category can also be divided into regular data order, intelligent function data order and other types according to the data type requested by the user. Regular data orders include data orders such as CNC system parameters, registers, variables, tool compensation data, etc., and intelligent function data orders include data orders such as circle test, full stroke current, health protection, etc.

[0069] In one embodiment, the data order request is stored in an order list according to the type and authority of the order content, and the processing status of each order is updated.

[0070] In one embodiment, the method further includes: initializing an order acceptance thread and starting an order acceptance thread loop; executing a new request processing sub-process, cyclically receiving data order requests from users and determining new orders based on the data order requests; queuing the new orders and storing them in the order list; wherein the order list is a plurality of order queue lists, and the order queue list includes a list resource management object, a valid order index, an idle order index, and a number of idle orders.

[0071] Specifically, Figure 3As shown, data order acceptance can cyclically receive data orders from external users, and queue the received orders and store them in an order list; wherein the order list is a plurality of order queue lists, including list resource management objects, valid order indexes, idle order indexes, and the number of idle orders.

[0072] For example, Figure 4 As shown, after the order acceptance thread is initialized, it starts the thread loop, executes the new request processing sub-process, receives the data order request from the user terminal, and stores it in the order list.

[0073] In one embodiment, data is generated according to the order content in the order list based on the memory data and the disk data to obtain the order data and store the order data in a data warehouse.

[0074] In one embodiment, the data warehouse includes a warehouse resource management object, a production data item array, a write data item index, and a free data item index; the order data includes machine adjustment report data and full-stroke current data.

[0075] Specifically, Figure 3 As shown, data warehouse management: produces data content that matches orders, and stores the completed data in the warehouse for delivery; the data warehouse includes warehouse resource management objects, production data item arrays, write data item indexes, free data item indexes, etc. Data warehouse management can produce data including machine adjustment report data and full stroke current data.

[0076] In one embodiment, the method further includes: initializing the CNC system HMI application thread and starting the CNC system HMI application thread loop; executing each application processing sub-process of the CNC system HMI, looping through the order list to produce data and obtain newly added order data; and storing the newly added order data in the data warehouse.

[0077] For example, Figure 5 As shown, after the CNC system HMI application thread is initialized, it starts the thread loop, executes each application sub-process, processes the order list, generates the corresponding data and stores it in the data warehouse.

[0078] In one embodiment, the order data produced in the data warehouse is packaged to obtain a data packet and the data packet is delivered to the user corresponding to the data order request, including: looping through the order list and monitoring the status of each order in the order list; when it is determined based on the status that the order data production is completed, the order data is obtained from the data warehouse and packaged to obtain a data packet; the data packet is delivered to the user corresponding to the data order request; wherein the content of the data packet includes the order number, data type, data production time and data packet size.

[0079] Specifically, data order delivery: loop through the order list and monitor the order status. When the order is completed, get the data from the data warehouse and package it for delivery; the content of the data package includes the order number, data type, data production time, data package size, etc.

[0080] In one embodiment, the method further includes: initializing a data delivery thread and starting a data delivery thread loop; executing a data packaging sub-process and reading order data from a data warehouse; packaging the order data into data packets and sending them to a sending list; and queuing and sending the data packets to users corresponding to the data order requests based on the sending list.

[0081] For example, Figure 6 As shown, after the data dispatch thread is initialized, the thread loop starts, the data packaging sub-process is executed, the data is read from the data warehouse, and the data is sent to the sending list for queuing and sending to the user terminal.

[0082] It should be noted that compared with traditional technologies, the beneficial effects of this embodiment include: the method provided in this embodiment is used for CNC system data services, simulates online shopping methods, supports order acceptance, and order delivery mechanisms, can improve the access difficulties and inconveniences faced by a large number of user terminals, and reduce the difficulty of application development; in addition, the method supports the management of data warehouses, can solve the data resource management and control problems of CNC systems, and efficiently manage data resources and control production data.

[0083] This embodiment provides a method for processing data of a numerical control system based on order management, the method runs on a numerical control equipment platform, and the method includes: when receiving a data order request from a user, determining the order content based on the data order request; storing the data order request in an order list according to the type and authority of the order content, and updating the processing status of each order; producing data based on the order content in the order list based on memory data and disk data, obtaining order data and storing the order data in a data warehouse; packaging the order data produced in the data warehouse, obtaining a data packet and sending the data packet to the user corresponding to the data order request. In this embodiment, the method runs on a numerical control equipment platform, simulates an online shopping method, supports order acceptance and order delivery mechanisms, can improve the problem of difficult access and inconvenience of a large number of user terminals on the numerical control equipment platform, and reduces the difficulty of application development. Supporting the management method of the data warehouse can solve the problem of data resource management and control of the numerical control system, thereby realizing efficient management of data resources in the numerical control field and management of production data in the numerical control field.

[0084] In addition, an embodiment of the present invention further proposes a storage medium, on which a CNC system data processing program based on order management is stored. When the CNC system data processing program based on order management is executed by a processor, the steps of the CNC system data processing method based on order management as described above are implemented.

[0085] Reference Figure 7 , Figure 7 It is a structural block diagram of an embodiment of a numerical control system data processing system based on order management of the present invention.

[0086] like Figure 7 As shown, the CNC system data processing system based on order management runs on a CNC equipment platform, and the system includes:

[0087] The data order acceptance module 10 is used to determine the order content based on the data order request when receiving the data order request from the user;

[0088] The data order acceptance module 10 is also used to store the data order request into an order list according to the type and authority of the order content, and update the processing status of each order;

[0089] The data warehouse management module 20 is used to generate data according to the order content in the order list based on the memory data and the disk data, obtain the order data and store the order data in the data warehouse;

[0090] The data order delivery module 30 is used to package the order data produced in the data warehouse, obtain a data packet and deliver the data packet to the user corresponding to the data order request.

[0091] Specifically, the system includes a data order acceptance module 10, a data warehouse management module 20, and a data order delivery module 30. The data order acceptance module 10 receives the data order request from the user and stores it in the order list; the data warehouse management module 20 produces data according to the order content in the order list and stores it in the data warehouse; the data order delivery module 30 packages the order data that has been produced in the data warehouse and delivers it to the requester of the data order.

[0092] Exemplarily, the system runs on a CNC equipment platform and uses orders to request and obtain data; the order content includes order ID, requested data type, order category and other contents; order categories include basic orders, temporary orders, periodic orders, event orders and other categories; order categories can also be divided into regular data orders, intelligent function data orders and other types according to the data type requested by the user. Regular data orders include data orders such as CNC system parameters, registers, variables, tool compensation data, etc., and intelligent function data orders include data orders such as circle test, full stroke current, health protection, etc.

[0093] Specifically, the data order acceptance module 10 can cyclically receive data orders from external users, and queue the received orders into an order list; wherein the order list is a plurality of order queue lists, including list resource management objects, valid order indexes, idle order indexes, the number of idle orders and other contents.

[0094] Specifically, the data warehouse management module 20 produces data content that matches the order, and stores the produced data in the warehouse for delivery; wherein the data warehouse package includes warehouse resource management objects, production data item arrays, write data item indexes, free data item indexes, etc. The data that the data warehouse management module 20 can produce include machine adjustment report data and full-stroke current data, etc.

[0095] Specifically, the data order delivery module 30 loops through the order list and monitors the order status. When the order is completed, the data is obtained from the data warehouse and packaged for delivery; wherein the content of the data packet includes the order number, data type, data production time, data packet size, etc.

[0096] It should be noted that compared with traditional technologies, the beneficial effects of this embodiment include: the system provided in this embodiment is used for CNC system data services, simulates online shopping methods, supports order acceptance and order delivery mechanisms, can improve the access difficulties and inconveniences faced by a large number of user terminals, and reduces the difficulty of application development; in addition, the system supports data warehouse management methods, can solve the data resource management and control problems of CNC systems, and efficiently manage data resources and control production data.

[0097] This embodiment provides a numerical control system data processing system based on order management, the system runs on a numerical control equipment platform, and the system includes: a data order acceptance module 10, a data warehouse management module 20, and a data order delivery module 30. In this embodiment, the system runs on the numerical control equipment platform, simulates the online shopping method, supports order acceptance and order delivery mechanisms, can improve the problem of difficult access and inconvenience of use of a large number of user terminals on the numerical control equipment platform, and reduce the difficulty of application development. Supporting the management method of the data warehouse can solve the problem of data resource management and control of the numerical control system, thereby realizing efficient management of data resources in the numerical control field and management of production data in the numerical control field.

[0098] It should be noted that the technical details that are not described in detail in the embodiment of the CNC system data processing system based on order management can be found in the CNC system data processing method based on order management as described above provided in any embodiment of the present invention, and will not be repeated here.

[0099] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0100] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0101] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0102] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0104] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for processing data of a numerical control system based on order management, characterized in that: The method is run on a numerical control equipment platform, and the method comprises: Upon receiving a data order request from a user, determining order content based on the data order request; storing the data order request in an order list according to the type and authority of the order content, and updating the processing status of each order; Produce data based on the memory data and the disk data according to the order content in the order list, obtain order data and store the order data in the data warehouse; The order data produced in the data warehouse is packaged to obtain a data packet and the data packet is sent to the user corresponding to the data order request.

2. The method according to claim 1, characterized in that The step of, upon receiving a data order request from a user, determining order content based on the data order request, includes: Upon receiving a data order request from a user, accepting the data order request; Determining an order ID, a requested data type, and an order category based on the data order request; The order ID, request data type and order category are used as order content; wherein the order category includes basic order, temporary order, periodic order and event order, or the order category includes regular data order and functional data order.

3. The method according to claim 2, characterized in that The conventional data orders include CNC system parameter data orders, register data orders, variable data orders and tool compensation data orders; the functional data orders include circle test data orders, full stroke current data orders and health protection data orders.

4. The method according to claim 1, characterized in that The method further comprises: Initialize the order acceptance thread and start the order acceptance thread loop; Execute a new request processing sub-process to cyclically receive data order requests from users and determine new orders based on the data order requests; The newly added order queue is stored in the order list; wherein the order list is a plurality of order queue lists, and the order queue list includes a list resource management object, a valid order index, an idle order index and the number of idle orders.

5. The method according to claim 1, characterized in that The data warehouse includes a warehouse resource management object, a production data item array, a write data item index, and an idle data item index; the order data includes machine adjustment report data and full-stroke current data.

6. The method according to claim 1, characterized in that The method further comprises: Initialize the CNC system HMI application thread and start the CNC system HMI application thread cycle; Execute each application processing sub-process of the CNC system HMI, cyclically process the order list for data production, and obtain the newly added order data; The newly added order data is stored in the data warehouse.

7. The method according to claim 1, characterized in that The step of packaging the completed order data in the data warehouse to obtain a data packet and sending the data packet to a user corresponding to the data order request includes: Loop through the order list and monitor the status of each order in the order list; When it is determined based on the status that the production of the order data is completed, the order data is obtained from the data warehouse and packaged to obtain a data packet; The data packet is dispatched to the user corresponding to the data order request; wherein the content of the data packet includes the order number, data type, data production time and data packet size.

8. The method according to claim 1, characterized in that The method further comprises: Initialize the data dispatch thread and start the data dispatch thread loop; Execute the data packaging sub-process to read order data from the data warehouse; Packing the order data into a data packet and sending it to a sending list; The data packets are queued and dispatched to the users corresponding to the data order requests based on the sending list.

9. A numerical control system data processing system based on order management, characterized in that: The system runs on a numerical control equipment platform, and the system includes: A data order acceptance module, configured to determine order content based on a data order request received from a user; The data order acceptance module is further used to store the data order request into an order list according to the type and authority of the order content, and update the processing status of each order; A data warehouse management module, used to generate data according to the order content in the order list based on the memory data and the disk data, obtain the order data and store the order data in the data warehouse; The data order dispatching module is used to pack the order data produced in the data warehouse, obtain a data packet and dispatch the data packet to the user corresponding to the data order request.

10. An electronic device, characterized in that: The electronic device includes: a memory, a processor, and a CNC system data processing program based on order management stored in the memory and executable on the processor, wherein the CNC system data processing program based on order management is configured to implement the CNC system data processing method based on order management as described in any one of claims 1 to 8.