IP Library Granted Patent US 11,409,584
Granted Patent B2
US 11,409,584 · App. 16/216,970 · Granted Aug 9, 2022

Cross-application data sharing

Inventor: Jianlei Wu (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F9/544G06F9/541G06F9/546G06F16/953G06F16/958
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 11,409,584
App. No.
16/216,970
Granted
Aug 9, 2022
Kind
B2
Abstract

A data writing request is received at a web browser from a first application, where the data writing request comprises data and address information of a web page into which the data is written, and where the web browser and the first application are associated with a mobile device. The data writing request is sent to a web server. An instruction message is received from the web server and the data is stored at a shared storage space on the mobile device based on the instruction message. A data access request is received from a second application, where the web browser and the second application are associated with the mobile device. The data is read from the shared storage space based on the access request and sent to the second application.

Claims (80)

1. A computer-implemented method for cross-application data sharing, the computer-implemented method comprising:

receiving, by a web browser from a first application, a data writing request, wherein the data writing request comprises data and address information of a web page into which the data is to be written, and wherein the first application is included in a set of applications located on a mobile device, on which the web browser is also located, wherein the data writing request is sent to the web browser by the first application instantiating a web controller class to provide the set of applications with high-level sharing functions comprising shared content interception and password input;

sending, by the web browser, the data writing request to a web server, and, in response, rendering, by the web browser and as a rendered web page, a web page that comprises the data;

receiving an instruction message from the web server, the instruction message being indicative of a key, wherein the key is based on a pre-determined name used by the first application and a second application to obtain the data, and wherein the second application is included in the set of applications;

storing, on the mobile device and by the web browser, the data included on the rendered web page at a shared storage space that corresponds to the rendered web page on the mobile device based on the instruction message, the data comprising the key, wherein the shared storage space is accessible by each application in the set of applications by using the web controller class;

receiving, by the web browser, a data access request from a second application, wherein the web browser and the second application are associated with the mobile device;

reading, by the web browser, the data included on the rendered web page from the shared storage space that corresponds to the rendered web page based on the data access request wherein the data access request comprises the address information of the web page;

parsing the address information to obtain a domain name of the web page;

searching the mobile device for the data corresponding to the domain name of the web page and the key;

reading the data from the shared storage space corresponding to the web page on the mobile device based on the data access request; and

sending, by the web browser, the data to the second application.

2. The computer-implemented method of claim 1 , wherein the shared storage space is a cookie entry on the mobile device that is generated by the web server.

3. The computer-implemented method of claim 1 ,

wherein storing the data at the shared storage space on the mobile device comprises:

sending, from the web browser, the data writing request to the web server so that the web server writes the data into the web page corresponding to the address information of the web page, wherein the web page is generated by the web server;

receiving an instruction message from the web server;

parsing the address information of the web page to obtain a domain name of the web page;

determining a cookie entry corresponding to the web page on the mobile device based on the domain name of the web page; and

writing the data to the cookie entry.

4. The computer-implemented method of claim 1 , further comprising:

determining, by the web server, a plurality of cookie entries based on a domain name of the web page;

assigning a unique key to each cookie entry so that the cookie entries are stored in a key-value pair form;

receiving a data writing request from the web browser; and

instructing the web browser to write data to a cookie entry by indicating a key of a cookie entry to be written.

5. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

receiving, by a web browser from a first application, a data writing request, wherein the data writing request comprises data and address information of a web page into which the data is to be written, and wherein the first application is included in a set of applications located on a mobile device, on which the web browser is also located, wherein the data writing request is sent to the web browser by the first application instantiating a web controller class to provide the set of applications with high-level sharing functions comprising shared content interception and password input;

sending, by the web browser, the data writing request to a web server, and, in response, rendering, by the web browser and as a rendered web page, a web page that comprises the data;

receiving an instruction message from the web server, the instruction message being indicative of a key, wherein the key is based on a pre-determined name used by the first application and a second application to obtain the data, and wherein the second application is included in the set of applications;

storing, on the mobile device and by the web browser, the data included on the rendered web page at a shared storage space that corresponds to the rendered web page on the mobile device based on the instruction message, the data comprising the key, wherein the shared storage space is accessible by each application in the set of applications by using the web controller class;

receiving, by the web browser, a data access request from a second application, wherein the web browser and the second application are associated with the mobile device;

reading, by the web browser, the data included on the rendered web page from the shared storage space that corresponds to the rendered web page based on the data access request wherein the data access request comprises the address information of the web page;

parsing the address information to obtain a domain name of the web page;

searching the mobile device for the data corresponding to the domain name of the web page and the key;

reading the data from the shared storage space corresponding to the web page on the mobile device based on the data access request; and

sending, by the web browser, the data to the second application.

6. The non-transitory, computer-readable medium of claim 5 , wherein the shared storage space is a cookie entry on the mobile device that is generated by the web server.

7. The non-transitory, computer-readable medium of claim 5 , wherein storing the data at the shared storage space on the mobile device comprises one or more instructions to:

send, from the web browser, the data writing request to the web server so that the web server writes the data into the web page corresponding to the address information of the web page, wherein the web page is generated by the web server;

receive an instruction message from the web server;

parse the address information of the web page to obtain a domain name of the web page;

determine a cookie entry corresponding to the web page on the mobile device based on the domain name of the web page; and

write the data to the cookie entry.

8. The non-transitory, computer-readable medium of claim 5 , wherein reading the data from the shared storage space comprises one or more instructions to:

parse the address information of the web page to obtain a domain name of the web page;

search the mobile device for a cookie entry corresponding to the web page based on the domain name of the web page; and

read the data from the cookie entry.

9. The non-transitory, computer-readable medium of claim 5 , further comprising one or more instructions to:

determine, by the web server, a plurality of cookie entries based on a domain name of the web page;

assign a unique key to each cookie entry so that the cookie entries are stored in a key-value pair form;

receive a data writing request from the web browser; and

instruct the web browser to write data to a cookie entry by indicating a key of a cookie entry to be written.

10. A computer-implemented system, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:

receiving, by a web browser from a first application, a data writing request, wherein the data writing request comprises data and address information of a web page into which the data is to be written, and wherein the first application is included in a set of applications located on a mobile device, on which the web browser is also located, wherein the data writing request is sent to the web browser by the first application instantiating a web controller class to provide the set of applications with high-level sharing functions comprising shared content interception and password input;

sending, by the web browser, the data writing request to a web server, and, in response, rendering, by the web browser and as a rendered web page, a web page that comprises the data;

receiving an instruction message from the web server, the instruction message being indicative of a key, wherein the key is based on a pre-determined name used by the first application and a second application to obtain the data, and wherein the second application is included in the set of applications;

storing, on the mobile device and by the web browser, the data included on the rendered web page at a shared storage space that corresponds to the rendered web page on the mobile device based on the instruction message, the data comprising the key, wherein the shared storage space is accessible by each application in the set of applications by using the web controller class;

receiving, by the web browser, a data access request from a second application, wherein the web browser and the second application are associated with the mobile device;

reading, by the web browser, the data included on the rendered web page from the shared storage space that corresponds to the rendered web page based on the data access request wherein the data access request comprises the address information of the web page;

parsing the address information to obtain a domain name of the web page;

searching the mobile device for the data corresponding to the domain name of the web page and the key;

reading the data from the shared storage space corresponding to the web page on the mobile device based on the data access request; and

sending, by the web browser, the data to the second application.

11. The computer-implemented system of claim 10 , wherein the shared storage space is a cookie entry on the mobile device that is generated by the web server.

12. The computer-implemented system of claim 10 , wherein storing the data at the shared storage space on the mobile device comprises one or more instructions to:

send, from the web browser, the data writing request to the web server so that the web server writes the data into the web page corresponding to the address information of the web page, wherein the web page is generated by the web server;

receive an instruction message from the web server;

parse the address information of the web page to obtain a domain name of the web page;

determine a cookie entry corresponding to the web page on the mobile device based on the domain name of the web page; and

write the data to the cookie entry.

13. The computer-implemented system of claim 10 , wherein reading the data from the shared storage space comprises one or more instructions to:

parse the address information of the web page to obtain a domain name of the web page;

search the mobile device for a cookie entry corresponding to the web page based on the domain name of the web page; and

read the data from the cookie entry.

14. The computer-implemented system of claim 10 , further comprising one or more instructions to:

determine, by the web server, a plurality of cookie entries based on a domain name of the web page;

assign a unique key to each cookie entry so that the cookie entries are stored in a key-value pair form;

receive a data writing request from the web browser; and

instruct the web browser to write data to a cookie entry by indicating a key of a cookie entry to be written.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
CORRECTIVE ASSIGNMENT TO CORRECT THE RECEIVING PARTY PREVIOUSLY RECORDED AT REEL: 048830 FRAME: 0387. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 6, 2019
From: WU, JIANLEI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 049088/0064 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 9, 2019
From: WU, JIANLEI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048830/0387 →