A client device for data acquisition and pre-processing of process-related mass data from at least one CNC, Computer Numerical Control, machine or an industrial robot and for transmitting a contextualized set of process-related data to at least one data recipient, e.g. a cloud-based server, the client device comprising: at least one first data communication interface connected to at least one CNC controller of the at least one CNC machine or of the industrial robot, for continuously recording hard-realtime process-related data via at least one realtime data channel, and for recording non-realtime process-related data via at least one non-realtime data channel; at least one data processing unit for data-mapping at least the recorded non-realtime data to the recorded hard-realtime data to aggregate the contextualized set of process-related data; at least one second data communication interface for transmitting the contextualized set of process-related data to the at least one data recipient and for further data communication with the at least one data recipient, characterized in that, the client device is configured to capture and record the hard-realtime process-related data at a sampling rate according to the lowest loop-time level of the at least one CNC controller, wherein the client device is configured to record realtime axes positions from the CNC machine or the industrial robot via the realtime channel including a consecutive time tag according to the lowest loop level of the position loop controller of the at least one CNC machine or the industrial robot, wherein realtime axes positions of the at least one CNC machine or of the industrial robot are referred to a non-realtime active NC program code line and an interpolated cycle within a NC program, wherein the time tag is provided to the active NC program code used by the CNC controller, wherein an identification of any causality between an erroneous NC program and a defect on a workpiece is performed by referring the realtime axes positions of the at least one CNC machine to the non-realtime active NC program code line and the interpolated cycle within the NC program, wherein the client device comprises a further data communication interface connected to a force-sensor for directly and continuously recording hard-realtime force-sensor data by bypassing the CNC controller, wherein the client device is configured to attach j the time tag provided by the CNC controller to the hard-realtime force sensor data, wherein the at least one data processing unit of the client device is configured to merge the data channels (7, 8) using the time tag to form the set of contextualized data, and wherein the hard-realtime axes position data and the hard-realtime force-sensor data are mapped or referred to the specific NC program code that was active when the respective hard-realtime data were generated. at least one first data communication interface connected to at least one CNC controller of the at least one CNC machine or of the industrial robot, for continuously recording hard-realtime process-related data via at least one realtime data channel, and for recording non-realtime process-related data via at least one non-realtime data channel; at least one data processing unit for data-mapping at least the recorded non-realtime data to the recorded hard-realtime data to aggregate the contextualized set of process-related data; at least one second data communication interface for transmitting the contextualized set of process-related data to the at least one data recipient and for further data communication with the at least one data recipient, characterized in that, the client device is configured to capture and record the hard-realtime process-related data at a sampling rate according to the lowest loop-time level of the at least one CNC controller, wherein the client device is configured to record realtime axes positions from the CNC machine or the industrial robot via the realtime channel including a consecutive time tag according to the lowest loop level of the position loop controller of the at least one CNC machine or the industrial robot, wherein realtime axes positions of the at least one CNC machine or of the industrial robot are referred to a non-realtime active NC program code line and an interpolated cycle within a NC program, wherein the time tag is provided to the active NC program code used by the CNC controller, wherein an identification of any causality between an erroneous NC program and a defect on a workpiece is performed by referring the realtime axes positions of the at least one CNC machine to the non-realtime active NC program code line and the interpolated cycle within the NC program, wherein the client device comprises a further data communication interface connected to a force-sensor for directly and continuously recording hard-realtime force-sensor data by bypassing the CNC controller, wherein the client device is configured to attach j the time tag provided by the CNC controller to the hard-realtime force sensor data, wherein the at least one data processing unit of the client device is configured to merge the data channels (7, 8) using the time tag to form the set of contextualized data, and wherein the hard-realtime axes position data and the hard-realtime force-sensor data are mapped or referred to the specific NC program code that was active when the respective hard-realtime data were generated.