WEB APPLICATION INTERACTION METHOD, APPARATUS, AND SYSTEM
First Claim
1. A web application interaction method, comprising:
- acquiring a uniform resource locator URL of a slave web application from an invocation request, wherein the slave web application is an invoked web application;
acquiring a window object of the slave web application from a mapping relationship between a URL and a window object of the slave web application by using the URL of the slave web application;
acquiring invocation information of a master web application from the invocation request; and
sending the invocation information of the master web application to a window of the slave web application according to the window object of the slave web application, wherein the master web application is a web application that invokes the slave web application.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a web application interaction method, apparatus, and system that are applied to the communications field and can remove a limitation of a web app opening manner during web app interaction. The method includes: acquiring a URL of a slave web application from an invocation request, where the slave web application is an invoked web application; acquiring a window object of the slave web application from a mapping relationship between a URL and a window object of the slave web application by using the URL of the slave web application; acquiring invocation information of a master web application from the invocation request; and sending the invocation information of the master web application to a window of the slave web application according to the window object of the slave web application, where the master web application is a web application that invokes the slave web application.
11 Citations
23 Claims
-
1. A web application interaction method, comprising:
-
acquiring a uniform resource locator URL of a slave web application from an invocation request, wherein the slave web application is an invoked web application; acquiring a window object of the slave web application from a mapping relationship between a URL and a window object of the slave web application by using the URL of the slave web application; acquiring invocation information of a master web application from the invocation request; and sending the invocation information of the master web application to a window of the slave web application according to the window object of the slave web application, wherein the master web application is a web application that invokes the slave web application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A web application interaction method, comprising:
-
receiving a detection request of a master web application in a browser, wherein the detection request is sent by the master web application and comprises domain information and/or path information of the master web application; performing matching between the domain information and/or path information of the master web application carried in the detection request and domain information and/or path information saved by a server; generating detection result information according to a matching result, wherein the detection result information indicates that the matching is successful or that the matching fails; and sending the detection result information to the master web application in the browser. - View Dependent Claims (9, 10, 11)
-
-
12. A browser, comprising:
-
a processor, configured to acquire a uniform resource locator URL of a slave web application from an invocation request, wherein the slave web application is an invoked web application; and a memory, configured to acquire a window object of the slave web application from a mapping relationship between a URL and a window object of the slave web application by using the URL of the slave web application, wherein; the processor is further configured to acquire invocation information of a master web application from the invocation request; and the processor is further configured to send the invocation information of the master web application to a window of the slave web application according to the window object of the slave web application, wherein the master web application is a web application that invokes the slave web application. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A server, comprising:
-
a receiver, configured to receive a detection request of a master web application in a browser, wherein the detection request is sent by the master web application and comprises domain information and/or path information of the master web application; a processor, configured to perform matching between the domain information and/or path information of the master web application carried in the detection request and domain information and/or path information saved by a server, wherein; the processor is further configured to generate detection result information according to a matching result, wherein the detection result information indicates that the matching is successful or that the matching fails; and a sender, configured to send the detection result information to the master web application in the browser. - View Dependent Claims (20, 21, 22)
-
-
23. A web application interaction system, comprising:
-
a browser, comprising; a processor, configured to acquire a uniform resource locator URL of a slave web application from an invocation request, wherein the slave web application is an invoked web application; and a memory, configured to acquire a window object of the slave web application from a mapping relationship between a URL and a window object of the slave web application by using the URL of the slave web application, wherein; the processor is further configured to acquire invocation information of a master web application from the invocation request; and the processor is further configured to send the invocation information of the master web application to a window of the slave web application according to the window object of the slave web application, wherein the master web application is a web application that invokes the slave web application; a server, comprising; a receiver, configured to receive a detection request of a master web application in a browser, wherein the detection request is sent by the master web application and comprises domain information and/or path information of the master web application; a processor, configured to perform matching between the domain information and/or path information of the master web application carried in the detection request and domain information and/or path information saved by a server, wherein; the processor of the server is further configured to generate detection result information according to a matching result, wherein the detection result information indicates that the matching is successful or that the matching fails; and a sender, configured to send the detection result information to the master web application in the browser.
-
Specification