A communication control device of a communication system that collects information of a first control device in a second control device via a relay device on a network, wherein allocation of network resources of the network is controlled by the communication control device based on a procedure of processing the collected information, and execution of the control of the network resources is decided based on whether or not a state of the procedure of processing the collected information to be observed is a state which requires said execution, wherein the procedure of processing the collected information is one or more of a procedure of AI learning and statistical processing in the second control device, a procedure of investigation processing of a change factor performed by the second control device when a state of the first control device is changed, a procedure of time synchronization processing between the second control device and the first control device, and a state machine in the second control device, characterized in that: when the procedure of processing the collected information is the procedure of the AI learning and the statistical processing in the second control device, the allocation of the network resources is controlled based on a value of an error function of a neural network, wherein the value of the error function represents the difference between teacher data and an inference result and is used to determine the state of the procedure of processing the collected information, wherein the state is changed when said value of the error function is less than a predetermined threshold value, wherein the state of the procedure of processing the collected information is one of a state of learning and a state of inference, wherein the state of learning is a state during which the AI learning method is applied and the state of inference is a state during which the inference result is transmitted from the second control device to the first control device, and the network resources for the communication of information from the first control device are allocated. allocation of network resources of the network is controlled by the communication control device based on a procedure of processing the collected information, and execution of the control of the network resources is decided based on whether or not a state of the procedure of processing the collected information to be observed is a state which requires said execution, wherein the procedure of processing the collected information is one or more of a procedure of AI learning and statistical processing in the second control device, a procedure of investigation processing of a change factor performed by the second control device when a state of the first control device is changed, a procedure of time synchronization processing between the second control device and the first control device, and a state machine in the second control device, characterized in that: when the procedure of processing the collected information is the procedure of the AI learning and the statistical processing in the second control device, the allocation of the network resources is controlled based on a value of an error function of a neural network, wherein the value of the error function represents the difference between teacher data and an inference result and is used to determine the state of the procedure of processing the collected information, wherein the state is changed when said value of the error function is less than a predetermined threshold value, wherein the state of the procedure of processing the collected information is one of a state of learning and a state of inference, wherein the state of learning is a state during which the AI learning method is applied and the state of inference is a state during which the inference result is transmitted from the second control device to the first control device, and the network resources for the communication of information from the first control device are allocated. when the procedure of processing the collected information is the procedure of the AI learning and the statistical processing in the second control device, the allocation of the network resources is controlled based on a value of an error function of a neural network, wherein the value of the error function represents the difference between teacher data and an inference result and is used to determine the state of the procedure of processing the collected information, wherein the state is changed when said value of the error function is less than a predetermined threshold value, wherein the state of the procedure of processing the collected information is one of a state of learning and a state of inference, wherein the state of learning is a state during which the AI learning method is applied and the state of inference is a state during which the inference result is transmitted from the second control device to the first control device, and the network resources for the communication of information from the first control device are allocated.