摘要 |
Disclosed are a method, device and system for realizing communication between an application and a webpage on a terminal device, the method comprising: a webpage on a terminal device transmits a command execution request to a specified network port of the terminal device; an application on the terminal device monitors the specified network port of the terminal device, and receives, via the specified network port, the command execution request transmitted by the webpage on the terminal device; and a corresponding application executes a corresponding operation after receiving the command execution request via the specified network port, and the webpage receives an operation result returned by the application. The technical solution of the present invention enables a webpage to invoke functions of each application, such that the webpage can develop more functions and thereby satisfy user requirements, thus greatly expanding the functions of the webpage, improving an operation authorization of a user in a webpage terminal, optimizing user experience and satisfying user requirements. |