IP Library Granted Patent US 10,681,146
Granted Patent B2
US 10,681,146 · App. 14/977,807 · Granted Jun 9, 2020

Method and apparatus for isolating page cookie

Inventor: Xiangyang Zhao (Guangdong, CN)
Assignee: Guangzhou UCWEB Computer Technology Co., Ltd.
H04L67/146G06F16/955G06F16/9535H04L67/02H04L67/22
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 10,681,146
App. No.
14/977,807
Granted
Jun 9, 2020
Kind
B2
Abstract

The present invention discloses a method and an apparatus for isolating a page cookie. The method includes: when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view identification of the page associated with the predetermined login account found in the mapping relation table, a request of loading the page associated with the predetermined login account. In this manner, isolation between the page view of the page associated with the predetermined login account and a cookie of a page being logged into by another account in the same domain name is implemented, thereby improving user experiences.

Claims (30)

1. A method for isolating a page cookie, wherein the method comprises:

when a predetermined login account logs in to a browser, assigning an independent cookie storage for the predetermined login account, wherein the independent cookie storage is different from a cookie storage of a default page of the browser;

after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage;

when the page associated with the predetermined login account is loaded, looking up the mapping relation table and identifying from the mapping relation table that the page view identification has a mapping relation to the independent cookie storage;

initiating, according to the independent cookie storage corresponding to the page view identification in the mapping relation table, a request of loading the page associated with the predetermined login account; and

when a page being logged into by another account belonging to the same domain name with the predetermined login account is loaded in the browser, looking up the mapping relation table and identifying from the mapping relation table that a mapping relation between the page view identification of the page associated with the another account and the independent cookie storage is not found, loading the page by using the cookie storage defaulted by the browser.

2. The method according to claim 1 , wherein the predetermined login account is a browser account; and the page associated with the predetermined login account is a page for login based on the browser account.

3. The method according to claim 2 , wherein the step of when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account comprises:

when the predetermined login account logs in to the browser, assigning an independent cookie storage for a login account of the browser, so as to be different from the cookie storage of the default page of the browser.

4. The method according to claim 1 , wherein the method further comprises:

after a request of closing the page associated with the predetermined login account is received, deleting the mapping relation between the page view identification and the independent cookie storage from the mapping relation table.

5. The method according to claim 2 , wherein the method further comprises: when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, loading by using the cookie storage defaulted by the browser.

6. The method according to claim 3 , wherein the method further comprises: when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, loading by using the cookie storage defaulted by the browser.

7. The method according to claim 4 , wherein the method further comprises: when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, loading by using the cookie storage defaulted by the browser.

8. An apparatus for isolating a page cookie, wherein the apparatus comprises at least one processor and at least one non-volatile computer readable medium including computer program code, the at least one non-volatile memory and the computer code configured to, with the processor, cause the apparatus to at least:

when a predetermined login account logs in to a browser, assign an independent cookie storage for the predetermined login account, wherein the independent cookie storage is different from a cookie storage of a default page of the browser;

after a request of creating a page associated with the predetermined login account is acquired, establish a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage;

when the page associated with the predetermined login account is loaded, look up the mapping relation table and identify from the mapping relation table that the page view identification has a mapping relation to the independent cookie storage;

initiate, according to the independent cookie storage corresponding to the page view identification in the mapping relation table, a request of loading the page associated with the predetermined login account; and

when a page being logged into by another account belonging to the same domain name with the predetermined login account is loaded in the browser, look up the mapping relation table and identify from the mapping relation table that a mapping relation between the page view identification of the page associated with the another account and the independent cookie storage is not found, load the page by using the cookie storage defaulted by the browser.

9. The apparatus according to claim 8 , wherein the predetermined login account is a browser account; and the page associated with the predetermined login account is a page for login based on the browser account.

10. The apparatus according to claim 9 , wherein the at least one non-volatile memory and the computer program code are further configured to, with the processor, cause the apparatus to when the predetermined login account logs in to the browser, assign an independent cookie storage for a login account of the browser, so as to be different from the cookie storage of the default page of the browser.

11. The apparatus according to claim 8 , wherein the at least one non-volatile memory and the computer program code are further configured to, with the processor, cause the apparatus to

after a request of closing the page associated with the predetermined login account is received, delete the mapping relation between the page view identification and the independent cookie storage from the mapping relation table.

12. The apparatus according to claim 9 , wherein the at least one non-volatile memory and the computer program code are further configured to, with the processor, cause the apparatus to

when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, load by using the cookie storage defaulted by the browser.

13. The apparatus according to claim 10 , wherein the at least one non-volatile memory and the computer program code are further configured to, with the processor, cause the apparatus to

when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, load by using the cookie storage defaulted by the browser.

14. The apparatus according to claim 11 , wherein the at least one non-volatile memory and the computer program code are further configured to, with the processor, cause the apparatus to

when the page being logged into by the another account belonging to the same domain name with the predetermined login account is loaded in the browser, load by using the cookie storage defaulted by the browser.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 28, 2020
From: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052771/0562 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 22, 2015
From: ZHAO, XIANGYANG
To: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD.
Reel/Frame 037347/0516 →
Priority Claims (1)
CN 2014 1 0817459 · Dec 22, 2014 · national
Continuity (1)
Related Publication 20160182650A1 · Jun 23, 2016