1. A method for generating a logical service for an embedded terminal, comprising: configuring application logic information of an application to form a configuration file; identifying, by a logic management module, a visual interface code input by a user, querying corresponding application logic information in the configuration file according to an identification result and stating and annotating automatically the identified code to generate window logic messages of a visual interface, and generating automatically a corresponding family of manipulation functions by the window logic messages, wherein the family of manipulation functions forms a logic management framework interacting with the interface.