Patent ID: 7801509

Claim:
A non-transitory computer-readable recording medium storing a data communication program causing a mobile terminal having computer capabilities to periodically perform communication for inquiring of a predetermined server as to whether or not there exists data of which the server should notify the mobile terminal, and for receiving a signal transmitted from the server in response to the inquiry, wherein the mobile terminal functions as: data accumulating means for accumulating accumulation data to be uploaded to the server; transmission data-generating means for causing transmission data for the inquiry that is to be transmitted to the server to contain the accumulation data; determination means for determining whether or not the mobile terminal is in a state in which the transmission data can be transmitted to the server; a communication scheduler for permitting the transmission data to be transmitted to the server based on a result of determination of said determination means; and data communication means for transmitting the transmission data to the server in response to permission of said communication scheduler; wherein if a maximum data amount is defined for the transmission data, said transmission data-generating means determines whether or not an amount of the transmission data is smaller than the maximum data amount, and if the amount of the transmission data is smaller than the maximum data amount, said transmission data-generating means causes the transmission data to contain as much accumulation data as possible such that the transmission data does not exceed the maximum data amount, wherein the mobile terminal is caused to further function as a forced transmission-determining means for determining whether or not forced transmission to the server should be performed, based on a response from the server, and wherein in performing the forced transmission to the server, said transmission data-generating means is capable of generating the transmission data exceeding a maximum data amount defined for the transmission data.