A communication apparatus connected to a network collects functional information for apparatuses on the network and composes the middleware of the communication apparatus based on the collected functional information. A first portion of the program is converted into a first hardware configuration program deployable on the PHE, where a remaining portion is to be debugged by a user. It is thus possible to reduce unnecessary switching current. As such, the present invention permits the user to remain in contact with a significant number of entities while saving time and effort by ensuring the user is only contacted with certain information.