1. A program generating apparatus including a processor comprising: a generator configured to generate a first program based on a second program, which second program is an application program interface (API) program stored in an API storage, and a third program stored in a program storage server, wherein the second program is extracted based on an advertisement message including (1) an apparatus type identifier that indicates whether a device sending the advertisement message is an operating apparatus, an API storage, or a program executing apparatus, (2) an individual apparatus identifier uniquely identifying the apparatus sending the advertisement message, and (3) an IP address assigned to the apparatus sending the advertisement message, and comprises a communication procedure of communicating with an operating apparatus through a network to utilize a function of the operating apparatus, wherein the third program does not comprise the communication procedure, but comprises a correlation procedure of correlating a first service which is provided through the network and the function of the operating apparatus using the communication procedure to collaborate with each other, and wherein the first program comprises a realization procedure of realizing a collaboration service in which the first service and the function of the operating apparatus collaborate with each other through the network.