Patent ID: 9660867
Date: 2017-05-23
CPC Classifications: G06F,H04L

Claim:
1. A non-transitory computer-readable medium storing computer-readable instructions thereon which when read by processing circuitry of a client apparatus having a storage device storing a client application program for individually executing a plurality of individual processes using a communication process in a client-server system composed of the client apparatus and configured to execute the communication process by radio and a server apparatus, and a substitute process which is substituted for each of the individual processes and makes no use of the communication process, causes the processing circuitry to execute a communication management program comprising: writing communication components, which are distinguishable by communication component names, in a communication component management area in the storage device, the communication components including communication components for individually executing one or more partial processes constituting the communication process, and a communication component for calling and executing the substitute process; mutually associating, with respect to each of communication pattern names identifying communication patterns indicative of a combination of the communication components, the communication component name identifying each of the communication components used in the combination and an order of execution of the communication components, and writing the communication component name and the order in a communication pattern management area in the storage device; mutually associating, with respect to each of application names identifying the client application program, a process name identifying the individual process, the communication pattern name and a setup kind identifying initial setup or individual setup, and setting up the process name, the communication pattern name and the setup kind in a communication pattern setup area in the storage device; setting up, with respect to each of the application names, an operation mode for executing the communication process in accordance with the individual process or a test mode for executing the substitute process in a communication mode setup area in the storage device; executing a first determination process of determining the communication pattern name identifying the communication pattern to be a predetermined communication pattern name representative of a local pattern if the test mode is set up in the communication mode setup area, and determining the communication pattern name identifying the communication pattern to be the communication pattern name that is set up in the communication pattern setup area if the operation mode is set up in the communication mode setup area; mutually associating, with respect to each of the communication component names, the setup kind, the process name and an attribute indicative of setup of an operation in the partial process, and setting up the setup kind, the process name and the attribute in a component attribute setup area in the storage device; executing a second determination process of referring to, when the individual process, which is being executed, uses a communication component, the component attribute setup area, based on the communication component name identifying the communication component and the process name identifying the individual process, determining, when the process name associated with the communication component name and the individual setup of the setup kind in the component attribute setup area agrees with the process name identifying the individual process, that the attribute associated with the individual setup is the attribute of the communication component, and determining, in cases other than a case of the agreement, that the attribute associated with the communication component name and the initial setup of the setup kind in the component attribute setup area is the attribute of the communication component; and acquiring from the communication pattern management area the communication component names and the order associated with the communication pattern name determined by the first determination process, acquiring the communication components identified by the acquired communication component names from the communication component management area, setting up the attributes determined by the second determination process for the acquired communication components, and executing the communication components, for which the attributes have been set up, in the acquired order.