Patent ID: 7603465

Claim:
A control system comprising an information processing apparatus and an information terminal connected with each other via a network, the system comprising: the information terminal comprising: request means for, in a state in which a device is connected with the information terminal, requesting the information processing apparatus to establish communication via the network; receiving means for receiving a packet, including a command for controlling the device, and a script indicating processes to be performed to complete the command, from the information processing apparatus via communication established in response to the request issued by the request means; and control means for controlling the device in accordance with the command included in the packet received by the receiving means, the information processing apparatus comprising: establishment means for establishing communication performed via the network between the information processing apparatus and the information terminal, in response to the request issued by the information terminal; and transmission means for transmitting the packet to the information terminal from the information processing apparatus after the communication with the information terminal is established by the establishment means, wherein the command includes information indicating whether, when the information terminal fails to perform a process to be performed in order to complete the command, an other process should be continued in accordance with a following command, part of the processes in the script for controlling the device are performed in the information terminal, and after the processes in the script are performed, a response packet, including responses from the device to the information terminal, is transmitted to the information processing apparatus.