IP Library › Granted Patent US 8,090,763
Granted Patent B2
US 8,090,763 · App. 12/583,362 · Granted Jan 3, 2012

Method and apparatus for cross-domain communication using designated response processing page

Assignee: Alibaba Group Holdings Limited
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,090,763
App. No.
12/583,362
Filed
Aug 18, 2009
Granted
Jan 3, 2012
Kind
B2
Art Unit
2447
USPC
709/202
Abstract

Cross-domain communication between a sender domain and a receiver domain includes: receiving, in the receiver domain, a data request from the sender domain, the data request being directed to a designated request processing page in the receiver domain; processing the data request to generate a response; and sending the response to the sender domain, the response being directed to a designated response processing page in the sender domain. Alternatively, cross-domain communication includes receiving, in the receiver domain, a data request from the sender domain, the data request being directed to a designated request processing page in the receiver domain; processing the data request to generate a response; and sending the response to the sender domain, the response being directed to a designated response processing page in the sender domain.

Claims (43)

1. A sender system for cross-domain communication between a sender domain and a receiver domain that is different from the sender domain, comprising:

a hardware processor configured to:

send a data request from an originating webpage deployed in the sender domain to the receiver domain, the data request being directed to a designated request processing page in the receiver domain, wherein sending the data request from the sender domain to the receiver domain includes opening a hidden page and using the hidden page to open the designated response processing page and to send a request command and associated request data via the hidden page, wherein opening the hidden page includes opening an invisible new window or an invisible iframe;

receive a response from the receiver domain, the response including requested data and being directed to a designated response processing page in the sender domain, wherein the designated response processing page deployed in the sender domain is a different webpage from the originating webpage deployed in the sender domain; and

process the response; and

a memory coupled to the hardware processor, configured to provide the hardware processor with instructions.

2. The system of claim 1 , wherein the data request is sent in response to a client action from a browser to an originating webpage in the sender domain.

3. The system of claim 1 , wherein the designated request processing page is deployed in the receiver domain and the designated response processing page is deployed in the sender domain prior to the cross-domain communication.

4. The system of claim 1 , wherein the data request includes a request command and associated request data that are sent via a Hypertext Transfer Protocol (HTTP) GET command.

5. The system of claim 1 , wherein:

the data request includes a request command and associated request data;

the request command is sent as a fragment identifier attached to a uniform resource locator (URL); and

the associated data are transferred as a name property of a window object.

6. The system of claim 1 , wherein:

the data request includes a request command and associated request data;

the request command and the associated request data are sent as a fragment identifier attached to a URL.

7. The system of claim 1 , wherein request is transferred as a string in JSON format.

8. The system of claim 1 , wherein processing the response includes transferring response data from the designated response processing page to the originating webpage.

9. A method for cross-domain communication between a sender domain and a receiver domain that is different from the sender domain, comprising:

sending a data request from an originating webpage deployed in the sender domain to the receiver domain, the data request being directed to a designated request processing page in the receiver domain, wherein sending the data request from the sender domain to the receiver domain includes opening a hidden page and using the hidden page to open the designated response processing page and to send a request command and associated request data via the hidden page, wherein opening the hidden page includes opening an invisible new window or an invisible iframe;

receiving a response from the receiver domain, the response including requested data and being directed to a designated response processing page in the sender domain, wherein the designated response processing page deployed in the sender domain is a different webpage from the originating webpage deployed in the sender domain; and

processing, by one or more hardware processors, the response.

10. The method of claim 9 , wherein the data request is sent in response to a client action from a browser to an originating webpage in the sender domain.

11. The method of claim 9 , wherein the designated request processing page is deployed in the receiver domain and the designated response processing page is deployed in the sender domain prior to the cross-domain communication.

12. The method of claim 9 , wherein the data request includes a request command and associated request data that are sent via a Hypertext Transfer Protocol (HTTP) GET command.

13. The method of claim 9 , wherein:

the data request includes a request command and associated request data;

the request command is sent as a fragment identifier attached to a uniform resource locator (URL); and

the associated data are transferred as a name property of a window object.

14. The method of claim 9 , wherein:

the data request includes a request command and associated request data;

the request command and the associated request data are sent as a fragment identifier attached to a URL.

15. The method of claim 9 , wherein request is transferred as a string in JSON format.

16. A receiver system for cross-domain communication between a sender domain and a receiver domain that is different from the sender domain, comprising:

a processor configured to:

receive, in the receiver domain, a data request from an originating webpage deployed in the sender domain, the data request being directed to a designated request processing page in the receiver domain, wherein sending the data request from the sender domain to the receiver domain includes opening a hidden page and using the hidden page to open the designated response processing page and to send a request command and associated request data via the hidden page, wherein opening the hidden page includes opening an invisible new window or an invisible iframe;

process the data request to generate a response; and

send the response to the sender domain, the response being directed to a designated response processing page in the sender domain, wherein the designated response processing page deployed in the sender domain is a different webpage from the originating webpage deployed in the sender domain; and

a memory coupled to the processor, configured to provide the processor with instructions.

17. A method for cross-domain communication between a sender domain and a receiver domain that is different from the sender domain, comprising:

receiving, in the receiver domain, a data request from an originating webpage deployed in the sender domain, the data request being directed to a designated request processing page in the receiver domain, wherein sending the data request from the sender domain to the receiver domain includes opening a hidden page and using the hidden page to open the designated response processing page and to send a request command and associated request data via the hidden page, wherein opening the hidden page includes opening an invisible new window or an invisible iframe;

processing, by one or more hardware processors, the data request to generate a response; and

sending the response to the sender domain, the response being directed to a designated response processing page in the sender domain, wherein the designated response processing page deployed in the sender domain is a different webpage from the originating webpage deployed in the sender domain.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 18, 2009
From: LI, ZHANYUAN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 023152/0738 →
Priority Claims (1)
CN 2008 1 0147259 · Aug 25, 2008 · national
Continuity (1)
Related Publication 20100049782A1 · Feb 25, 2010