A communication device for communication in a communication network having an edge server , the communication device comprising: a sensor configured to provide sensor data; a processor configured to execute a real-time application, wherein the real-time application is configured to process the sensor data and to provide a result on the basis of processing the sensor data, wherein the processor is further configured to determine a confidence value of the result; and a communication interface configured to send, in case the confidence value of the result provided by the real-time application is smaller than a threshold value, the sensor data to the edge server and to receive from the edge server a further result based on processing the sensor data by the edge server , wherein the communication interface is configured to receive external data from one or more neighboring communication devices and wherein the processor is configured to classify the result provided by the real-time application as anomalous or non-anomalous using the external data, wherein the external data comprises one or more results provided by a respective real-time application of the one or more neighboring communication devices and wherein the processor is configured to classify the result provided by the real-time application as anomalous or non-anomalous on the basis of a comparison between the result provided by the real-time application and the one or more results provided by the respective real-time application of the one or more neighboring communication devices ; and wherein the communication interface is configured to send, in case the result is classified as anomalous, the sensor data to the edge server and to receive from the edge server the further result based on processing the sensor data by the edge server . a sensor configured to provide sensor data; a processor configured to execute a real-time application, wherein the real-time application is configured to process the sensor data and to provide a result on the basis of processing the sensor data, wherein the processor is further configured to determine a confidence value of the result; and a communication interface configured to send, in case the confidence value of the result provided by the real-time application is smaller than a threshold value, the sensor data to the edge server and to receive from the edge server a further result based on processing the sensor data by the edge server , wherein the communication interface is configured to receive external data from one or more neighboring communication devices and wherein the processor is configured to classify the result provided by the real-time application as anomalous or non-anomalous using the external data, wherein the external data comprises one or more results provided by a respective real-time application of the one or more neighboring communication devices and wherein the processor is configured to classify the result provided by the real-time application as anomalous or non-anomalous on the basis of a comparison between the result provided by the real-time application and the one or more results provided by the respective real-time application of the one or more neighboring communication devices ; and wherein the communication interface is configured to send, in case the result is classified as anomalous, the sensor data to the edge server and to receive from the edge server the further result based on processing the sensor data by the edge server . <EOS>